DPDK  22.07.0
Data Fields
rte_ipsec_session Struct Reference

#include <rte_ipsec.h>

Data Fields

struct rte_ipsec_sa * sa
 
enum rte_security_session_action_type type
 
union {
}; 
 
struct rte_ipsec_sa_pkt_func pkt_func
 

Detailed Description

rte_ipsec_session is an aggregate structure that defines particular IPsec Security Association IPsec (SA) on given security/crypto device:

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

Definition at line 58 of file rte_ipsec.h.

Field Documentation

◆ sa

struct rte_ipsec_sa* sa

SA that session belongs to. Note that multiple sessions can belong to the same SA.

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

Definition at line 63 of file rte_ipsec.h.

◆ type

◆ @243

union { ... }

session and related data

◆ pkt_func

struct rte_ipsec_sa_pkt_func pkt_func

functions to prepare/process IPsec packets

Definition at line 79 of file rte_ipsec.h.


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