Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
ip6t_opts.h
Go to the documentation of this file.
1 #ifndef _IP6T_OPTS_H
2 #define _IP6T_OPTS_H
3 
4 #include <linux/types.h>
5 
6 #define IP6T_OPTS_OPTSNR 16
7 
8 struct ip6t_opts {
9  __u32 hdrlen; /* Header Length */
10  __u8 flags; /* */
11  __u8 invflags; /* Inverse flags */
13  __u8 optsnr; /* Nr of OPts */
14 };
15 
16 #define IP6T_OPTS_LEN 0x01
17 #define IP6T_OPTS_OPTS 0x02
18 #define IP6T_OPTS_NSTRICT 0x04
19 
20 /* Values for "invflags" field in struct ip6t_rt. */
21 #define IP6T_OPTS_INV_LEN 0x01 /* Invert the sense of length. */
22 #define IP6T_OPTS_INV_MASK 0x01 /* All possible flags. */
23 
24 #endif /*_IP6T_OPTS_H*/