Age | Commit message (Collapse) | Author | |
---|---|---|---|
2014-02-19 | sd-rtnl: test - include missing.h to build on old kernels | Tom Gundersen | |
2014-02-19 | missing.h: add some IFLA_* constants | Tom Gundersen | |
These were added to the kernel between 3.5 and 3.9, let's not require such recent kernels (yet). | |||
2014-02-18 | sd-rtnl-message: store reference to the bus in the message | Tom Gundersen | |
This mimics the sd-bus api, as we may need it in the future. | |||
2014-02-16 | sd-rtnl: do not require ifindex to be set for SETLINK messages | Tom Gundersen | |
The kernel will then look up the ifindex itself based on the name. This should be used very carefully as it is racey. [This was a left-over hunk from my previous nspawn patch.] | |||
2014-02-15 | sd-rtnl: always include linux/rtnetlink.h | Tom Gundersen | |
2014-02-15 | sd-rtnl: message_open_container - don't take a 'size' argument | Tom Gundersen | |
We can always know the size based on the type, so let's do this inside the library. | |||
2014-02-15 | sd-rtnl: link flags - don't allow change = 0 | Tom Gundersen | |
The kernel will happily treat 0x0 as 0xffffffff, but it is for backwards compatibility only, so let's not perpetuate this. | |||
2014-02-13 | rtnl: support adding VETH_INFO_PEER containers into rtnl messages | Lennart Poettering | |
2014-02-13 | rtnl: rename constructors from the form sd_rtnl_xxx_yyy_new() to ↵ | Lennart Poettering | |
sd_rtnl_xxx_new_yyy() So far we followed the rule to always indicate the "flavour" of constructors after the "_new_" or "_open_" in the function name, so let's keep things in sync here for rtnl and do the same. | |||
2014-02-13 | rtnl: drop "sd_" prefix from cleanup macros | Lennart Poettering | |
The "sd_" prefix is supposed to be used on exported symbols only, and not in the middle of names. Let's drop it from the cleanup macros hence, to make things simpler. The bus cleanup macros don't carry the "sd_" either, so this brings the APIs a bit nearer. | |||
2014-02-10 | sd-rtnl: added support for a few more attributes | Susant Sahani | |
2014-02-10 | sd-rtnl: test - improve test of MTU a bit | Tom Gundersen | |
We are more likely to catch errors if we don't use '0' as test value. | |||
2014-02-10 | sd-rtnl: add test cases for link | Susant Sahani | |
2014-02-05 | Added attribute support for sd-rtnl | Susant Sahani | |
Added sd_rtnl_message_append_u8 and few attribute support in sd_rtnl_message_append_u32 IFLA_GROUP, IFLA_TXQLEN, IFLA_NUM_TX_QUEUES, IFLA_NUM_RX_QUEUES | |||
2014-01-30 | sd-rtnl: beef up rtnl-util a bit | Tom Gundersen | |
2014-01-25 | sd-rtnl: extend tests a bit | Tom Gundersen | |
2014-01-24 | sd-rtnl: add support for reading containers | Tom Gundersen | |
Also insist on messages being sealed before reading them. In other words we don't allow interleaving of reading and appending to messages. | |||
2014-01-24 | sd-rtnl: add support for nested containers | Tom Gundersen | |
2014-01-22 | sd-rtnl: simplify sd_rtnl_message_addr_new() | Tom Gundersen | |
Split out into sd_rtnl_message_addr_set_{prefixlen,flags,scope}(). | |||
2014-01-22 | sd-rtnl: add sd_rtnl_message_append_u16() | Tom Gundersen | |
2014-01-22 | sd-rtnl: link - allow setting the change mask | Tom Gundersen | |
2014-01-21 | libsystemd: split up into subdirs | Tom Gundersen | |
We still only produce on .so, but let's keep the sources separate to make things a bit less messy. |