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