DPDK  24.11.0-rc3
Data Fields
rte_ipsec_sa_prm Struct Reference

#include <rte_ipsec_sa.h>

Data Fields

uint64_t userdata
 
uint64_t flags
 
struct rte_security_ipsec_xform ipsec_xform
 
struct rte_crypto_sym_xformcrypto_xform
 
uint8_t hdr_len
 
uint8_t hdr_l3_off
 
uint8_t next_proto
 
const void * hdr
 
struct {
   uint8_t   hdr_len
 
   uint8_t   hdr_l3_off
 
   uint8_t   next_proto
 
   const void *   hdr
 
tun
 
uint8_t proto
 
struct {
   uint8_t   proto
 
trs
 

Detailed Description

SA initialization parameters.

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

Definition at line 30 of file rte_ipsec_sa.h.

Field Documentation

◆ userdata

uint64_t userdata

provided and interpreted by user

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

Definition at line 32 of file rte_ipsec_sa.h.

◆ flags

uint64_t flags

see RTE_IPSEC_SAFLAG_* below

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

Definition at line 33 of file rte_ipsec_sa.h.

◆ ipsec_xform

struct rte_security_ipsec_xform ipsec_xform

ipsec configuration

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

Definition at line 35 of file rte_ipsec_sa.h.

◆ crypto_xform

struct rte_crypto_sym_xform* crypto_xform

crypto session configuration

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

Definition at line 37 of file rte_ipsec_sa.h.

◆ hdr_len

uint8_t hdr_len

tunnel header len

Definition at line 40 of file rte_ipsec_sa.h.

◆ hdr_l3_off

uint8_t hdr_l3_off

offset for IPv4/IPv6 header

Definition at line 41 of file rte_ipsec_sa.h.

◆ next_proto

uint8_t next_proto

next header protocol

Definition at line 42 of file rte_ipsec_sa.h.

◆ hdr

const void* hdr

tunnel header template

Definition at line 43 of file rte_ipsec_sa.h.

◆ tun

struct { ... } tun

tunnel mode related parameters

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

◆ proto

uint8_t proto

next header protocol

Definition at line 46 of file rte_ipsec_sa.h.

◆ trs

struct { ... } trs

transport mode related parameters

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

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