dnsjit.filter.layer(3)
β¨ dnsjit.filter.layer β¨
okay bestie, welcome to the dnsjit.filter.layer(3) page β it's a library function, it lives in section 3 of the manual, and it is literally the thing that parses your ether/IP stack for you. no cap. π
πΈ NAME πΈ
dnsjit.filter.layer β Parse the ether/IP stack π¦
π SYNOPSIS π
local filter = require("dnsjit.filter.layer").new()
like. that's it. that's the whole vibe. one line and you're in. β¨
π DESCRIPTION π
okay so here's the tea, bestie: this filter parses the ether/IP stack of the objects it receives, and then it sends the top most object on to the receivers. π«Ά
the objects are chained β each layer in the stack gets its own link in the chain, and the top most one comes first. so when you get handed stuff back, the top of the stack is leading the conga line. π
and right now? it currently supports input dnsjit.core.object.pcap. that's the one, that's the moment. π¦
π₯ Functions π₯
Layer.new()β Create a new Layer filter. brand new baby filter, freshly unboxed. β¨Layer:log()β Return the Log object to control logging of this instance or module. you wanna see what it's doing? this is your girl. πLayer:receive()β Return the C functions and context for receiving objects. the plumbing, the machinery, the C-coded backbone. βοΈLayer:receiver(o)β Set the receiver to pass objects to. tell it where to hand stuff off. π¬Layer:produce()β Return the C functions and context for producing objects. same energy asreceive()but make it output. βοΈLayer:producer(o)β Set the producer to get objects from. tell it where to grab stuff from. π₯
π¦ SEE ALSO π¦
go read these too, they're all part of the same little ecosystem and they're all iconic in their own way:
dnsjit.core.object.pcap(3)dnsjit.core.object.ether(3)dnsjit.core.object.null(3)dnsjit.core.object.loop(3)dnsjit.core.object.linuxsll(3)dnsjit.core.object.ieee802(3)dnsjit.core.object.gre(3)dnsjit.core.object.ip(3)dnsjit.core.object.ip6(3)dnsjit.core.object.icmp(3)dnsjit.core.object.icmp6(3)dnsjit.core.object.udp(3)dnsjit.core.object.tcp(3)dnsjit.core.object.payload(3)
π AUTHORS and CONTRIBUTORS π
the absolute 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 π
found a bug? got a feature request? don't just suffer in silence, bestie β go tell them:
https://codeberg.org/DNS-OARC/dnsjit/issues
got a question or need help? slide into the inbox:
admin@dns-oarc.net
fr fr, that's the whole page. every flag, every function, every link, all of it. nothing skipped, nothing invented. π§
and that's a wrap on dnsjit.filter.layer(3) from dnsjit 1.5.1 β Library Functions Manual, maintained by DNS-OARC. thanks for reading, 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