Root/
1 | #ifndef _NET_IP6_TUNNEL_H |
2 | #define _NET_IP6_TUNNEL_H |
3 | |
4 | #include <linux/ipv6.h> |
5 | #include <linux/netdevice.h> |
6 | #include <linux/ip6_tunnel.h> |
7 | |
8 | /* capable of sending packets */ |
9 | #define IP6_TNL_F_CAP_XMIT 0x10000 |
10 | /* capable of receiving packets */ |
11 | #define IP6_TNL_F_CAP_RCV 0x20000 |
12 | |
13 | /* IPv6 tunnel */ |
14 | |
15 | struct ip6_tnl { |
16 | struct ip6_tnl *next; /* next tunnel in list */ |
17 | struct net_device *dev; /* virtual device associated with tunnel */ |
18 | struct ip6_tnl_parm parms; /* tunnel configuration parameters */ |
19 | struct flowi fl; /* flowi template for xmit */ |
20 | struct dst_entry *dst_cache; /* cached dst */ |
21 | u32 dst_cookie; |
22 | }; |
23 | |
24 | /* Tunnel encapsulation limit destination sub-option */ |
25 | |
26 | struct ipv6_tlv_tnl_enc_lim { |
27 | __u8 type; /* type-code for option */ |
28 | __u8 length; /* option length */ |
29 | __u8 encap_limit; /* tunnel encapsulation limit */ |
30 | } __attribute__ ((packed)); |
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