chiark / gitweb /
networkd-wait-online: track links
authorTom Gundersen <teg@jklm.no>
Wed, 16 Jul 2014 08:52:47 +0000 (10:52 +0200)
committerTom Gundersen <teg@jklm.no>
Thu, 17 Jul 2014 20:53:35 +0000 (22:53 +0200)
commit7de12ae764e73730df0658f9fb04bcf42add48e2
tree93e82071cc3f505f7888cbd1f8f563934c7d6cab
parent560852ced07a647e2d288ce2932aaf608712867d
networkd-wait-online: track links

Rather than refetching the link information on ever event, we liston to
rtnl to track them. Much code stolen from resolved.

This will allow us to simplify the sd-network api and don't expose
information available over rtnl.
Makefile.am
src/network/networkd-wait-online-link.c [new file with mode: 0644]
src/network/networkd-wait-online-link.h [new file with mode: 0644]
src/network/networkd-wait-online-manager.c [new file with mode: 0644]
src/network/networkd-wait-online.c
src/network/networkd-wait-online.h