]> git.proxmox.com Git - mirror_frr.git/blob - ospf6d/ospf6_bfd.h
Merge branch 'stable/3.0'
[mirror_frr.git] / ospf6d / ospf6_bfd.h
1 /**
2 * ospf6_bfd.h: OSPF6 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 along
19 * with this program; see the file COPYING; if not, write to the Free Software
20 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
21 */
22
23 #ifndef OSPF6_BFD_H
24 #define OSPF6_BFD_H
25
26 extern void
27 ospf6_bfd_init(void);
28
29 extern void
30 ospf6_bfd_trigger_event(struct ospf6_neighbor *nbr, int old_state, int state);
31
32 extern void
33 ospf6_bfd_write_config(struct vty *vty, struct ospf6_interface *oi);
34
35 extern void
36 ospf6_bfd_info_nbr_create (struct ospf6_interface *oi,
37 struct ospf6_neighbor *on);
38
39 extern void
40 ospf6_bfd_info_free(void **bfd_info);
41
42 extern void
43 ospf6_bfd_show_info(struct vty *vty, void *bfd_info, int param_only);
44
45 extern void
46 ospf6_bfd_reg_dereg_nbr (struct ospf6_neighbor *on, int command);
47 #endif /* OSPF6_BFD_H */