Dr Andrew Scott G7VAV

My photo
 
June 2025
Mo Tu We Th Fr Sa Su
26 27 28 29 30 31 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 1 2 3 4 5 6


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:                 /* revision 0 */
25:                 unsigned int inverse;
26: 
27:                 /* revision 1 */
28:                 __u32 flags;
29:         };
30: 
31:         /* Used internally by the kernel */
32:         struct xt_connlimit_data *data __attribute__((aligned(8)));
33: };
34: 
35: #endif /* _XT_CONNLIMIT_H */
36: 


for client (none)
© Andrew Scott 2006 - 2025,
All Rights Reserved
http://www.andrew-scott.uk/
Andrew Scott
http://www.andrew-scott.co.uk/