rte_dtls_hdr(3)

🌸 rte_dtls_hdr 🌸

okay bestie, pls meet the manual page for rte_dtls_hdr, living its life in the Library Functions Manual section of the docs. It's not a function, it's not a vibe you can call β€” it's a struct header for DTLS, and we're gonna go through it field by field, no skips, no shortcuts. πŸ’–


✨ NAME ✨

rte_dtls_hdr β€” the DTLS header struct, she's literally the blueprint for a DTLS record header πŸŽ€


✨ SYNOPSIS ✨

#include <rte_dtls.h>

πŸ¦‹ Data Fields

  • uint8_t type
  • rte_be16_t version
  • uint64_t sequence_number: 48
  • uint64_t epoch: 16
  • rte_be16_t length
Not me listing all five exactly as they appear, because I will never leave a field out. That's not how we do things here. πŸ’…

✨ Detailed Description ✨

DTLS Header πŸ’«

That's the whole description, and honestly? Iconic of it. Short, confident, main character energy.

Definition at line 33 of file rte_dtls.h.

✨ Field Documentation ✨

🌈 uint8_t type

Content type of DTLS packet. It's defined as RTE_DTLS_TYPE_* β€” so go look at those macros when you wanna know what a packet is actually saying about itself. πŸ—£οΈ

Definition at line 35 of file rte_dtls.h.

🌈 rte_be16_t version

The DTLS Version, and it's defined as RTE_DTLS_VERSION*. Note the * sitting there all by itself β€” that's exactly how the original writes it, so we keep it, no cap. 🫢

Definition at line 37 of file rte_dtls.h.

🌈 uint64_t sequence_number

The sequence number for the DTLS record. She counts, she orders, she lets the receiver know which record is which. ⭐

Definition at line 40 of file rte_dtls.h.

🌈 uint64_t epoch

A counter value that is incremented on every cipher state change. So every time the crypto situation flips to a whole new era β€” new epoch. It's giving eras tour, honestly. πŸ”₯

Definition at line 42 of file rte_dtls.h.

🌈 rte_be16_t length

The length (in bytes) of the following DTLS packet. Following, as in the one that comes after this header. Units matter, bestie, don't forget the bytes. πŸ“

Definition at line 50 of file rte_dtls.h.

✨ Author ✨

Generated automatically by Doxygen for DPDK from the source code. So like… the docs wrote themselves, which is very slay of them. πŸ€–βœ¨


πŸŽ€ tiny reminder: this page is literally a struct listing, so the only fields are the five up there. Don't go inventing a sixth, gorgeous. πŸ™ˆ

and that's the whole page, bestie!! πŸ’œ y'all take care of yourselves out there β€” this came straight outta DPDK, Version 25.11.3, so go crazy with the docs and hydrate while you're at it. πŸ¦‹πŸŒΈπŸ’–

πŸ“¦ where this page comes from