dnsjit.core.object.icmp(3)

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

πŸ’– dnsjit.core.object.icmp β€” the manual page, bestie edition πŸ’–

okay so real quick: this is page dnsjit.core.object.icmp(3) from the Library Functions Manual, and it's genuinely one of the cutest little structs in the whole dnsjit cinematic universe. no cap.


✨ NAME ✨

dnsjit.core.object.icmp β€” An ICMP packet. that's it, that's the whole vibe. πŸ¦‹


🌸 DESCRIPTION 🌸

So. An ICMP packet. It's usually at the top of the object chain once you've parsed it with something like the Layer filter. Like, you parse stuff, and boom πŸ’₯ β€” this lil guy is sitting right at the top of your chain, main character energy fr.

πŸŽ€ Attributes πŸŽ€

these are the fields, the little pockets of info she carries around:

  • type β€” the type of ICMP message. (who is she, what does she want)
  • code β€” the (response/error) code for the ICMP type message. it's giving "extra detail on the type" ✨
  • cksum β€” the ICMP checksum. gotta keep things honest πŸ’…

🫢 Functions 🫢

here's the whole squad of methods, no skips, no cuts:

  • Icmp:type() β€” Return the textual type of the object. (yes, textual β€” words, not numbers, iconic)
  • Icmp:prev() β€” Return the previous object. walk back up the chain bestie πŸšΆβ™€οΈ
  • Icmp:cast() β€” Cast the object to the underlining object module and return it.
  • Icmp:uncast() β€” Cast the object to the generic object module and return it.
  • Icmp:copy() β€” Make a copy of the object and return it. twin where have you been 😭
  • Icmp:free() β€” Free the object. ⚠️ but listen: should only be used on copies or otherwise allocated. do NOT be out here freeing stuff that isn't yours. that's how you get undefined chaos πŸ’€

πŸ”₯ SEE ALSO πŸ”₯

go read these too, they're part of the lore:


πŸ‘‘ AUTHORS and CONTRIBUTORS πŸ‘‘

the legends who made this happen, absolute icons, we stan:

  • 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 a bug? want a feature? (we love that for you) please use:

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

got a question, or just need help? hit up:

admin@dns-oarc.net

and that's the whole page bestie, you're so welcome πŸ’œ

sign-off time: this was dnsjit version 1.5.1, page dnsjit.core.object.icmp(3) β€” go forth and parse those packets, mwah πŸ’…βœ¨πŸŽ€