DPDK 22.11.5
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
 
struct rte_security_ipsec_lifetime life
 
uint32_t replay_win_sz
 
union {
esn
 
struct rte_security_ipsec_udp_param udp
 

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

Field Documentation

◆ spi

uint32_t spi

SA security parameter index

Examples
examples/ipsec-secgw/sa.c.

Definition at line 326 of file rte_security.h.

◆ salt

uint32_t salt

SA salt

Examples
examples/ipsec-secgw/sa.c.

Definition at line 328 of file rte_security.h.

◆ options

various SA options

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

Definition at line 330 of file rte_security.h.

◆ direction

IPSec SA Direction - Egress/Ingress

Examples
examples/ipsec-secgw/sa.c.

Definition at line 332 of file rte_security.h.

◆ proto

IPsec SA Protocol - AH/ESP

Examples
examples/ipsec-secgw/sa.c.

Definition at line 334 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 336 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 338 of file rte_security.h.

◆ life

IPsec SA lifetime

Definition at line 340 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 342 of file rte_security.h.

◆ 

union { ... } esn

Extended Sequence Number

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

◆ udp

struct rte_security_ipsec_udp_param udp

UDP parameters, ignored when udp_encap option not specified

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

Definition at line 354 of file rte_security.h.


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