DPDK  24.07.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
 
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 301 of file rte_security.h.

Field Documentation

◆ spi

uint32_t spi

SA security parameter index

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

Definition at line 302 of file rte_security.h.

◆ salt

uint32_t salt

SA salt

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

Definition at line 304 of file rte_security.h.

◆ options

various SA options

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

Definition at line 306 of file rte_security.h.

◆ direction

IPSec SA Direction - Egress/Ingress

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

Definition at line 308 of file rte_security.h.

◆ proto

IPsec SA Protocol - AH/ESP

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

Definition at line 310 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 312 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 314 of file rte_security.h.

◆ life

IPsec SA lifetime

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

◆ esn

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


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