summaryrefslogtreecommitdiff
path: root/src/libsystemd-rtnl/rtnl-message.c
AgeCommit message (Collapse)Author
2014-01-13libsystemd-rtnl: merge into libsystemdTom Gundersen
2014-01-02rtnl: fix memory corruptions after reallocZbigniew 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-19rtnl: correctly get the size of data to be appendedTom Gundersen
This fixes: systemd[1]: Failed to configure loopback device: Numerical result out of range
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: clean up/add assertsTom Gundersen
2013-12-16rtnl: add support for receiving route messagesTom Gundersen
2013-12-04rtnl: add link_get_flagsTom Gundersen
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-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-08rtnl: message - initialize all memoryTom Gundersen
Including the padding, which should not really be needed, but let's keep valgrind happy.
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-04rtnl: add support for routesTom Gundersen
2013-10-29rtnl: fix sockaddr confusionTom Gundersen
2013-10-29rtnl: cleanup socket_read_messageTom Gundersen
2013-10-29rtnl: use malloc0 instead of callocTom Gundersen
2013-10-29sd-rtnl: minor fixesTom Gundersen
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