Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | #ifndef _IP6T_FRAG_H |
| 2 | #define _IP6T_FRAG_H |
| 3 | |
Jan Engelhardt | 06988b0 | 2011-01-20 17:50:17 +0100 | [diff] [blame] | 4 | #include <linux/types.h> |
| 5 | |
Eric Dumazet | d94d9fe | 2009-11-04 09:50:58 -0800 | [diff] [blame] | 6 | struct ip6t_frag { |
Jan Engelhardt | 0260c1d | 2011-01-18 07:33:09 +0100 | [diff] [blame] | 7 | __u32 ids[2]; /* Security Parameter Index */ |
| 8 | __u32 hdrlen; /* Header Length */ |
| 9 | __u8 flags; /* */ |
| 10 | __u8 invflags; /* Inverse flags */ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 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 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 25 | #endif /*_IP6T_FRAG_H*/ |