---
name: "function::inet_get_ip_source"
section: "3stap"
platform: "linux"
package: "systemtap-doc"
version: "5.1-5"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/function::inet_get_ip_source"
---

# function::inet\_get\_ip\_source(3stap)

Provide IP source address string for a kernel socket

## NAME

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

## SYNOPSIS

```
    inet_get_ip_source:string(sock:long)
```

## ARGUMENTS

*sock*

pointer to the kernel socket

## SEE ALSO0

[*tapset::inet\_sock*(3stap)](/tapset::inet_sock/3stap.md)
