v2.6.22.24-op1
[linux-2.6.22.y-op.git] / include / linux / netfilter_ipv4 / ipt_iprange.h
bloba92fefc3c7ecbc222f76694101c600886f61b6da
1 #ifndef _IPT_IPRANGE_H
2 #define _IPT_IPRANGE_H
4 #include <linux/types.h>
6 #define IPRANGE_SRC 0x01 /* Match source IP address */
7 #define IPRANGE_DST 0x02 /* Match destination IP address */
8 #define IPRANGE_SRC_INV 0x10 /* Negate the condition */
9 #define IPRANGE_DST_INV 0x20 /* Negate the condition */
11 struct ipt_iprange {
12 /* Inclusive: network order. */
13 __be32 min_ip, max_ip;
16 struct ipt_iprange_info
18 struct ipt_iprange src;
19 struct ipt_iprange dst;
21 /* Flags from above */
22 u_int8_t flags;
25 #endif /* _IPT_IPRANGE_H */