mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-05 18:39:59 +00:00
![David Howells](/assets/img/avatar_default.png)
Signed-off-by: David Howells <dhowells@redhat.com> Acked-by: Arnd Bergmann <arnd@arndb.de> Acked-by: Thomas Gleixner <tglx@linutronix.de> Acked-by: Michael Kerrisk <mtk.manpages@gmail.com> Acked-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com> Acked-by: Dave Jones <davej@redhat.com>
20 lines
518 B
C
20 lines
518 B
C
#ifndef _LINUX_NETFILTER_XT_IPRANGE_H
|
|
#define _LINUX_NETFILTER_XT_IPRANGE_H 1
|
|
|
|
#include <linux/types.h>
|
|
#include <linux/netfilter.h>
|
|
|
|
enum {
|
|
IPRANGE_SRC = 1 << 0, /* match source IP address */
|
|
IPRANGE_DST = 1 << 1, /* match destination IP address */
|
|
IPRANGE_SRC_INV = 1 << 4, /* negate the condition */
|
|
IPRANGE_DST_INV = 1 << 5, /* -"- */
|
|
};
|
|
|
|
struct xt_iprange_mtinfo {
|
|
union nf_inet_addr src_min, src_max;
|
|
union nf_inet_addr dst_min, dst_max;
|
|
__u8 flags;
|
|
};
|
|
|
|
#endif /* _LINUX_NETFILTER_XT_IPRANGE_H */
|