dnsjit.core.object.gre(3)
๐ dnsjit.core.object.gre(3) โ bestie's guide to the GRE object ๐ฆ
okay so this is a page from the Library Functions Manual for dnsjit.core.object.gre, and it's literally just the GRE chunk of a packet, explained with love. let's get into it โจ
๐ธ NAME ๐ธ
dnsjit.core.object.gre โ the Generic Routing Encapsulation (GRE) part of a packet, periodt ๐
โจ DESCRIPTION โจ
so like, picture a packet that's been through the whole object-chain pipeline. this module is the GRE part of that packet โ and you'll usually find it chillin' in the object chain after parsing with, for example, a Layer filter. iykyk ๐ซถ
and fr fr, go read RFC 1701 if you wanna know the lore. it's giving "required reading" ๐
๐ Attributes ๐
gre_flagsโ the GRE flags, obviously. the little vibe indicators of the header ๐ซether_typeโ the protocol type of the payload packet. like, what's inside this thing? ๐คchecksumโ the checksum covering the GRE header and the payload packet. math girlies stay winning ๐งฎkeyโ the Key field, a four octet number that was inserted by the encapsulator. yes, inserted. by the encapsulator. iconic behavior ๐sequenceโ the Sequence Number field, an unsigned 32 bit integer that's inserted by the encapsulator. she's numbered, she's unsigned, she's 32 bits ๐
๐ง Functions ๐ง
Gre:type()โ return the textual type of the object. just tells you what it is ๐ท๏ธGre:prev()โ return the previous object. go back one step, bestie โชGre:cast()โ cast the object to the underlining object module and return it. โจGre:uncast()โ cast the object to the generic object module and return it. reverse uno ๐Gre:copy()โ make a copy of the object and return it. twin moment ๐ฏGre:free()โ free the object. โ ๏ธ careful though: this should only be used on copies or on stuff that was otherwise allocated. do NOT go freeing things that aren't yours, that's a one-way ticket to chaos ๐
๐ SEE ALSO ๐
go read those next, they're part of the same universe ๐
๐ AUTHORS and CONTRIBUTORS ๐
the legends 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? don't suffer in silence, bestie:
https://codeberg.org/DNS-OARC/dnsjit/issues
questions and help? hit up:
admin@dns-oarc.net
and that's the whole page! this was dnsjit version 1.5.1, page dnsjit.core.object.gre(3), and yes she ate and left no crumbs ๐
โจ bye bestie, go parse some packets ๐ฆ
๐ฆ 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