diff options
author | Tom Gundersen <teg@jklm.no> | 2015-09-30 18:17:43 +0200 |
---|---|---|
committer | Tom Gundersen <teg@jklm.no> | 2015-10-21 03:24:23 +0200 |
commit | 84de38c56915e14c148f558c6acc489a00755696 (patch) | |
tree | e63d3a633e98f990e6eece6b0eed9eb827235238 /src/network/networkd-link.h | |
parent | e7780c8d44ee32ecf6127f45c0188483c041e2e5 (diff) |
networkd: manager/link - only serialize once per event-loop iteration
Every time the state is written out we may trigger third-party apps, so
let's be a bit more careful about writing this out unnecessarily.
Diffstat (limited to 'src/network/networkd-link.h')
-rw-r--r-- | src/network/networkd-link.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/network/networkd-link.h b/src/network/networkd-link.h index 90ad08a306..af2ba11701 100644 --- a/src/network/networkd-link.h +++ b/src/network/networkd-link.h @@ -129,8 +129,11 @@ int link_initialized(Link *link, struct udev_device *device); void link_check_ready(Link *link); +void link_update_operstate(Link *link); int link_update(Link *link, sd_netlink_message *message); +void link_dirty(Link *link); +void link_clean(Link *link); int link_save(Link *link); int link_carrier_reset(Link *link); |