]> git.puffer.fish Git - mirror/frr.git/commit
isisd: Add SRv6 MSDs to Router Capabilities TLV
authorCarmine Scarpitta <carmine.scarpitta@uniroma2.it>
Wed, 1 Feb 2023 12:18:45 +0000 (13:18 +0100)
committerCarmine Scarpitta <carmine.scarpitta@uniroma2.it>
Mon, 11 Sep 2023 15:34:49 +0000 (17:34 +0200)
commit8d00f272f65bace1385fc0099355a6d18dd94e38
treec9804384438b0dd35b4078165bdb5aadf2ef2453
parentc8004f7fe7e896198df1d13bb8a1327751be8db3
isisd: Add SRv6 MSDs to Router Capabilities TLV

Add support for SRv6 Node MSDs as per RFC 9352 section #4.

There are four types of SRv6 MSDs:
* Maximum Segments Left MSD Type
* Maximum End Pop MSD Type
* Maximum H.Encaps MSD Type
* Maximum End D MSD Type

These SRv6 Node MSDs are advertised in the Node MSD Sub-TLV, a Sub-TLV
of the Router Capabilities TLV.

This commit adds `struct isis_srv6_msd` data structure, which represents
the SRv6 MSDs advertised in the Node Sub-TLV.

This commit also adds the `struct isis_srv6_msd` to
`struct isis_router_cap`, a data structure representing the Router
Capabilities TLV.

Signed-off-by: Carmine Scarpitta <carmine.scarpitta@uniroma2.it>
isisd/isis_tlvs.h