summaryrefslogtreecommitdiff
path: root/zebra/interface.h
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@nvidia.com>2024-02-08 11:56:40 -0500
committerDonald Sharp <sharpd@nvidia.com>2024-02-08 11:56:40 -0500
commit2934127547bc63a59f83fb4f875a6b2c8779d6ca (patch)
tree3b7461af7d024e079be0cd75bdf3f7e022b6c563 /zebra/interface.h
parentb9130ab51b58a87d1c1b0d4e0cab072df1357a4d (diff)
zebra: Remove ifp_nhg_XXX functions completely
These functions provided a level of abstraction that forced us to call multiple functions when a simple data structure change was all that is needed. Let's consolidate down and make things a bit simpler. Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Diffstat (limited to 'zebra/interface.h')
-rw-r--r--zebra/interface.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/zebra/interface.h b/zebra/interface.h
index 7d633f32d2..8d19c1838f 100644
--- a/zebra/interface.h
+++ b/zebra/interface.h
@@ -331,11 +331,6 @@ void link_param_cmd_set_float(struct interface *ifp, float *field,
void link_param_cmd_unset(struct interface *ifp, uint32_t type);
/* Nexthop group connected functions */
-extern void if_nhg_dependents_add(struct interface *ifp,
- struct nhg_hash_entry *nhe);
-extern void if_nhg_dependents_del(struct interface *ifp,
- struct nhg_hash_entry *nhe);
-extern unsigned int if_nhg_dependents_count(const struct interface *ifp);
extern bool if_nhg_dependents_is_empty(const struct interface *ifp);
extern void vrf_add_update(struct vrf *vrfp);