Merge git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6
[wrt350n-kernel.git] / include / linux / netfilter / xt_iprange.h
bloba4299c7d3680e305176ce699adc400d0cb343bed
1 #ifndef _LINUX_NETFILTER_XT_IPRANGE_H
2 #define _LINUX_NETFILTER_XT_IPRANGE_H 1
4 enum {
5 IPRANGE_SRC = 1 << 0, /* match source IP address */
6 IPRANGE_DST = 1 << 1, /* match destination IP address */
7 IPRANGE_SRC_INV = 1 << 4, /* negate the condition */
8 IPRANGE_DST_INV = 1 << 5, /* -"- */
9 };
11 struct xt_iprange_mtinfo {
12 union nf_inet_addr src_min, src_max;
13 union nf_inet_addr dst_min, dst_max;
14 u_int8_t flags;
17 #endif /* _LINUX_NETFILTER_XT_IPRANGE_H */