]>
git.proxmox.com Git - mirror_frr.git/blob - pimd/pim_bfd.h
2 * pim_bfd.h: PIM BFD definitions and structures
4 * Copyright (C) 2017 Cumulus Networks, Inc.
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by
9 * the Free Software Foundation; either version 2 of the License, or
10 * (at your option) any later version.
12 * This program is distributed in the hope that it will be useful, but
13 * WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 * General Public License for more details.
17 * You should have received a copy of the GNU General Public License
18 * along with this program; see the file COPYING; if not, write to the
19 * Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston,
28 void pim_bfd_init(void);
29 void pim_bfd_write_config(struct vty
*vty
, struct interface
*ifp
);
30 void pim_bfd_show_info(struct vty
*vty
, void *bfd_info
, json_object
*json_obj
,
31 bool use_json
, int param_only
);
32 void pim_bfd_if_param_set(struct interface
*ifp
, uint32_t min_rx
,
33 uint32_t min_tx
, uint8_t detect_mult
, int defaults
);
34 int pim_bfd_reg_dereg_all_nbr(struct interface
*ifp
, int command
);
35 void pim_bfd_trigger_event(struct pim_interface
*pim_ifp
,
36 struct pim_neighbor
*nbr
, uint8_t nbr_up
);
37 void pim_bfd_info_nbr_create(struct pim_interface
*pim_ifp
,
38 struct pim_neighbor
*neigh
);
39 void pim_bfd_info_free(struct bfd_info
**bfd_info
);
40 #endif /* _PIM_BFD_H */