diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2021-09-06 16:09:38 +0900 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2021-09-24 21:46:32 +0900 |
commit | 3b6a3bdebfb555754fdc6ee507e3f6964de7b61c (patch) | |
tree | b904859c12346774a65f0704d8f42f197045b23e /src/network/networkd-dhcp6.h | |
parent | c7e445abd59c808520cf5f09f059b993f0773aaa (diff) | |
download | systemd-3b6a3bdebfb555754fdc6ee507e3f6964de7b61c.tar.gz |
network: use NetworkConfigSource/State to manage addresses and routes
This also fixes #20146.
Diffstat (limited to 'src/network/networkd-dhcp6.h')
-rw-r--r-- | src/network/networkd-dhcp6.h | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/src/network/networkd-dhcp6.h b/src/network/networkd-dhcp6.h index 23612454d9..72f196ad51 100644 --- a/src/network/networkd-dhcp6.h +++ b/src/network/networkd-dhcp6.h @@ -16,18 +16,9 @@ typedef enum DHCP6ClientStartMode { typedef struct Link Link; typedef struct Request Request; -typedef struct DHCP6DelegatedPrefix { - struct in6_addr prefix; /* Prefix assigned to the link */ - struct in6_addr pd_prefix; /* PD prefix provided by DHCP6 lease */ - Link *link; -} DHCP6DelegatedPrefix; - -DHCP6DelegatedPrefix *dhcp6_pd_free(DHCP6DelegatedPrefix *p); -DEFINE_TRIVIAL_CLEANUP_FUNC(DHCP6DelegatedPrefix*, dhcp6_pd_free); - bool link_dhcp6_with_address_enabled(Link *link); bool link_dhcp6_pd_is_enabled(Link *link); -int dhcp6_pd_remove(Link *link); +int dhcp6_pd_remove(Link *link, bool only_marked); int dhcp6_update_mac(Link *link); int dhcp6_start(Link *link); int dhcp6_request_information(Link *link, int ir); |