---
name: "rte_ipsec_sa_pkt_func"
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_sa_pkt_func"
---

# rte\_ipsec\_sa\_pkt\_func(3)

## NAME

rte\_ipsec\_sa\_pkt\_func

## SYNOPSIS

`#include <rte_ipsec.h>`

## Detailed Description

IPsec session specific functions that will be used to:

- •

  prepare - for input mbufs and given IPsec session prepare crypto ops that can be enqueued into the cryptodev associated with given session (see *rte\_ipsec\_pkt\_crypto\_prepare* below for more details).

- •

  prepare\_stateless - similar to prepare, but further processing is done based on IPsec state provided by the 'state' parameter.

- •

  process - finalize processing of packets after crypto-dev finished with them or process packets that are subjects to inline IPsec offload (see rte\_ipsec\_pkt\_process for more details).

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

## Author

Generated automatically by Doxygen for DPDK from the source code.
