Expand description
nlrs is a crate to craft netlink messages.
netlink is the linux kernel networking api.
(see man 7 netlink from Linux man-pages)
This crate provides simple apis and helpers. Every part of this is public: feel free to copy and modify parts of the crate if you need to. Complexity is not hidden: you might shoot you in the foot. However, everything is documented and examples using higher level safe helpers are provided. Also, there is no dependencies by default, you can easily copy-paste this code in your project.
Modules§
- genetlink
- generic netlink
- ipvs
- ipvs control messages
- netlink
- netlink message and socket helpers
- netns
- network namespaces helpers
- posix
- posix utils
- rtnetlink
- rtnetlink (links, routes, address, etc…)
- socket
- netlink socket(s)
- wireguard
- wireguard control messages
Enums§
- Response
Error - netlink response error
Traits§
- Message
Builder - netlink message/request builder pattern