summaryrefslogtreecommitdiff
path: root/src/network
AgeCommit message (Collapse)Author
2014-05-17networkd: log - only log about udev initalization on debug levelTom Gundersen
2014-05-17networkd: keep list of active addressesTom Gundersen
2014-05-17networkd: IP address equalityTom Gundersen
2014-05-16networkd: add missing filesTom Gundersen
2014-05-16networkd: manager - read fallback DNS servers from config fileTom Gundersen
We will still use the compiled-in defaults if no DNS entry exists in the config file.
2014-05-16networkd: network - store DNS servers in List rather than SetTom Gundersen
This way we preserve the order of preference.
2014-05-16networkd: hardcode a set of default dns serversTom Gundersen
Similarly to NTP servers, this can be set at compile-time.
2014-05-16networkd: log the initialization status of linksTom Gundersen
2014-05-16networkd: fix typoTom Gundersen
2014-05-16networkd: rename Address and Route list fieldsTom Gundersen
2014-05-15networkd: logging - align messagesTom Gundersen
2014-05-15networkd: log ifindices when links and netdevs are addedTom Gundersen
2014-05-15networkd: rename NetDev variable for consistency with LinkTom Gundersen
2014-05-15networkd, build-sys: spelling fixZbigniew Jędrzejewski-Szmek
2014-05-15sd-bus: introduce sd_bus_slot objects encapsulating callbacks or vtables ↵Lennart Poettering
attached to a bus connection This makes callback behaviour more like sd-event or sd-resolve, and creates proper object for unregistering callbacks. Taking the refernce to the slot is optional. If not taken life time of the slot will be bound to the underlying bus object (or in the case of an async call until the reply has been recieved).
2014-05-12networkd-ipip-tunnel: add support ttlSusant Sahani
Add support for ipip tunnel ttl.
2014-05-12networkd: manager - don't leak kmod contextTom Gundersen
Also, keep the kmod_new internal to networkd-manager.c
2014-05-12networkd: introduce ipip tunnelSusant Sahani
This patch enables basic ipip tunnel support. It works with kernel module ipip example conf: file: ipip.netdev [NetDev] Name=ipip-tun Kind=ipip MTUBytes=1480 [Tunnel] Local=192.168.223.238 Remote=192.169.224.239 TTL=64 file: ipip.network [Match] Name=em1 [Network] Tunnel=ipip-tun [tomegun: - drop unused variable - take ref when enslaving]
2014-05-11networkd: get preexiting addresses when a link is addedTom Gundersen
2014-05-10networkd: listen for address changesTom Gundersen
This is proof-of-concept only, as we only log the changes but don't do anything with it.
2014-05-10rtnl: change from bitmask to enum for rtnl groupsTom Gundersen
The bitmask is deprecated in the kernel, so move to the new interface. At the moment this does not make a difference for us, but it avoids having to change the API in the future.
2014-05-10networkd: link - redo flag change loggingTom Gundersen
Make the logging less verbose by only printing all the changed flags on one line, at the same time make it more complete by supporting all flags currently supported by the kernel. We still fall back to printing the raw flags in case we get something we do not recognize This may be useful when running on new kernels.
2014-05-10networkd: network - fix leakTom Gundersen
2014-05-10networkd: manager - initialize variablesTom Gundersen
2014-05-10networkd: netdev - rephrase logging message a bitTom Gundersen
Make it fit with what is logged from the link.
2014-05-10networkd: manager - refactor link tracking a bitTom Gundersen
2014-05-09networkd: link - don't log errors when missing routes/addresses are droppedTom Gundersen
We were ignoring the wrong errno.
2014-05-09networkd: link - handle links coming back to lifeTom Gundersen
When enslaving devices, we may receieve DELLINK/NEWLINK for the same ifindex, let's not be confused by this.
2014-05-09networkd: reorder bonding and bridgingTom Gundersen
A link should only ever be part of one, but if we accidentally do both, let's do it in the right order so the failure is more obvious in the logs.
2014-05-09networkd: manager - drop links and netdevs when we receive DELLINKTom Gundersen
2014-05-09networkd: netdev - drop if creation failsTom Gundersen
This ensures that all links waiting to be enslaved are notified that the netdev does not exist.
2014-05-09networkd: link - introduce LINGER state and link_drop()Tom Gundersen
We need the LINGER state in case we still have references to the link after it has been dropped.
2014-05-09networkd: netdev - introduce LINGER state and netdev_drop()Tom Gundersen
We need the LINGER state in case we still have references to the netdev after it has been dropped.
2014-05-09networkd: netdev - cancel all callbacks when freeingTom Gundersen
This notifies the link that the netdev no longer exists.
2014-05-09networkd: link - take refcounts on linksTom Gundersen
We need to take a refcount on the link whenever we expect a callback. The exceptions are the ipv4ll/dhcp clients as their lifetimes are guaranteed to be shorter than that of the link.
2014-05-09networkd: network - do reference counting on netdevsTom Gundersen
2014-05-09networkd: network - merge all netdev parsing into one functionTom Gundersen
2014-05-09networkd: introduce refcounting for Links and NetDevsTom Gundersen
2014-05-09networkd: link - clean up state filesTom Gundersen
Also keep the path to the lease file around rather than regenarating it all the time.
2014-05-08sd-network: expose global operational stateTom Gundersen
2014-05-08networkd-wait-online: flush monitor events after processingTom Gundersen
Otherwise the event will trigger immediately again.
2014-05-08networkd-wait-online: fix false positives when checking if a link is managed ↵Tom Gundersen
by networkd
2014-05-08networkd: link - operstate is an enum, not a bitmaskTom Gundersen
2014-05-07networkd-wait-online: rely purely on sd-network events and drop rtnl hooksTom Gundersen
2014-05-07networkd: link - always maintain link operstate regardless of admin stateTom Gundersen
2014-05-07sd-network: expose both admin and operational state directlyTom Gundersen
Also add a call to check if a link is loopback, as this should commonly be ignored.
2014-04-30networkd: dont configure route if lease doesn't have oneUmut Tezduyar Lindskog
2014-04-30sd-network: add support for only listening to some types of changesTom Gundersen
2014-04-28networkd: link - don't fail a link if RF kill is activeTom Gundersen
2014-04-28networkd: netdev - log when loading a .netdev fileTom Gundersen