diff options
Diffstat (limited to 'include/linux/ip6_tunnel.h')
| -rw-r--r-- | include/linux/ip6_tunnel.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/include/linux/ip6_tunnel.h b/include/linux/ip6_tunnel.h index bf22b0317902..48af63c9a48d 100644 --- a/include/linux/ip6_tunnel.h +++ b/include/linux/ip6_tunnel.h | |||
| @@ -31,4 +31,21 @@ struct ip6_tnl_parm { | |||
| 31 | struct in6_addr raddr; /* remote tunnel end-point address */ | 31 | struct in6_addr raddr; /* remote tunnel end-point address */ |
| 32 | }; | 32 | }; |
| 33 | 33 | ||
| 34 | struct ip6_tnl_parm2 { | ||
| 35 | char name[IFNAMSIZ]; /* name of tunnel device */ | ||
| 36 | int link; /* ifindex of underlying L2 interface */ | ||
| 37 | __u8 proto; /* tunnel protocol */ | ||
| 38 | __u8 encap_limit; /* encapsulation limit for tunnel */ | ||
| 39 | __u8 hop_limit; /* hop limit for tunnel */ | ||
| 40 | __be32 flowinfo; /* traffic class and flowlabel for tunnel */ | ||
| 41 | __u32 flags; /* tunnel flags */ | ||
| 42 | struct in6_addr laddr; /* local tunnel end-point address */ | ||
| 43 | struct in6_addr raddr; /* remote tunnel end-point address */ | ||
| 44 | |||
| 45 | __be16 i_flags; | ||
| 46 | __be16 o_flags; | ||
| 47 | __be32 i_key; | ||
| 48 | __be32 o_key; | ||
| 49 | }; | ||
| 50 | |||
| 34 | #endif | 51 | #endif |
