summaryrefslogtreecommitdiff
path: root/src/network/networkd.h
diff options
context:
space:
mode:
authorTom Gundersen <teg@jklm.no>2013-12-31 17:31:50 +0100
committerTom Gundersen <teg@jklm.no>2014-01-01 15:12:50 +0100
commit407fe036a24834203aca6c1eec7d74d9ad3e9ee0 (patch)
treebf78da1c6805bbd4795e25d4cf0d14c6a722182b /src/network/networkd.h
parent9b55cd5665d94e2245a4ca90d2548bbcfe8c34fb (diff)
network: add support for dropping address
Diffstat (limited to 'src/network/networkd.h')
-rw-r--r--src/network/networkd.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/network/networkd.h b/src/network/networkd.h
index c28c90f0e3..bb775081c3 100644
--- a/src/network/networkd.h
+++ b/src/network/networkd.h
@@ -242,6 +242,7 @@ int config_parse_destination(const char *unit, const char *filename, unsigned li
int address_new(Network *network, unsigned section, Address **ret);
void address_free(Address *address);
int address_configure(Address *address, Link *link, sd_rtnl_message_handler_t callback);
+int address_drop(Address *address, Link *link, sd_rtnl_message_handler_t callback);
DEFINE_TRIVIAL_CLEANUP_FUNC(Address*, address_free);
#define _cleanup_address_free_ _cleanup_(address_freep)