diff options
author | Carmine Scarpitta <carmine.scarpitta@uniroma2.it> | 2023-05-25 11:49:47 +0200 |
---|---|---|
committer | Carmine Scarpitta <carmine.scarpitta@uniroma2.it> | 2023-09-11 22:11:42 +0200 |
commit | 6b09d53cc130f78977980b7a95c5712a42f41829 (patch) | |
tree | b13b3489c78c5d13d6976a55f47c79ee68c190c6 /isisd/isis_tlvs.h | |
parent | isisd: Update copyright info in isis_tlvs.[c,h] (diff) | |
download | frr-6b09d53cc130f78977980b7a95c5712a42f41829.tar.xz frr-6b09d53cc130f78977980b7a95c5712a42f41829.zip |
isisd: Add SRv6 End.X SID Sub-TLV data structure
Add a data structure to represent an SRv6 End.X SID Sub-TLV as per
RFC 9352 section #8.1.
Signed-off-by: Carmine Scarpitta <carmine.scarpitta@uniroma2.it>
Diffstat (limited to 'isisd/isis_tlvs.h')
-rw-r--r-- | isisd/isis_tlvs.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/isisd/isis_tlvs.h b/isisd/isis_tlvs.h index fa84815fa..f114a346d 100644 --- a/isisd/isis_tlvs.h +++ b/isisd/isis_tlvs.h @@ -219,6 +219,19 @@ struct isis_srv6_end_sid_subtlv { struct isis_subsubtlvs *subsubtlvs; }; +/* SRv6 End.X SID Sub-TLV as per RFC 9352 section #8.1 */ +struct isis_srv6_endx_sid_subtlv { + struct isis_srv6_endx_sid_subtlv *next; + + uint8_t flags; + uint8_t algorithm; + uint8_t weight; + enum srv6_endpoint_behavior_codepoint behavior; + struct in6_addr sid; + + struct isis_subsubtlvs *subsubtlvs; +}; + /* RFC 9352 section 7.1 */ struct isis_srv6_locator_tlv { struct isis_srv6_locator_tlv *next; |