#netlink #ip #linux

netlink-sys-mio-0-8

netlink sockets, with optional integration with tokio (updated for mio 0.8)

1 unstable release

0.8.3 Apr 16, 2022

#34 in #netlink

29 downloads per month

MIT license

55KB
904 lines

netlink-sys-mio0.8

Forked from netlink-sys, bumped the mio version to 0.8.

Original README.md follows:

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.2–13MB
~125K SLoC