FUNCTION::TCPMIB\_LOC(3stap) SNMP Information Tapset FUNCTION::TCPMIB\_LOC(3stap)

# [NAME](#NAME)

function::tcpmib\_local\_addr - Get the source address

# [SYNOPSIS](#SYNOPSIS)

```


    tcpmib_local_addr:long(sk:long)
```

# [ARGUMENTS](#ARGUMENTS)

*sk*

pointer to a struct inet\_sock

# [DESCRIPTION](#DESCRIPTION)

Returns the saddr from a struct inet\_sock in host order.

# [SEE ALSO0](#SEE_ALSO0)

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

September 2026 SystemTap Tapset Reference Ver

---

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