---
name: "rte_security_tls_record_lifetime"
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_security_tls_record_lifetime"
---

# rte\_security\_tls\_record\_lifetime(3)

## NAME

rte\_security\_tls\_record\_lifetime

## SYNOPSIS

`#include <rte_security.h>`

### Data Fields

uint64\_t **packets\_soft\_limit**\
 uint64\_t **packets\_hard\_limit**\

## Detailed Description

Configure soft and hard lifetime of a TLS record session.

Lifetime of a TLS record session would specify the maximum number of packets that can be processed. TLS record processing operations would start failing once hard limit is reached.

Soft limits can be specified to generate notification when the TLS record session is approaching hard limits for lifetime. This would result in a warning returned in **rte\_crypto\_op.aux\_flags.**

**Definition at line 666 of file rte\_security.h.**

## Field Documentation

### uint64\_t packets\_soft\_limit

**Soft expiry limit in number of packets**

**Definition at line 668 of file rte\_security.h.**

### uint64\_t packets\_hard\_limit

**Hard expiry limit in number of packets**

**Definition at line 670 of file rte\_security.h.**

## Author

**Generated automatically by Doxygen for DPDK from the source code.**
