]> git.puffer.fish Git - mirror/frr.git/commit
lib: add link-state prefixes
authorLouis Scalbert <louis.scalbert@6wind.com>
Fri, 6 Jan 2023 17:31:15 +0000 (18:31 +0100)
committerLouis Scalbert <louis.scalbert@6wind.com>
Mon, 18 Sep 2023 12:42:26 +0000 (14:42 +0200)
commitc8172af6825ad4b10e68b33b8edc22e6e2dc1524
tree525bd54d0c497f46f95777c2afbc70c682037c81
parent67fe40676eb4e2ca78a41ddd70887af09b29fd9d
lib: add link-state prefixes

Add to the library the link-state type of prefixes.

Link-state prefixes contain much more data than the current prefixes and
they only make sense for BGP Link-State. Storing all the data in "struct
prefix" is not relevant because it would increase the memory usage of
all daemons. Instead a pointer to a structure that contains all the
information is used. Printing link-state prefixes can be delegated to a
hook function.

Signed-off-by: Louis Scalbert <louis.scalbert@6wind.com>
lib/prefix.c
lib/prefix.h
lib/table.c