summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMobashshera Rasool <mrasool@vmware.com>2022-02-28 20:12:03 +0100
committerMobashshera Rasool <mrasool@vmware.com>2022-03-08 09:57:51 +0100
commit4fc1f59ea748d57f4e1a32d974aaad1a3b6bdd0b (patch)
tree73b2191db5d4c48f4f1f7804ff74d91d777a78fc
parentpim6d: Add northbound changes for static rp (diff)
downloadfrr-4fc1f59ea748d57f4e1a32d974aaad1a3b6bdd0b.tar.xz
frr-4fc1f59ea748d57f4e1a32d974aaad1a3b6bdd0b.zip
pim6d: Stub BSM related APIs for compilation
Have stubbed few of the BSM related APIs to keep PIMv6 compiling. Signed-off-by: Mobashshera Rasool <mrasool@vmware.com>
-rw-r--r--pimd/pim6_stubs.c22
-rw-r--r--pimd/subdir.am2
2 files changed, 23 insertions, 1 deletions
diff --git a/pimd/pim6_stubs.c b/pimd/pim6_stubs.c
index 9f68b7be3..dab46b289 100644
--- a/pimd/pim6_stubs.c
+++ b/pimd/pim6_stubs.c
@@ -133,3 +133,25 @@ void pim_reg_del_on_couldreg_fail(struct interface *ifp)
{
}
+bool pim_bsm_new_nbr_fwd(struct pim_neighbor *neigh, struct interface *ifp)
+{
+ return false;
+}
+
+void pim_bsm_proc_free(struct pim_instance *pim)
+{
+}
+
+void pim_bsm_proc_init(struct pim_instance *pim)
+{
+}
+
+struct bsgrp_node *pim_bsm_get_bsgrp_node(struct bsm_scope *scope,
+ struct prefix *grp)
+{
+ return NULL;
+}
+
+void pim_bsm_write_config(struct vty *vty, struct interface *ifp)
+{
+}
diff --git a/pimd/subdir.am b/pimd/subdir.am
index 0fe40912b..0fb5de7e0 100644
--- a/pimd/subdir.am
+++ b/pimd/subdir.am
@@ -21,7 +21,6 @@ pim_common = \
pimd/pim_assert.c \
pimd/pim_bfd.c \
pimd/pim_br.c \
- pimd/pim_bsm.c \
pimd/pim_cmd_common.c \
pimd/pim_errors.c \
pimd/pim_hello.c \
@@ -59,6 +58,7 @@ pim_common = \
pimd_pimd_SOURCES = \
$(pim_common) \
+ pimd/pim_bsm.c \
pimd/pim_cmd.c \
pimd/pim_igmp.c \
pimd/pim_igmp_mtrace.c \