dnsjit.cor...ct.payload(3)

πŸ“¦
version 1.5.1 Β· 5 versions
, in epel 10, epel 9, fedora 43, fedora 44, ubuntu resolute, ubuntu stonking

πŸ’… dnsjit.core.object.payload β€” like, the manual page bestie πŸ’…

okay so you're reading dnsjit.cor...ct.payload(3) from the Library Functions Manual, and honestly? you came to the right girl. sit down, grab a boba, we're doing this πŸ§‹βœ¨


✨ NAME ✨

dnsjit.core.object.payload β€” Application data payload πŸŽ€


πŸ¦‹ DESCRIPTION πŸ¦‹

so the Payload object is literally carrying the data that the underlying transport protocol is hauling around. it's giving the actual goods, you know? πŸ“¦βœ¨

and like, Payload is usually at the top of the object chain after you've parsed with, for example, dnsjit.filter.layer. so yeah, it's the main character at the end of the chain, no cap πŸ‘‘


🌸 Attributes 🌸

  • payload β€” a pointer to the payload. that's it, that's the vibe πŸ’–
  • len β€” the length of the payload. how much data we're working with, periodt πŸ“
  • padding β€” the length of padding in the underlying packet. yes bestie, padding is real and it counts 🫢

πŸ’œ Functions πŸ’œ

  • Payload:type() β€” returns the textual type of the object. tells you what this thing is, in words 🏷️
  • Payload:prev() β€” returns the previous object. walk backwards down the chain like a queen πŸ‘‘
  • Payload:cast() β€” casts the object to the underlining object module and returns it. glow-up but for types ✨
  • Payload:uncast() β€” casts the object to the generic object module and returns it. the reverse glow-up, we love range 🌈
  • Payload:copy() β€” makes a copy of the object and returns it. twin moment 🧚
  • Payload:free() β€” frees the object. ⚠️ should only be used on copies or otherwise allocated. do NOT go freeing things that aren't yours, that's not the vibe, that's undefined chaos πŸ˜­πŸ’€

πŸ”₯ SEE ALSO πŸ”₯

go read those too, iykyk πŸ“šπŸ’…


πŸ‘‘ AUTHORS and CONTRIBUTORS πŸ‘‘

the iconic legends who made this happen:

  • Jerry LundstrΓΆm (DNS-OARC)
  • TomΓ‘Ε‘ KΕ™Γ­ΕΎek (CZ.NIC)
  • Petr Ε paček (ISC)

Maintained by DNS-OARC 🫢

https://www.dns-oarc.net/

πŸ’€ BUGS πŸ’€

found something broken? want a feature? bestie, please tell them:

For issues and feature requests please use:

https://codeberg.org/DNS-OARC/dnsjit/issues

For question and help please use:

admin@dns-oarc.net

and that's the whole page, bestie!! this was dnsjit version 1.5.1, from the dnsjit.cor...ct.payload(3) manual page πŸŽ€βœ¨ slay, go parse something, ily πŸ«ΆπŸ’–