]> git.proxmox.com Git - mirror_frr.git/blobdiff - ospfd/ospf_bfd.h
lib: enforce vrf_name_to_id by returning default_vrf when name is null
[mirror_frr.git] / ospfd / ospf_bfd.h
index 75b8e11f48d2e6650b6765c836e305fcfc6d9780..74385d326852f3d02c3460f5bc17fd084f8e3a5a 100644 (file)
 
 #include "json.h"
 
-extern void
-ospf_bfd_init(void);
+extern void ospf_bfd_init(void);
 
-extern void
-ospf_bfd_write_config(struct vty *vty, struct ospf_if_params *params);
+extern void ospf_bfd_write_config(struct vty *vty,
+                                 struct ospf_if_params *params);
 
-extern void
-ospf_bfd_trigger_event(struct ospf_neighbor *nbr, int old_state, int state);
+extern void ospf_bfd_trigger_event(struct ospf_neighbor *nbr, int old_state,
+                                  int state);
 
-extern void
-ospf_bfd_interface_show(struct vty *vty, struct interface *ifp,
-                          json_object *json_interface_sub, u_char use_json);
+extern void ospf_bfd_interface_show(struct vty *vty, struct interface *ifp,
+                                   json_object *json_interface_sub,
+                                   bool use_json);
 
-extern void
-ospf_bfd_info_nbr_create (struct ospf_interface *oi, struct ospf_neighbor *nbr);
+extern void ospf_bfd_info_nbr_create(struct ospf_interface *oi,
+                                    struct ospf_neighbor *nbr);
 
-extern void
-ospf_bfd_show_info(struct vty *vty, void *bfd_info, json_object *json_obj,
-                    u_char use_json, int param_only);
+extern void ospf_bfd_show_info(struct vty *vty, void *bfd_info,
+                              json_object *json_obj, bool use_json,
+                              int param_only);
 
-extern void
-ospf_bfd_info_free(void **bfd_info);
+extern void ospf_bfd_info_free(void **bfd_info);
 
 #endif /* _ZEBRA_OSPF_BFD_H */