rte_tcp_hdr(3)
π rte_tcp_hdr
okay so this is the rte_tcp_hdr page from the rte_tcp.h part of the DPDK library manual β it's literally just the TCP header struct laid out for you, and honestly? iconic. let's get into it bestie π«Ά
β¨ SYNOPSIS β¨
#include <rte_tcp.h>
πΈ Data Fields πΈ
rte_be16_t src_portrte_be16_t dst_portrte_be32_t sent_seqrte_be32_t recv_ackuint8_t data_offuint8_t tcp_flagsrte_be16_t rx_winrte_be16_t cksumrte_be16_t tcp_urp
π¦ Detailed Description π¦
it's the TCP Header. that's the whole vibe. main character energy, no notes π
fr fr: it's defined at line 24 of file rte_tcp.h. remember that, there might be a pop quiz.
π Field Documentation π
π rte_be16_t src_port
TCP source port. the "where u coming from" of it all β¨
defined at line 25 of file rte_tcp.h.
π rte_be16_t dst_port
TCP destination port. the "where u going" bestie πΈ
defined at line 26 of file rte_tcp.h.
π¦ rte_be32_t sent_seq
TX data sequence number. that's the transmit side, lowkey the star of the show π
defined at line 27 of file rte_tcp.h.
π rte_be32_t recv_ack
RX data acknowledgment sequence number. the receive side finally gets its moment, we love reciprocity π«Ά
defined at line 28 of file rte_tcp.h.
β uint8_t data_off
Data offset. short king, literally uint8_t π
defined at line 29 of file rte_tcp.h.
π uint8_t tcp_flags
TCP flags. the whole personality of the packet lives here ngl π©
defined at line 30 of file rte_tcp.h.
π rte_be16_t rx_win
RX flow control window. keeping things chill so nobody gets overwhelmed πββοΈ
defined at line 31 of file rte_tcp.h.
π§ rte_be16_t cksum
TCP checksum. the vibe check for your bytes β if it doesn't match, we're not letting it in π
defined at line 32 of file rte_tcp.h.
π₯ rte_be16_t tcp_urp
TCP urgent pointer, if any. conditional queen β sometimes it shows up, sometimes it doesn't, and that's valid π
defined at line 33 of file rte_tcp.h.
π Author π
generated automatically by Doxygen for DPDK from the source code. not a human, not a girlie, just a doc generator doing its thing β¨
okay that's the whole page, slay π this was DPDK Version 26.03.0, the rte_tcp_hdr(3) manual page β go forth and parse those headers, bestie, you got this π
π¦ where this page comes from
- nixos 26.05: dpdk 26.03
- nixpkgs unstable: dpdk 26.03
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms