Linux-2.6.12-rc2
[linux-2.6/linux-acpi-2.6/ibm-acpi-2.6.git] / include / linux / netfilter_ipv4 / ipt_iprange.h
blob3ecb3bd63676a118de24f0e7616dfa1f27e0c2ef
1 #ifndef _IPT_IPRANGE_H
2 #define _IPT_IPRANGE_H
4 #define IPRANGE_SRC 0x01 /* Match source IP address */
5 #define IPRANGE_DST 0x02 /* Match destination IP address */
6 #define IPRANGE_SRC_INV 0x10 /* Negate the condition */
7 #define IPRANGE_DST_INV 0x20 /* Negate the condition */
9 struct ipt_iprange {
10 /* Inclusive: network order. */
11 u_int32_t min_ip, max_ip;
14 struct ipt_iprange_info
16 struct ipt_iprange src;
17 struct ipt_iprange dst;
19 /* Flags from above */
20 u_int8_t flags;
23 #endif /* _IPT_IPRANGE_H */