RT-AC56 3.0.0.4.374.37 core
[tomato.git] / release / src-rt-6.x.4708 / linux / linux-2.6.36 / include / linux / netfilter_ipv6 / ip6t_ah.h
blob17a745cfb2c778cfff11b2601c2ce0bacf184f24
1 #ifndef _IP6T_AH_H
2 #define _IP6T_AH_H
4 struct ip6t_ah {
5 u_int32_t spis[2]; /* Security Parameter Index */
6 u_int32_t hdrlen; /* Header Length */
7 u_int8_t hdrres; /* Test of the Reserved Filed */
8 u_int8_t invflags; /* Inverse flags */
9 };
11 #define IP6T_AH_SPI 0x01
12 #define IP6T_AH_LEN 0x02
13 #define IP6T_AH_RES 0x04
15 /* Values for "invflags" field in struct ip6t_ah. */
16 #define IP6T_AH_INV_SPI 0x01 /* Invert the sense of spi. */
17 #define IP6T_AH_INV_LEN 0x02 /* Invert the sense of length. */
18 #define IP6T_AH_INV_MASK 0x03 /* All possible flags. */
20 #endif /*_IP6T_AH_H*/