/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ #ifndef _IP6_TUNNEL_H #define _IP6_TUNNEL_H #include <linux/types.h> #include <linux/if.h> /* For IFNAMSIZ. */ #include <linux/in6.h> /* For struct in6_addr. */ #define IPV6_TLV_TNL_ENCAP_LIMIT … #define IPV6_DEFAULT_TNL_ENCAP_LIMIT … /* don't add encapsulation limit if one isn't present in inner packet */ #define IP6_TNL_F_IGN_ENCAP_LIMIT … /* copy the traffic class field from the inner packet */ #define IP6_TNL_F_USE_ORIG_TCLASS … /* copy the flowlabel from the inner packet */ #define IP6_TNL_F_USE_ORIG_FLOWLABEL … /* being used for Mobile IPv6 */ #define IP6_TNL_F_MIP6_DEV … /* copy DSCP from the outer packet */ #define IP6_TNL_F_RCV_DSCP_COPY … /* copy fwmark from inner packet */ #define IP6_TNL_F_USE_ORIG_FWMARK … /* allow remote endpoint on the local node */ #define IP6_TNL_F_ALLOW_LOCAL_REMOTE … struct ip6_tnl_parm { … }; struct ip6_tnl_parm2 { … }; #endif