20 releases (10 breaking)

new 0.10.1 Jun 24, 2022
0.9.1 Feb 20, 2022
0.9.0 Dec 29, 2021
0.8.1 Sep 30, 2021
0.0.3 Jul 12, 2018

#160 in Network programming

Download history 7639/week @ 2022-03-11 6578/week @ 2022-03-18 7826/week @ 2022-03-25 6799/week @ 2022-04-01 6780/week @ 2022-04-08 6391/week @ 2022-04-15 6852/week @ 2022-04-22 10082/week @ 2022-04-29 10183/week @ 2022-05-06 13066/week @ 2022-05-13 14076/week @ 2022-05-20 15795/week @ 2022-05-27 11442/week @ 2022-06-03 14852/week @ 2022-06-10 16928/week @ 2022-06-17 12420/week @ 2022-06-24

58,383 downloads per month
Used in 28 crates (11 directly)

MIT license

565KB
13K 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

~5–11MB
~183K SLoC