summaryrefslogtreecommitdiff
path: root/src/libsystemd-rtnl
AgeCommit message (Collapse)Author
2013-12-17rtnl: fix for 32bitsMarc-Antoine Perennou
Commit 0a0dc69b655cfb10cab39133f5d521e7b35ce3d5 broke tests for 32 bits
2013-12-16rtnl: replace message_append by typesafe versionsTom Gundersen
2013-12-16rtnl: support interleaved reading and writing, and rewindTom Gundersen
2013-12-16rtnl: simplify route_new()Tom Gundersen
Drop most of the arguments and instead introduce set_dst_prefixlen().
2013-12-16rtnl: simplify link_new()Tom Gundersen
Drop most of the arguments and instead introduce link_set_{flags,type}.
2013-12-16rtnl: match - only match on one type at a timeTom Gundersen
2013-12-16rtnl: clean up/add assertsTom Gundersen
2013-12-16rtnl: add support for receiving route messagesTom Gundersen
2013-12-13event: rework sd-event exit logicLennart Poettering
With this change a failing event source handler will not cause the entire event loop to fail. Instead, we just disable the specific event source, log a message at debug level and go on. This also introduces a new concept of "exit code" which can be stored in the event loop and is returned by sd_event_loop(). We also rename "quit" to "exit" everywhere else. Altogether this should make things more robus and keep errors local while still providing a way to return event loop errors in a clear way.
2013-12-04rtnl: add link_get_flagsTom Gundersen
2013-12-04rtnl: add callback supportTom Gundersen
sd_rtnl_add_match allows you to add a callback function for when given types of messages are received.
2013-12-04rtnl: don't ignore broadcast messagesTom Gundersen
2013-11-26rtnl: add support for IFLA_MASTERTom Gundersen
2013-11-26rtnl: add preliminary support for containersTom Gundersen
For now, we only support one container type IFLA_LINKINFO, and we still lack support for parsing the containers again.
2013-11-25udev: net_setup_link - don't use Description as AliasTom Gundersen
Use Description only internally, and allow Alias to be set as a separate option. For instance SNMP uses ifalias for a specific purpose, so let's not write to it by default.
2013-11-20bus/rtnl: silence clang warningsThomas Hindoe Paaboel Andersen
2013-11-14rtnl: add event loop integrationTom Gundersen
2013-11-14rtnl: add call_async and call_async_cancelTom Gundersen
They work in the same way as the sd-bus equivalents.
2013-11-13rtnl: start adding support for asynchronous messagingTom Gundersen
Similarly to sd-bus, add: sd_rtnl_wait sd_rtnl_process sd_rtnl_send and adapt sd_rtnl_call accordingly.
2013-11-13rtnl: rename rtnl_bus_send_with_reply_and_block() to rtnl_bus_call()Tom Gundersen
Follow the equivalent rename in sd-bus to stay as similar as possible.
2013-11-08rtnl: message - initialize all memoryTom Gundersen
Including the padding, which should not really be needed, but let's keep valgrind happy.
2013-11-08test-rtnl: fix typoTom Gundersen
2013-11-07rtnl: add Makefile symlinkLennart Poettering
2013-11-07rtnl: headers in src/systemd/ may not include internal headersLennart Poettering
Hence including "util.h" from sd-rtnl.h is not OK. Let's minimize our headers we pull in a bit.
2013-11-07rtnl: internal headers must include pragma once protectionLennart Poettering
2013-11-04rtnl: add support for routesTom Gundersen
2013-10-30udev: link-config - let udevd set the ifnameTom Gundersen
2013-10-29rtnl-util: add missing filesTom Gundersen
2013-10-29rtnl: fix sockaddr confusionTom Gundersen
2013-10-29rtnl: cleanup socket_read_messageTom Gundersen
2013-10-29rtnl: complain if used after forkTom Gundersen
2013-10-29rtnl: introduce default timeoutTom Gundersen
We set it to 10 secs (as we are only communicating with the kernel, it seems we should be able to bail out sooner than sd-bus, which uses 25). When passing timout 0, the default is used, use this in link-config.
2013-10-29rtnl: use malloc0 instead of callocTom Gundersen
2013-10-29rtnl: use _cleanup_ macro moreTom Gundersen
2013-10-29sd-rtnl: minor fixesTom Gundersen
2013-10-27rtnl: relax the tests a bitTom Gundersen
It is a bit too optimisitc that this stuff is the same on different hosts.
2013-10-27libsystemd-rtnl: add a rtnetlink libraryTom Gundersen
This is intentionally as similar to sd-bus as possible. While it would be simple to export it, the intentions is to keep this internal (at least for the forseeable future). Currently only synchronous communication is implemented