]> git.proxmox.com Git - mirror_frr.git/commit
lib: Update Link State functions to handle IPv6
authorOlivier Dugeon <olivier.dugeon@orange.com>
Tue, 22 Jun 2021 18:09:54 +0000 (20:09 +0200)
committerOlivier Dugeon <olivier.dugeon@orange.com>
Tue, 30 Nov 2021 14:22:28 +0000 (15:22 +0100)
commit8693b4d66e02fdcb2c767e3fe25803bcf858619e
tree072d9852328c9e31d2ce552e81564dcc07a6d4a0
parent173f8887cc3716985bfe4b84bdf2228194716f7d
lib: Update Link State functions to handle IPv6

In order to add Link State Traffic Engineering to IS-IS, Link State library
should have been updated:

- Correct Node and Edge RB Tree comparison functions to support key > 32 bits
- Change Subnet RB Tree comparison function to take into account host part of
  the prefix i.e. 10.0.0.1/24 and 10.0.0.2/24 are considered as different
- Add new function to convert IS-IS ISO system ID into Vertex or Edge key that
  take into account Endianness architecture
- Correct Vertex and Edge creation and search function accordingly
- Add extra Adjacency entries in Link State Attributes for IPv6 Segment Routing
- Update send/received and show TED functions accordingly

Signed-off-by: Olivier Dugeon <olivier.dugeon@orange.com>
lib/link_state.c
lib/link_state.h