summaryrefslogtreecommitdiff
path: root/src/network/networkd-dhcp6.h
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2021-05-05 22:46:44 +0900
committerYu Watanabe <watanabe.yu+github@gmail.com>2021-05-12 11:26:06 +0900
commit76c5a0f27bb578b9069d779eed72f6c4f26976ac (patch)
treeeb47324d26ab5bbe8caedf692fc588739bcba8d6 /src/network/networkd-dhcp6.h
parent40ca350ea1846d28fb3403217d47ed87eac57ad7 (diff)
downloadsystemd-76c5a0f27bb578b9069d779eed72f6c4f26976ac.tar.gz
network: use request queue to configure addresses, routes, and nexthops
Why is this necessary? Several examples below. - When a route sets prefsrc, then the address must be already assigned (see issue #19285), and also it must be ready if IPv6. - When a route or nexthop sets gateway, then the address must be reachable. - When a route sets nexthop ID, then the corresponding nexthop must be assigned. - When a route sets multipath routes on another interface, then the interface must exist and be ready to configure. - When configuring address, the same address must not be under removing (see issue #18108). Etc,. etc,... So, this makes all requests about addresses, routes, and nethops are once stored in the queue, and will be processed when they are ready to configure. Fixes #18108 and #19285.
Diffstat (limited to 'src/network/networkd-dhcp6.h')
-rw-r--r--src/network/networkd-dhcp6.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/network/networkd-dhcp6.h b/src/network/networkd-dhcp6.h
index 025bbb6188..f24d6eea5a 100644
--- a/src/network/networkd-dhcp6.h
+++ b/src/network/networkd-dhcp6.h
@@ -32,7 +32,7 @@ int dhcp6_pd_remove(Link *link);
int dhcp6_configure(Link *link);
int dhcp6_update_mac(Link *link);
int dhcp6_start(Link *link);
-int dhcp6_request_address(Link *link, int ir);
+int dhcp6_request_information(Link *link, int ir);
int dhcp6_request_prefix_delegation(Link *link);
int link_serialize_dhcp6_client(Link *link, FILE *f);