Age | Commit message (Collapse) | Author | |
---|---|---|---|
2014-05-10 | rtnl: message - verify that we read the pending message size from the kernel | Tom Gundersen | |
Reuse the auth-checking for both the peek and the real read. | |||
2014-05-10 | rtnl: message - move code around | Tom Gundersen | |
No functional change. | |||
2014-05-10 | rtnl: change from bitmask to enum for rtnl groups | Tom 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-10 | sd-rtnl: message - add support for getting prefixlen from address messages | Tom Gundersen | |
2014-05-05 | sd-resolve: make sure we can destroy a query object from its own callback ↵ | Lennart Poettering | |
handler | |||
2014-05-05 | sd-event: allow disabling event sources when an event object is dying anyway | Lennart Poettering | |
2014-05-05 | sd-event: make it easy to bind signal handling to event loop exits | Lennart Poettering | |
By passing a NULL callback provide a simple way to make event loops exit on SIGTERM and other signals. | |||
2014-05-03 | sd-rtnl-message: append - fix uninitialized memory | Tom Gundersen | |
We were not properly clearing the padding at the front of some containers. | |||
2014-05-03 | sd-rtnl: route - allow setting multiple matching routes | Tom Gundersen | |
2014-04-29 | sd-resolve: rework sd-resolve to be callback based, similar in style to ↵ | Lennart Poettering | |
sd-bus and sd-event | |||
2014-04-25 | core: expose CFS CPU time quota as high-level unit properties | Lennart Poettering | |
2014-04-24 | bus: update kdbus.h | Kay Sievers | |
2014-04-24 | test-resolve.c: Cleanup and make use of sockaddr_pretty() | Daniel Buch | |
2014-04-23 | delta: draw arrows with draw_special_char() | Lennart Poettering | |
Let's unify generation of unicode chars at one place. Also, don't add an extra space into chars we print, except for the tree chars where this is really necessary. | |||
2014-04-23 | bus: simplification | Lennart Poettering | |
2014-04-22 | bus: remove "on behalf" kdbus logic (ABI break) | Kay Sievers | |
2014-04-20 | doc: fix items' names in PORTING-DBUS1 | Lukasz Skalski | |
2014-04-21 | silence warnings | Thomas Hindoe Paaboel Andersen | |
2014-04-20 | sd-rtnl: log when queues are exhausted | Tom Gundersen | |
2014-04-19 | sd-rtnl: socet_read_message - make sure we only shrink the partial rqueue ↵ | Tom Gundersen | |
when processing multi-part message | |||
2014-04-19 | sd-rtnl: message - expose DUMP flag in the api | Tom Gundersen | |
2014-04-19 | sd-rtnl: add multi-part message test | Tom Gundersen | |
2014-04-19 | sd-rtnl: message - concatenate multi-part messages from different packets | Tom Gundersen | |
2014-04-19 | sd-rtnl: message - don't put NULL message on rqueue | Tom Gundersen | |
If nothing interesting was receieved we should not put anything on the queue. | |||
2014-04-19 | sd-rtnl: message - make room for all pending messages, not just the first | Tom Gundersen | |
Also, don't actually read any of the message when peeking, just get its length. | |||
2014-04-14 | sd-rtnl: message_addr - allow dumping of messages | Tom Gundersen | |
2014-04-14 | sd-rtnl: socket_read - use a read buffer | Tom Gundersen | |
Rather than allocating/freeing memory for each message read, keep a global read buffer in the rtnl object. Also, rather than using a fixed size, peek at the pending message header to get the message size and reallocate as necessary. | |||
2014-04-14 | sd-rtnl: multi-part message - store as linked-list rather than independent ↵ | Tom Gundersen | |
messages This means the API can stay the same as for single-part messages by simply passing the head message around. Unrefing the head of the linked list unrefs the whole list. | |||
2014-04-14 | sd-rtnl: message_addr - expose a few more getters | Tom Gundersen | |
2014-04-13 | build-sys: add Makefile symlink | Lennart Poettering | |
2014-04-11 | sd-rtnl: use SO_PASSCRED | Tom Gundersen | |
This unifies the socket handling with other sd-* libraries. | |||
2014-04-10 | bus: catch up with kdbus changes (ABI break) | Kay Sievers | |
2014-04-10 | bus: update kdbus.h | Kay Sievers | |
2014-04-10 | sd-rtnl: don't drop multi-part messages | Tom Gundersen | |
We still only return the first message part in callback/synchronous calls. | |||
2014-04-10 | sd-rtnl: use GREEDY_REALLOC for message queues | Tom Gundersen | |
2014-04-05 | build-sys: add newly used if_link.h defines to missing.h | Zbigniew Jędrzejewski-Szmek | |
Reported-by: Arnaud Gaboury <arnaud.gaboury@gmail.com> | |||
2014-04-03 | sd-rtnl: fix broken test cases and add support for tunnel | Susant Sahani | |
This patch fixes the broken test-cases for sd-rtnl and add support for ipip and sit tunnel. [tomegun: minor fixups] | |||
2014-04-03 | networkd: smooth transition from ipv4ll to dhcp address | Umut Tezduyar Lindskog | |
Currently when both ipv4ll and dhcp are enabled, ipv4ll address (if one has been claimed) is removed when dhcp address is aquired. This is not the best thing to do since there might be clients unaware of the removal trying to communicate. This patch provides a smooth transition between ipv4ll and dhcp. If ipv4ll address was claimed [1] before dhcp, address is marked as deprecated. Deprecated address is still a valid address and packets can be received on it but address cannot be selected as a source address. If dhcp lease cannot be extended, then ipv4ll address is marked as valid again. [1] If there is no collision, claiming IPv4LL takes between 4 to 7 seconds. | |||
2014-03-31 | sd-rtnl: modernize a bit | Tom Gundersen | |
2014-03-31 | doc: fix items' names in PORTING-DBUS1 | Lukasz Skalski | |
2014-03-31 | sd-rtnl: fix off-by-one | Steven Siloti | |
Also fix type parameter passed to new0 | |||
2014-03-29 | sd-rtnl: types - hook up bond types | Tom Gundersen | |
Reported by Thomas Hindoe Paaboel Andersen <phomes@gmail.com> | |||
2014-03-29 | sd-rtnl: message - fix clang compile warning | Tom Gundersen | |
2014-03-28 | sd-rtnl: message - don't log about out-of-range attribute types | Tom Gundersen | |
We will easily get these when running on newer kernels. However, we can safely ignore them as we anyway don't know what to do with them. | |||
2014-03-28 | sd-rtnl: rework rtnl type system | Tom Gundersen | |
Use a static table with all the typing information, rather than repeated switch statements. This should make it a lot simpler to add new types. We need to keep all the type info to be able to create containers without exposing their implementation details to the users of the library. As a freebee we verify the types of appended/read attributes. The API is extended to nicely deal with unions of container types. | |||
2014-03-28 | sd-rtnl: message - fix memory leak | Tom Gundersen | |
2014-03-28 | sd-rtnl: message - don't reference associated rtnl object | Tom Gundersen | |
The object is not currently used, so just drop the refenence. If/when we end up using the object in the future, we must make sure to deal with possible mutual references between rtnl busses and their queued messages; as is done in sd-bus. | |||
2014-03-27 | silence warnings | Thomas Hindoe Paaboel Andersen | |
2014-03-25 | sd-rtnl: add support for tunnel attributes | Susant Sahani | |
Added support for tunneling netlink attrributes (ipip, gre, sit). These works with kernel module ipip, gre and sit . The test cases are moved to a separate file and manual test as well because they require respective kernel modules as well. | |||
2014-03-25 | sd-rtnl: message - don't try to enter unsupported containers | Tom Gundersen | |
Currently we only support containers in RTM_*LINK messages. Reported-by: "Thomas H.P. Andersen <phomes@gmail.com>" |