Linux-2.6.12-rc2
[linux-2.6/linux-acpi-2.6/ibm-acpi-2.6.git] / include / linux / netfilter_ipv6 / ip6t_frag.h
blob449a57eca7ddedb51af8d166a37ac83b26bbb867
1 #ifndef _IP6T_FRAG_H
2 #define _IP6T_FRAG_H
4 struct ip6t_frag
6 u_int32_t ids[2]; /* Security Parameter Index */
7 u_int32_t hdrlen; /* Header Length */
8 u_int8_t flags; /* */
9 u_int8_t invflags; /* Inverse flags */
12 #define IP6T_FRAG_IDS 0x01
13 #define IP6T_FRAG_LEN 0x02
14 #define IP6T_FRAG_RES 0x04
15 #define IP6T_FRAG_FST 0x08
16 #define IP6T_FRAG_MF 0x10
17 #define IP6T_FRAG_NMF 0x20
19 /* Values for "invflags" field in struct ip6t_frag. */
20 #define IP6T_FRAG_INV_IDS 0x01 /* Invert the sense of ids. */
21 #define IP6T_FRAG_INV_LEN 0x02 /* Invert the sense of length. */
22 #define IP6T_FRAG_INV_MASK 0x03 /* All possible flags. */
24 #define MASK_HOPOPTS 128
25 #define MASK_DSTOPTS 64
26 #define MASK_ROUTING 32
27 #define MASK_FRAGMENT 16
28 #define MASK_AH 8
29 #define MASK_ESP 4
30 #define MASK_NONE 2
31 #define MASK_PROTO 1
33 #endif /*_IP6T_FRAG_H*/