FUNCTION::INET\_GET\_I(3stap) Socket Tapset FUNCTION::INET\_GET\_I(3stap)

# [NAME](#NAME)

function::inet\_get\_ip\_source - Provide IP source address string for a kernel socket

# [SYNOPSIS](#SYNOPSIS)

```


    inet_get_ip_source:string(sock:long)
```

# [ARGUMENTS](#ARGUMENTS)

*sock*

pointer to the kernel socket

# [SEE ALSO0](#SEE_ALSO0)

[*tapset::inet\_sock*(3stap)](/man/enterprise-packages/systemtap/tapset::inet_sock.3stap)

September 2026 SystemTap Tapset Reference Ver

---

Document: function::inet_get_ip_source(3stap) from systemtap 5.6-r1 (Chainguard OS)
Source: https://sourceware.org/git/systemtap.git
