root/include/uapi/linux/netfilter_ipv6/ip6t_opts.h

/* [<][>][^][v][top][bottom][index][help] */

INCLUDED FROM


   1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
   2 #ifndef _IP6T_OPTS_H
   3 #define _IP6T_OPTS_H
   4 
   5 #include <linux/types.h>
   6 
   7 #define IP6T_OPTS_OPTSNR 16
   8 
   9 struct ip6t_opts {
  10         __u32 hdrlen;                   /* Header Length */
  11         __u8 flags;                             /*  */
  12         __u8 invflags;                  /* Inverse flags */
  13         __u16 opts[IP6T_OPTS_OPTSNR];   /* opts */
  14         __u8 optsnr;                    /* Nr of OPts */
  15 };
  16 
  17 #define IP6T_OPTS_LEN           0x01
  18 #define IP6T_OPTS_OPTS          0x02
  19 #define IP6T_OPTS_NSTRICT       0x04
  20 
  21 /* Values for "invflags" field in struct ip6t_rt. */
  22 #define IP6T_OPTS_INV_LEN       0x01    /* Invert the sense of length. */
  23 #define IP6T_OPTS_INV_MASK      0x01    /* All possible flags. */
  24 
  25 #endif /*_IP6T_OPTS_H*/

/* [<][>][^][v][top][bottom][index][help] */