Warning: This file is not a C or C++ file. It does not have highlighting.

1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
2#ifndef _IP6T_AH_H
3#define _IP6T_AH_H
4
5#include <linux/types.h>
6
7struct ip6t_ah {
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 */
12};
13
14#define IP6T_AH_SPI 0x01
15#define IP6T_AH_LEN 0x02
16#define IP6T_AH_RES 0x04
17
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. */
22
23#endif /*_IP6T_AH_H*/
24

Warning: This file is not a C or C++ file. It does not have highlighting.

source code of linux/include/uapi/linux/netfilter_ipv6/ip6t_ah.h