FUNCTION::TCPMIB_LOC(3stap)
β¨ NAME β¨
function::tcpmib_local_port β bestie, it gets the local port π
This one lives in the SNMP Information Tapset, and yes we're reading it from the 3stap manual, section 3, tapset girlies rise up π«Ά
πΈ SYNOPSIS πΈ
tcpmib_local_port:long(sk:long)
okay so it takes one thing and it gives you back a long. simple. iconic. no notes π₯
π ARGUMENTS π
skβ a pointer to astruct inet_sock. that's it, that's the whole shopping list π
π¦ DESCRIPTION π¦
So like, you hand it a struct inet_sock and it returns the sport from it, in host order. That's the vibe. That's the whole function. No cap π§
host order means it's already been translated out of network byte order for you, so please don't go flipping bytes on it yourself, that would be so embarrassing for everyone π
π SEE ALSO π
tapset::tcpmib(3stap)β go read the whole tapset, it's giving main character energy β
okay that's the page!! this is from the SystemTap Tapset Reference, dated September 2026, and it's filed under section 3stap for FUNCTION::TCPMIB_LOC(3stap) π
stay hydrated, read your tapsets, love u, bye πβ¨π
π¦ where this page comes from
- centos-stream 10: systemtap-client 5.6-3.el10 Β· GPL-2.0-or-later AND GPL-2.0-only AND BSD-3-Clause AND LGPL-2.1-only AND GFDL-1.2-or-later AND BSD-2-Clause
- centos-stream 9: systemtap-client 5.6-3.el9 Β· GPL-2.0-or-later AND GPL-2.0-only AND BSD-3-Clause AND LGPL-2.1-only AND GFDL-1.2-or-later AND BSD-2-Clause
- fedora 43: systemtap-client 5.6-1.fc43 Β· GPL-2.0-or-later AND GPL-2.0-only AND BSD-3-Clause AND LGPL-2.1-only AND GFDL-1.2-or-later AND BSD-2-Clause
- fedora 44: systemtap-client 5.6-1.fc44 Β· GPL-2.0-or-later AND GPL-2.0-only AND BSD-3-Clause AND LGPL-2.1-only AND GFDL-1.2-or-later AND BSD-2-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms