summaryrefslogtreecommitdiff
path: root/pimd/pim_cmd_common.h
diff options
context:
space:
mode:
authorMobashshera Rasool <mrasool@vmware.com>2022-05-26 22:11:12 -0700
committerMobashshera Rasool <mrasool@vmware.com>2022-06-12 21:17:54 -0700
commit36cec27cd93378347255f31de92da711618f0c42 (patch)
treec5f943e2985237bc0c4135cd44ecce2af8fcc53e /pimd/pim_cmd_common.h
parentdb28205528db7b67c53c437c4a0c8f52f492225e (diff)
pim6d: Moving show apis to common file
Moving pim_show_interface_traffic and pim_show_interface_traffic_single to pim_cmd_common.c from pim_cmd.c to make it common to pimd and pim6d. Signed-off-by: Mobashshera Rasool <mrasool@vmware.com>
Diffstat (limited to 'pimd/pim_cmd_common.h')
-rw-r--r--pimd/pim_cmd_common.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/pimd/pim_cmd_common.h b/pimd/pim_cmd_common.h
index e1e48dd24a..ead6c9b488 100644
--- a/pimd/pim_cmd_common.h
+++ b/pimd/pim_cmd_common.h
@@ -180,6 +180,11 @@ int pim_show_mroute_count_vrf_all_helper(struct vty *vty, bool json);
int pim_show_mroute_summary_helper(const char *vrf, struct vty *vty, bool json);
int pim_show_mroute_summary_vrf_all_helper(struct vty *vty, bool json);
+void pim_show_interface_traffic_single(struct pim_instance *pim,
+ struct vty *vty, const char *ifname,
+ bool uj);
+void pim_show_interface_traffic(struct pim_instance *pim, struct vty *vty,
+ bool uj);
/*
* Special Macro to allow us to get the correct pim_instance;
*/