summaryrefslogtreecommitdiffstats
path: root/pimd/pim_cmd_common.h
diff options
context:
space:
mode:
authorSai Gomathi N <nsaigomathi@vmware.com>2022-06-09 08:10:22 +0200
committerSai Gomathi N <nsaigomathi@vmware.com>2022-06-09 08:27:00 +0200
commit8282b988388af5598ef64af3950a785de515fce6 (patch)
treecaa06f9fe773af8e966dc72b1a00557478fba18f /pimd/pim_cmd_common.h
parentpim6d: Moving the common lines of pim_show_channel cli (diff)
downloadfrr-8282b988388af5598ef64af3950a785de515fce6.tar.xz
frr-8282b988388af5598ef64af3950a785de515fce6.zip
pim6d: Moving the common lines of pim_show_interface cli
Moving the common lines of pim_show_interface cli in pim_cmd.c and pim6_cmd.c to pim_cmd_common.c file Signed-off-by: Sai Gomathi N <nsaigomathi@vmware.com>
Diffstat (limited to 'pimd/pim_cmd_common.h')
-rw-r--r--pimd/pim_cmd_common.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/pimd/pim_cmd_common.h b/pimd/pim_cmd_common.h
index 21592385a..c16bf0bea 100644
--- a/pimd/pim_cmd_common.h
+++ b/pimd/pim_cmd_common.h
@@ -89,6 +89,8 @@ void pim_show_jp_agg_list(struct pim_instance *pim, struct vty *vty);
void pim_show_membership(struct pim_instance *pim, struct vty *vty, bool uj);
void pim_show_channel(struct pim_instance *pim, struct vty *vty, bool uj);
int pim_show_channel_cmd_helper(const char *vrf, struct vty *vty, bool uj);
+int pim_show_interface_cmd_helper(const char *vrf, struct vty *vty, bool uj,
+ bool mlag, const char *interface);
void pim_show_interfaces(struct pim_instance *pim, struct vty *vty, bool mlag,
json_object *json);
void pim_show_interfaces_single(struct pim_instance *pim, struct vty *vty,