dnsjit.core.object.ip(3)

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

πŸ’– dnsjit.core.object.ip β€” An IP packet πŸ’–

okay bestie so this is dnsjit.core.object.ip(3), from the Library Functions Manual, and it's literally just… an IP packet. that's the whole vibe. πŸ¦‹

✨ NAME ✨

dnsjit.core.object.ip β€” An IP packet


🌸 DESCRIPTION 🌸

so. it's an IP packet. πŸ“¦ and the tea is that you'll usually find one of these hanging out in the object chain after you parse something β€” like, for example, with a Layer filter. it's giving "i was just vibing in the packet stream and then someone filtered me into existence". πŸ’…

πŸŽ€ Attributes πŸŽ€

  • v β€” Version. which one are we on, bestie?
  • hl β€” Header length.
  • tos β€” Type of service.
  • len β€” Total length.
  • id β€” Identification.
  • off β€” Fragment offset field.
  • ttl β€” Time to live. how many more hops you got in you πŸ‘€
  • p β€” Protocol.
  • sum β€” Checksum.
  • src β€” Source address.
  • dst β€” Destination address.
  • payload β€” A pointer to the payload. ✨
  • plen β€” The length of the payload.
  • pad_len β€” The length of padding found, if any. (if any!! not always!! okay!!)

🧚 Functions 🧚

  • Ip:type() β€” Return the textual type of the object. tell me what you aaaare 🎀
  • Ip:prev() β€” Return the previous object.
  • Ip:cast() β€” Cast the object to the underlining object module and return it.
  • Ip:uncast() β€” Cast the object to the generic object module and return it.
  • Ip:copy() β€” Make a copy of the object and return it.
  • Ip:free() β€” Free the object, should only be used on copies or otherwise allocated. ⚠️
no fr fr, pay attention to Ip:free() β€” it should only be used on copies or otherwise allocated objects. do not be out here freeing stuff that isn't yours, that's not the move 😭
  • Ip:source() β€” Return the IP source as a string.
  • Ip:destination() β€” Return the IP destination as a string.

🌈 SEE ALSO 🌈


πŸ‘‘ AUTHORS and CONTRIBUTORS πŸ‘‘

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

Maintained by DNS-OARC

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

πŸ’€ BUGS πŸ’€

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, you ate it 🫢 this was dnsjit version 1.5.1, dnsjit.core.object.ip(3) β€” sending you all the packet-parsing energy, mwah πŸ’–πŸŒΈβœ¨