pim_cmd.h 4.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. /*
  2. PIM for Quagga
  3. Copyright (C) 2008 Everton da Silva Marques
  4. This program is free software; you can redistribute it and/or modify
  5. it under the terms of the GNU General Public License as published by
  6. the Free Software Foundation; either version 2 of the License, or
  7. (at your option) any later version.
  8. This program is distributed in the hope that it will be useful, but
  9. WITHOUT ANY WARRANTY; without even the implied warranty of
  10. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  11. General Public License for more details.
  12. You should have received a copy of the GNU General Public License
  13. along with this program; see the file COPYING; if not, write to the
  14. Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston,
  15. MA 02110-1301 USA
  16. $QuaggaId: $Format:%an, %ai, %h$ $
  17. */
  18. #ifndef PIM_CMD_H
  19. #define PIM_CMD_H
  20. #define PIM_STR "PIM information\n"
  21. #define IGMP_STR "IGMP information\n"
  22. #define IGMP_GROUP_STR "IGMP groups information\n"
  23. #define IGMP_SOURCE_STR "IGMP sources information\n"
  24. #define CONF_SSMPINGD_STR "Enable ssmpingd operation\n"
  25. #define SHOW_SSMPINGD_STR "ssmpingd operation\n"
  26. #define IFACE_PIM_STR "Enable PIM SSM operation\n"
  27. #define IFACE_PIM_HELLO_STR "Hello Interval\n"
  28. #define IFACE_PIM_HELLO_TIME_STR "Time in seconds for Hello Interval\n"
  29. #define IFACE_PIM_HELLO_HOLD_STR "Time in seconds for Hold Interval\n"
  30. #define IFACE_IGMP_STR "Enable IGMP operation\n"
  31. #define IFACE_IGMP_QUERY_INTERVAL_STR "IGMP host query interval\n"
  32. #define IFACE_IGMP_QUERY_MAX_RESPONSE_TIME_STR "IGMP max query response value (seconds)\n"
  33. #define IFACE_IGMP_QUERY_MAX_RESPONSE_TIME_DSEC_STR "IGMP max query response value (deciseconds)\n"
  34. #define DEBUG_IGMP_STR "IGMP protocol activity\n"
  35. #define DEBUG_IGMP_EVENTS_STR "IGMP protocol events\n"
  36. #define DEBUG_IGMP_PACKETS_STR "IGMP protocol packets\n"
  37. #define DEBUG_IGMP_TRACE_STR "IGMP internal daemon activity\n"
  38. #define DEBUG_MROUTE_STR "PIM interaction with kernel MFC cache\n"
  39. #define DEBUG_STATIC_STR "PIM Static Multicast Route activity\n"
  40. #define DEBUG_PIM_STR "PIM protocol activity\n"
  41. #define DEBUG_PIM_EVENTS_STR "PIM protocol events\n"
  42. #define DEBUG_PIM_PACKETS_STR "PIM protocol packets\n"
  43. #define DEBUG_PIM_HELLO_PACKETS_STR "PIM Hello protocol packets\n"
  44. #define DEBUG_PIM_J_P_PACKETS_STR "PIM Join/Prune protocol packets\n"
  45. #define DEBUG_PIM_PACKETDUMP_STR "PIM packet dump\n"
  46. #define DEBUG_PIM_PACKETDUMP_SEND_STR "Dump sent packets\n"
  47. #define DEBUG_PIM_PACKETDUMP_RECV_STR "Dump received packets\n"
  48. #define DEBUG_PIM_TRACE_STR "PIM internal daemon activity\n"
  49. #define DEBUG_PIM_ZEBRA_STR "ZEBRA protocol activity\n"
  50. #define DEBUG_SSMPINGD_STR "ssmpingd activity\n"
  51. #define CLEAR_IP_IGMP_STR "IGMP clear commands\n"
  52. #define CLEAR_IP_PIM_STR "PIM clear commands\n"
  53. #define MROUTE_STR "IP multicast routing table\n"
  54. #define RIB_STR "IP unicast routing table\n"
  55. #define PIM_CMD_NO "no"
  56. #define PIM_CMD_IP_MULTICAST_ROUTING "ip multicast-routing"
  57. #define PIM_CMD_IP_IGMP_QUERY_INTERVAL "ip igmp query-interval"
  58. #define PIM_CMD_IP_IGMP_QUERY_MAX_RESPONSE_TIME "ip igmp query-max-response-time"
  59. #define PIM_CMD_IP_IGMP_QUERY_MAX_RESPONSE_TIME_DSEC "ip igmp query-max-response-time-dsec"
  60. void pim_cmd_init(void);
  61. #endif /* PIM_CMD_H */