Committer: Michael Beasley <mike@snafu.setup>
[mikesnafu-overlay.git] / include / linux / netfilter_ipv6 / ip6t_opts.h
bloba07e36380ae8268492d2bca37f92edfe5a1ad488
1 #ifndef _IP6T_OPTS_H
2 #define _IP6T_OPTS_H
4 #define IP6T_OPTS_OPTSNR 16
6 struct ip6t_opts
8 u_int32_t hdrlen; /* Header Length */
9 u_int8_t flags; /* */
10 u_int8_t invflags; /* Inverse flags */
11 u_int16_t opts[IP6T_OPTS_OPTSNR]; /* opts */
12 u_int8_t optsnr; /* Nr of OPts */
15 #define IP6T_OPTS_LEN 0x01
16 #define IP6T_OPTS_OPTS 0x02
17 #define IP6T_OPTS_NSTRICT 0x04
19 /* Values for "invflags" field in struct ip6t_rt. */
20 #define IP6T_OPTS_INV_LEN 0x01 /* Invert the sense of length. */
21 #define IP6T_OPTS_INV_MASK 0x01 /* All possible flags. */
23 #endif /*_IP6T_OPTS_H*/