Age | Commit message (Collapse) | Author |
|
sd_rtnl_add_match allows you to add a callback function for when given types of
messages are received.
|
|
For now, we only support one container type IFLA_LINKINFO, and we
still lack support for parsing the containers again.
|
|
|
|
They work in the same way as the sd-bus equivalents.
|
|
Similarly to sd-bus, add:
sd_rtnl_wait
sd_rtnl_process
sd_rtnl_send
and adapt sd_rtnl_call accordingly.
|
|
Follow the equivalent rename in sd-bus to stay as similar as possible.
|
|
|
|
Hence including "util.h" from sd-rtnl.h is not OK. Let's minimize our
headers we pull in a bit.
|
|
|
|
|
|
|
|
It is a bit too optimisitc that this stuff is the same on different hosts.
|
|
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
|