diff options
| author | Abhishek N R <abnr@vmware.com> | 2022-06-09 03:29:02 -0700 |
|---|---|---|
| committer | Abhishek N R <abnr@vmware.com> | 2022-06-09 03:29:02 -0700 |
| commit | e7c01c676950b0fe48ab44310a65e22cbcc5d0ee (patch) | |
| tree | fc2d6aaf11cb4b31a312dcf459f570188d51b2ac /pimd/pim_cmd_common.h | |
| parent | c630970866da41b90e3276ed5e8eeb52ccdda0ab (diff) | |
pim6d: Moving reusable code to common api for "show pim state" 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.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/pimd/pim_cmd_common.h b/pimd/pim_cmd_common.h index 0ce62d82dc..981e6dc88f 100644 --- a/pimd/pim_cmd_common.h +++ b/pimd/pim_cmd_common.h @@ -146,6 +146,10 @@ int pim_show_upstream_vrf_all_helper(struct vty *vty, bool json); int pim_show_upstream_join_desired_helper(const char *vrf, struct vty *vty, bool uj); int pim_show_upstream_rpf_helper(const char *vrf, struct vty *vty, bool uj); +int pim_show_state_helper(const char *vrf, struct vty *vty, + const char *s_or_g_str, const char *g_str, bool json); +int pim_show_state_vrf_all_helper(struct vty *vty, const char *s_or_g_str, + const char *g_str, bool json); /* * Special Macro to allow us to get the correct pim_instance; |
