]> git.puffer.fish Git - mirror/frr.git/commit
isisd: Add function to process received SRv6 chunk
authorCarmine Scarpitta <carmine.scarpitta@uniroma2.it>
Wed, 22 Feb 2023 10:11:35 +0000 (11:11 +0100)
committerCarmine Scarpitta <carmine.scarpitta@uniroma2.it>
Mon, 11 Sep 2023 15:34:53 +0000 (17:34 +0200)
commit86d9dc4980a656e4f2775d4e568c368ebc2be839
treec7d1bd86e678bae90e47b3791d373b3721ac264a
parentbef41422b4c529bdab52a9c7439c88bab6368744
isisd: Add function to process received SRv6 chunk

Add a callback function that is called upon receiving an SRv6 locator
chunk from zebra.

This function iterates over all areas of the current IS-IS instance and
looks for an area for which the received chunk was requested.
If a match is found, the new chunk is added to the area's chunk list and
`lsp_regenerate_schedule()` is called to regenerate the LSPs to
advertise the new SRv6 locator.
If no match is found, we free the allocated resources and do nothing.

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