diff options
| author | Donald Sharp <sharpd@nvidia.com> | 2022-01-14 12:50:51 -0500 |
|---|---|---|
| committer | Donald Sharp <sharpd@nvidia.com> | 2022-01-18 08:39:41 -0500 |
| commit | a7704e1b98dbb9eaeaff988fe924d9e8910faf0c (patch) | |
| tree | 544220dfc87d3e7007c2351bcd9fd38997c19af1 /zebra/zapi_msg.h | |
| parent | 69a2d597d2ca8afb401ecd94d44c543df41b1d4b (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/zapi_msg.h')
| -rw-r--r-- | zebra/zapi_msg.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/zebra/zapi_msg.h b/zebra/zapi_msg.h index 44a22c5ed9..b3fe7318f9 100644 --- a/zebra/zapi_msg.h +++ b/zebra/zapi_msg.h @@ -75,8 +75,8 @@ extern int zsend_interface_vrf_update(struct zserv *zclient, extern int zsend_interface_link_params(struct zserv *zclient, struct interface *ifp); extern int zsend_pw_update(struct zserv *client, struct zebra_pw *pw); -extern int zsend_route_notify_owner(struct route_entry *re, - const struct prefix *p, +extern int zsend_route_notify_owner(const struct route_node *rn, + struct route_entry *re, enum zapi_route_notify_owner note, afi_t afi, safi_t safi); extern int zsend_route_notify_owner_ctx(const struct zebra_dplane_ctx *ctx, |
