V4L/DVB (8930): gspca: The image transfer by bulk is started by the subdrivers.
[zen-stable.git] / include / linux / ip6_tunnel.h
blob1e7cc4af40deac588512e9715c77611c374b431c
1 #ifndef _IP6_TUNNEL_H
2 #define _IP6_TUNNEL_H
4 #define IPV6_TLV_TNL_ENCAP_LIMIT 4
5 #define IPV6_DEFAULT_TNL_ENCAP_LIMIT 4
7 /* don't add encapsulation limit if one isn't present in inner packet */
8 #define IP6_TNL_F_IGN_ENCAP_LIMIT 0x1
9 /* copy the traffic class field from the inner packet */
10 #define IP6_TNL_F_USE_ORIG_TCLASS 0x2
11 /* copy the flowlabel from the inner packet */
12 #define IP6_TNL_F_USE_ORIG_FLOWLABEL 0x4
13 /* being used for Mobile IPv6 */
14 #define IP6_TNL_F_MIP6_DEV 0x8
15 /* copy DSCP from the outer packet */
16 #define IP6_TNL_F_RCV_DSCP_COPY 0x10
18 struct ip6_tnl_parm {
19 char name[IFNAMSIZ]; /* name of tunnel device */
20 int link; /* ifindex of underlying L2 interface */
21 __u8 proto; /* tunnel protocol */
22 __u8 encap_limit; /* encapsulation limit for tunnel */
23 __u8 hop_limit; /* hop limit for tunnel */
24 __be32 flowinfo; /* traffic class and flowlabel for tunnel */
25 __u32 flags; /* tunnel flags */
26 struct in6_addr laddr; /* local tunnel end-point address */
27 struct in6_addr raddr; /* remote tunnel end-point address */
30 #endif