]> git.proxmox.com Git - mirror_frr.git/blame - ospf6d/ospf6_bfd.h
ospf6d: rework BFD integration
[mirror_frr.git] / ospf6d / ospf6_bfd.h
CommitLineData
7f342629
DS
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 *
896014f4
DL
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
7f342629 21 */
6a5bb300 22#include "lib/json.h"
7f342629
DS
23#ifndef OSPF6_BFD_H
24#define OSPF6_BFD_H
f16ae8cf 25#include "lib/json.h"
7f342629 26
d06cc416
RZ
27/**
28 * Initialize BFD integration.
29 */
d62a17ae 30extern void ospf6_bfd_init(void);
7f342629 31
d62a17ae 32extern void ospf6_bfd_trigger_event(struct ospf6_neighbor *nbr, int old_state,
33 int state);
7f342629 34
d62a17ae 35extern void ospf6_bfd_write_config(struct vty *vty, struct ospf6_interface *oi);
7f342629 36
d62a17ae 37extern void ospf6_bfd_info_nbr_create(struct ospf6_interface *oi,
38 struct ospf6_neighbor *on);
68fe91d6 39
7f342629 40#endif /* OSPF6_BFD_H */