DOKK / manpages / debian 12 / systemtap-doc / function::inet_get_local_port.3stap.en
FUNCTION::INET_GET_L(3stap) Socket Tapset FUNCTION::INET_GET_L(3stap)

function::inet_get_local_port - Provide local port number for a kernel socket


inet_get_local_port:long(sock:long)

sock

pointer to the kernel socket

tapset::inet_sock(3stap)

November 2022 SystemTap Tapset Reference