]> git.proxmox.com Git - mirror_frr.git/blobdiff - ospfd/ospf_dump.h
Support for multi-client and client reg msg
[mirror_frr.git] / ospfd / ospf_dump.h
index 50e61e62c7ff81da872b357c26cd1ae14177076f..a2d5e8ba196150cf8bcd55711d6e5d1a983c88ea 100644 (file)
@@ -121,19 +121,24 @@ extern unsigned long term_debug_ospf_zebra;
 extern unsigned long term_debug_ospf_nssa;
 
 /* Message Strings. */
-extern const char *ospf_packet_type_str[];
 extern char *ospf_lsa_type_str[];
+extern const struct message ospf_auth_type_str[];
+extern const size_t ospf_auth_type_str_max;
 
 /* Prototypes. */
-const char *ospf_area_name_string (struct ospf_area *);
-const char *ospf_area_desc_string (struct ospf_area *);
-const char *ospf_if_name_string (struct ospf_interface *);
-void ospf_nbr_state_message (struct ospf_neighbor *, char *, size_t);
-char *ospf_options_dump (u_char);
-const char *ospf_timer_dump (struct thread *, char *, size_t);
-void ospf_ip_header_dump (struct ip *);
-void ospf_packet_dump (struct stream *);
-void ospf_lsa_header_dump (struct lsa_header *);
-void debug_init ();
+extern const char *ospf_area_name_string (struct ospf_area *);
+extern const char *ospf_area_desc_string (struct ospf_area *);
+extern const char *ospf_if_name_string (struct ospf_interface *);
+extern void ospf_nbr_state_message (struct ospf_neighbor *, char *, size_t);
+extern char *ospf_options_dump (u_char);
+extern const char *ospf_timer_dump (struct thread *, char *, size_t);
+extern const char *ospf_timeval_dump (struct timeval *, char *, size_t);
+extern void ospf_ip_header_dump (struct ip *);
+extern void ospf_packet_dump (struct stream *);
+extern void ospf_lsa_header_dump (struct lsa_header *);
+extern void debug_init (void);
+
+/* Appropriate buffer size to use with ospf_timer_dump and ospf_timeval_dump: */
+#define OSPF_TIME_DUMP_SIZE    16
 
 #endif /* _ZEBRA_OSPF_DUMP_H */