Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
ip6t_ah.h
Go to the documentation of this file.
1 #ifndef _IP6T_AH_H
2 #define _IP6T_AH_H
3 
4 #include <linux/types.h>
5 
6 struct ip6t_ah {
7  __u32 spis[2]; /* Security Parameter Index */
8  __u32 hdrlen; /* Header Length */
9  __u8 hdrres; /* Test of the Reserved Filed */
10  __u8 invflags; /* Inverse flags */
11 };
12 
13 #define IP6T_AH_SPI 0x01
14 #define IP6T_AH_LEN 0x02
15 #define IP6T_AH_RES 0x04
16 
17 /* Values for "invflags" field in struct ip6t_ah. */
18 #define IP6T_AH_INV_SPI 0x01 /* Invert the sense of spi. */
19 #define IP6T_AH_INV_LEN 0x02 /* Invert the sense of length. */
20 #define IP6T_AH_INV_MASK 0x03 /* All possible flags. */
21 
22 #endif /*_IP6T_AH_H*/