summaryrefslogtreecommitdiff
path: root/pimd/pim_cmd_common.h
diff options
context:
space:
mode:
authorAbhishek N R <abnr@vmware.com>2022-04-07 22:42:03 -0700
committerAbhishek N R <abnr@vmware.com>2022-04-28 01:43:19 -0700
commit3b767e4b6d031795c78216e3460a38d519cedde1 (patch)
treeaeabfcbcbfc8f26ad06d911121e0982f57c6b1c9 /pimd/pim_cmd_common.h
parent633a50d11c7dc14e543e849cc4ec135ca0416f17 (diff)
pimd: Moving the common functions from pim_cmd.c
Moving the functions that are used by both IPV4 and IPV6 to a common file pim_cmd_common.c file Signed-off-by: Abhishek N R <abnr@vmware.com>
Diffstat (limited to 'pimd/pim_cmd_common.h')
-rw-r--r--pimd/pim_cmd_common.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/pimd/pim_cmd_common.h b/pimd/pim_cmd_common.h
index 9fac2c111b..52d703c95c 100644
--- a/pimd/pim_cmd_common.h
+++ b/pimd/pim_cmd_common.h
@@ -108,6 +108,12 @@ void pim_cmd_show_ip_multicast_helper(struct pim_instance *pim,
struct vty *vty);
void show_multicast_interfaces(struct pim_instance *pim, struct vty *vty,
json_object *json);
+void show_mroute(struct pim_instance *pim, struct vty *vty,
+ pim_sgaddr *sg, bool fill, bool uj);
+void show_mroute_count(struct pim_instance *pim, struct vty *vty,
+ bool uj);
+void show_mroute_summary(struct pim_instance *pim, struct vty *vty,
+ json_object *json);
/*
* Special Macro to allow us to get the correct pim_instance;