summaryrefslogtreecommitdiffstats
path: root/bgpd/bgp_nht.h
diff options
context:
space:
mode:
authorPhilippe Guibert <philippe.guibert@6wind.com>2023-12-11 17:23:50 +0100
committerPhilippe Guibert <philippe.guibert@6wind.com>2023-12-11 21:03:33 +0100
commit9cb66bdceb524fbe58614caab27fd6bdbc060c29 (patch)
tree219fc311a7df48ca8c7a03d9b4c0d7dead9b2d0e /bgpd/bgp_nht.h
parentMerge pull request #14964 from pguibert6WIND/nhg_del_in_queue (diff)
downloadfrr-9cb66bdceb524fbe58614caab27fd6bdbc060c29.tar.xz
frr-9cb66bdceb524fbe58614caab27fd6bdbc060c29.zip
bgpd: move l3nhg functions in separate bgp_nhg.[ch] file
This rework separates l3nhg functionality from the nexthop tracking code, by introducing two bgp_nhg.[ch] files. The calling functions are renamed from bgp_l3nhg* to bgp_nhg*. Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
Diffstat (limited to 'bgpd/bgp_nht.h')
-rw-r--r--bgpd/bgp_nht.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/bgpd/bgp_nht.h b/bgpd/bgp_nht.h
index b9f0f6d46..e7c6fdc28 100644
--- a/bgpd/bgp_nht.h
+++ b/bgpd/bgp_nht.h
@@ -79,12 +79,6 @@ extern void bgp_nht_reg_enhe_cap_intfs(struct peer *peer);
extern void bgp_nht_dereg_enhe_cap_intfs(struct peer *peer);
extern void evaluate_paths(struct bgp_nexthop_cache *bnc);
-/* APIs for setting up and allocating L3 nexthop group ids */
-extern uint32_t bgp_l3nhg_id_alloc(void);
-extern void bgp_l3nhg_id_free(uint32_t nhg_id);
-extern void bgp_l3nhg_init(void);
-void bgp_l3nhg_finish(void);
-
extern void bgp_nht_ifp_up(struct interface *ifp);
extern void bgp_nht_ifp_down(struct interface *ifp);