netlink
netlink copied to clipboard
netlink libraries for rust
"ip tunnel" operates by ioctl(). Annoying that it's still doing that. Does it even belong in this library?
Is it possible to change the frequency (aka channel) of a given interface using this library? I am trying to port some C code: ```c NLA_PUT_U32(m, NL80211_ATTR_IFINDEX, ifindex); NLA_PUT_U32(m, NL80211_ATTR_WIPHY_FREQ,...
With the route protocol, many messages have 0 to 4 NLAs. It may be worth storing the NLAs into a [smallvec](https://github.com/servo/rust-smallvec) instead of a vec. We probably need more benchmarks...
Any comments are welcome🥵
BY removing the `NLM_F_DUMP` and set the `AddressHeader.index`, we can do the filter at kernel space instead of current user space. I will do the work. Just need a link...
This can happen when large burst of messages come all of a sudden, which happen very easily when routing protocols are involved (e.g. BGP). The current implementation incorrectly assumes that...
When playing around with this library I noticed some behavior I was not expecting. When the handle and messages returned by rtnetlink::new_connection are dropped, I would expect that an await...
I don't want use async in my env. i want to offer a sync api to other part of the program. As i see the examples dir is all most...
When creating a veth pair, the name and the peer name are swapped. The odd thing is the sources actually contain a comment about it being swapped: https://github.com/little-dude/netlink/blob/master/rtnetlink/src/link/add.rs#L568. I don't...
I've added some code to support the netlink xfrm API, primarily to support management of IPsec tunnels. Similar to the other protocols, I've split it up into netlink-packet-xfrm for message...