summaryrefslogtreecommitdiff
path: root/zebra/rt.h
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2018-01-24 08:22:57 -0500
committerDonald Sharp <sharpd@cumulusnetworks.com>2018-01-24 08:22:57 -0500
commit7d974ba3b72ce8c4e46201a3c8b60e1680406883 (patch)
tree731045966355cb9eb5b084eb59a0b81cf0fe9c21 /zebra/rt.h
parent872c4e980e45e7185530b76e9e8541fa2b6c9375 (diff)
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.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/zebra/rt.h b/zebra/rt.h
index bb4ff5bee8..54d45b889a 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);