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

# function::tcpmib\_remote\_addr(3stap)

Get the remote address

## NAME

function::tcpmib\_remote\_addr - Get the remote address

## SYNOPSIS

```
    tcpmib_remote_addr:long(sk:long)
```

## ARGUMENTS

*sk*

pointer to a struct inet\_sock

## DESCRIPTION

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

## SEE ALSO0

[*tapset::tcpmib*(3stap)](/tapset::tcpmib/3stap.md)
