69b12e76eaf7f944c3bd670eff87509c497c19f1
[sfrench/cifs-2.6.git] / include / uapi / linux / netfilter / xt_ipcomp.h
1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
2 #ifndef _XT_IPCOMP_H
3 #define _XT_IPCOMP_H
4
5 #include <linux/types.h>
6
7 struct xt_ipcomp {
8         __u32 spis[2];  /* Security Parameter Index */
9         __u8 invflags;  /* Inverse flags */
10         __u8 hdrres;    /* Test of the Reserved Filed */
11 };
12
13 /* Values for "invflags" field in struct xt_ipcomp. */
14 #define XT_IPCOMP_INV_SPI       0x01    /* Invert the sense of spi. */
15 #define XT_IPCOMP_INV_MASK      0x01    /* All possible flags. */
16
17 #endif /*_XT_IPCOMP_H*/