2 unstable releases
|0.2.0||Sep 23, 2019|
|0.1.0||Aug 29, 2018|
#184 in Unix APIs
1,894 downloads per month
Used in nftnl
This is work in progress and does not implement all of
libmnl yet. Feel free to submit PRs
to support the parts you need!
The initial focus here was to support sockets and the parsing of responses. So far, the parts
that are covered the best are
mnl_cb_run. However the netlink messages are
just treated as raw byte buffers. It might make sense to add some abstraction struct at some
See the documentation for the corresponding sys crate for details:
This crate has the same features as the sys crate, so the same features applies here.
crslmnl crate is another wrapper around
libmnl. At this stage it is a far more
complete abstraction of the library than this is. There are a few reasons I decided to start a
new wrapper crate. I'm not going to go into details on why, but basically it did not support
part of my use-case and I was no fan of the design choices made. Instead of having local
definitions of all the Linux header constants I made sure to get everything needed for netlink
libc. I also want a separate
mnl-sys crate that is pure FFI bindings
without logic or abstractions.