dnsjit.core.object.udp(3)
๐ 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. ๐โจ๐ฆ
๐ฆ where this page comes from
- epel 10: dnsjit 1.5.1-2.el10_2 ยท GPL-3.0-or-later
- epel 9: dnsjit 1.5.1-2.el9 ยท GPL-3.0-or-later
- fedora 43: dnsjit 1.5.1-2.fc43 ยท GPL-3.0-or-later
- fedora 43: dnsjit 1.5.1-2.fc43 ยท GPL-3.0-or-later
- fedora 44: dnsjit 1.5.1-2.fc44 ยท GPL-3.0-or-later
- fedora 44: dnsjit 1.5.1-2.fc44 ยท GPL-3.0-or-later
- ubuntu resolute: dnsjit 1.5.1-2 ยท GPL-3.0-or-later
- ubuntu stonking: dnsjit-dev 1.5.1-6 ยท GPL-3.0-or-later
- Copyright (c) 2018-2026 OARC, Inc
- ๐ girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms