FUNCTION::HTONL(3stap) Networking Tapset FUNCTION::HTONL(3stap)

# [NAME](#NAME)

function::htonl - Convert 32-bit long from host to network order

# [SYNOPSIS](#SYNOPSIS)

```


    htonl:long(x:long)
```

# [ARGUMENTS](#ARGUMENTS)

*x*

Value to convert

# [SEE ALSO0](#SEE_ALSO0)

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

September 2026 SystemTap Tapset Reference Ver

---

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