Root/
1 | #ifndef _IP6_TUNNEL_H |
2 | #define _IP6_TUNNEL_H |
3 | |
4 | #include <linux/types.h> |
5 | |
6 | #define IPV6_TLV_TNL_ENCAP_LIMIT 4 |
7 | #define IPV6_DEFAULT_TNL_ENCAP_LIMIT 4 |
8 | |
9 | /* don't add encapsulation limit if one isn't present in inner packet */ |
10 | #define IP6_TNL_F_IGN_ENCAP_LIMIT 0x1 |
11 | /* copy the traffic class field from the inner packet */ |
12 | #define IP6_TNL_F_USE_ORIG_TCLASS 0x2 |
13 | /* copy the flowlabel from the inner packet */ |
14 | #define IP6_TNL_F_USE_ORIG_FLOWLABEL 0x4 |
15 | /* being used for Mobile IPv6 */ |
16 | #define IP6_TNL_F_MIP6_DEV 0x8 |
17 | /* copy DSCP from the outer packet */ |
18 | #define IP6_TNL_F_RCV_DSCP_COPY 0x10 |
19 | |
20 | struct ip6_tnl_parm { |
21 | char name[IFNAMSIZ]; /* name of tunnel device */ |
22 | int link; /* ifindex of underlying L2 interface */ |
23 | __u8 proto; /* tunnel protocol */ |
24 | __u8 encap_limit; /* encapsulation limit for tunnel */ |
25 | __u8 hop_limit; /* hop limit for tunnel */ |
26 | __be32 flowinfo; /* traffic class and flowlabel for tunnel */ |
27 | __u32 flags; /* tunnel flags */ |
28 | struct in6_addr laddr; /* local tunnel end-point address */ |
29 | struct in6_addr raddr; /* remote tunnel end-point address */ |
30 | }; |
31 | |
32 | #endif |
33 |
Branches:
ben-wpan
ben-wpan-stefan
javiroman/ks7010
jz-2.6.34
jz-2.6.34-rc5
jz-2.6.34-rc6
jz-2.6.34-rc7
jz-2.6.35
jz-2.6.36
jz-2.6.37
jz-2.6.38
jz-2.6.39
jz-3.0
jz-3.1
jz-3.11
jz-3.12
jz-3.13
jz-3.15
jz-3.16
jz-3.18-dt
jz-3.2
jz-3.3
jz-3.4
jz-3.5
jz-3.6
jz-3.6-rc2-pwm
jz-3.9
jz-3.9-clk
jz-3.9-rc8
jz47xx
jz47xx-2.6.38
master
Tags:
od-2011-09-04
od-2011-09-18
v2.6.34-rc5
v2.6.34-rc6
v2.6.34-rc7
v3.9