]> git.proxmox.com Git - mirror_frr.git/blob - ospfd/ospf_dump_api.h
lib: enforce vrf_name_to_id by returning default_vrf when name is null
[mirror_frr.git] / ospfd / ospf_dump_api.h
1 /*
2 * OSPFd dump routine (parts used by ospfclient).
3 * Copyright (C) 1999 Toshiaki Takada
4 *
5 * This file is part of FRRouting (FRR).
6 *
7 * FRR is free software; you can redistribute it and/or modify it under the
8 * terms of the GNU General Public License as published by the Free Software
9 * Foundation; either version 2, or (at your option) any later version.
10 *
11 * FRR is distributed in the hope that it will be useful, but WITHOUT ANY
12 * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
13 * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
14 * 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
21 #ifndef _ZEBRA_OSPF_DUMP_API_H
22 #define _ZEBRA_OSPF_DUMP_API_H
23
24 #include "log.h"
25 struct lsa_header;
26
27 extern const struct message ospf_ism_state_msg[];
28 extern const struct message ospf_nsm_state_msg[];
29 extern const struct message ospf_lsa_type_msg[];
30 extern const struct message ospf_link_state_id_type_msg[];
31 extern const struct message ospf_network_type_msg[];
32 extern const struct message ospf_auth_type_str[];
33 extern const int ospf_ism_state_msg_max;
34 extern const int ospf_nsm_state_msg_max;
35 extern const int ospf_lsa_type_msg_max;
36 extern const int ospf_link_state_id_type_msg_max;
37 extern const int ospf_network_type_msg_max;
38 extern const size_t ospf_auth_type_str_max;
39
40 extern char *ospf_options_dump(uint8_t);
41 extern void ospf_lsa_header_dump(struct lsa_header *);
42
43 #endif /* _ZEBRA_OSPF_DUMP_API_H */