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 deletecommand. - Policy
Flush Request - A request to flush xfrm policies. This is equivalent to the
ip xfrm policy flushcommand. - Policy
GetDefault Request - A request to get the default xfrm action for input, output, forward policies. This is equivalent to the
ip xfrm policy getdefaultcommand. - Policy
GetRequest - A request to get xfrm policies. This is equivalent to the
ip xfrm policy getcommand. - Policy
GetSpd Info Request - A request to get xfrm policy statistics. This is equivalent to the
ip xfrm policy countcommand. - Policy
Handle - Policy
Modify Request - A request to add or update xfrm policies. This is equivalent to the
ip xfrm policy add|updatecommands. - Policy
SetDefault Request - A request to set the default xfrm action for input, output, forward policies. This is equivalent to the
ip xfrm policy setdefaultcommand. - Policy
SetSpd Info Request - A request to set xfrm policy statistics. This is equivalent to the
ip xfrm policy setcommand. - State
Alloc SpiRequest - A request to allocate a SPI for an xfrm state. This is equivalent to the
ip xfrm state allocspicommand. - State
Delete Request - A request to delete xfrm state. This is equivalent to the
ip xfrm state deletecommand. - State
Flush Request - A request to flush xfrm policies. This is equivalent to the
ip xfrm policy flushcommand. - State
GetDump Request - A request to dump xfrm states. This is equivalent to the
ip xfrm state listcommand. - State
GetRequest - A request to get xfrm state. This is equivalent to the
ip xfrm state getcommand. - State
GetSad Info Request - A request to get xfrm state statistics. This is equivalent to the
ip xfrm state countcommand. - State
Handle - State
Modify Request - A request to add or update xfrm state. This is equivalent to the
ip xfrm state add|updatecommands.