Go to the documentation of this file. 1 #ifndef _CONNTRACK_PROTO_GRE_H
2 #define _CONNTRACK_PROTO_GRE_H
3 #include <asm/byteorder.h>
8 #define GRE_VERSION_1701 0x0
9 #define GRE_VERSION_PPTP 0x1
12 #define GRE_PROTOCOL_PPTP 0x880B
15 #define GRE_FLAG_C 0x80
16 #define GRE_FLAG_R 0x40
17 #define GRE_FLAG_K 0x20
18 #define GRE_FLAG_S 0x10
19 #define GRE_FLAG_A 0x80
21 #define GRE_IS_C(f) ((f)&GRE_FLAG_C)
22 #define GRE_IS_R(f) ((f)&GRE_FLAG_R)
23 #define GRE_IS_K(f) ((f)&GRE_FLAG_K)
24 #define GRE_IS_S(f) ((f)&GRE_FLAG_S)
25 #define GRE_IS_A(f) ((f)&GRE_FLAG_A)
29 #if defined(__LITTLE_ENDIAN_BITFIELD)
39 #elif defined(__BIG_ENDIAN_BITFIELD)
50 #error "Adjust your <asm/byteorder.h> defines"
78 struct nf_ct_gre_keymap {