History

seg6: add support for SRv6 H.L2Encaps.Red behavior

The SRv6 H.L2Encaps.Red behavior described in [1] is an optimization of the SRv6 H.L2Encaps behavior [2]. H.L2Encaps.Red reduces the length of the SRH by excluding the first segment (SID) in the SRH of the pushed IPv6 header. The first SID is only placed in the IPv6 Destination Address field of the pushed IPv6 header. When the SRv6 Policy only contains one SID the SRH is omitted, unless there is an HMAC TLV to be carried. [1] - https://datatracker.ietf.org/doc/html/rfc8986#section-5.4 [2] - https://datatracker.ietf.org/doc/html/rfc8986#section-5.3

Andrea Mayer committed 4 years ago

Commit 13f02961 parent b07c8cd2 files · +12 −1Browse files

Showing the changes to include/uapi (1 of 2 files). Show all

Unified · Split

include/uapi/linux/seg6_iptunnel.h+1−0
@@ -36,6 +36,7 @@ enum { · 35 unmodified lines
36 SEG6_IPTUN_MODE_ENCAP,36 SEG6_IPTUN_MODE_ENCAP,
37 SEG6_IPTUN_MODE_L2ENCAP,37 SEG6_IPTUN_MODE_L2ENCAP,
38 SEG6_IPTUN_MODE_ENCAP_RED,38 SEG6_IPTUN_MODE_ENCAP_RED,
39 SEG6_IPTUN_MODE_L2ENCAP_RED,
39};40};
40 41
41#endif42#endif