ip6t_opts.h revision dbe77cc974cee656eae37e75039dd1a410a4535b
1#ifndef _IP6T_OPTS_H
2#define _IP6T_OPTS_H
3
4#include <linux/types.h>
5
6#define IP6T_OPTS_OPTSNR 16
7
8struct ip6t_opts {
9	__u32 hdrlen;			/* Header Length */
10	__u8 flags;				/*  */
11	__u8 invflags;			/* Inverse flags */
12	__u16 opts[IP6T_OPTS_OPTSNR];	/* opts */
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*/
25