Committer: Michael Beasley <mike@snafu.setup>
[mikesnafu-overlay.git] / include / linux / netfilter_ipv6 / ip6t_ipv6header.h
blob51c53fc9c44a57757f7452ba963ee6d05cd44fc0
1 /* ipv6header match - matches IPv6 packets based
2 on whether they contain certain headers */
4 /* Original idea: Brad Chapman
5 * Rewritten by: Andras Kis-Szabo <kisza@sch.bme.hu> */
8 #ifndef __IPV6HEADER_H
9 #define __IPV6HEADER_H
11 struct ip6t_ipv6header_info
13 u_int8_t matchflags;
14 u_int8_t invflags;
15 u_int8_t modeflag;
18 #define MASK_HOPOPTS 128
19 #define MASK_DSTOPTS 64
20 #define MASK_ROUTING 32
21 #define MASK_FRAGMENT 16
22 #define MASK_AH 8
23 #define MASK_ESP 4
24 #define MASK_NONE 2
25 #define MASK_PROTO 1
27 #endif /* __IPV6HEADER_H */