Home | History | Annotate | Download | only in netfilter_ipv6
      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_RT_H
     13 #define _IP6T_RT_H
     14 
     15 #define IP6T_RT_HOPS 16
     16 
     17 struct ip6t_rt
     18 {
     19  u_int32_t rt_type;
     20  u_int32_t segsleft[2];
     21  u_int32_t hdrlen;
     22  u_int8_t flags;
     23  u_int8_t invflags;
     24  struct in6_addr addrs[IP6T_RT_HOPS];
     25  u_int8_t addrnr;
     26 };
     27 
     28 #define IP6T_RT_TYP 0x01
     29 #define IP6T_RT_SGS 0x02
     30 #define IP6T_RT_LEN 0x04
     31 #define IP6T_RT_RES 0x08
     32 #define IP6T_RT_FST_MASK 0x30
     33 #define IP6T_RT_FST 0x10
     34 #define IP6T_RT_FST_NSTRICT 0x20
     35 
     36 #define IP6T_RT_INV_TYP 0x01
     37 #define IP6T_RT_INV_SGS 0x02
     38 #define IP6T_RT_INV_LEN 0x04
     39 #define IP6T_RT_INV_MASK 0x07
     40 
     41 #endif
     42