dnsjit.core.object.ip6(3)
β¨ NAME β¨
dnsjit.core.object.ip6 β it's literally an IPv6 packet, bestie π
This one lives in the dnsjit.core.object.ip6 corner of the library, section 3 of the manual (Library Functions Manual), so you already know it's giving "we handle packets around here" energy π
π¦ DESCRIPTION π¦
It's an IPv6 packet!! π And the tea is that you'll usually find it hanging out in the object chain after you've parsed stuff with, like, Layer filter. So it doesn't just show up out of nowhere β it's the after-party of parsing, iykyk.
π Attributes π
flowβ 4 bits of version, 8 bits of TC, and 20 bits of flow-ID. Three little fields sharing one cute little slot, no cap.plenβ the payload length, exactly as it shows up in the IPv6 header.nxtβ next header.hlimβ hop limit.srcβ source address.dstβ destination address.is_fragβ 1 bit, and it's set if the packet is a fragment.have_rtdstβ 1 bit, and it's set ifrtdstis set.frag_offlgβ offset, reserved, and flag, all taken from the fragment header.frag_identβ the identification, also taken from the fragment header.rtdstβ the destination address found in the routing extension header.hlenβ the length of the extension headers, in bytes.payloadβ a pointer to the payload. Just a pointer. Pointing. π«Άlenβ the length of the payload.pad_lenβ the length of padding found, if any.
π Functions π
Ip6:type()β returns the textual type of the object.Ip6:prev()β returns the previous object.Ip6:cast()β casts the object to the underlining object module and returns it.Ip6:uncast()β casts the object to the generic object module and returns it.Ip6:copy()β makes a copy of the object and returns it. A whole new you β¨Ip6:free()β frees the object. > β οΈ Okay so important: this should only be used on copies or otherwise allocated stuff. Don't be out here freeing things you didn't make, bestie, that's a one-way ticket to chaos πIp6:source(pretty)β returns the IPv6 source as a string. If pretty is true, then you get an easier to read IPv6 address. Aesthetic source, slay.Ip6:destination(pretty)β returns the IPv6 destination as a string. If pretty is true, then it's an easier to read IPv6 address. Same energy, different address π
π SEE ALSO π
π AUTHORS and CONTRIBUTORS π
The icons 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? Both go here, fr fr:
https://codeberg.org/DNS-OARC/dnsjit/issues
Questions and help? Different vibe, different inbox:
admin@dns-oarc.net
And that's the whole page, bestie β this was dnsjit.core.object.ip6(3) from dnsjit version 1.5.1, signed off with love ππ¦πΈ 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