]> git.proxmox.com Git - mirror_frr.git/blame - bgpd/bgp_bfd.h
lib, bgpd: Log next hops
[mirror_frr.git] / bgpd / bgp_bfd.h
CommitLineData
c43ed2e4
DS
1/**
2 * bgp_bfd.h: BGP 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 _QUAGGA_BGP_BFD_H
25#define _QUAGGA_BGP_BFD_H
26
c43ed2e4
DS
27extern void
28bgp_bfd_init(void);
29
c43ed2e4
DS
30extern void
31bgp_bfd_peer_group2peer_copy(struct peer *conf, struct peer *peer);
32
33extern void
34bgp_bfd_register_peer (struct peer *peer);
35
36extern void
37bgp_bfd_deregister_peer (struct peer *peer);
38
c43ed2e4
DS
39extern void
40bgp_bfd_peer_config_write(struct vty *vty, struct peer *peer, char *addr);
41
42extern void
856ca177 43bgp_bfd_show_info(struct vty *vty, struct peer *peer, u_char use_json, json_object *json_neigh);
c43ed2e4
DS
44
45#endif /* _QUAGGA_BGP_BFD_H */