From: Carmine Scarpitta Date: Tue, 14 Feb 2023 14:44:47 +0000 (+0100) Subject: isisd: Define TLV ops for SRv6 End SID Sub-TLV X-Git-Tag: base_9.1~88^2~67 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=dda911b30ab655da53c8504be471f0ae7069c208;p=mirror%2Ffrr.git isisd: Define TLV ops for SRv6 End SID Sub-TLV Use the ITEM_SUBTLV_OPS macro to define the TLV operations for the SRv6 End SID Sub-TLV (RFC 9352 section #7.2). Signed-off-by: Carmine Scarpitta --- diff --git a/isisd/isis_tlvs.c b/isisd/isis_tlvs.c index d8d247846f..44375fd254 100644 --- a/isisd/isis_tlvs.c +++ b/isisd/isis_tlvs.c @@ -6544,6 +6544,7 @@ 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"); +ITEM_SUBTLV_OPS(srv6_end_sid, "Sub-TLV 5 SRv6 End SID"); static const struct tlv_ops *const tlv_table[ISIS_CONTEXT_MAX][ISIS_TLV_MAX] = { [ISIS_CONTEXT_LSP] = {