dnsjit.filter.layer(3)

πŸ“¦
version 1.5.1 Β· 5 versions
, in epel 10, epel 9, fedora 43, fedora 44, ubuntu resolute, ubuntu stonking

✨ 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 as receive() 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:


πŸ‘‘ 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 πŸ’–βœ¨πŸŽ€