3 releases
Uses old Rust 2015
0.0.3 | May 14, 2018 |
---|---|
0.0.2 | Jan 16, 2017 |
0.0.1 | Jan 14, 2017 |
#37 in #netlink
22 downloads per month
97KB
2.5K
SLoC
pnetlink - native NetLink library for rust using libpnet
Building
The project builds fine with cargo build
.
The tests are not thread safe. You must run cargo test -- --test-threads=1
,
or you will get many AddrInUse
errors.
Some of the tests require elevated permissions; either capabilities granted
to the test binary, or for the test procedure to run as root
. These will
fail with a PermissionDenied
error.
lib.rs
:
Netlink is a linux kernel interface used for communication between kernel and userspace.
socket
module can be used to establish Netlink socket
packet
contains high level functions and traits
Dependencies
~8MB
~129K SLoC