3 releases

Uses old Rust 2015

0.0.3 May 14, 2018
0.0.2 Jan 16, 2017
0.0.1 Jan 14, 2017

#18 in #netlink

Download history 19/week @ 2020-10-30 17/week @ 2020-11-06 15/week @ 2020-11-13 19/week @ 2020-11-20 23/week @ 2020-11-27 20/week @ 2020-12-04 20/week @ 2020-12-11 15/week @ 2020-12-18 14/week @ 2020-12-25 17/week @ 2021-01-01 16/week @ 2021-01-08 20/week @ 2021-01-15 17/week @ 2021-01-22 17/week @ 2021-01-29 21/week @ 2021-02-05 29/week @ 2021-02-12

84 downloads per month

MIT license

96KB
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

~5MB
~89K SLoC