]> git.puffer.fish Git - mirror/frr.git/commit
zebra: Implement call back for route install/delete success/fail
authorDonald Sharp <sharpd@cumulusnetworks.com>
Tue, 14 Nov 2017 14:57:37 +0000 (09:57 -0500)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Wed, 29 Nov 2017 17:56:34 +0000 (12:56 -0500)
commit0c555cc6a588c9512dcbefe9275acafcb0b0da27
tree378582e47ee8c29a0947381c160578a059f63c0a
parent69df82f3b5d3aa343c769f280fb811ce019601d4
zebra: Implement call back for route install/delete success/fail

When a route is installed or deleted into the kernel allow a
callback mechanism to handle the success/failure of
the kernel call.

This separation is to allow us to do these things:

1) In the future create a true pthread to handle route
install/deletes.  This way we can schedule these
events in a smarter fashion

2) Allow us to use a common southbound api for route
install and deletion.

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
zebra/rib.h
zebra/rt.h
zebra/rt_netlink.c
zebra/rt_socket.c
zebra/zebra_rib.c