Dr Andrew Scott G7VAV

My photo
 
September 2025
Mo Tu We Th Fr Sa Su
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 7 8 9 10 11 12


xt_connbytes.h
01: #ifndef _XT_CONNBYTES_H
02: #define _XT_CONNBYTES_H
03: 
04: #include <linux/types.h>
05: 
06: enum xt_connbytes_what {
07:         XT_CONNBYTES_PKTS,
08:         XT_CONNBYTES_BYTES,
09:         XT_CONNBYTES_AVGPKT,
10: };
11: 
12: enum xt_connbytes_direction {
13:         XT_CONNBYTES_DIR_ORIGINAL,
14:         XT_CONNBYTES_DIR_REPLY,
15:         XT_CONNBYTES_DIR_BOTH,
16: };
17: 
18: struct xt_connbytes_info {
19:         struct {
20:                 __aligned_u64 from;     /* count to be matched */
21:                 __aligned_u64 to;       /* count to be matched */
22:         } count;
23:         __u8 what;              /* ipt_connbytes_what */
24:         __u8 direction; /* ipt_connbytes_direction */
25: };
26: #endif
27: 


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