4 releases

new 0.2.3 Jun 24, 2022
0.2.2 Jun 23, 2022
0.2.1 Jan 15, 2022
0.2.0 Dec 29, 2021
0.1.0 Sep 21, 2021

#11 in #netlink

Download history 777/week @ 2022-03-10 419/week @ 2022-03-17 413/week @ 2022-03-24 573/week @ 2022-03-31 994/week @ 2022-04-07 562/week @ 2022-04-14 537/week @ 2022-04-21 347/week @ 2022-04-28 202/week @ 2022-05-05 397/week @ 2022-05-12 276/week @ 2022-05-19 382/week @ 2022-05-26 723/week @ 2022-06-02 178/week @ 2022-06-09 361/week @ 2022-06-16 681/week @ 2022-06-23

2,111 downloads per month
Used in 7 crates (3 directly)

MIT license

190KB
3.5K 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

~3.5–9.5MB
~161K SLoC