---
name: "rte_ipsec_session"
section: "3"
platform: "linux"
package: "dpdk-doc"
version: "24.11.4-0+deb13u1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/rte_ipsec_session"
---

# rte\_ipsec\_session(3)

## NAME

rte\_ipsec\_session

## SYNOPSIS

`#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:

- •

  pointer to the SA object

- •

  security session action type

- •

  pointer to security/crypto session, plus other related data

- •

  session/device specific functions to prepare/process IPsec packets.

Definition at line **78** of file **rte\_ipsec.h**.

## Field Documentation

### struct rte\_ipsec\_sa\* sa

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

Definition at line **83** of file **rte\_ipsec.h**.

### enum rte\_security\_session\_action\_type type

session action type

Definition at line **85** of file **rte\_ipsec.h**.

### union { ... }

session and related data

### struct rte\_ipsec\_sa\_pkt\_func pkt\_func

functions to prepare/process IPsec packets

Definition at line **99** of file **rte\_ipsec.h**.

## Author

Generated automatically by Doxygen for DPDK from the source code.
