diff options
author | Jan Engelhardt <jengelh@medozas.de> | 2008-01-20 13:42:43 +0000 |
---|---|---|
committer | Patrick McHardy <kaber@trash.net> | 2008-01-20 13:42:43 +0000 |
commit | 41daaa0cfbb1cb6b80a2ce2571f9f92f164f0228 (patch) | |
tree | 92f715aa5cf786c7f38c382155dc48fec1e82bb6 /include/linux/netfilter_ipv4 | |
parent | d95d92f0a480008a89f4ffa69f0c67f55dbbe05f (diff) |
libxt_iprange r0
Move libipt_iprange to libxt_iprange.
Signed-off-by: Jan Engelhardt <jengelh@computergmbh.de>
Diffstat (limited to 'include/linux/netfilter_ipv4')
-rw-r--r-- | include/linux/netfilter_ipv4/ipt_iprange.h | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/include/linux/netfilter_ipv4/ipt_iprange.h b/include/linux/netfilter_ipv4/ipt_iprange.h index 3ecb3bd6..5f1aebde 100644 --- a/include/linux/netfilter_ipv4/ipt_iprange.h +++ b/include/linux/netfilter_ipv4/ipt_iprange.h @@ -1,14 +1,12 @@ #ifndef _IPT_IPRANGE_H #define _IPT_IPRANGE_H -#define IPRANGE_SRC 0x01 /* Match source IP address */ -#define IPRANGE_DST 0x02 /* Match destination IP address */ -#define IPRANGE_SRC_INV 0x10 /* Negate the condition */ -#define IPRANGE_DST_INV 0x20 /* Negate the condition */ +#include <linux/types.h> +#include <linux/netfilter/xt_iprange.h> struct ipt_iprange { /* Inclusive: network order. */ - u_int32_t min_ip, max_ip; + __be32 min_ip, max_ip; }; struct ipt_iprange_info |