diff options
Diffstat (limited to 'include/net/ipip.h')
-rw-r--r-- | include/net/ipip.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/include/net/ipip.h b/include/net/ipip.h index 0159221a8509..86f1c8bd040c 100644 --- a/include/net/ipip.h +++ b/include/net/ipip.h | |||
@@ -7,6 +7,15 @@ | |||
7 | /* Keep error state on tunnel for 30 sec */ | 7 | /* Keep error state on tunnel for 30 sec */ |
8 | #define IPTUNNEL_ERR_TIMEO (30*HZ) | 8 | #define IPTUNNEL_ERR_TIMEO (30*HZ) |
9 | 9 | ||
10 | /* 6rd prefix/relay information */ | ||
11 | struct ip_tunnel_6rd_parm | ||
12 | { | ||
13 | struct in6_addr prefix; | ||
14 | __be32 relay_prefix; | ||
15 | u16 prefixlen; | ||
16 | u16 relay_prefixlen; | ||
17 | }; | ||
18 | |||
10 | struct ip_tunnel | 19 | struct ip_tunnel |
11 | { | 20 | { |
12 | struct ip_tunnel *next; | 21 | struct ip_tunnel *next; |
@@ -23,6 +32,10 @@ struct ip_tunnel | |||
23 | 32 | ||
24 | struct ip_tunnel_parm parms; | 33 | struct ip_tunnel_parm parms; |
25 | 34 | ||
35 | /* for SIT */ | ||
36 | #ifdef CONFIG_IPV6_SIT_6RD | ||
37 | struct ip_tunnel_6rd_parm ip6rd; | ||
38 | #endif | ||
26 | struct ip_tunnel_prl_entry *prl; /* potential router list */ | 39 | struct ip_tunnel_prl_entry *prl; /* potential router list */ |
27 | unsigned int prl_count; /* # of entries in PRL */ | 40 | unsigned int prl_count; /* # of entries in PRL */ |
28 | }; | 41 | }; |