]>
git.proxmox.com Git - mirror_frr.git/blob - ospfd/ospf_bfd.h
1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * ospf_bfd.h: OSPF BFD definitions and structures
5 * @copyright Copyright (C) 2015 Cumulus Networks, Inc.
8 #ifndef _ZEBRA_OSPF_BFD_H
9 #define _ZEBRA_OSPF_BFD_H
11 #include "ospfd/ospf_interface.h"
14 extern void ospf_bfd_init(struct event_loop
*tm
);
16 extern void ospf_bfd_write_config(struct vty
*vty
,
17 const struct ospf_if_params
*params
);
19 extern void ospf_bfd_trigger_event(struct ospf_neighbor
*nbr
, int old_state
,
23 * Legacy information: it is the peers who actually have this information
24 * and the protocol should not need to know about timers.
26 extern void ospf_interface_bfd_show(struct vty
*vty
,
27 const struct interface
*ifp
,
28 struct json_object
*json
);
31 * Disables interface BFD configuration and remove settings from all peers.
33 extern void ospf_interface_disable_bfd(struct interface
*ifp
,
34 struct ospf_if_params
*oip
);
37 * Create/update BFD session for this OSPF neighbor.
39 extern void ospf_neighbor_bfd_apply(struct ospf_neighbor
*nbr
);
41 #endif /* _ZEBRA_OSPF_BFD_H */