ip6t_opts.h revision 435483c91cf16117fc2b864cb6994435ad669bc6
1/****************************************************************************
2 ****************************************************************************
3 ***
4 ***   This header was automatically generated from a Linux kernel header
5 ***   of the same name, to make information necessary for userspace to
6 ***   call into the kernel available to libc.  It contains only constants,
7 ***   structures, and macros generated from the original header, and thus,
8 ***   contains no copyrightable information.
9 ***
10 ****************************************************************************
11 ****************************************************************************/
12#ifndef _IP6T_OPTS_H
13#define _IP6T_OPTS_H
14
15#define IP6T_OPTS_OPTSNR 16
16
17struct ip6t_opts
18{
19 u_int32_t hdrlen;
20 u_int8_t flags;
21 u_int8_t invflags;
22 u_int16_t opts[IP6T_OPTS_OPTSNR];
23 u_int8_t optsnr;
24};
25
26#define IP6T_OPTS_LEN 0x01
27#define IP6T_OPTS_OPTS 0x02
28#define IP6T_OPTS_NSTRICT 0x04
29
30#define IP6T_OPTS_INV_LEN 0x01
31#define IP6T_OPTS_INV_MASK 0x01
32
33#endif
34