4 #include <linux/types.h>
10 #define SIOCGETTUNNEL (SIOCDEVPRIVATE + 0)
11 #define SIOCADDTUNNEL (SIOCDEVPRIVATE + 1)
12 #define SIOCDELTUNNEL (SIOCDEVPRIVATE + 2)
13 #define SIOCCHGTUNNEL (SIOCDEVPRIVATE + 3)
14 #define SIOCGETPRL (SIOCDEVPRIVATE + 4)
15 #define SIOCADDPRL (SIOCDEVPRIVATE + 5)
16 #define SIOCDELPRL (SIOCDEVPRIVATE + 6)
17 #define SIOCCHGPRL (SIOCDEVPRIVATE + 7)
19 #define GRE_CSUM __cpu_to_be16(0x8000)
20 #define GRE_ROUTING __cpu_to_be16(0x4000)
21 #define GRE_KEY __cpu_to_be16(0x2000)
22 #define GRE_SEQ __cpu_to_be16(0x1000)
23 #define GRE_STRICT __cpu_to_be16(0x0800)
24 #define GRE_REC __cpu_to_be16(0x0700)
25 #define GRE_FLAGS __cpu_to_be16(0x00F8)
26 #define GRE_VERSION __cpu_to_be16(0x0007)
39 /* SIT-mode i_flags */
40 #define SIT_ISATAP 0x0001
42 struct ip_tunnel_prl {
52 #define PRL_DEFAULT 0x0001
70 #define IFLA_GRE_MAX (__IFLA_GRE_MAX - 1)
72 #endif /* _IF_TUNNEL_H_ */