]> git.puffer.fish Git - matthieu/frr.git/commit
zebra: Add ability to dump routes received from fpm_listener
authorDonald Sharp <donaldsharp72@gmail.com>
Thu, 10 Apr 2025 23:17:54 +0000 (19:17 -0400)
committerDonald Sharp <donaldsharp72@gmail.com>
Fri, 11 Apr 2025 00:01:39 +0000 (20:01 -0400)
commit6299a89371235496fcdd13c94c95250b30009599
tree366ac5f070471d9a3c6cf76c3a0974cea32e76e7
parentf28394313fc243bc7ef43672cabda4112d861cb4
zebra: Add ability to dump routes received from fpm_listener

The fpm_listener currently has no ability to store the list
of prefixes that it has received.  Modify the code to store
the prefixes in a typesafe RB Tree.  Additionally modify
the code such that when a SIGUSR1 is received to dump
the routes out.  If the operator specifies a -z <filename>
then write the routes to that file.  It will overwrite
the last version of the file written.

Signed-off-by: Donald Sharp <sharpd@nvidia.com>
zebra/fpm_listener.c