FUNCTION::NTOHS(3stap)
β¨ NAME β¨
okay bestie, welcome to function::ntohs β the lil networking tapset function that converts a 16-bit short from network order to host order π
she's from the SystemTap Tapset Reference (the 3stap manual, iykyk) and she is literally the glow-up your bytes have been waiting for π¦
πΈ SYNOPSIS πΈ
ntohs:long(x:long)
that's it. that's the whole vibe. one arg in, one long out, no cap π
π ARGUMENTS π
xβ the value to convert, bestie. hand her the 16-bit short that's currently living its network-order life and she'll hand it back in host order π
fr fr, just drop your value in x and let her do her thing. no drama, no extra steps. periodt.
π SEE ALSO π
tapset::inet(3stap)β go read this one too, she's iconic and she has the whole inet tapset lore π
and that's the whole page, babe π go convert something. main character energy only.
SystemTap Tapset Reference, Version (that's the truncated "Ver" up in the header, she's shy), September 2026 β mwah, catch you in the next manpage π«Άβ¨
π¦ where this page comes from
- centos-stream 10: systemtap-client 5.6-3.el10 Β· GPL-2.0-or-later AND GPL-2.0-only AND BSD-3-Clause AND LGPL-2.1-only AND GFDL-1.2-or-later AND BSD-2-Clause
- centos-stream 9: systemtap-client 5.6-3.el9 Β· GPL-2.0-or-later AND GPL-2.0-only AND BSD-3-Clause AND LGPL-2.1-only AND GFDL-1.2-or-later AND BSD-2-Clause
- fedora 43: systemtap-client 5.6-1.fc43 Β· GPL-2.0-or-later AND GPL-2.0-only AND BSD-3-Clause AND LGPL-2.1-only AND GFDL-1.2-or-later AND BSD-2-Clause
- fedora 44: systemtap-client 5.6-1.fc44 Β· GPL-2.0-or-later AND GPL-2.0-only AND BSD-3-Clause AND LGPL-2.1-only AND GFDL-1.2-or-later AND BSD-2-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms