diff options
author | Jan Engelhardt <jengelh@medozas.de> | 2007-07-09 16:50:17 +0000 |
---|---|---|
committer | Patrick McHardy <kaber@trash.net> | 2007-07-09 16:50:17 +0000 |
commit | 21df4af43dcc9f635baa2aff3ace53768d9704bc (patch) | |
tree | 27980b185cd1984cefb5b6ed1de7cb403f9fc108 /include/linux/netfilter/xt_connlimit.h | |
parent | 0c6bf10fbdbea24ec224a87118ff422279311887 (diff) |
PATCH: Add connlimit to iptables.
Signed-off-by: Jan Engelhardt <jengelh@gmx.de>
Diffstat (limited to 'include/linux/netfilter/xt_connlimit.h')
-rw-r--r-- | include/linux/netfilter/xt_connlimit.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/include/linux/netfilter/xt_connlimit.h b/include/linux/netfilter/xt_connlimit.h new file mode 100644 index 00000000..90ae8b47 --- /dev/null +++ b/include/linux/netfilter/xt_connlimit.h @@ -0,0 +1,17 @@ +#ifndef _XT_CONNLIMIT_H +#define _XT_CONNLIMIT_H + +struct xt_connlimit_data; + +struct xt_connlimit_info { + union { + u_int32_t v4_mask; + u_int32_t v6_mask[4]; + }; + unsigned int limit, inverse; + + /* this needs to be at the end */ + struct xt_connlimit_data *data __attribute__((aligned(8))); +}; + +#endif /* _XT_CONNLIMIT_H */ |