t4_tp_get_tcp_stats(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… t4_tp_get_tcp_stats(9) β€” like, the Kernel API Manual page, but make it make sense 🫢

okay so bestie, welcome to t4_tp_get_tcp_stats(9), straight out of the Kernel API Manual πŸ’– this one is genuinely iconic if you're into counter-reading, so buckle up πŸŽ€


✨ NAME ✨

t4_tp_get_tcp_stats β€” read TP's TCP MIB counters πŸ‘‘


🌸 SYNOPSIS 🌸

void t4_tp_get_tcp_stats (struct adapter *adap , struct tp_tcp_stats *v4
, struct tp_tcp_stats *v6 , bool sleep_ok );

that's the whole signature, character for character, no cap πŸ’…


πŸ¦‹ ARGUMENTS πŸ¦‹

  • adap β€” the adapter 🫢 like, the whole NIC situation you're talking to.
  • v4 β€” holds the TCP/IP counter values πŸ’™ v4 for the IPv4 girls.
  • v6 β€” holds the TCP/IPv6 counter values πŸ’œ v6 for the IPv6 girlies.
  • sleep_ok β€” if true we may sleep while awaiting command completion 😴 yes, true literally means napping is on the table while you wait for the command to finish. main character energy.

πŸ”₯ DESCRIPTION πŸ”₯

Returns the values of TP's TCP/IP and TCP/IPv6 MIB counters ✨ that's it, that's the gig.

and here's the little detail that eats: either v4 or v6 may be NULL to skip the corresponding stats πŸ™ˆ so if you only care about one family, pass NULL for the other one and move on. periodt.


πŸ‘‘ SEE ALSO πŸ‘‘

the kernel file for this one is literally:

./drivers/net/ethernet/chelsio/cxgb4/t4_hw.c

and then, bestie, brace yourself, because the cross-reference list is long and every single entry is here, untouched, because i would never do you like that πŸ’€

no like seriously, that list is a lot, but it's all here because we don't skip entries in this house πŸ’–

🧚 sign-off 🧚

this page came from the source ./drivers/net/ethernet/chelsio... and it's dated October 2026, so yeah, she's got a timestamp and a whole manual-page identity and she's thriving 🌈⭐ t4_tp_get_tcp_stats(9) forever, iykyk πŸ’…βœ¨

πŸ“¦ where this page comes from