ip6_tunnel.h
01: #ifndef _IP6_TUNNEL_H
02: #define _IP6_TUNNEL_H
03:
04: #include <linux/types.h>
05:
06: #define IPV6_TLV_TNL_ENCAP_LIMIT 4
07: #define IPV6_DEFAULT_TNL_ENCAP_LIMIT 4
08:
09:
10: #define IP6_TNL_F_IGN_ENCAP_LIMIT 0x1
11:
12: #define IP6_TNL_F_USE_ORIG_TCLASS 0x2
13:
14: #define IP6_TNL_F_USE_ORIG_FLOWLABEL 0x4
15:
16: #define IP6_TNL_F_MIP6_DEV 0x8
17:
18: #define IP6_TNL_F_RCV_DSCP_COPY 0x10
19:
20: #define IP6_TNL_F_USE_ORIG_FWMARK 0x20
21:
22: struct ip6_tnl_parm {
23: char name[IFNAMSIZ];
24: int link;
25: __u8 proto;
26: __u8 encap_limit;
27: __u8 hop_limit;
28: __be32 flowinfo;
29: __u32 flags;
30: struct in6_addr laddr;
31: struct in6_addr raddr;
32: };
33:
34: #endif
35:
© Andrew Scott 2006 -
2025,
All Rights Reserved