Expand description
The netlink-packet-route
crate is designed to abstract Netlink route
protocol(rtnetlink
) packet into Rust data types. The goal of this crate is
saving netlink user from reading Kernel Netlink codes.
This crate grouped Netlink route protocol into these modules:
link
: NIC interface, similar to toip link
command.address
: IP address, similar toip address
command.route
: Route, similar toip route
command.rule
: Route rule, similar toip rule
command.tc
: Traffic control, similar totc
command.neighbour
: Neighbour, similar toip neighbour
command.neighbour_table
: Neighbour table, similar toip ntable
command.nsid
: Namespace, similar toip netns
command.
At the top level of this crate, we also provide:
Normally, you should use rtnetlink
instead of using this
crate directly.