---
name: "rte_tls.h"
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_tls.h"
---

# rte\_tls.h(3)

## NAME

rte\_tls.h

## SYNOPSIS

`#include <rte_byteorder.h>`\

### Data Structures

struct **rte\_tls\_hdr**\

### Macros

\#define **RTE\_TLS\_TYPE\_INVALID**   0\
 \#define **RTE\_TLS\_TYPE\_CHANGE\_CIPHER\_SPEC**   20\
 \#define **RTE\_TLS\_TYPE\_ALERT**   21\
 \#define **RTE\_TLS\_TYPE\_HANDSHAKE**   22\
 \#define **RTE\_TLS\_TYPE\_APPDATA**   23\
 \#define **RTE\_TLS\_TYPE\_HEARTBEAT**   24\
 \#define **RTE\_TLS\_TYPE\_MAX**   255\
 \#define **RTE\_TLS\_VERSION\_1\_2**   0x0303\
 \#define **RTE\_TLS\_VERSION\_1\_3**   0x0304\

## Detailed Description

Transport layer security (TLS) related defines.

Definition in file **rte\_tls.h**.

## Macro Definition Documentation

### #define RTE\_TLS\_TYPE\_INVALID 0

Invalid TLS message type.

Definition at line **16** of file **rte\_tls.h**.

### #define RTE\_TLS\_TYPE\_CHANGE\_CIPHER\_SPEC 20

Change cipher spec message.

Definition at line **17** of file **rte\_tls.h**.

### #define RTE\_TLS\_TYPE\_ALERT 21

Alert message.

Definition at line **18** of file **rte\_tls.h**.

### #define RTE\_TLS\_TYPE\_HANDSHAKE 22

Handshake message for TLS.

Definition at line **19** of file **rte\_tls.h**.

### #define RTE\_TLS\_TYPE\_APPDATA 23

TLS application data message.

Definition at line **20** of file **rte\_tls.h**.

### #define RTE\_TLS\_TYPE\_HEARTBEAT 24

TLS 1.3 heartbeat message.

Definition at line **21** of file **rte\_tls.h**.

### #define RTE\_TLS\_TYPE\_MAX 255

Maximum value as TLS content type.

Definition at line **22** of file **rte\_tls.h**.

### #define RTE\_TLS\_VERSION\_1\_2 0x0303

TLS 1.2 version.

Definition at line **24** of file **rte\_tls.h**.

### #define RTE\_TLS\_VERSION\_1\_3 0x0304

TLS 1.3 version.

Definition at line **25** of file **rte\_tls.h**.

## Author

Generated automatically by Doxygen for DPDK from the source code.
