diff options
author | Tom Gundersen <teg@jklm.no> | 2015-10-01 21:14:06 +0200 |
---|---|---|
committer | Tom Gundersen <teg@jklm.no> | 2015-10-30 12:32:49 +0100 |
commit | c4a03a5669af8abd752bff9084c29683ae78e11e (patch) | |
tree | d7437b9285d09c000161d7ad0f76cddd6f9ea7c1 /src/network/networkd-address.h | |
parent | c1eb9872f6d21e04c361a44987f36451e80ac126 (diff) |
networkd: link - deserialize
For now only deserialize some basic state and the applied addresses.
When a link is added, try to deserialize it's state from /run. This
is relevant only when networkd is restarted at runtime.
Diffstat (limited to 'src/network/networkd-address.h')
-rw-r--r-- | src/network/networkd-address.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/network/networkd-address.h b/src/network/networkd-address.h index fd309bebb6..0b1f3b688b 100644 --- a/src/network/networkd-address.h +++ b/src/network/networkd-address.h @@ -62,6 +62,7 @@ int address_new_static(Network *network, unsigned section, Address **ret); int address_new(Address **ret); void address_free(Address *address); int address_add_foreign(Link *link, int family, const union in_addr_union *in_addr, unsigned char prefixlen, Address **ret); +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); |