]>
git.proxmox.com Git - mirror_frr.git/blob - pimd/pim_bfd.h
1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * pim_bfd.h: PIM BFD definitions and structures
5 * Copyright (C) 2017 Cumulus Networks, Inc.
15 * Initializes PIM BFD integration code.
17 void pim_bfd_init(void);
20 * Write configuration to `show running-config`.
22 * \param vty the vty output pointer.
23 * \param ifp the interface pointer that has the configuration.
25 void pim_bfd_write_config(struct vty
*vty
, struct interface
*ifp
);
28 * Enables or disables all peers BFD sessions.
30 * \param ifp interface pointer.
31 * \param enable session state to set.
33 void pim_bfd_reg_dereg_all_nbr(struct interface
*ifp
);
36 * Create and configure peer BFD session if it does not exist. It will use
37 * the interface configured parameters as the peer configuration.
39 * \param pim_ifp the interface configuration pointer.
40 * \param neigh the neighbor configuration pointer.
42 void pim_bfd_info_nbr_create(struct pim_interface
*pim_ifp
,
43 struct pim_neighbor
*neigh
);
45 #endif /* _PIM_BFD_H */