1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
2 #ifndef _UAPI_LWTUNNEL_H_
3 #define _UAPI_LWTUNNEL_H_
5 #include <linux/types.h>
7 enum lwtunnel_encap_types
{
15 LWTUNNEL_ENCAP_SEG6_LOCAL
,
19 #define LWTUNNEL_ENCAP_MAX (__LWTUNNEL_ENCAP_MAX - 1)
33 #define LWTUNNEL_IP_MAX (__LWTUNNEL_IP_MAX - 1)
40 LWTUNNEL_IP6_HOPLIMIT
,
47 #define LWTUNNEL_IP6_MAX (__LWTUNNEL_IP6_MAX - 1)
56 #define LWT_BPF_PROG_MAX (__LWT_BPF_PROG_MAX - 1)
63 LWT_BPF_XMIT_HEADROOM
,
67 #define LWT_BPF_MAX (__LWT_BPF_MAX - 1)
69 #define LWT_BPF_MAX_HEADROOM 256
71 #endif /* _UAPI_LWTUNNEL_H_ */