TAPSET::INET_SOCK(3stap)

TAPSET::INET_SOCK πŸ’–

okay bestie, so this is a page from the SystemTap Tapset Reference β€” it's in section 3stap of the manual, and it's literally just the lil' directory of the inet_sock tapset 🧚


✨ NAME ✨

tapset::inet_sock β€” the systemtap inet_sock tapset, aka your little friend group of socket-introspection functions 🫢


🌸 DESCRIPTION 🌸

okay so this tapset is giving "let me peek at your kernel socket" energy, and here's the whole squad:

  • inet_get_local_port β€” provides the local port number for a kernel socket πŸ’…

see function::inet_get_local_port(3stap) for the details, no cap.

  • inet_get_dest_port β€” provides the remote port number for a kernel socket πŸŽ€

see function::inet_get_dest_port(3stap) for the details.

  • inet_get_ip_source β€” provides the IP source address string for a kernel socket ✨

see function::inet_get_ip_source(3stap) for the details.

  • inet_get_ip_dest β€” provides the IP destination address string for a kernel socket πŸ¦‹

see function::inet_get_ip_dest(3stap) for the details.


πŸ‘‘ SEE ALSO πŸ‘‘

go read these too, they're iconic:


and that's the whole page, bestie πŸ’– this one is part of the SystemTap Tapset Reference, dated September 2026 β€” mwah, slay, periodt βœ¨πŸ’…

πŸ“¦ where this page comes from