rte_dtls.h(3)

πŸ’– rte_dtls.h β€” the manual page (section 3, Library Functions Manual)

okay so bestie, you opened the man page for rte_dtls.h and honestly? it's a short one. it's giving "tiny header, big vibe". it lives in the DPDK world and it's about DTLS β€” Datagram Transport Layer Security β€” the UDP-flavored cousin of TLS. let's get into it ✨


🌸 NAME

rte_dtls.h β€” that's the whole name, she's lowkey mysterious like that πŸŽ€


✨ SYNOPSIS

#include <rte_byteorder.h>

πŸ¦‹ Data Structures

  • struct rte_dtls_hdr β€” yes, there's a struct, and we love her

πŸ’… 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. that's it, that's the whole vibe β€” this header is where DPDK keeps its DTLS constants πŸ’œ

Definition in file rte_dtls.h.


πŸ‘‘ Macro Definition Documentation

πŸ“ #define RTE_DTLS_TYPE_INVALID = 0

Invalid DTLS message type. like, not a real message, girl, she's nothing.

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. (yes, 1.3 only, bestie, keep up 🩷)

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. acknowledging you slaying, fr fr.

Definition at line 23 of file rte_dtls.h.

πŸ”₯ #define RTE_DTLS_TYPE_MAX = 255

Maximum value as DTLS content type. the ceiling, the limit, the final boss.

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. not a human author, just ✨ the machine ✨ doing her thing.


okay bestie that's the whole page, no cap 🫢 this was DPDK Version 25.11.3, and yeah, it got generated automatically by Doxygen from the source code. go forth and encrypt your datagrams πŸ’–βœ¨πŸŽ€

πŸ“¦ where this page comes from