summaryrefslogtreecommitdiff
path: root/pimd/pim_cmd_common.h
diff options
context:
space:
mode:
authorSai Gomathi N <nsaigomathi@vmware.com>2022-06-09 22:43:52 -0700
committerSai Gomathi N <nsaigomathi@vmware.com>2022-06-09 22:43:52 -0700
commit94c691ba40002d336f84295c8f1ab41615b12aed (patch)
treeefc0a0936ba47998b107149ec35db70c05deb710 /pimd/pim_cmd_common.h
parentfe7eaf4065cab165d40a6010d00d5c84273a4cf0 (diff)
pim6d: Moving the reusable code of pim_show_join cli
Moving the common lines of pim_show_join_vrf and pim_show_join_vrf_all 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.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/pimd/pim_cmd_common.h b/pimd/pim_cmd_common.h
index bb07a7da0f..e3d1a68652 100644
--- a/pimd/pim_cmd_common.h
+++ b/pimd/pim_cmd_common.h
@@ -83,6 +83,9 @@ bool pim_sgaddr_match(pim_sgaddr item, pim_sgaddr match);
void json_object_pim_ifp_add(struct json_object *json, struct interface *ifp);
void pim_print_ifp_flags(struct vty *vty, struct interface *ifp);
void json_object_pim_upstream_add(json_object *json, struct pim_upstream *up);
+int pim_show_join_cmd_helper(const char *vrf, struct vty *vty, pim_addr s_or_g,
+ pim_addr g, const char *json);
+int pim_show_join_vrf_all_cmd_helper(struct vty *vty, const char *json);
void pim_show_join(struct pim_instance *pim, struct vty *vty, pim_sgaddr *sg,
json_object *json);
int pim_show_jp_agg_list_cmd_helper(const char *vrf, struct vty *vty);