Expand description
This crate provides methods to manipulate networking resources (links, addresses, arp tables, route tables) via the netlink protocol.
Re-exports§
pub use netlink_packet_route as packet;
Modules§
Macros§
Structs§
- A request to create a new address. This is equivalent to the
ip address add
commands. - A request to create a new link. This is equivalent to the
ip link add
commands. - A request to create a new route. This is equivalent to the
ip route add
commands. - A request to create a new rule. This is equivalent to the
ip rule add
command. - A request to create a new vxlan link. This is equivalent to
ip link add NAME vxlan id ID ...
commands. It provides methods to customize the creation of the vxlan interface It provides almost all parameters that are listed byman ip link
.
Enums§
- Internet Protocol (IP) version.