summaryrefslogtreecommitdiffstats
path: root/pimd/pim_cmd_common.h
diff options
context:
space:
mode:
authorAbhishek N R <abnr@vmware.com>2022-06-09 11:40:21 +0200
committerAbhishek N R <abnr@vmware.com>2022-06-09 11:40:21 +0200
commit9aa0569d6e7d59e097e9739fd757c8f4fe817279 (patch)
tree76160437b98ac54f1a6db230be4353d6d50a6020 /pimd/pim_cmd_common.h
parentpim6d: Moving reusable code to common api for "show pim statistics" command (diff)
downloadfrr-9aa0569d6e7d59e097e9739fd757c8f4fe817279.tar.xz
frr-9aa0569d6e7d59e097e9739fd757c8f4fe817279.zip
pim6d: Moving reusable code to common api for "show pim upstream" command
Signed-off-by: Abhishek N R <abnr@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 4d5284b40..013db7959 100644
--- a/pimd/pim_cmd_common.h
+++ b/pimd/pim_cmd_common.h
@@ -140,6 +140,9 @@ int pim_show_rp_vrf_all_helper(struct vty *vty, const char *group_str,
int pim_show_secondary_helper(const char *vrf, struct vty *vty);
int pim_show_statistics_helper(const char *vrf, struct vty *vty,
const char *word, bool uj);
+int pim_show_upstream_helper(const char *vrf, struct vty *vty, pim_addr s_or_g,
+ pim_addr g, bool json);
+int pim_show_upstream_vrf_all_helper(struct vty *vty, bool json);
/*
* Special Macro to allow us to get the correct pim_instance;