diff options
author | Patrick McHardy <kaber@trash.net> | 2011-01-20 04:33:55 -0500 |
---|---|---|
committer | Patrick McHardy <kaber@trash.net> | 2011-01-20 04:33:55 -0500 |
commit | 82d800d8e7fa731b50deb851d16b68050673f587 (patch) | |
tree | 60acee6699b1cdb7fe5e2802947737dffeeeb6c9 /include | |
parent | 28a51ba59a1a983d63d4775e9bb8230fe0fb3b29 (diff) | |
parent | cc4fc022571376412986e27e08b0765e9cb2aafb (diff) |
Merge branch 'connlimit' of git://dev.medozas.de/linux
Conflicts:
Documentation/feature-removal-schedule.txt
Signed-off-by: Patrick McHardy <kaber@trash.net>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/netfilter/xt_connlimit.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/include/linux/netfilter/xt_connlimit.h b/include/linux/netfilter/xt_connlimit.h index 7e3284bcbd2b..8884efc605c7 100644 --- a/include/linux/netfilter/xt_connlimit.h +++ b/include/linux/netfilter/xt_connlimit.h | |||
@@ -3,6 +3,11 @@ | |||
3 | 3 | ||
4 | struct xt_connlimit_data; | 4 | struct xt_connlimit_data; |
5 | 5 | ||
6 | enum { | ||
7 | XT_CONNLIMIT_INVERT = 1 << 0, | ||
8 | XT_CONNLIMIT_DADDR = 1 << 1, | ||
9 | }; | ||
10 | |||
6 | struct xt_connlimit_info { | 11 | struct xt_connlimit_info { |
7 | union { | 12 | union { |
8 | union nf_inet_addr mask; | 13 | union nf_inet_addr mask; |
@@ -14,6 +19,13 @@ struct xt_connlimit_info { | |||
14 | #endif | 19 | #endif |
15 | }; | 20 | }; |
16 | unsigned int limit, inverse; | 21 | unsigned int limit, inverse; |
22 | union { | ||
23 | /* revision 0 */ | ||
24 | unsigned int inverse; | ||
25 | |||
26 | /* revision 1 */ | ||
27 | __u32 flags; | ||
28 | }; | ||
17 | 29 | ||
18 | /* Used internally by the kernel */ | 30 | /* Used internally by the kernel */ |
19 | struct xt_connlimit_data *data __attribute__((aligned(8))); | 31 | struct xt_connlimit_data *data __attribute__((aligned(8))); |