DPDK  21.08.0
Data Fields
rte_security_ipsec_xform Struct Reference

#include <rte_security.h>

Data Fields

uint32_t spi
 
uint32_t salt
 
struct rte_security_ipsec_sa_options options
 
enum rte_security_ipsec_sa_direction direction
 
enum rte_security_ipsec_sa_protocol proto
 
enum rte_security_ipsec_sa_mode mode
 
struct rte_security_ipsec_tunnel_param tunnel
 
uint64_t esn_soft_limit
 
uint32_t replay_win_sz
 

Detailed Description

IPsec security association configuration data.

This structure contains data required to create an IPsec SA security session.

Examples:
examples/ipsec-secgw/ipsec.c.

Definition at line 199 of file rte_security.h.

Field Documentation

◆ spi

uint32_t spi

SA security parameter index

Examples:
examples/ipsec-secgw/sa.c.

Definition at line 200 of file rte_security.h.

◆ salt

uint32_t salt

SA salt

Examples:
examples/ipsec-secgw/sa.c.

Definition at line 202 of file rte_security.h.

◆ options

various SA options

Examples:
examples/ipsec-secgw/ipsec.c, and examples/ipsec-secgw/sa.c.

Definition at line 204 of file rte_security.h.

◆ direction

IPSec SA Direction - Egress/Ingress

Examples:
examples/ipsec-secgw/sa.c.

Definition at line 206 of file rte_security.h.

◆ proto

IPsec SA Protocol - AH/ESP

Examples:
examples/ipsec-secgw/sa.c.

Definition at line 208 of file rte_security.h.

◆ mode

IPsec SA Mode - transport/tunnel

Examples:
examples/ipsec-secgw/ipsec.c, and examples/ipsec-secgw/sa.c.

Definition at line 210 of file rte_security.h.

◆ tunnel

Tunnel parameters, NULL for transport mode

Examples:
examples/ipsec-secgw/ipsec.c, and examples/ipsec-secgw/sa.c.

Definition at line 212 of file rte_security.h.

◆ esn_soft_limit

uint64_t esn_soft_limit

ESN for which the overflow event need to be raised

Examples:
examples/ipsec-secgw/ipsec.c.

Definition at line 214 of file rte_security.h.

◆ replay_win_sz

uint32_t replay_win_sz

Anti replay window size to enable sequence replay attack handling. replay checking is disabled if the window size is 0.

Examples:
examples/ipsec-secgw/ipsec.c, and examples/ipsec-secgw/sa.c.

Definition at line 216 of file rte_security.h.


The documentation for this struct was generated from the following file: