Go to the documentation of this file. 1 #ifndef _UAPI_IF_TUNNEL_H_
2 #define _UAPI_IF_TUNNEL_H_
4 #include <linux/types.h>
5 #include <asm/byteorder.h>
8 #define SIOCGETTUNNEL (SIOCDEVPRIVATE + 0)
9 #define SIOCADDTUNNEL (SIOCDEVPRIVATE + 1)
10 #define SIOCDELTUNNEL (SIOCDEVPRIVATE + 2)
11 #define SIOCCHGTUNNEL (SIOCDEVPRIVATE + 3)
12 #define SIOCGETPRL (SIOCDEVPRIVATE + 4)
13 #define SIOCADDPRL (SIOCDEVPRIVATE + 5)
14 #define SIOCDELPRL (SIOCDEVPRIVATE + 6)
15 #define SIOCCHGPRL (SIOCDEVPRIVATE + 7)
16 #define SIOCGET6RD (SIOCDEVPRIVATE + 8)
17 #define SIOCADD6RD (SIOCDEVPRIVATE + 9)
18 #define SIOCDEL6RD (SIOCDEVPRIVATE + 10)
19 #define SIOCCHG6RD (SIOCDEVPRIVATE + 11)
21 #define GRE_CSUM __cpu_to_be16(0x8000)
22 #define GRE_ROUTING __cpu_to_be16(0x4000)
23 #define GRE_KEY __cpu_to_be16(0x2000)
24 #define GRE_SEQ __cpu_to_be16(0x1000)
25 #define GRE_STRICT __cpu_to_be16(0x0800)
26 #define GRE_REC __cpu_to_be16(0x0700)
27 #define GRE_FLAGS __cpu_to_be16(0x00F8)
28 #define GRE_VERSION __cpu_to_be16(0x0007)
41 #define SIT_ISATAP 0x0001
53 #define PRL_DEFAULT 0x0001
80 #define IFLA_GRE_MAX (__IFLA_GRE_MAX - 1)
83 #define VTI_ISVTI 0x0001
95 #define IFLA_VTI_MAX (__IFLA_VTI_MAX - 1)