xt_connlimit.h
01: #ifndef _XT_CONNLIMIT_H
02: #define _XT_CONNLIMIT_H
03:
04: #include <linux/types.h>
05: #include <linux/netfilter.h>
06:
07: struct xt_connlimit_data;
08:
09: enum {
10: XT_CONNLIMIT_INVERT = 1 << 0,
11: XT_CONNLIMIT_DADDR = 1 << 1,
12: };
13:
14: struct xt_connlimit_info {
15: union {
16: union nf_inet_addr mask;
17: union {
18: __be32 v4_mask;
19: __be32 v6_mask[4];
20: };
21: };
22: unsigned int limit;
23: union {
24:
25: unsigned int inverse;
26:
27:
28: __u32 flags;
29: };
30:
31:
32: struct xt_connlimit_data *data __attribute__((aligned(8)));
33: };
34:
35: #endif
36:
© Andrew Scott 2006 -
2025,
All Rights Reserved