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


ip6t_ipv6header.h
01: /* ipv6header match - matches IPv6 packets based
02: on whether they contain certain headers */
03: 
04: /* Original idea: Brad Chapman 
05:  * Rewritten by: Andras Kis-Szabo <kisza@sch.bme.hu> */
06: 
07: 
08: #ifndef __IPV6HEADER_H
09: #define __IPV6HEADER_H
10: 
11: #include <linux/types.h>
12: 
13: struct ip6t_ipv6header_info {
14:         __u8 matchflags;
15:         __u8 invflags;
16:         __u8 modeflag;
17: };
18: 
19: #define MASK_HOPOPTS    128
20: #define MASK_DSTOPTS    64
21: #define MASK_ROUTING    32
22: #define MASK_FRAGMENT   16
23: #define MASK_AH         8
24: #define MASK_ESP        4
25: #define MASK_NONE       2
26: #define MASK_PROTO      1
27: 
28: #endif /* __IPV6HEADER_H */
29: 


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