]> git.proxmox.com Git - mirror_frr.git/blobdiff - bgpd/bgp_flowspec.h
Merge pull request #3370 from pguibert6WIND/default_vrf_initialization
[mirror_frr.git] / bgpd / bgp_flowspec.h
index 9f69dbeddac06a2af9672fa1c59e3fbe3f354ba8..bc201b739fcc903c2b122e3dcd3ca5b87cae0ab5 100644 (file)
@@ -34,9 +34,8 @@ extern void bgp_flowspec_vty_init(void);
 
 extern int bgp_show_table_flowspec(struct vty *vty, struct bgp *bgp, afi_t afi,
                                   struct bgp_table *table,
-                                  enum bgp_show_type type,
-                                  void *output_arg, uint8_t use_json,
-                                  int is_last,
+                                  enum bgp_show_type type, void *output_arg,
+                                  bool use_json, int is_last,
                                   unsigned long *output_cum,
                                   unsigned long *total_cum);
 
@@ -45,17 +44,15 @@ extern void bgp_fs_nlri_get_string(unsigned char *nlri_content, size_t len,
                                   json_object *json_path);
 
 extern void route_vty_out_flowspec(struct vty *vty, struct prefix *p,
-                                  struct bgp_info *binfo,
-                                  int display, json_object *json_paths);
+                                  struct bgp_path_info *path, int display,
+                                  json_object *json_paths);
 extern int bgp_fs_config_write_pbr(struct vty *vty, struct bgp *bgp,
                                   afi_t afi, safi_t safi);
 
-extern int bgp_flowspec_display_match_per_ip(afi_t afi,
-                               struct bgp_table *rib,
-                               struct prefix *match,
-                               int prefix_check,
-                               struct vty *vty,
-                               uint8_t use_json,
-                               json_object *json_paths);
+extern int bgp_flowspec_display_match_per_ip(afi_t afi, struct bgp_table *rib,
+                                            struct prefix *match,
+                                            int prefix_check, struct vty *vty,
+                                            bool use_json,
+                                            json_object *json_paths);
 
 #endif /* _FRR_BGP_FLOWSPEC_H */