]> git.proxmox.com Git - mirror_frr.git/blame - bgpd/bgp_bfd.h
Merge pull request #3409 from opensourcerouting/feature/cleanup-topotest-docker-docs
[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 *
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
c43ed2e4
DS
21 */
22
23#ifndef _QUAGGA_BGP_BFD_H
24#define _QUAGGA_BGP_BFD_H
25
d62a17ae 26extern void bgp_bfd_init(void);
c43ed2e4 27
d62a17ae 28extern void bgp_bfd_peer_group2peer_copy(struct peer *conf, struct peer *peer);
c43ed2e4 29
d62a17ae 30extern void bgp_bfd_register_peer(struct peer *peer);
c43ed2e4 31
d62a17ae 32extern void bgp_bfd_deregister_peer(struct peer *peer);
c43ed2e4 33
d62a17ae 34extern void bgp_bfd_peer_config_write(struct vty *vty, struct peer *peer,
35 char *addr);
c43ed2e4 36
9f049418
DS
37extern void bgp_bfd_show_info(struct vty *vty, struct peer *peer, bool use_json,
38 json_object *json_neigh);
c43ed2e4 39
d62a17ae 40extern int bgp_bfd_is_peer_multihop(struct peer *peer);
8c4f6381 41
c43ed2e4 42#endif /* _QUAGGA_BGP_BFD_H */