rte_flow_tcp_dir_param(3)
π rte_flow_tcp_dir_param(3) β bestie's guide to the TCP direction param struct
okay so this is a page straight out of the Library Functions Manual for DPDK, and it's all about the struct rte_flow_tcp_dir_param π. It's giving "one direction of a TCP conversation, fully annotated" and honestly it's kind of iconic. Let's get into it β¨
πΈ NAME
rte_flow_tcp_dir_param β the struct that holds the config params for each direction of a TCP connection, no cap π«Ά
β SYNOPSIS
#include <rte_flow.h>
π¦ Data Fields
uint32_t scale:4uint32_t close_initiated:1uint32_t last_ack_seen:1uint32_t data_unacked:1uint32_t sent_enduint32_t reply_enduint32_t max_winuint32_t max_ack
like... look at those little bitfields. :1 three times in a row?? the way that packs so tight, obsessed π
β¨ Detailed Description
β οΈ Warning β EXPERIMENTAL: this structure may change without prior notice. so like, don't get too attached bestie, it might ghost you π
Configuration parameters for each direction of a TCP connection. All fields should be in host byte order. If needed, the driver should convert all fields to network byte order if the HW needs them in that way. (HW being picky about byte order is such a mood π)
Definition at line 3989 of file rte_flow.h.
π Field Documentation
π uint32_t scale
TCP window scaling factor. 0xF to disable it. yes, 0xF is literally the "nvm, turn it off" value π
Definition at line 3991 of file rte_flow.h.
π uint32_t close_initiated
The FIN was sent by this direction. like, this side said "k bye" first π«‘
Definition at line 3993 of file rte_flow.h.
π uint32_t last_ack_seen
An ACK packet has been received by this side. so yes, they heard you, they're responding π₯Ή
Definition at line 3995 of file rte_flow.h.
π uint32_t data_unacked
If set, it indicates that there is unacknowledged data for the packets sent from this direction. aka stuff you sent that nobody's confirmed yet. the "delivered β or read receipt??" of TCP fr fr π
Definition at line 4000 of file rte_flow.h.
π§ uint32_t sent_end
Maximal value of sequence + payload length in sent packets (next ACK from the opposite direction). it's the high-water mark of what you've flung out there π
Definition at line 4005 of file rte_flow.h.
π₯ uint32_t reply_end
Maximal value of (ACK + window size) in received packet + length over sent packet (maximal sequence could be sent). literally the furthest your sequence number could possibly go π
Definition at line 4010 of file rte_flow.h.
πΈ uint32_t max_win
Maximal value of the actual window size in sent packets. biggest window they've advertised, highkey generous π
Definition at line 4012 of file rte_flow.h.
β uint32_t max_ack
Maximal value of ACK in sent packets. the highest ACK you've ever sent. periodt π
Definition at line 4014 of file rte_flow.h.
π«Ά Author
Generated automatically by Doxygen for DPDK from the source code. (so no human wrote this one, it's giving machine main character energy π€β¨)
that's the whole page bestie, hope the vibe check passed π
cute lil sign-off: this was DPDK, Version 26.03.0 β page rte_flow_tcp_dir_param(3) β see you in the next one, mwah ππ
π¦ 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