From 01573e231f18eb2d99162747186f59511f56b64d Mon Sep 17 00:00:00 2001 From: hc <hc@nodka.com> Date: Fri, 08 Dec 2023 10:40:48 +0000 Subject: [PATCH] 移去rt --- kernel/include/uapi/linux/seg6_iptunnel.h | 21 --------------------- 1 files changed, 0 insertions(+), 21 deletions(-) diff --git a/kernel/include/uapi/linux/seg6_iptunnel.h b/kernel/include/uapi/linux/seg6_iptunnel.h index 09fb608..eb815e0 100644 --- a/kernel/include/uapi/linux/seg6_iptunnel.h +++ b/kernel/include/uapi/linux/seg6_iptunnel.h @@ -37,25 +37,4 @@ SEG6_IPTUN_MODE_L2ENCAP, }; -#ifdef __KERNEL__ - -static inline size_t seg6_lwt_headroom(struct seg6_iptunnel_encap *tuninfo) -{ - int head = 0; - - switch (tuninfo->mode) { - case SEG6_IPTUN_MODE_INLINE: - break; - case SEG6_IPTUN_MODE_ENCAP: - head = sizeof(struct ipv6hdr); - break; - case SEG6_IPTUN_MODE_L2ENCAP: - return 0; - } - - return ((tuninfo->srh->hdrlen + 1) << 3) + head; -} - -#endif - #endif -- Gitblit v1.6.2