---
name: "rte_dtls.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_dtls.h"
---

# rte\_dtls.h(3)

## NAME

rte\_dtls.h

## SYNOPSIS

`#include <rte_byteorder.h>`\

### Data Structures

struct **rte\_dtls\_hdr**\

### Macros

\#define **RTE\_DTLS\_TYPE\_INVALID**   0\
 \#define **RTE\_DTLS\_TYPE\_CHANGE\_CIPHER\_SPEC**   20\
 \#define **RTE\_DTLS\_TYPE\_ALERT**   21\
 \#define **RTE\_DTLS\_TYPE\_HANDSHAKE**   22\
 \#define **RTE\_DTLS\_TYPE\_APPDATA**   23\
 \#define **RTE\_DTLS\_TYPE\_HEARTBEAT**   24\
 \#define **RTE\_DTLS\_TYPE\_CIPHERTEXT\_WITH\_CID**   25\
 \#define **RTE\_DTLS\_TYPE\_ACK**   26\
 \#define **RTE\_DTLS\_TYPE\_MAX**   255\
 \#define **RTE\_DTLS\_VERSION\_1\_2**   0xFEFD\
 \#define **RTE\_DTLS\_VERSION\_1\_3**   0xFEFC\

## Detailed Description

Datagram transport layer security (DTLS) related defines.

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

## Macro Definition Documentation

### #define RTE\_DTLS\_TYPE\_INVALID 0

Invalid DTLS message type.

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

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

Change cipher spec message.

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

### #define RTE\_DTLS\_TYPE\_ALERT 21

Alert message.

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

### #define RTE\_DTLS\_TYPE\_HANDSHAKE 22

Handshake message for DTLS.

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

### #define RTE\_DTLS\_TYPE\_APPDATA 23

DTLS application data message.

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

### #define RTE\_DTLS\_TYPE\_HEARTBEAT 24

DTLS 1.3 heartbeat message.

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

### #define RTE\_DTLS\_TYPE\_CIPHERTEXT\_WITH\_CID 25

DTLS 1.3 ciphertext with CID message.

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

### #define RTE\_DTLS\_TYPE\_ACK 26

DTLS 1.3 ACK message.

Definition at line **23** of file **rte\_dtls.h**.

### #define RTE\_DTLS\_TYPE\_MAX 255

Maximum value as DTLS content type.

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

### #define RTE\_DTLS\_VERSION\_1\_2 0xFEFD

DTLS 1.2 version. 1's complement of 1.2.

Definition at line **26** of file **rte\_dtls.h**.

### #define RTE\_DTLS\_VERSION\_1\_3 0xFEFC

DTLS 1.3 version. 1's complement of 1.3.

Definition at line **27** of file **rte\_dtls.h**.

## Author

Generated automatically by Doxygen for DPDK from the source code.
