16 releases (breaking)

0.12.0 Jun 23, 2022
0.11.0 Feb 20, 2022
0.10.0 Dec 29, 2021
0.8.0 Sep 30, 2021
0.1.0 Dec 20, 2019

#5 in #netlink

Download history 8661/week @ 2022-03-10 6865/week @ 2022-03-17 8059/week @ 2022-03-24 7214/week @ 2022-03-31 7712/week @ 2022-04-07 6296/week @ 2022-04-14 7510/week @ 2022-04-21 10079/week @ 2022-04-28 10559/week @ 2022-05-05 13001/week @ 2022-05-12 15023/week @ 2022-05-19 16140/week @ 2022-05-26 12895/week @ 2022-06-02 15087/week @ 2022-06-09 17098/week @ 2022-06-16 15966/week @ 2022-06-23

64,875 downloads per month
Used in 33 crates (10 directly)

MIT license

465KB
11K SLoC

Build Status

Netlink

This project aims at providing building blocks for netlink (see man 7 netlink).

Organization

Altnernatives

Credits

My main resource so far has been the source code of pyroute2 (python) and netlink (golang) a lot. These two projects are great, and very nicely written. As someone who does not read C fluently, and that does not know much about netlink, they have been invaluable.

I'd also like to praise libnl for its documentation. It helped me a lot in understanding the protocol basics.

The whole packet parsing logic is inspired by @whitequark excellent blog posts (part 1, part 2 and part 3, although I've only really used the concepts described in the first blog post).

Thanks also to the people behind tokio for the amazing tool they are building, and the support they provide.

Dependencies

~0.5–1MB
~21K SLoC