rte_tcp_hdr(3)

✨ NAME ✨

rte_tcp_hdr β€” bestie, it's the TCP header struct, and we're gonna know her intimately πŸ’–

(also hi, this is the rte_tcp_hdr(3) page from the DPDK library manual, in case u were wondering where u even are)


🌸 SYNOPSIS 🌸

#include <rte_tcp.h>

πŸŽ€ Data Fields πŸŽ€

  • rte_be16_t src_port
  • rte_be16_t dst_port
  • rte_be32_t sent_seq
  • rte_be32_t recv_ack
  • uint8_t data_off
  • uint8_t tcp_flags
  • rte_be16_t rx_win
  • rte_be16_t cksum
  • rte_be16_t tcp_urp

okay so that's the whole roster πŸ‘‘ nine fields, no filler, all of them pulling their weight. slay.


πŸ’… Detailed Description πŸ’…

TCP Header.

literally that's it, that's the summary. she IS the TCP header. main character energy fr fr.

Defined at line 24 of rte_tcp.h. πŸ“


πŸ¦‹ Field Documentation πŸ¦‹

πŸ’œ rte_be16_t src_port

TCP source port.

Defined at line 25 of rte_tcp.h.

πŸ’œ rte_be16_t dst_port

TCP destination port.

Defined at line 26 of rte_tcp.h.

πŸ’œ rte_be32_t sent_seq

TX data sequence number.

(that's the sequence number for data u are sending, king πŸ‘‘)

Defined at line 27 of rte_tcp.h.

πŸ’œ rte_be32_t recv_ack

RX data acknowledgment sequence number.

(the ack number for data u received β€” they're a matched set, iykyk)

Defined at line 28 of rte_tcp.h.

πŸ’œ uint8_t data_off

Data offset.

Defined at line 29 of rte_tcp.h.

πŸ’œ uint8_t tcp_flags

TCP flags

yeah she gets no period at the end, she's just like that πŸ™ˆ flags stay iconic.

Defined at line 30 of rte_tcp.h.

πŸ’œ rte_be16_t rx_win

RX flow control window.

Defined at line 31 of rte_tcp.h.

πŸ’œ rte_be16_t cksum

TCP checksum.

Defined at line 32 of rte_tcp.h.

πŸ’œ rte_be16_t tcp_urp

TCP urgent pointer, if any.

(emphasis on if any bestie β€” sometimes she simply isn't there and that's fine 🫢)

Defined at line 33 of rte_tcp.h.


🌈 Author 🌈

Generated automatically by Doxygen for DPDK from the source code.

ngl, no human authored this one, the robot did it and honestly? she ate. no cap. πŸ€–βœ¨


okay that's the whole page bestie!! this was rte_tcp_hdr(3) from DPDK, and we're repping Version 25.11.3 πŸ’–πŸ¦‹ go forth and parse some packets, ur doing amazing, periodt. πŸŽ€

πŸ“¦ where this page comes from