aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/if_tunnel.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/include/linux/if_tunnel.h b/include/linux/if_tunnel.h
index 5a9aae4adb44..c53c8e016940 100644
--- a/include/linux/if_tunnel.h
+++ b/include/linux/if_tunnel.h
@@ -15,6 +15,10 @@
15#define SIOCADDPRL (SIOCDEVPRIVATE + 5) 15#define SIOCADDPRL (SIOCDEVPRIVATE + 5)
16#define SIOCDELPRL (SIOCDEVPRIVATE + 6) 16#define SIOCDELPRL (SIOCDEVPRIVATE + 6)
17#define SIOCCHGPRL (SIOCDEVPRIVATE + 7) 17#define SIOCCHGPRL (SIOCDEVPRIVATE + 7)
18#define SIOCGET6RD (SIOCDEVPRIVATE + 8)
19#define SIOCADD6RD (SIOCDEVPRIVATE + 9)
20#define SIOCDEL6RD (SIOCDEVPRIVATE + 10)
21#define SIOCCHG6RD (SIOCDEVPRIVATE + 11)
18 22
19#define GRE_CSUM __cpu_to_be16(0x8000) 23#define GRE_CSUM __cpu_to_be16(0x8000)
20#define GRE_ROUTING __cpu_to_be16(0x4000) 24#define GRE_ROUTING __cpu_to_be16(0x4000)
@@ -51,6 +55,13 @@ struct ip_tunnel_prl {
51/* PRL flags */ 55/* PRL flags */
52#define PRL_DEFAULT 0x0001 56#define PRL_DEFAULT 0x0001
53 57
58struct ip_tunnel_6rd {
59 struct in6_addr prefix;
60 __be32 relay_prefix;
61 __u16 prefixlen;
62 __u16 relay_prefixlen;
63};
64
54enum 65enum
55{ 66{
56 IFLA_GRE_UNSPEC, 67 IFLA_GRE_UNSPEC,