4 #include <linux/types.h>
6 #define SIOCGETTUNNEL (SIOCDEVPRIVATE + 0)
7 #define SIOCADDTUNNEL (SIOCDEVPRIVATE + 1)
8 #define SIOCDELTUNNEL (SIOCDEVPRIVATE + 2)
9 #define SIOCCHGTUNNEL (SIOCDEVPRIVATE + 3)
11 #define GRE_CSUM __constant_htons(0x8000)
12 #define GRE_ROUTING __constant_htons(0x4000)
13 #define GRE_KEY __constant_htons(0x2000)
14 #define GRE_SEQ __constant_htons(0x1000)
15 #define GRE_STRICT __constant_htons(0x0800)
16 #define GRE_REC __constant_htons(0x0700)
17 #define GRE_FLAGS __constant_htons(0x00F8)
18 #define GRE_VERSION __constant_htons(0x0007)
20 /* i_flags values for SIT mode */
21 #define SIT_ISATAP 0x0001
34 #endif /* _IF_TUNNEL_H_ */