summaryrefslogtreecommitdiffstats
path: root/src/network/networkd-route-nexthop.h
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2024-01-14 06:50:19 +0100
committerYu Watanabe <watanabe.yu+github@gmail.com>2024-01-19 02:23:14 +0100
commitacc3fc9e5f08a95338f983321f98426dbf49585c (patch)
treec79f87b9f91704c1097357136f1092ea93440fbc /src/network/networkd-route-nexthop.h
parentnetwork/route-nexthop: introduce route_nexthops_copy() (diff)
downloadsystemd-acc3fc9e5f08a95338f983321f98426dbf49585c.tar.xz
systemd-acc3fc9e5f08a95338f983321f98426dbf49585c.zip
network/route-nexthop: introduce route_adjust_nexthops() and route_nexthops_needs_adjust()
These are not used in this commit, but will be used later. Preparation for later commits.
Diffstat (limited to '')
-rw-r--r--src/network/networkd-route-nexthop.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/network/networkd-route-nexthop.h b/src/network/networkd-route-nexthop.h
index 0d305c7231..a63409c9e2 100644
--- a/src/network/networkd-route-nexthop.h
+++ b/src/network/networkd-route-nexthop.h
@@ -35,6 +35,8 @@ void route_nexthops_hash_func(const Route *route, struct siphash *state);
int route_nexthops_compare_func(const Route *a, const Route *b);
int route_nexthops_copy(const Route *src, const RouteNextHop *nh, Route *dest);
+bool route_nexthops_needs_adjust(const Route *route);
+int route_adjust_nexthops(Route *route, Link *link);
int route_nexthop_get_link(Manager *manager, Link *link, const RouteNextHop *nh, Link **ret);
int route_nexthops_is_ready_to_configure(const Route *route, Link *link);