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 one long and she gives you back a long. 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