dnsjit.cor....linuxsll2(3)

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

dnsjit.cor....linuxsll2 πŸ’…

okay bestie, you found the dnsjit.core.object.linuxsll2 page, which lives in the Library Functions Manual section of the dnsjit docs. pull up a chair, this one's short but it's giving very specific πŸŽ€


✨ NAME ✨

dnsjit.core.object.linuxsll2 β€” the Linux cooked-mode v2 capture (SLL2) part of a packet πŸ¦‹


🌸 DESCRIPTION 🌸

so basically this is the SLL2 slice of a packet β€” the part you'll usually spot chillin' in the object chain after you parse with, like, Layer filter, for example. it's just vibes and struct fields, no cap πŸ’–

Attributes πŸ‘‘

  • protocol_type β€” the protocol type.
  • reserved β€” reserved, aka MBZ. don't touch, it said what it said πŸ™ˆ
  • interface_index β€” the interface index, on the machine where the capture is happening, of the interface the packet was sent or received on.
  • arphrd_type β€” the link-layer device type.
  • packet_type β€” the packet type.
  • link_layer_address_length β€” the length of the link-layer address.
  • link_layer_address β€” the link-layer address itself. the moment. the icon ✨

Functions 🫢

  • Linuxsll2:type() β€” returns the textual type of the object. very demure, very informative.
  • Linuxsll2:prev() β€” returns the previous object. back it up bestie ⬅️
  • Linuxsll2:cast() β€” casts the object to the underlining object module and returns it.
  • Linuxsll2:uncast() β€” casts the object to the generic object module and returns it.
  • Linuxsll2:copy() β€” makes a copy of the object and returns it. clone era πŸ’…
  • Linuxsll2:free() β€” frees the object. ⚠️ should only be used on copies or stuff you allocated otherwise, okay? do not be out here freeing things you don't own, that's a villain arc 😭

πŸ’œ SEE ALSO πŸ’œ


πŸŽ€ AUTHORS and CONTRIBUTORS πŸŽ€

absolute legends, every single one:

  • 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 problem or want a new feature? that's valid, go here:

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

got a question or need a hand? slide into the inbox:

admin@dns-oarc.net

and that's the whole page fr fr β€” this was dnsjit.cor....linuxsll2(3) from dnsjit 1.5.1, mwah, go slay some packets πŸ’–βœ¨πŸŽ€πŸ¦‹πŸŒΈ