TAPSET::INET\_SOCK(3stap) TAPSET::INET\_SOCK(3stap)

# [NAME](#NAME)

tapset::inet\_sock - systemtap inet\_sock tapset

# [DESCRIPTION](#DESCRIPTION)

[**inet\_get\_local\_port**](#inet_get_local_port)

Provide local port number for a kernel socket

See [*function::inet\_get\_local\_port*(3stap)](/man/enterprise-packages/systemtap/function::inet_get_local_port.3stap)  
for details.

[**inet\_get\_dest\_port**](#inet_get_dest_port)

Provide remote port number for a kernel socket

See [*function::inet\_get\_dest\_port*(3stap)](/man/enterprise-packages/systemtap/function::inet_get_dest_port.3stap)  
for details.

[**inet\_get\_ip\_source**](#inet_get_ip_source)

Provide IP source address string for a kernel socket

See [*function::inet\_get\_ip\_source*(3stap)](/man/enterprise-packages/systemtap/function::inet_get_ip_source.3stap)  
for details.

[**inet\_get\_ip\_dest**](#inet_get_ip_dest)

Provide IP destination address string for a kernel socket

See [*function::inet\_get\_ip\_dest*(3stap)](/man/enterprise-packages/systemtap/function::inet_get_ip_dest.3stap)  
for details.

# [SEE ALSO](#SEE_ALSO)

[*function::inet\_get\_local\_port*(3stap)](/man/enterprise-packages/systemtap/function::inet_get_local_port.3stap), [*function::inet\_get\_dest\_port*(3stap)](/man/enterprise-packages/systemtap/function::inet_get_dest_port.3stap), [*function::inet\_get\_ip\_source*(3stap)](/man/enterprise-packages/systemtap/function::inet_get_ip_source.3stap), [*function::inet\_get\_ip\_dest*(3stap)](/man/enterprise-packages/systemtap/function::inet_get_ip_dest.3stap), [*stap*(1)](/man/enterprise-packages/systemtap/stap.1), [*stapprobes*(3stap)](/man/enterprise-packages/systemtap/stapprobes.3stap)

September 2026 SystemTap Tapset Reference

---

Document: tapset::inet_sock(3stap) from systemtap 5.6-r0 (Chainguard OS)
Source: https://sourceware.org/git/systemtap.git
