From dc3326004322438a8feb819eb4bb5434b1dc74ca Mon Sep 17 00:00:00 2001 From: Carmine Scarpitta Date: Wed, 30 Nov 2022 19:29:08 +0100 Subject: [PATCH] isisd: Add IS-IS TLV Codepoints for SRv6 Add Codepoints for SRv6 Capabilities Sub-TLV, SRH Max SL MSD, SRH Max End Pop MSD, SRH Max H.encaps MSD, SRH Max End D MSD as per RFC 9352. Signed-off-by: Carmine Scarpitta --- isisd/isis_tlvs.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/isisd/isis_tlvs.h b/isisd/isis_tlvs.h index 03e2b2edcc..9375bd53d7 100644 --- a/isisd/isis_tlvs.h +++ b/isisd/isis_tlvs.h @@ -414,6 +414,17 @@ enum isis_tlv_type { ISIS_SUBTLV_MAX = 40, + /* RFC 9352 section #2 */ + ISIS_SUBTLV_SRV6_CAPABILITIES = 25, + /* RFC 9352 section #4.1 */ + ISIS_SUBTLV_SRV6_MAX_SL_MSD = 41, + /* RFC 9352 section #4.2 */ + ISIS_SUBTLV_SRV6_MAX_END_POP_MSD = 42, + /* RFC 9352 section #4.3 */ + ISIS_SUBTLV_SRV6_MAX_H_ENCAPS_MSD = 44, + /* RFC 9352 section #4.4 */ + ISIS_SUBTLV_SRV6_MAX_END_D_MSD = 45, + /* draft-ietf-lsr-isis-srv6-extensions */ ISIS_SUBSUBTLV_SID_STRUCTURE = 1, @@ -462,6 +473,9 @@ enum ext_subtlv_size { /* RFC9350 - Flex-Algorithm */ ISIS_SUBTLV_FAD_SUBSUBTLV_FLAGS_SIZE = 1, + + /* RFC 9352 section #2 */ + ISIS_SUBTLV_SRV6_CAPABILITIES_SIZE = 2, }; enum ext_subsubtlv_types { -- 2.39.5