summaryrefslogtreecommitdiff
path: root/pimd/pim_cmd_common.h
diff options
context:
space:
mode:
authorSai Gomathi N <nsaigomathi@vmware.com>2022-06-09 04:22:42 -0700
committerSai Gomathi N <nsaigomathi@vmware.com>2022-06-09 04:22:42 -0700
commitfe7eaf4065cab165d40a6010d00d5c84273a4cf0 (patch)
tree01dafb2d4807e455594c9f83c6c5fd1ebb56e7c1 /pimd/pim_cmd_common.h
parentcefa37cf41709bc23a1be296b6ed63097ea47350 (diff)
pim6d: Moving the common lines of pim_show_nexthop_lookup cli
Moving the common lines of pim_show_nexthop_lookup 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 2ff738997d..bb07a7da0f 100644
--- a/pimd/pim_cmd_common.h
+++ b/pimd/pim_cmd_common.h
@@ -102,6 +102,8 @@ void pim_show_interfaces_single(struct pim_instance *pim, struct vty *vty,
json_object *json);
void ip_pim_ssm_show_group_range(struct pim_instance *pim, struct vty *vty,
bool uj);
+int pim_show_nexthop_lookup_cmd_helper(const char *vrf, struct vty *vty,
+ pim_addr source, pim_addr group);
int pim_show_nexthop_cmd_helper(const char *vrf, struct vty *vty);
void pim_show_nexthop(struct pim_instance *pim, struct vty *vty);
int pim_show_neighbors_cmd_helper(const char *vrf, struct vty *vty,