]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blob - include/linux/netfilter_ipv6/ip6t_ah.h
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/hid
[mirror_ubuntu-artful-kernel.git] / include / linux / netfilter_ipv6 / ip6t_ah.h
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*/