rte_flow_tcp_dir_param(3)

πŸ’– rte_flow_tcp_dir_param πŸ’–

okay bestie, welcome to the rte_flow_tcp_dir_param(3) page from the Library Functions Manual β€” this is the lil struct that holds the config for each direction of a TCP connection. she's experimental, she's got bitfields, and she's here to spill the tea on your TCP flow. let's get into it 🫢


✨ NAME ✨

rte_flow_tcp_dir_param

like, that's literally her. that's the name. no cap.


🌸 SYNOPSIS 🌸

#include <rte_flow.h>

πŸŽ€ Data Fields

uint32_t scale:4
uint32_t close_initiated:1
uint32_t last_ack_seen:1
uint32_t data_unacked:1
uint32_t sent_end
uint32_t reply_end
uint32_t max_win
uint32_t max_ack

look at those lil bitfields β€” scale gets 4 whole bits, and close_initiated, last_ack_seen, data_unacked are out here living on 1 bit each. frugal queens. πŸ’…


πŸ¦‹ Detailed Description πŸ¦‹

Warning β€” EXPERIMENTAL: this structure may change without prior notice

ok so this is Configuration parameters for each direction of a TCP connection. All fields should be in host byte order. and if the hardware is being picky and needs them in network byte order? then the driver should convert all the fields to network byte order if HW needs them in that way. not you, the driver. the driver handles it. periodt.

Definition at line 3989 of file rte_flow.h.


πŸ‘‘ Field Documentation πŸ‘‘

⭐ uint32_t scale

TCP window scaling factor, 0xF to disable.

Definition at line 3991 of file rte_flow.h.

πŸ’œ uint32_t close_initiated

The FIN was sent by this direction. bye bestie, connection's closing πŸ₯²

Definition at line 3993 of file rte_flow.h.

🌈 uint32_t last_ack_seen

An ACK packet has been received by this side. acknowledged. seen. perceived. πŸ‘€

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. it's giving "sent it but nobody said anything back" energy 😭

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).

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).

Definition at line 4010 of file rte_flow.h.

πŸ”₯ uint32_t max_win

Maximal value of actual window size in sent packets.

Definition at line 4012 of file rte_flow.h.

πŸ’€ uint32_t max_ack

Maximal value of ACK in sent packets.

Definition at line 4014 of file rte_flow.h.


🫢 Author 🫢

Generated automatically by Doxygen for DPDK from the source code. (yes, a robot wrote this, and she ate ✨)


and that's the whole page, bestie β€” no notes, no crumbs, she's iconic πŸ‘‘

πŸ’Œ sign-off: this was brought to you by DPDK, Version 25.11.3, in the rte_flow_tcp_dir_param(3) era. go off and configure those TCP directions, iykyk πŸ’–πŸŒˆπŸŽ€
πŸ“¦ where this page comes from