Everton Marques | 871dbcf | 2009-08-11 15:43:05 -0300 | [diff] [blame] | 1 | /* |
| 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 |
| 16 | along with this program; see the file COPYING; if not, write to the |
| 17 | Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, |
| 18 | MA 02110-1301 USA |
| 19 | |
| 20 | $QuaggaId: $Format:%an, %ai, %h$ $ |
| 21 | */ |
| 22 | |
| 23 | #ifndef PIM_CMD_H |
| 24 | #define PIM_CMD_H |
| 25 | |
| 26 | #define PIM_STR "PIM information\n" |
| 27 | #define IGMP_STR "IGMP information\n" |
| 28 | #define IGMP_GROUP_STR "IGMP groups information\n" |
| 29 | #define IGMP_SOURCE_STR "IGMP sources information\n" |
Everton Marques | 824adbe | 2009-10-08 09:16:27 -0300 | [diff] [blame] | 30 | #define CONF_SSMPINGD_STR "Enable ssmpingd operation\n" |
| 31 | #define SHOW_SSMPINGD_STR "ssmpingd operation\n" |
Everton Marques | 871dbcf | 2009-08-11 15:43:05 -0300 | [diff] [blame] | 32 | #define IFACE_PIM_STR "Enable PIM SSM operation\n" |
Donald Sharp | 22e0224 | 2015-08-21 19:35:27 -0400 | [diff] [blame] | 33 | #define IFACE_PIM_HELLO_STR "Hello Interval\n" |
| 34 | #define IFACE_PIM_HELLO_TIME_STR "Time in seconds for Hello Interval\n" |
| 35 | #define IFACE_PIM_HELLO_HOLD_STR "Time in seconds for Hold Interval\n" |
Everton Marques | 871dbcf | 2009-08-11 15:43:05 -0300 | [diff] [blame] | 36 | #define IFACE_IGMP_STR "Enable IGMP operation\n" |
| 37 | #define IFACE_IGMP_QUERY_INTERVAL_STR "IGMP host query interval\n" |
| 38 | #define IFACE_IGMP_QUERY_MAX_RESPONSE_TIME_STR "IGMP max query response value (seconds)\n" |
| 39 | #define IFACE_IGMP_QUERY_MAX_RESPONSE_TIME_DSEC_STR "IGMP max query response value (deciseconds)\n" |
| 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" |
Everton Marques | 67faabc | 2010-02-23 12:11:11 -0300 | [diff] [blame] | 44 | #define DEBUG_MROUTE_STR "PIM interaction with kernel MFC cache\n" |
Jafar Al-Gharaibeh | 030674d | 2015-06-11 18:29:02 -0500 | [diff] [blame] | 45 | #define DEBUG_STATIC_STR "PIM Static Multicast Route activity\n" |
Everton Marques | 871dbcf | 2009-08-11 15:43:05 -0300 | [diff] [blame] | 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" |
Balaji.G | ed14fa0 | 2014-10-08 01:11:31 -0300 | [diff] [blame] | 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" |
Everton Marques | 6273804 | 2009-11-18 10:44:13 -0200 | [diff] [blame] | 51 | #define DEBUG_PIM_PACKETDUMP_STR "PIM packet dump\n" |
| 52 | #define DEBUG_PIM_PACKETDUMP_SEND_STR "Dump sent packets\n" |
| 53 | #define DEBUG_PIM_PACKETDUMP_RECV_STR "Dump received packets\n" |
Everton Marques | 871dbcf | 2009-08-11 15:43:05 -0300 | [diff] [blame] | 54 | #define DEBUG_PIM_TRACE_STR "PIM internal daemon activity\n" |
| 55 | #define DEBUG_PIM_ZEBRA_STR "ZEBRA protocol activity\n" |
Everton Marques | 824adbe | 2009-10-08 09:16:27 -0300 | [diff] [blame] | 56 | #define DEBUG_SSMPINGD_STR "ssmpingd activity\n" |
Everton Marques | 871dbcf | 2009-08-11 15:43:05 -0300 | [diff] [blame] | 57 | #define CLEAR_IP_IGMP_STR "IGMP clear commands\n" |
| 58 | #define CLEAR_IP_PIM_STR "PIM clear commands\n" |
| 59 | #define MROUTE_STR "IP multicast routing table\n" |
Everton Marques | 05e573d | 2010-04-20 12:20:46 -0300 | [diff] [blame] | 60 | #define RIB_STR "IP unicast routing table\n" |
Everton Marques | 871dbcf | 2009-08-11 15:43:05 -0300 | [diff] [blame] | 61 | |
| 62 | #define PIM_CMD_NO "no" |
| 63 | #define PIM_CMD_IP_MULTICAST_ROUTING "ip multicast-routing" |
| 64 | #define PIM_CMD_IP_IGMP_QUERY_INTERVAL "ip igmp query-interval" |
| 65 | #define PIM_CMD_IP_IGMP_QUERY_MAX_RESPONSE_TIME "ip igmp query-max-response-time" |
| 66 | #define PIM_CMD_IP_IGMP_QUERY_MAX_RESPONSE_TIME_DSEC "ip igmp query-max-response-time-dsec" |
| 67 | |
| 68 | void pim_cmd_init(void); |
| 69 | |
| 70 | #endif /* PIM_CMD_H */ |