diff options
author | Carmine Scarpitta <carmine.scarpitta@uniroma2.it> | 2023-02-14 15:43:58 +0100 |
---|---|---|
committer | Carmine Scarpitta <carmine.scarpitta@uniroma2.it> | 2023-09-11 17:35:14 +0200 |
commit | ed69638745eb715639ab60521ef7937955ca8835 (patch) | |
tree | 37a0b2f3e1cb029eff4a83d252a18632bd7664f1 /isisd | |
parent | isisd: Add unpack function for SRv6 Locator TLV (diff) | |
download | frr-ed69638745eb715639ab60521ef7937955ca8835.tar.xz frr-ed69638745eb715639ab60521ef7937955ca8835.zip |
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 <carmine.scarpitta@uniroma2.it>
Diffstat (limited to 'isisd')
-rw-r--r-- | isisd/isis_tlvs.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/isisd/isis_tlvs.c b/isisd/isis_tlvs.c index c09a7b261..08f7c21e0 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, |