]> git.proxmox.com Git - mirror_frr.git/blob - ospfd/ospf_bfd.h
Merge branch 'cmaster' of ssh://stash.cumulusnetworks.com:7999/quag/quagga into cmaster
[mirror_frr.git] / ospfd / ospf_bfd.h
1 /**
2 * ospf_bfd.h: OSPF BFD definitions and structures
3 *
4 * @copyright Copyright (C) 2015 Cumulus Networks, Inc.
5 *
6 * This file is part of GNU Zebra.
7 *
8 * GNU Zebra is free software; you can redistribute it and/or modify it
9 * under the terms of the GNU General Public License as published by the
10 * Free Software Foundation; either version 2, or (at your option) any
11 * later version.
12 *
13 * GNU Zebra is distributed in the hope that it will be useful, but
14 * WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16 * General Public License for more details.
17 *
18 * You should have received a copy of the GNU General Public License
19 * along with GNU Zebra; see the file COPYING. If not, write to the Free
20 * Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
21 * 02111-1307, USA.
22 */
23
24 #ifndef _ZEBRA_OSPF_BFD_H
25 #define _ZEBRA_OSPF_BFD_H
26
27 #include "json.h"
28
29 extern void
30 ospf_bfd_init(void);
31
32 extern void
33 ospf_bfd_write_config(struct vty *vty, struct ospf_if_params *params);
34
35 extern void
36 ospf_bfd_trigger_event(struct ospf_neighbor *nbr, int old_state, int state);
37
38 extern void
39 ospf_bfd_interface_show(struct vty *vty, struct interface *ifp,
40 json_object *json_interface_sub, u_char use_json);
41
42 extern void
43 ospf_bfd_info_nbr_create (struct ospf_interface *oi, struct ospf_neighbor *nbr);
44
45 extern void
46 ospf_bfd_show_info(struct vty *vty, void *bfd_info, json_object *json_obj,
47 u_char use_json, int param_only);
48
49 extern void
50 ospf_bfd_info_free(void **bfd_info);
51
52 #endif /* _ZEBRA_OSPF_BFD_H */