TAPSET::INET(3stap)

✨ NAME ✨

ok so this is tapset::inet from the 3stap manual β€” it's the systemtap inet tapset bestie, and it's literally just a lil directory of byte-order glow-up functions πŸ’…


πŸ¦‹ DESCRIPTION πŸ¦‹

so the inet tapset is giving network byte order realness. it's a collection of lil converter functions β€” some of them flip stuff from host order to network order, some of them flip it right back. every single one has its own dedicated page with the whole story, so imma point you at those 🫢

🌸 host β†’ network (the "hton" girlies)

  • htonll β€” converts a 64-bit long long from host order to network order. it's giving big-endian makeover ✨ see function::htonll(3stap) for the full deets.
  • htonl β€” converts a 32-bit long from host order to network order. the O.G. classic, no cap πŸ’– see function::htonl(3stap) for the full deets.
  • htons β€” converts a 16-bit short from host order to network order. smol but mighty πŸŽ€ see function::htons(3stap) for the full deets.

πŸ’œ network β†’ host (the "ntoh" girlies)

  • ntohll β€” converts a 64-bit long long from network order back to host order. the reverse glow-up, she understood the assignment 😭 see function::ntohll(3stap) for the full deets.
  • ntohl β€” converts a 32-bit long from network order back to host order. iconic, honestly πŸ‘‘ see function::ntohl(3stap) for the full deets.
  • ntohs β€” converts a 16-bit short from network order back to host order. tiny icon behavior 🌸 see function::ntohs(3stap) for the full deets.
lowkey note: this page is just the tapset index, bestie. it lists the functions and sends you to their individual pages β€” the actual signatures and semantics live over there, so don't come for me asking for more detail than the index has πŸ’€

πŸ‘€ SEE ALSO πŸ‘€

go read these next, fr fr β€” the tapset is a whole universe:


SystemTap Tapset Reference Β· September 2026 β€” okay that's the whole page bestie, tysm for reading, go convert some bytes and slay πŸ’–βœ¨πŸ¦‹πŸŽ€

πŸ“¦ where this page comes from