1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
2 /* ipv6header match - matches IPv6 packets based
3 on whether they contain certain headers */
4 
5 /* Original idea: Brad Chapman
6  * Rewritten by: Andras Kis-Szabo <kisza@sch.bme.hu> */
7 
8 
9 #ifndef __IPV6HEADER_H
10 #define __IPV6HEADER_H
11 
12 #include <linux/types.h>
13 
14 struct ip6t_ipv6header_info {
15 	__u8 matchflags;
16 	__u8 invflags;
17 	__u8 modeflag;
18 };
19 
20 #define MASK_HOPOPTS    128
21 #define MASK_DSTOPTS    64
22 #define MASK_ROUTING    32
23 #define MASK_FRAGMENT   16
24 #define MASK_AH         8
25 #define MASK_ESP        4
26 #define MASK_NONE       2
27 #define MASK_PROTO      1
28 
29 #endif /* __IPV6HEADER_H */
30