diff options
author | Donald Sharp <sharpd@cumulusnetworks.com> | 2018-01-24 14:22:57 +0100 |
---|---|---|
committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2018-01-24 14:22:57 +0100 |
commit | 7d974ba3b72ce8c4e46201a3c8b60e1680406883 (patch) | |
tree | 731045966355cb9eb5b084eb59a0b81cf0fe9c21 /zebra/rt.h | |
parent | Merge pull request #1664 from chiragshah6/ospfv3_dev (diff) | |
download | frr-7d974ba3b72ce8c4e46201a3c8b60e1680406883.tar.xz frr-7d974ba3b72ce8c4e46201a3c8b60e1680406883.zip |
zebra: Modify southbound interface to pass `struct route_node`
The route_node that we are working on is going to be interesting
to the kernel_route_rib_pass_fail. So I am setting up the
code to allow me to pass it. This will be done in a subsuquent
commit.
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'zebra/rt.h')
-rw-r--r-- | zebra/rt.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/zebra/rt.h b/zebra/rt.h index bb4ff5bee..54d45b889 100644 --- a/zebra/rt.h +++ b/zebra/rt.h @@ -60,15 +60,17 @@ enum southbound_results { * semantics so we will end up with a delete than * a re-add. */ -extern void kernel_route_rib(struct prefix *p, struct prefix *src_p, - struct route_entry *old, struct route_entry *new); +extern void kernel_route_rib(struct route_node *rn, struct prefix *p, + struct prefix *src_p, struct route_entry *old, + struct route_entry *new); /* * So route install/failure may not be immediately known * so let's separate it out and allow the result to * be passed back up. */ -extern void kernel_route_rib_pass_fail(struct prefix *p, +extern void kernel_route_rib_pass_fail(struct route_node *rn, + struct prefix *p, struct route_entry *re, enum southbound_results res); |