]>
Commit | Line | Data |
---|---|---|
1da177e4 LT |
1 | /* ipv6header match - matches IPv6 packets based |
2 | on 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 | ||
06988b06 JE |
11 | #include <linux/types.h> |
12 | ||
d94d9fee | 13 | struct ip6t_ipv6header_info { |
0260c1dc JE |
14 | __u8 matchflags; |
15 | __u8 invflags; | |
16 | __u8 modeflag; | |
1da177e4 LT |
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 */ |