History

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

The SRv6 H.Encaps.Red behavior described in [1] is an optimization of the SRv6 H.Encaps behavior [2]. H.Encaps.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.2 [2] - https://datatracker.ietf.org/doc/html/rfc8986#section-5.1

Andrea Mayer committed 4 years ago

Commit b07c8cd1 parent 5b918842 files · +128 −1Browse files

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

Unified · Split

include/uapi/linux/seg6_iptunnel.h+1−0
@@ -35,6 +35,7 @@ enum { · 34 unmodified lines
35 SEG6_IPTUN_MODE_INLINE,35 SEG6_IPTUN_MODE_INLINE,
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};39};
39 40
40#endif41#endif