FUNCTION::SOCK\_PROT\_(3stap) Socket Tapset FUNCTION::SOCK\_PROT\_(3stap)

# [NAME](#NAME)

function::sock\_prot\_num2str - Given a protocol number, return a string representation

# [SYNOPSIS](#SYNOPSIS)

```


    sock_prot_num2str:string(proto:long)
```

# [ARGUMENTS](#ARGUMENTS)

*proto*

The protocol number

# [SEE ALSO0](#SEE_ALSO0)

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

September 2026 SystemTap Tapset Reference Ver

---

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