DOKK / manpages / debian 12 / systemtap-doc / function::tcpmib_local_port.3stap.en
FUNCTION::TCPMIB_LOC(3stap) SNMP Information Tapset FUNCTION::TCPMIB_LOC(3stap)

function::tcpmib_local_port - Get the local port


tcpmib_local_port:long(sk:long)

sk

pointer to a struct inet_sock

Returns the sport from a struct inet_sock in host order.

tapset::tcpmib(3stap)

November 2022 SystemTap Tapset Reference