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_FRAG_H
3#define _IP6T_FRAG_H
4
5#include <linux/types.h>
6
7struct ip6t_frag {
8 __u32 ids[2]; /* Identification range */
9 __u32 hdrlen; /* Header Length */
10 __u8 flags; /* Flags */
11 __u8 invflags; /* Inverse flags */
12};
13
14#define IP6T_FRAG_IDS 0x01
15#define IP6T_FRAG_LEN 0x02
16#define IP6T_FRAG_RES 0x04
17#define IP6T_FRAG_FST 0x08
18#define IP6T_FRAG_MF 0x10
19#define IP6T_FRAG_NMF 0x20
20
21/* Values for "invflags" field in struct ip6t_frag. */
22#define IP6T_FRAG_INV_IDS 0x01 /* Invert the sense of ids. */
23#define IP6T_FRAG_INV_LEN 0x02 /* Invert the sense of length. */
24#define IP6T_FRAG_INV_MASK 0x03 /* All possible flags. */
25
26#endif /*_IP6T_FRAG_H*/
27

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_frag.h