summaryrefslogtreecommitdiffstats
path: root/bgpd/bgp_route.h
diff options
context:
space:
mode:
authorRuss White <russ@riw.us>2023-06-20 15:20:36 +0200
committerGitHub <noreply@github.com>2023-06-20 15:20:36 +0200
commit4d9fb376c8c4feab96a9ea53e5da9c7d3ba91da1 (patch)
tree3a50402c04d3883125c23614b8de1fb5ca63e6cf /bgpd/bgp_route.h
parentMerge pull request #13750 from louis-6wind/fix-no-retain-memory-usage (diff)
parentbgpd: Implement `neighbor X addpath-tx-best-selected` command (diff)
downloadfrr-4d9fb376c8c4feab96a9ea53e5da9c7d3ba91da1.tar.xz
frr-4d9fb376c8c4feab96a9ea53e5da9c7d3ba91da1.zip
Merge pull request #13728 from opensourcerouting/fix/addpath_drop_non_best_addpaths
bgpd: Implement neighbor X addpath-tx-best-selected command
Diffstat (limited to 'bgpd/bgp_route.h')
-rw-r--r--bgpd/bgp_route.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/bgpd/bgp_route.h b/bgpd/bgp_route.h
index d4837d3f5..ccfd9d00d 100644
--- a/bgpd/bgp_route.h
+++ b/bgpd/bgp_route.h
@@ -910,6 +910,11 @@ extern void bgp_path_info_add_with_caller(const char *caller,
struct bgp_dest *dest,
struct bgp_path_info *pi);
extern void bgp_aggregate_free(struct bgp_aggregate *aggregate);
+extern int bgp_path_info_cmp(struct bgp *bgp, struct bgp_path_info *new,
+ struct bgp_path_info *exist, int *paths_eq,
+ struct bgp_maxpaths_cfg *mpath_cfg, int debug,
+ char *pfx_buf, afi_t afi, safi_t safi,
+ enum bgp_path_selection_reason *reason);
#define bgp_path_info_add(A, B) \
bgp_path_info_add_with_caller(__func__, (A), (B))
#define bgp_path_info_free(B) bgp_path_info_free_with_caller(__func__, (B))