DPDK  20.05.0
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 31 of file rte_ipsec_sa.h.

Field Documentation

uint64_t userdata

provided and interpreted by user

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

Definition at line 33 of file rte_ipsec_sa.h.

uint64_t flags

see RTE_IPSEC_SAFLAG_* below

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

Definition at line 34 of file rte_ipsec_sa.h.

struct rte_security_ipsec_xform ipsec_xform

ipsec configuration

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

Definition at line 36 of file rte_ipsec_sa.h.

struct rte_crypto_sym_xform* crypto_xform

crypto session configuration

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

Definition at line 38 of file rte_ipsec_sa.h.

uint8_t hdr_len

tunnel header len

Definition at line 41 of file rte_ipsec_sa.h.

uint8_t hdr_l3_off

offset for IPv4/IPv6 header

Definition at line 42 of file rte_ipsec_sa.h.

uint8_t next_proto

next header protocol

Definition at line 43 of file rte_ipsec_sa.h.

const void* hdr

tunnel header template

Definition at line 44 of file rte_ipsec_sa.h.

struct { ... } tun

tunnel mode related parameters

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

next header protocol

Definition at line 47 of file rte_ipsec_sa.h.

struct { ... } trs

transport mode related parameters

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

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