]> git.proxmox.com Git - mirror_frr.git/blame - pimd/pim_cmd.h
Merge pull request #5619 from qlyoung/fix-zebra-netlink-undefined-bitshift
[mirror_frr.git] / pimd / pim_cmd.h
CommitLineData
12e41d03 1/*
896014f4
DL
2 * PIM for Quagga
3 * Copyright (C) 2008 Everton da Silva Marques
4 *
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation; either version 2 of the License, or
8 * (at your option) any later version.
9 *
10 * This program is distributed in the hope that it will be useful, but
11 * WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 * General Public License for more details.
14 *
15 * You should have received a copy of the GNU General Public License along
16 * with this program; see the file COPYING; if not, write to the Free Software
17 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
18 */
12e41d03
DL
19
20#ifndef PIM_CMD_H
21#define PIM_CMD_H
22
23#define PIM_STR "PIM information\n"
24#define IGMP_STR "IGMP information\n"
25#define IGMP_GROUP_STR "IGMP groups information\n"
26#define IGMP_SOURCE_STR "IGMP sources information\n"
27#define CONF_SSMPINGD_STR "Enable ssmpingd operation\n"
28#define SHOW_SSMPINGD_STR "ssmpingd operation\n"
29#define IFACE_PIM_STR "Enable PIM SSM operation\n"
8371bd60 30#define IFACE_PIM_SM_STR "Enable PIM SM operation\n"
7960fa8f
DS
31#define IFACE_PIM_HELLO_STR "Hello Interval\n"
32#define IFACE_PIM_HELLO_TIME_STR "Time in seconds for Hello Interval\n"
33#define IFACE_PIM_HELLO_HOLD_STR "Time in seconds for Hold Interval\n"
12e41d03
DL
34#define IFACE_IGMP_STR "Enable IGMP operation\n"
35#define IFACE_IGMP_QUERY_INTERVAL_STR "IGMP host query interval\n"
36#define IFACE_IGMP_QUERY_MAX_RESPONSE_TIME_STR "IGMP max query response value (seconds)\n"
37#define IFACE_IGMP_QUERY_MAX_RESPONSE_TIME_DSEC_STR "IGMP max query response value (deciseconds)\n"
59115451
SP
38#define IFACE_IGMP_LAST_MEMBER_QUERY_INTERVAL_STR "IGMP last member query interval\n"
39#define IFACE_IGMP_LAST_MEMBER_QUERY_COUNT_STR "IGMP last member query count\n"
12e41d03
DL
40#define DEBUG_IGMP_STR "IGMP protocol activity\n"
41#define DEBUG_IGMP_EVENTS_STR "IGMP protocol events\n"
42#define DEBUG_IGMP_PACKETS_STR "IGMP protocol packets\n"
43#define DEBUG_IGMP_TRACE_STR "IGMP internal daemon activity\n"
44#define DEBUG_MROUTE_STR "PIM interaction with kernel MFC cache\n"
6250610a 45#define DEBUG_STATIC_STR "PIM Static Multicast Route activity\n"
12e41d03
DL
46#define DEBUG_PIM_STR "PIM protocol activity\n"
47#define DEBUG_PIM_EVENTS_STR "PIM protocol events\n"
48#define DEBUG_PIM_PACKETS_STR "PIM protocol packets\n"
49#define DEBUG_PIM_HELLO_PACKETS_STR "PIM Hello protocol packets\n"
50#define DEBUG_PIM_J_P_PACKETS_STR "PIM Join/Prune protocol packets\n"
9add3b88 51#define DEBUG_PIM_PIM_REG_PACKETS_STR "PIM Register/Reg-Stop protocol packets\n"
12e41d03
DL
52#define DEBUG_PIM_PACKETDUMP_STR "PIM packet dump\n"
53#define DEBUG_PIM_PACKETDUMP_SEND_STR "Dump sent packets\n"
54#define DEBUG_PIM_PACKETDUMP_RECV_STR "Dump received packets\n"
55#define DEBUG_PIM_TRACE_STR "PIM internal daemon activity\n"
56#define DEBUG_PIM_ZEBRA_STR "ZEBRA protocol activity\n"
36b5b98f 57#define DEBUG_PIM_MLAG_STR "PIM Mlag activity\n"
4d913fa6 58#define DEBUG_PIM_VXLAN_STR "PIM VxLAN events\n"
12e41d03
DL
59#define DEBUG_SSMPINGD_STR "ssmpingd activity\n"
60#define CLEAR_IP_IGMP_STR "IGMP clear commands\n"
61#define CLEAR_IP_PIM_STR "PIM clear commands\n"
62#define MROUTE_STR "IP multicast routing table\n"
63#define RIB_STR "IP unicast routing table\n"
2a333e0f 64#define CFG_MSDP_STR "Configure multicast source discovery protocol\n"
65#define MSDP_STR "MSDP information\n"
66#define DEBUG_MSDP_STR "MSDP protocol activity\n"
67#define DEBUG_MSDP_EVENTS_STR "MSDP protocol events\n"
977d71cc 68#define DEBUG_MSDP_INTERNAL_STR "MSDP protocol internal\n"
2a333e0f 69#define DEBUG_MSDP_PACKETS_STR "MSDP protocol packets\n"
4d9ad5dc 70#define DEBUG_MTRACE_STR "Mtrace protocol activity\n"
361b5843 71#define DEBUG_PIM_BSM_STR "BSR message processing activity\n"
72
12e41d03 73
12e41d03
DL
74void pim_cmd_init(void);
75
ae4a6b57
DS
76/*
77 * Special Macro to allow us to get the correct pim_instance;
78 */
79#define PIM_DECLVAR_CONTEXT(A, B) \
80 struct vrf *A = VTY_GET_CONTEXT(vrf); \
81 struct pim_instance *B = \
82 (vrf) ? vrf->info : pim_get_pim_instance(VRF_DEFAULT); \
83 vrf = (vrf) ? vrf : pim->vrf;
84
12e41d03 85#endif /* PIM_CMD_H */