summaryrefslogtreecommitdiff
path: root/zebra/rib.h
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@nvidia.com>2022-01-14 12:50:51 -0500
committerDonald Sharp <sharpd@nvidia.com>2022-01-18 08:39:41 -0500
commita7704e1b98dbb9eaeaff988fe924d9e8910faf0c (patch)
tree544220dfc87d3e7007c2351bcd9fd38997c19af1 /zebra/rib.h
parent69a2d597d2ca8afb401ecd94d44c543df41b1d4b (diff)
zebra: Modify route_notify_internal to use a route_node
Pass in the route_node that is under consideration into route_notify_internal to allow calling functions to reduce stack size as well as looking up data. Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Diffstat (limited to 'zebra/rib.h')
-rw-r--r--zebra/rib.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/zebra/rib.h b/zebra/rib.h
index b7416322f9..a0ec1f0e4f 100644
--- a/zebra/rib.h
+++ b/zebra/rib.h
@@ -493,6 +493,9 @@ extern uint8_t route_distance(int type);
extern void zebra_rib_evaluate_rn_nexthops(struct route_node *rn, uint32_t seq,
bool rt_delete);
+extern struct route_node *
+rib_find_rn_from_ctx(const struct zebra_dplane_ctx *ctx);
+
/*
* Inline functions.
*/