summaryrefslogtreecommitdiff
path: root/src/network/networkd-address.h
diff options
context:
space:
mode:
authorTom Gundersen <teg@jklm.no>2015-09-28 17:16:12 +0200
committerTom Gundersen <teg@jklm.no>2015-10-21 02:35:31 +0200
commit36c32f6120a0c3fe19be5aeaa1926e179e8c29ba (patch)
treec10e5f502a2757fa9e1bf1499063ec272a5c7039 /src/network/networkd-address.h
parent8012cd391932d58b44332df106d426a360faf0a6 (diff)
networkd: address - factor out address_update()
Call back into link_check_ready() whenever an address state change may have made a link ready.
Diffstat (limited to 'src/network/networkd-address.h')
-rw-r--r--src/network/networkd-address.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/network/networkd-address.h b/src/network/networkd-address.h
index 425344fe48..07a7ad2026 100644
--- a/src/network/networkd-address.h
+++ b/src/network/networkd-address.h
@@ -62,9 +62,10 @@ int address_new(Address **ret);
void address_free(Address *address);
int address_add(Link *link, int family, const union in_addr_union *in_addr, unsigned char prefixlen, Address **ret);
int address_get(Link *link, int family, const union in_addr_union *in_addr, unsigned char prefixlen, Address **ret);
+int address_update(Address *address, unsigned char flags, unsigned char scope, struct ifa_cacheinfo *cinfo);
int address_drop(Address *address);
int address_configure(Address *address, Link *link, sd_netlink_message_handler_t callback);
-int address_update(Address *address, Link *link, sd_netlink_message_handler_t callback);
+int address_change(Address *address, Link *link, sd_netlink_message_handler_t callback);
int address_remove(Address *address, Link *link, sd_netlink_message_handler_t callback);
bool address_equal(Address *a1, Address *a2);
bool address_is_ready(const Address *a);