Crate xfrmnetlink

source ·
Expand description

This crate provides methods to manipulate IPsec tunnel resources (policies, SAs) via the netlink protocol.

Re-exports

Modules

Macros

Structs

  • A request to delete xfrm policies. This is equivalent to the ip xfrm policy delete command.
  • A request to flush xfrm policies. This is equivalent to the ip xfrm policy flush command.
  • A request to get the default xfrm action for input, output, forward policies. This is equivalent to the ip xfrm policy getdefault command.
  • A request to get xfrm policies. This is equivalent to the ip xfrm policy get command.
  • A request to get xfrm policy statistics. This is equivalent to the ip xfrm policy count command.
  • A request to add or update xfrm policies. This is equivalent to the ip xfrm policy add|update commands.
  • A request to set the default xfrm action for input, output, forward policies. This is equivalent to the ip xfrm policy setdefault command.
  • A request to set xfrm policy statistics. This is equivalent to the ip xfrm policy set command.
  • A request to allocate a SPI for an xfrm state. This is equivalent to the ip xfrm state allocspi command.
  • A request to delete xfrm state. This is equivalent to the ip xfrm state delete command.
  • A request to flush xfrm policies. This is equivalent to the ip xfrm policy flush command.
  • A request to dump xfrm states. This is equivalent to the ip xfrm state list command.
  • A request to get xfrm state. This is equivalent to the ip xfrm state get command.
  • A request to get xfrm state statistics. This is equivalent to the ip xfrm state count command.
  • A request to add or update xfrm state. This is equivalent to the ip xfrm state add|update commands.

Enums

Functions