DNSJIT.CORE.OBJECT.ETHER(3)

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

πŸ’– dnsjit.core.object.ether β€” the ether era πŸ’–

okay bestie, so this is a page from the dnsjit Library Functions Manual, and it's all about dnsjit.core.object.ether, which is the Ether part of a packet. yes, like ethernet. we're going there. pull up a chair. πŸŽ€


✨ NAME ✨

dnsjit.core.object.ether β€” the Ether part of a packet. that's it, that's the whole name, she's lowkey humble about it πŸ¦‹


🌸 DESCRIPTION 🌸

so the ether part of a packet is exactly what it sounds like: it's the chunk of the packet that's the Ether object. you'll usually find it hanging out in the object chain after parsing β€” like when you've run it through, for example, a Layer filter. iykyk, the chain is the whole vibe. ✨

πŸ“ Attributes

  • dhost β€” the destination ether address. where it's going, bestie. πŸ’Œ
  • shost β€” the source ether address. where it came from, no cap. 🫢
  • type β€” the packet type ID field / EtherType field. the "what even is this" label. πŸ‘‘

πŸ’… Functions

  • Ether:type() β€” return the textual type of the object. gives you the type as text, iconic. 🌈
  • Ether:prev() β€” return the previous object. like scrolling up in the group chat to see what came before. πŸ™ˆ
  • Ether:cast() β€” cast the object to the underlining object module and return it. glow-up moment. ✨
  • Ether:uncast() β€” cast the object to the generic object module and return it. reverse glow-up, still serving. πŸ’œ
  • Ether:copy() β€” make a copy of the object and return it. twin energy fr fr. πŸ‘―
  • Ether:free() β€” free the object, should only be used on copies or otherwise allocated. ⚠️ listen, do NOT just free whatever you want, only copies or stuff that's otherwise allocated. read the warning, it's giving important. 🚨
ok but actually, that Ether:free() caveat is real and it matters: only use it on copies or on objects that were otherwise allocated. don't be out here freeing objects that don't belong to you, bestie, that's how you get a crash. πŸ’€

πŸ”₯ SEE ALSO πŸ”₯


πŸ‘‘ AUTHORS and CONTRIBUTORS πŸ‘‘

shoutout to the 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 πŸ›

got issues? got feature requests? don't just suffer in silence, bestie:

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

got questions and need help? hit up:

admin@dns-oarc.net

and that's the whole page, periodt. πŸ’… this was dnsjit 1.5.1, the dnsjit.core.object.ether(3) page, coming to you straight from the Library Functions Manual. go forth and parse your packets, you absolute icon. πŸŽ€βœ¨πŸ¦‹