FUNCTION::INET_GET_L(3stap)
π FUNCTION::INET_GET_LOCAL_PORT β the 3stap moment π
okay bestie, welcome to the Socket Tapset corner of the 3stap manual, where we keep the kernel socket lore. this one's a lil function and it's literally so useful, no cap.
β¨ NAME β¨
function::inet_get_local_port β bestie, it hands you the local port number for a kernel socket. that's it. that's the whole job. iconic behavior honestly.
πΈ SYNOPSIS πΈ
inet_get_local_port:long(sock:long)
she takes onelongand she gives you back along. a queen of symmetry. π
π ARGUMENTS π
sockβ pointer to the kernel socket π§ like, the actual socket you wanna snoop the local port off of. give her the pointer, she gives you the port. that's the vibe.
π¦ SEE ALSO π¦
tapset::inet_sock(3stap)β go read this one too, fr fr, it's the whole inet socket tapset family and they're all serving π
and that's the page, periodt β¨
SystemTap Tapset Reference, version whatever-the-edition-is (the footer just says Ver, and honestly? mysterious of her π), dated September 2026 β so yes, this manual is from the future, main character energy only ππ«Ά
mwah, go get those ports bestie ππΈπ
π¦ 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