Crate neli[−][src]
Type safety for the weary netlink user
Rationale
This crate aims to be a pure Rust implementation that defines the necessary constants and wraps them in enums to distinguish between various categories of constants in the context of netlink.
Modules
err |
Error module |
ffi |
C constants defined as types |
genlhdr |
Genetlink (generic netlink) header and attribute helpers |
nlattr |
Netlink attribute handler
Due to netlink's loose treatment of types, parsing attributes can be hard to model in
Rust. |
nlhdr |
Top-level netlink header This module contains the top level netlink header code and attribute parsing. |
socket |
Wrapper for |
Constants
MAX_NL_LENGTH |
Max supported message length for netlink messages supported by the kernel |
Traits
Nl |
Trait defining basic actions required for netlink communication |