Expand description
This crate provides methods to manipulate IPsec tunnel resources (policies, SAs) via the netlink protocol.
Re-exports§
pub use crate::constants::*;
Modules§
Macros§
Structs§
- Handle
- Policy
Delete Request - A request to delete xfrm policies. This is equivalent to the
ip xfrm policy delete
command. - Policy
Flush Request - A request to flush xfrm policies. This is equivalent to the
ip xfrm policy flush
command. - Policy
GetDefault Request - A request to get the default xfrm action for input, output, forward policies. This is equivalent to the
ip xfrm policy getdefault
command. - Policy
GetRequest - A request to get xfrm policies. This is equivalent to the
ip xfrm policy get
command. - Policy
GetSpd Info Request - A request to get xfrm policy statistics. This is equivalent to the
ip xfrm policy count
command. - Policy
Handle - Policy
Modify Request - A request to add or update xfrm policies. This is equivalent to the
ip xfrm policy add|update
commands. - Policy
SetDefault Request - A request to set the default xfrm action for input, output, forward policies. This is equivalent to the
ip xfrm policy setdefault
command. - Policy
SetSpd Info Request - A request to set xfrm policy statistics. This is equivalent to the
ip xfrm policy set
command. - State
Alloc SpiRequest - A request to allocate a SPI for an xfrm state. This is equivalent to the
ip xfrm state allocspi
command. - State
Delete Request - A request to delete xfrm state. This is equivalent to the
ip xfrm state delete
command. - State
Flush Request - A request to flush xfrm policies. This is equivalent to the
ip xfrm policy flush
command. - State
GetDump Request - A request to dump xfrm states. This is equivalent to the
ip xfrm state list
command. - State
GetRequest - A request to get xfrm state. This is equivalent to the
ip xfrm state get
command. - State
GetSad Info Request - A request to get xfrm state statistics. This is equivalent to the
ip xfrm state count
command. - State
Handle - State
Modify Request - A request to add or update xfrm state. This is equivalent to the
ip xfrm state add|update
commands.