DPDK  23.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 324 of file rte_security.h.

Field Documentation

◆ spi

uint32_t spi

SA security parameter index

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

Definition at line 325 of file rte_security.h.

◆ salt

uint32_t salt

SA salt

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

Definition at line 327 of file rte_security.h.

◆ options

various SA options

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

Definition at line 329 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 331 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 333 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 335 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 337 of file rte_security.h.

◆ life

IPsec SA lifetime

Definition at line 339 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 341 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 353 of file rte_security.h.


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