1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
5 #include <linux/types.h>
8 __u32 spis[2]; /* Security Parameter Index */
9 __u32 hdrlen; /* Header Length */
10 __u8 hdrres; /* Test of the Reserved Filed */
11 __u8 invflags; /* Inverse flags */
14 #define IP6T_AH_SPI 0x01
15 #define IP6T_AH_LEN 0x02
16 #define IP6T_AH_RES 0x04
18 /* Values for "invflags" field in struct ip6t_ah. */
19 #define IP6T_AH_INV_SPI 0x01 /* Invert the sense of spi. */
20 #define IP6T_AH_INV_LEN 0x02 /* Invert the sense of length. */
21 #define IP6T_AH_INV_MASK 0x03 /* All possible flags. */