diff options
author | Louis Scalbert <louis.scalbert@6wind.com> | 2024-02-14 17:32:06 +0100 |
---|---|---|
committer | Louis Scalbert <louis.scalbert@6wind.com> | 2024-06-05 11:08:46 +0200 |
commit | 7a513e3361eb879a6a0ea64939c68cd949e8fd76 (patch) | |
tree | 454152de06ff9a2677989d2be72f78e4fad739f5 /bgpd/bgp_route.h | |
parent | bgpd: check and set extra num_labels (diff) | |
download | frr-7a513e3361eb879a6a0ea64939c68cd949e8fd76.tar.xz frr-7a513e3361eb879a6a0ea64939c68cd949e8fd76.zip |
bgpd: add bgp_path_info_has_valid_label()
Add bgp_path_has_valid_label to check that a path_info has a valid
label.
Signed-off-by: Louis Scalbert <louis.scalbert@6wind.com>
Diffstat (limited to '')
-rw-r--r-- | bgpd/bgp_route.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/bgpd/bgp_route.h b/bgpd/bgp_route.h index 25fc327a1..7afd77cf6 100644 --- a/bgpd/bgp_route.h +++ b/bgpd/bgp_route.h @@ -753,6 +753,7 @@ extern void bgp_path_info_delete(struct bgp_dest *dest, struct bgp_path_info *pi); extern struct bgp_path_info_extra * bgp_path_info_extra_get(struct bgp_path_info *path); +extern bool bgp_path_info_has_valid_label(const struct bgp_path_info *path); extern void bgp_path_info_set_flag(struct bgp_dest *dest, struct bgp_path_info *path, uint32_t flag); extern void bgp_path_info_unset_flag(struct bgp_dest *dest, |