Home | History | Annotate | Download | only in netfilter_ipv6
      1 #ifndef _IP6T_FRAG_H
      2 #define _IP6T_FRAG_H
      3 
      4 #include <linux/types.h>
      5 
      6 struct ip6t_frag {
      7 	__u32 ids[2];			/* Identification range */
      8 	__u32 hdrlen;			/* Header Length */
      9 	__u8  flags;			/* Flags */
     10 	__u8  invflags;			/* Inverse flags */
     11 };
     12 
     13 #define IP6T_FRAG_IDS 		0x01
     14 #define IP6T_FRAG_LEN 		0x02
     15 #define IP6T_FRAG_RES 		0x04
     16 #define IP6T_FRAG_FST 		0x08
     17 #define IP6T_FRAG_MF  		0x10
     18 #define IP6T_FRAG_NMF  		0x20
     19 
     20 /* Values for "invflags" field in struct ip6t_frag. */
     21 #define IP6T_FRAG_INV_IDS	0x01	/* Invert the sense of ids. */
     22 #define IP6T_FRAG_INV_LEN	0x02	/* Invert the sense of length. */
     23 #define IP6T_FRAG_INV_MASK	0x03	/* All possible flags. */
     24 
     25 #endif /*_IP6T_FRAG_H*/
     26