Blame view
include/linux/ip6_tunnel.h
1.12 KB
1da177e4c Linux-2.6.12-rc2 |
1 2 |
#ifndef _IP6_TUNNEL_H #define _IP6_TUNNEL_H |
217a22915 headers_check fix... |
3 |
#include <linux/types.h> |
1da177e4c Linux-2.6.12-rc2 |
4 5 6 7 8 9 10 11 12 13 14 15 16 |
#define IPV6_TLV_TNL_ENCAP_LIMIT 4 #define IPV6_DEFAULT_TNL_ENCAP_LIMIT 4 /* don't add encapsulation limit if one isn't present in inner packet */ #define IP6_TNL_F_IGN_ENCAP_LIMIT 0x1 /* copy the traffic class field from the inner packet */ #define IP6_TNL_F_USE_ORIG_TCLASS 0x2 /* copy the flowlabel from the inner packet */ #define IP6_TNL_F_USE_ORIG_FLOWLABEL 0x4 /* being used for Mobile IPv6 */ #define IP6_TNL_F_MIP6_DEV 0x8 /* copy DSCP from the outer packet */ #define IP6_TNL_F_RCV_DSCP_COPY 0x10 |
d24f22f3d ip6_tunnel: add o... |
17 18 |
/* copy fwmark from inner packet */ #define IP6_TNL_F_USE_ORIG_FWMARK 0x20 |
1da177e4c Linux-2.6.12-rc2 |
19 20 21 22 23 24 25 |
struct ip6_tnl_parm { char name[IFNAMSIZ]; /* name of tunnel device */ int link; /* ifindex of underlying L2 interface */ __u8 proto; /* tunnel protocol */ __u8 encap_limit; /* encapsulation limit for tunnel */ __u8 hop_limit; /* hop limit for tunnel */ |
90bcaf7b4 [IPV6]: flowlabel... |
26 |
__be32 flowinfo; /* traffic class and flowlabel for tunnel */ |
1da177e4c Linux-2.6.12-rc2 |
27 28 29 30 31 32 |
__u32 flags; /* tunnel flags */ struct in6_addr laddr; /* local tunnel end-point address */ struct in6_addr raddr; /* remote tunnel end-point address */ }; #endif |