4 #include <linux/types.h>
7 #define SIOCGETTUNNEL (SIOCDEVPRIVATE + 0)
8 #define SIOCADDTUNNEL (SIOCDEVPRIVATE + 1)
9 #define SIOCDELTUNNEL (SIOCDEVPRIVATE + 2)
10 #define SIOCCHGTUNNEL (SIOCDEVPRIVATE + 3)
11 #define SIOCGETPRL (SIOCDEVPRIVATE + 4)
12 #define SIOCADDPRL (SIOCDEVPRIVATE + 5)
13 #define SIOCDELPRL (SIOCDEVPRIVATE + 6)
14 #define SIOCCHGPRL (SIOCDEVPRIVATE + 7)
16 #define GRE_CSUM __constant_htons(0x8000)
17 #define GRE_ROUTING __constant_htons(0x4000)
18 #define GRE_KEY __constant_htons(0x2000)
19 #define GRE_SEQ __constant_htons(0x1000)
20 #define GRE_STRICT __constant_htons(0x0800)
21 #define GRE_REC __constant_htons(0x0700)
22 #define GRE_FLAGS __constant_htons(0x00F8)
23 #define GRE_VERSION __constant_htons(0x0007)
36 /* SIT-mode i_flags */
37 #define SIT_ISATAP 0x0001
39 struct ip_tunnel_prl {
49 #define PRL_DEFAULT 0x0001
67 #define IFLA_GRE_MAX (__IFLA_GRE_MAX - 1)
69 #endif /* _IF_TUNNEL_H_ */