diff options
author | Harald Welte <laforge@gnumonks.org> | 2003-08-23 22:10:11 +0000 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2003-08-23 22:10:11 +0000 |
commit | 105650a15e20255c5d037f32b8ef4a2431c59855 (patch) | |
tree | cdc4d442fd1cbb70b528166eb6eb1ec800719027 /include/linux/netfilter_ipv4/ipt_iprange.h | |
parent | 703575d4b45d15996ee2ca0b13d958a22cd78f4f (diff) |
add include files for soon-to-be-submitted patches (and build them unconditionally by putting thme in the extensions/Makefile)
Diffstat (limited to 'include/linux/netfilter_ipv4/ipt_iprange.h')
-rw-r--r-- | include/linux/netfilter_ipv4/ipt_iprange.h | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/include/linux/netfilter_ipv4/ipt_iprange.h b/include/linux/netfilter_ipv4/ipt_iprange.h new file mode 100644 index 00000000..3ecb3bd6 --- /dev/null +++ b/include/linux/netfilter_ipv4/ipt_iprange.h @@ -0,0 +1,23 @@ +#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 */ + +struct ipt_iprange { + /* Inclusive: network order. */ + u_int32_t min_ip, max_ip; +}; + +struct ipt_iprange_info +{ + struct ipt_iprange src; + struct ipt_iprange dst; + + /* Flags from above */ + u_int8_t flags; +}; + +#endif /* _IPT_IPRANGE_H */ |