diff options
Diffstat (limited to 'include/linux')
-rw-r--r-- | include/linux/netfilter_ipv4/ipt_addrtype.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/include/linux/netfilter_ipv4/ipt_addrtype.h b/include/linux/netfilter_ipv4/ipt_addrtype.h index 166ed01a8122..446de6aef983 100644 --- a/include/linux/netfilter_ipv4/ipt_addrtype.h +++ b/include/linux/netfilter_ipv4/ipt_addrtype.h | |||
@@ -1,6 +1,20 @@ | |||
1 | #ifndef _IPT_ADDRTYPE_H | 1 | #ifndef _IPT_ADDRTYPE_H |
2 | #define _IPT_ADDRTYPE_H | 2 | #define _IPT_ADDRTYPE_H |
3 | 3 | ||
4 | enum { | ||
5 | IPT_ADDRTYPE_INVERT_SOURCE = 0x0001, | ||
6 | IPT_ADDRTYPE_INVERT_DEST = 0x0002, | ||
7 | IPT_ADDRTYPE_LIMIT_IFACE_IN = 0x0004, | ||
8 | IPT_ADDRTYPE_LIMIT_IFACE_OUT = 0x0008, | ||
9 | }; | ||
10 | |||
11 | struct ipt_addrtype_info_v1 { | ||
12 | u_int16_t source; /* source-type mask */ | ||
13 | u_int16_t dest; /* dest-type mask */ | ||
14 | u_int32_t flags; | ||
15 | }; | ||
16 | |||
17 | /* revision 0 */ | ||
4 | struct ipt_addrtype_info { | 18 | struct ipt_addrtype_info { |
5 | u_int16_t source; /* source-type mask */ | 19 | u_int16_t source; /* source-type mask */ |
6 | u_int16_t dest; /* dest-type mask */ | 20 | u_int16_t dest; /* dest-type mask */ |