Age | Commit message (Collapse) | Author | |
---|---|---|---|
2014-01-13 | libsystemd-rtnl: merge into libsystemd | Tom Gundersen | |
2014-01-02 | rtnl: fix memory corruptions after realloc | Zbigniew Jędrzejewski-Szmek | |
struct sd_rtnl_message would keep two additional pointers into the hdr field. Every time hdr was realloced, those pointers should be adjusted, but weren't. It seems less error-prone to keep offsets instead. | |||
2013-12-19 | rtnl: correctly get the size of data to be appended | Tom Gundersen | |
This fixes: systemd[1]: Failed to configure loopback device: Numerical result out of range | |||
2013-12-17 | rtnl: fix for 32bits | Marc-Antoine Perennou | |
Commit 0a0dc69b655cfb10cab39133f5d521e7b35ce3d5 broke tests for 32 bits | |||
2013-12-16 | rtnl: replace message_append by typesafe versions | Tom Gundersen | |
2013-12-16 | rtnl: support interleaved reading and writing, and rewind | Tom Gundersen | |
2013-12-16 | rtnl: simplify route_new() | Tom Gundersen | |
Drop most of the arguments and instead introduce set_dst_prefixlen(). | |||
2013-12-16 | rtnl: simplify link_new() | Tom Gundersen | |
Drop most of the arguments and instead introduce link_set_{flags,type}. | |||
2013-12-16 | rtnl: match - only match on one type at a time | Tom Gundersen | |
2013-12-16 | rtnl: clean up/add asserts | Tom Gundersen | |
2013-12-16 | rtnl: add support for receiving route messages | Tom Gundersen | |
2013-12-13 | event: rework sd-event exit logic | Lennart 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-04 | rtnl: add link_get_flags | Tom Gundersen | |
2013-12-04 | rtnl: add callback support | Tom Gundersen | |
sd_rtnl_add_match allows you to add a callback function for when given types of messages are received. | |||
2013-12-04 | rtnl: don't ignore broadcast messages | Tom Gundersen | |
2013-11-26 | rtnl: add support for IFLA_MASTER | Tom Gundersen | |
2013-11-26 | rtnl: add preliminary support for containers | Tom Gundersen | |
For now, we only support one container type IFLA_LINKINFO, and we still lack support for parsing the containers again. | |||
2013-11-25 | udev: net_setup_link - don't use Description as Alias | Tom 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-20 | bus/rtnl: silence clang warnings | Thomas Hindoe Paaboel Andersen | |
2013-11-14 | rtnl: add event loop integration | Tom Gundersen | |
2013-11-14 | rtnl: add call_async and call_async_cancel | Tom Gundersen | |
They work in the same way as the sd-bus equivalents. | |||
2013-11-13 | rtnl: start adding support for asynchronous messaging | Tom Gundersen | |
Similarly to sd-bus, add: sd_rtnl_wait sd_rtnl_process sd_rtnl_send and adapt sd_rtnl_call accordingly. | |||
2013-11-13 | rtnl: 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-08 | rtnl: message - initialize all memory | Tom Gundersen | |
Including the padding, which should not really be needed, but let's keep valgrind happy. | |||
2013-11-08 | test-rtnl: fix typo | Tom Gundersen | |
2013-11-07 | rtnl: add Makefile symlink | Lennart Poettering | |
2013-11-07 | rtnl: headers in src/systemd/ may not include internal headers | Lennart Poettering | |
Hence including "util.h" from sd-rtnl.h is not OK. Let's minimize our headers we pull in a bit. | |||
2013-11-07 | rtnl: internal headers must include pragma once protection | Lennart Poettering | |
2013-11-04 | rtnl: add support for routes | Tom Gundersen | |
2013-10-30 | udev: link-config - let udevd set the ifname | Tom Gundersen | |
2013-10-29 | rtnl-util: add missing files | Tom Gundersen | |
2013-10-29 | rtnl: fix sockaddr confusion | Tom Gundersen | |
2013-10-29 | rtnl: cleanup socket_read_message | Tom Gundersen | |
2013-10-29 | rtnl: complain if used after fork | Tom Gundersen | |
2013-10-29 | rtnl: introduce default timeout | Tom 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-29 | rtnl: use malloc0 instead of calloc | Tom Gundersen | |
2013-10-29 | rtnl: use _cleanup_ macro more | Tom Gundersen | |
2013-10-29 | sd-rtnl: minor fixes | Tom Gundersen | |
2013-10-27 | rtnl: relax the tests a bit | Tom Gundersen | |
It is a bit too optimisitc that this stuff is the same on different hosts. | |||
2013-10-27 | libsystemd-rtnl: add a rtnetlink library | Tom 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 |