blob: b47f61b9e082f1281023076577fa2e182aa2b616 [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001#ifndef _IP6T_FRAG_H
2#define _IP6T_FRAG_H
3
Jan Engelhardt06988b02011-01-20 17:50:17 +01004#include <linux/types.h>
5
Eric Dumazetd94d9fe2009-11-04 09:50:58 -08006struct ip6t_frag {
Jan Engelhardt0260c1d2011-01-18 07:33:09 +01007 __u32 ids[2]; /* Security Parameter Index */
8 __u32 hdrlen; /* Header Length */
9 __u8 flags; /* */
10 __u8 invflags; /* Inverse flags */
Linus Torvalds1da177e2005-04-16 15:20:36 -070011};
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 Torvalds1da177e2005-04-16 15:20:36 -070025#endif /*_IP6T_FRAG_H*/