diff options
author | Daniel Baumann <daniel@debian.org> | 2024-11-17 07:10:47 +0100 |
---|---|---|
committer | Daniel Baumann <daniel@debian.org> | 2024-11-17 07:10:47 +0100 |
commit | d785318c6f0fc8ee4b0e92eed928d0fcd5debc0c (patch) | |
tree | 9656d5d79eba42e52e7e6e208f8f8ab39b63c756 /lib/nexthop.h | |
parent | Adding upstream version 10.1.1. (diff) | |
download | frr-d785318c6f0fc8ee4b0e92eed928d0fcd5debc0c.tar.xz frr-d785318c6f0fc8ee4b0e92eed928d0fcd5debc0c.zip |
Adding upstream version 10.2.upstream/10.2
Signed-off-by: Daniel Baumann <daniel@debian.org>
Diffstat (limited to 'lib/nexthop.h')
-rw-r--r-- | lib/nexthop.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/nexthop.h b/lib/nexthop.h index 27073b94..02ea4d96 100644 --- a/lib/nexthop.h +++ b/lib/nexthop.h @@ -207,6 +207,8 @@ extern bool nexthop_same(const struct nexthop *nh1, const struct nexthop *nh2); extern bool nexthop_same_no_labels(const struct nexthop *nh1, const struct nexthop *nh2); extern int nexthop_cmp(const struct nexthop *nh1, const struct nexthop *nh2); +extern int nexthop_cmp_no_weight(const struct nexthop *nh1, + const struct nexthop *nh2); extern int nexthop_g_addr_cmp(enum nexthop_types_t type, const union g_addr *addr1, const union g_addr *addr2); @@ -223,6 +225,8 @@ extern bool nexthop_labels_match(const struct nexthop *nh1, extern const char *nexthop2str(const struct nexthop *nexthop, char *str, int size); extern struct nexthop *nexthop_next(const struct nexthop *nexthop); +extern struct nexthop *nexthop_next_resolution(const struct nexthop *nexthop, + bool nexthop_resolution); extern struct nexthop * nexthop_next_active_resolved(const struct nexthop *nexthop); extern unsigned int nexthop_level(const struct nexthop *nexthop); |