diff options
| author | Donald Sharp <sharpd@nvidia.com> | 2020-11-06 08:19:53 -0500 |
|---|---|---|
| committer | Donald Sharp <sharpd@nvidia.com> | 2020-11-15 14:50:17 -0500 |
| commit | 241e5df125ea6fedc69db37ed20fea43fe16a62d (patch) | |
| tree | aca539cc7e46310e73357e6c8935690118f7b458 /sharpd/sharp_zebra.h | |
| parent | db71415b416da56a3b6ab5052f99b7f7c3079d97 (diff) | |
sharpd: Re-arrange route_add|delete
These functions are never called outside of sharp_zebra.c, re-arrange
a little to make the inclusions in sharp_zebra.h not needed and
to also have these functions return whether or not the underlying
buffering system was invoked in stream sending.
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Diffstat (limited to 'sharpd/sharp_zebra.h')
| -rw-r--r-- | sharpd/sharp_zebra.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/sharpd/sharp_zebra.h b/sharpd/sharp_zebra.h index 4a767ababf..8c5fa5e15e 100644 --- a/sharpd/sharp_zebra.h +++ b/sharpd/sharp_zebra.h @@ -32,10 +32,6 @@ extern void vrf_label_add(vrf_id_t vrf_id, afi_t afi, mpls_label_t label); extern void nhg_add(uint32_t id, const struct nexthop_group *nhg, const struct nexthop_group *backup_nhg); extern void nhg_del(uint32_t id); -extern void route_add(const struct prefix *p, vrf_id_t, uint8_t instance, - uint32_t nhgid, const struct nexthop_group *nhg, - const struct nexthop_group *backup_nhg); -extern void route_delete(struct prefix *p, vrf_id_t vrf_id, uint8_t instance); extern void sharp_zebra_nexthop_watch(struct prefix *p, vrf_id_t vrf_id, bool import, bool watch, bool connected); |
