summaryrefslogtreecommitdiffstats
path: root/src/network/networkd-wait-online-link.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* remove unused includesThomas Hindoe Paaboel Andersen2015-02-231-2/+0
| | | | | | This patch removes includes that are not used. The removals were found with include-what-you-use which checks if any of the symbols from a header is in use.
* networkd-wait-online: allow specific devices to be ignoredTom Gundersen2015-01-311-9/+0
| | | | | | In addition to the loopback device, also explicitly configured devices to be ignored. Suggested by Charles Devereaux <systemd@guylhem.net>.
* hashmap: introduce hash_ops to make struct Hashmap smallerMichal Schmidt2014-09-151-3/+2
| | | | | | | | | It is redundant to store 'hash' and 'compare' function pointers in struct Hashmap separately. The functions always comprise a pair. Store a single pointer to struct hash_ops instead. systemd keeps hundreds of hashmaps, so this saves a little bit of memory.
* sd-networkd: rename link_get_state to link_get_setup_stateTom Gundersen2014-08-131-1/+1
| | | | Suggested by Kay and Lennart.
* sd-network: /_get_link_/_link_get_/Tom Gundersen2014-08-131-2/+2
| | | | | | The link is the 'object', so make this in line with our usual naming convention. Suggested by Kay and Lennart.
* networkd-wait-online: fix comilation warningTom Gundersen2014-07-181-11/+1
| | | | sd_rtnl_message_read_string() was changed to take a const argument, update the users.
* networkd-wait-online: track linksTom Gundersen2014-07-171-0/+156
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.