DPDK  20.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 198 of file rte_security.h.

Field Documentation

uint32_t spi

SA security parameter index

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

Definition at line 199 of file rte_security.h.

uint32_t salt

SA salt

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

Definition at line 201 of file rte_security.h.

various SA options

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

Definition at line 203 of file rte_security.h.

IPSec SA Direction - Egress/Ingress

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

Definition at line 205 of file rte_security.h.

IPsec SA Protocol - AH/ESP

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

Definition at line 207 of file rte_security.h.

IPsec SA Mode - transport/tunnel

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

Definition at line 209 of file rte_security.h.

Tunnel parameters, NULL for transport mode

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

Definition at line 211 of file rte_security.h.

uint64_t esn_soft_limit

ESN for which the overflow event need to be raised

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

Definition at line 213 of file rte_security.h.

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 215 of file rte_security.h.


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