From ed69638745eb715639ab60521ef7937955ca8835 Mon Sep 17 00:00:00 2001 From: Carmine Scarpitta Date: Tue, 14 Feb 2023 15:43:58 +0100 Subject: [PATCH] isisd: Define TLV ops for SRv6 Locator TLV Use the ITEM_TLV_OPS macro to define the TLV operations for the SRv6 Locator TLV (RFC 9352 section #7.1). Signed-off-by: Carmine Scarpitta --- isisd/isis_tlvs.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/isisd/isis_tlvs.c b/isisd/isis_tlvs.c index c09a7b2615..08f7c21e0b 100644 --- a/isisd/isis_tlvs.c +++ b/isisd/isis_tlvs.c @@ -6412,6 +6412,8 @@ TLV_OPS(router_cap, "TLV 242 Router Capability"); ITEM_SUBTLV_OPS(prefix_sid, "Sub-TLV 3 SR Prefix-SID"); SUBTLV_OPS(ipv6_source_prefix, "Sub-TLV 22 IPv6 Source Prefix"); +ITEM_TLV_OPS(srv6_locator, "TLV 27 SRv6 Locator"); + static const struct tlv_ops *const tlv_table[ISIS_CONTEXT_MAX][ISIS_TLV_MAX] = { [ISIS_CONTEXT_LSP] = { [ISIS_TLV_AREA_ADDRESSES] = &tlv_area_address_ops, -- 2.39.5