FUNCTION::FORMAT\_IPA(3stap) Networking Tapset FUNCTION::FORMAT\_IPA(3stap)

# [NAME](#NAME)

function::format\_ipaddr - Returns a string representation for an IP address

# [SYNOPSIS](#SYNOPSIS)

```


    format_ipaddr:string(addr:long,family:long)
```

# [ARGUMENTS](#ARGUMENTS)

*addr*

the IP address

*family*

the IP address family (either AF\_INET or AF\_INET6)

# [SEE ALSO0](#SEE_ALSO0)

[*tapset::ip*(3stap)](/man/enterprise-packages/systemtap/tapset::ip.3stap)

September 2026 SystemTap Tapset Reference Ver

---

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