diff options
author | saravanank <saravanank@vmware.com> | 2019-05-02 04:24:14 +0200 |
---|---|---|
committer | saravanank <saravanank@vmware.com> | 2019-05-15 05:23:15 +0200 |
commit | 361b5843947b44fad4fe19065a5c39fb59b9782a (patch) | |
tree | c356e9b343bc220d01130938d7c1f5f04b6dc647 /pimd/pim_instance.c | |
parent | pimd: adding datastructure to accomodate to source of RP. (diff) | |
download | frr-361b5843947b44fad4fe19065a5c39fb59b9782a.tar.xz frr-361b5843947b44fad4fe19065a5c39fb59b9782a.zip |
pimd: PIM BSM Processing datastructure definition/initialization/deinit
Apart from datastructure, bsm scope initialization and deinitialiation
routines called during pim instance init and deinit. Also makefile changes.
Signed-off-by: Saravanan K <saravanank@vmware.com>
Diffstat (limited to 'pimd/pim_instance.c')
-rw-r--r-- | pimd/pim_instance.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/pimd/pim_instance.c b/pimd/pim_instance.c index a2bf3d278..6848d2dab 100644 --- a/pimd/pim_instance.c +++ b/pimd/pim_instance.c @@ -33,6 +33,7 @@ #include "pim_static.h" #include "pim_ssmpingd.h" #include "pim_vty.h" +#include "pim_bsm.h" static void pim_instance_terminate(struct pim_instance *pim) { @@ -50,6 +51,8 @@ static void pim_instance_terminate(struct pim_instance *pim) pim_rp_free(pim); + pim_bsm_proc_free(pim); + /* Traverse and cleanup rpf_hash */ if (pim->rpf_hash) { hash_clean(pim->rpf_hash, (void *)pim_rp_list_hash_clean); @@ -106,6 +109,8 @@ static struct pim_instance *pim_instance_init(struct vrf *vrf) pim_rp_init(pim); + pim_bsm_proc_init(pim); + pim_oil_init(pim); pim_upstream_init(pim); |