FUNCTION::INET_GET_I(3stap)

πŸ’– FUNCTION::INET_GET_IP_SOURCE πŸ’–

okay bestie, pull up a chair, we're in the Socket Tapset and this page lives in section 3stap of the SystemTap Tapset Reference 🫢 it's giving "tiny function, big job" energy and honestly? obsessed.


✨ NAME ✨

function::inet_get_ip_source β€” no cap, this one just hands you the IP source address as a string for a kernel socket πŸ’…


πŸ¦‹ SYNOPSIS πŸ¦‹

inet_get_ip_source:string(sock:long)

literally the whole signature, right there, look at her go ✨


πŸŽ€ ARGUMENTS πŸŽ€

  • sock β€” pointer to the kernel socket. that's it, that's the whole input. you hand her a socket pointer and she does the rest, queen behavior πŸ‘‘

🌈 SEE ALSO 🌈


reminder bestie: sock is a pointer to the kernel socket, so hand her something real. the function is :string so what comes back is a string. periodt. πŸ’…

SystemTap Tapset Reference, Ver, dated September 2026 β€” mwah, that's the whole page, ily, go probe something iconic πŸŒΈπŸ§šπŸ’–

πŸ“¦ where this page comes from