netlink
netlink copied to clipboard
netlink libraries for rust
There has been several PRs to add helper methods to set the flags in the netlink header, so it seems that this is something we should provide systematically. This PR...
``` [76, 0, 0, 0, 3, 0, 0, 0, 119, 180, 25, 0, 0, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 119, 180, 25, 0, 0,...
Motivation for this: I'd like to give #138 a shot (before moving #170 forward). The `metadata` field makes changes in that area rather unreadable, so I'd like to clean this...
Currently, all unsolicited messages are sent to an unbounded channel. That's not always the best options. `netlink-proto` would be more flexible if the user was able to pass an async...
There should be an option to set a timer to remove pending requests.
When implementing the [W1 Netlink](https://01.org/linuxgraphics/gfx-docs/drm/w1/w1-netlink.html) adapter (uses `NETLINK_CONNECTOR`) i ran into this issue: Responses to requests are send with the `message_type` set to `0x3`. Therefore as responses arrive, the `NetlinkPayload`...
Currently, `netlink-packet::rtnl::link::inet6::dev_conf::LinkInet6DevConfBuffer` is trying to mirror the kernel's `ipv6_devconf` struct as defined in `/lib/modules/$(uname -r)/build/include/linux/ipv6.h`. Since certain fields in `ipv6_devconf` are dependent on the kernel config, it'll be hard to...
If the TcOpts fail to parse in one of the qdiscs [here](https://github.com/little-dude/netlink/blob/master/rtnetlink/src/traffic_control/add_qdisc.rs#L190), the entire qdisc is skipped. I see the error being generated with the `.context()` [here](https://github.com/little-dude/netlink/blob/e8728b2f46eed6360307f6b1ada74f8723e40565/netlink-packet-utils/src/nla.rs#L55), but for some...