diff options
author | David Lamparter <equinox@opensourcerouting.org> | 2021-07-25 15:48:03 +0200 |
---|---|---|
committer | David Lamparter <equinox@opensourcerouting.org> | 2021-11-17 11:17:44 +0100 |
commit | b09bd804ac625dea4dee4e2a58c3b167ef39bca7 (patch) | |
tree | fdf71e379fb77c8da2fa70d926666553029cfb02 /pimd/pim_bsm.h | |
parent | pimd: clean up BSR NHT & fix parallel links (diff) | |
download | frr-b09bd804ac625dea4dee4e2a58c3b167ef39bca7.tar.xz frr-b09bd804ac625dea4dee4e2a58c3b167ef39bca7.zip |
pimd: move BSM clear into BSM code
... where it actually belongs. And make a bunch of stuff static, since
it's no longer used across files now.
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Diffstat (limited to 'pimd/pim_bsm.h')
-rw-r--r-- | pimd/pim_bsm.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/pimd/pim_bsm.h b/pimd/pim_bsm.h index dbfeeceec..a536b5068 100644 --- a/pimd/pim_bsm.h +++ b/pimd/pim_bsm.h @@ -205,6 +205,7 @@ struct bsmmsg_rpinfo { /* API */ void pim_bsm_proc_init(struct pim_instance *pim); void pim_bsm_proc_free(struct pim_instance *pim); +void pim_bsm_clear(struct pim_instance *pim); void pim_bsm_write_config(struct vty *vty, struct interface *ifp); int pim_bsm_process(struct interface *ifp, struct ip *ip_hdr, @@ -214,9 +215,4 @@ int pim_bsm_process(struct interface *ifp, bool pim_bsm_new_nbr_fwd(struct pim_neighbor *neigh, struct interface *ifp); struct bsgrp_node *pim_bsm_get_bsgrp_node(struct bsm_scope *scope, struct prefix *grp); -void pim_bs_timer_stop(struct bsm_scope *scope); -void pim_bsm_frags_free(struct bsm_scope *scope); -void pim_bsm_rpinfos_free(struct bsm_rpinfos_head *head); -void pim_free_bsgrp_data(struct bsgrp_node *bsgrp_node); -void pim_free_bsgrp_node(struct route_table *rt, struct prefix *grp); #endif |