diff options
author | Lennart Poettering <lennart@poettering.net> | 2015-10-21 12:07:08 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2015-10-21 12:07:08 +0200 |
commit | 27f9eda40a73d419ddb7a62b67a7284f5543180d (patch) | |
tree | e63d3a633e98f990e6eece6b0eed9eb827235238 /src/network/networkd.h | |
parent | bf3ee9cdc9c7489e442e43cec09ad9275739875a (diff) | |
parent | 84de38c56915e14c148f558c6acc489a00755696 (diff) |
Merge pull request #1626 from teg/networkd
networkd: assorted fixes
Diffstat (limited to 'src/network/networkd.h')
-rw-r--r-- | src/network/networkd.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/network/networkd.h b/src/network/networkd.h index cbec6d5b7e..6c5a9939be 100644 --- a/src/network/networkd.h +++ b/src/network/networkd.h @@ -48,7 +48,10 @@ struct Manager { struct udev_monitor *udev_monitor; sd_event_source *udev_event_source; - bool enumerating; + bool enumerating:1; + bool dirty:1; + + Set *dirty_links; char *state_file; LinkOperationalState operational_state; @@ -83,7 +86,7 @@ int manager_rtnl_enumerate_addresses(Manager *m); int manager_rtnl_process_address(sd_netlink *nl, sd_netlink_message *message, void *userdata); int manager_send_changed(Manager *m, const char *property, ...) _sentinel_; -int manager_save(Manager *m); +void manager_dirty(Manager *m); int manager_address_pool_acquire(Manager *m, int family, unsigned prefixlen, union in_addr_union *found); |