summaryrefslogtreecommitdiff
path: root/src/network/networkd-address.h
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2021-05-23 23:47:19 +0900
committerYu Watanabe <watanabe.yu+github@gmail.com>2021-06-08 06:33:27 +0900
commitb9bf3f22a8f644d66c282d376758f99096ba5d81 (patch)
treeb89beb074c282fc92b665373b35e82b5d6d2d9f0 /src/network/networkd-address.h
parentf0269653e98885e41ffec37cae76f3820a199a18 (diff)
downloadsystemd-b9bf3f22a8f644d66c282d376758f99096ba5d81.tar.gz
network: introduces link_drop_ipv6ll_addresses()
It is not necessary to parse whole message and store the address in Link::addresses_foreign, as the address will be removed soon later.
Diffstat (limited to 'src/network/networkd-address.h')
-rw-r--r--src/network/networkd-address.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/network/networkd-address.h b/src/network/networkd-address.h
index af9f05c1e9..56251089d1 100644
--- a/src/network/networkd-address.h
+++ b/src/network/networkd-address.h
@@ -64,6 +64,7 @@ DEFINE_NETWORK_SECTION_FUNCTIONS(Address, address_free);
int link_drop_addresses(Link *link);
int link_drop_foreign_addresses(Link *link);
+int link_drop_ipv6ll_addresses(Link *link);
bool link_address_is_dynamic(const Link *link, const Address *address);
int link_get_ipv6_address(Link *link, const struct in6_addr *address, Address **ret);
int link_get_ipv4_address(Link *link, const struct in_addr *address, unsigned char prefixlen, Address **ret);