dnsjit.core.object.udp(3)

๐Ÿ“ฆ
version 1.5.1 ยท 5 versions
, in epel 10, epel 9, fedora 43, fedora 44, ubuntu resolute, ubuntu stonking

๐Ÿ’– dnsjit.core.object.udp โ€” bestie, it's a UDP datagram header ๐Ÿ’–

okay so this is dnsjit.core.object.udp from the Library Functions Manual (third section, (3), you know the vibe), and it's literally justโ€ฆ a UDP datagram header. that's it. that's the whole girl. ๐Ÿซถ


โœจ NAME โœจ

dnsjit.core.object.udp โ€” A UDP datagram header


๐ŸŒธ DESCRIPTION ๐ŸŒธ

So like, this object is a UDP datagram header. that's her job. that's her whole personality. ๐Ÿ’…

but the tea is: the actual data itself does not live here. it lives in the dnsjit.core.object.payload object, which is the next object in the chain โ€” after you parse with, for example, dnsjit.filter.layer. so like, header here, payload next door, they're neighbors, they're in a chain, it's giving found family. ๐Ÿ”ฅ

๐ŸŽ€ Attributes ๐ŸŽ€

these are her fields, her little traits, her star signs if you will:

  • sport โ€” Source port. โœจ
  • dport โ€” Destination port. ๐Ÿ’–
  • ulen โ€” UDP length (as described in the UDP header). no cap, that's exactly what it is.
  • sum โ€” Checksum. the math girlie of the group. ๐Ÿงฎ

๐ŸŒˆ Functions ๐ŸŒˆ

here's every single method, bestie, and i'm not skipping a single one:

  • Udp:type() โ€” Return the textual type of the object.
  • Udp:prev() โ€” Return the previous object.
  • Udp:cast() โ€” Cast the object to the underlining object module and return it.
  • Udp:uncast() โ€” Cast the object to the generic object module and return it.
  • Udp:copy() โ€” Make a copy of the object and return it.
  • Udp:free() โ€” Free the object, should only be used on copies or otherwise allocated.
๐Ÿšจ okay real talk for one sec: Udp:free() โ€” should only be used on copies or otherwise allocated. do not be out here freeing things you didn't copy or allocate. that's the one rule. respect it. ๐Ÿ’€

๐Ÿฆ‹ SEE ALSO ๐Ÿฆ‹

go read these too, they're all in the family:


๐Ÿ‘‘ AUTHORS and CONTRIBUTORS ๐Ÿ‘‘

the icons who made this happen, 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? (valid, we love that for you):

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

got questions? need help? (also valid):

admin@dns-oarc.net

k that's the whole page, you ate it, go forth and parse your datagrams ๐Ÿ’œ this was dnsjit 1.5.1, page dnsjit.core.object.udp(3), mwah, slay, periodt. ๐ŸŽ€โœจ๐Ÿฆ‹