]> git.proxmox.com Git - mirror_frr.git/blob - pimd/pim_cmd_common.h
Merge pull request #10447 from ton31337/fix/json_with_whitespaces
[mirror_frr.git] / pimd / pim_cmd_common.h
1 /*
2 * PIM for IPv6 FRR
3 * Copyright (C) 2022 Vmware, Inc.
4 * Mobashshera Rasool <mrasool@vmware.com>
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 2 of the License, or
9 * (at your option) any later version.
10 *
11 * This program is distributed in the hope that it will be useful, but
12 * WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * General Public License for more details.
15 *
16 * You should have received a copy of the GNU General Public License along
17 * with this program; see the file COPYING; if not, write to the Free Software
18 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
19 */
20 #ifndef PIM_CMD_COMMON_H
21 #define PIM_CMD_COMMON_H
22
23 const char *pim_cli_get_vrf_name(struct vty *vty);
24 int pim_process_join_prune_cmd(struct vty *vty, const char *jpi_str);
25 int pim_process_no_join_prune_cmd(struct vty *vty);
26 int pim_process_spt_switchover_infinity_cmd(struct vty *vty);
27 int pim_process_spt_switchover_prefixlist_cmd(struct vty *vty,
28 const char *plist);
29 int pim_process_no_spt_switchover_cmd(struct vty *vty);
30 int pim_process_pim_packet_cmd(struct vty *vty, const char *packet);
31 int pim_process_no_pim_packet_cmd(struct vty *vty);
32 int pim_process_keepalivetimer_cmd(struct vty *vty, const char *kat);
33 int pim_process_no_keepalivetimer_cmd(struct vty *vty);
34 int pim_process_rp_kat_cmd(struct vty *vty, const char *rpkat);
35 int pim_process_no_rp_kat_cmd(struct vty *vty);
36 int pim_process_register_suppress_cmd(struct vty *vty, const char *rst);
37 int pim_process_no_register_suppress_cmd(struct vty *vty);
38 int pim_process_rp_cmd(struct vty *vty, const char *rp_str,
39 const char *group_str);
40 int pim_process_no_rp_cmd(struct vty *vty, const char *rp_str,
41 const char *group_str);
42 int pim_process_rp_plist_cmd(struct vty *vty, const char *rp_str,
43 const char *prefix_list);
44 int pim_process_no_rp_plist_cmd(struct vty *vty, const char *rp_str,
45 const char *prefix_list);
46
47 int pim_process_ip_pim_cmd(struct vty *vty);
48 int pim_process_no_ip_pim_cmd(struct vty *vty);
49 int pim_process_ip_pim_drprio_cmd(struct vty *vty, const char *drpriority_str);
50 int pim_process_no_ip_pim_drprio_cmd(struct vty *vty);
51 int pim_process_ip_pim_hello_cmd(struct vty *vty, const char *hello_str,
52 const char *hold_str);
53 int pim_process_no_ip_pim_hello_cmd(struct vty *vty);
54 int pim_process_ip_pim_activeactive_cmd(struct vty *vty, const char *no);
55 int pim_process_ip_pim_boundary_oil_cmd(struct vty *vty, const char *oil);
56 int pim_process_no_ip_pim_boundary_oil_cmd(struct vty *vty);
57 int pim_process_ip_mroute_cmd(struct vty *vty, const char *interface,
58 const char *group_str, const char *source_str);
59 int pim_process_no_ip_mroute_cmd(struct vty *vty, const char *interface,
60 const char *group_str, const char *src_str);
61
62 #endif /* PIM_CMD_COMMON_H */