dnsjit.filter.copy(3)

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

✨ NAME ✨

dnsjit.filter.copy β€” makes a whole copy of an object chain, but only the object types you picked out. it's giving selective screenshot energy πŸ’… (this is the page for dnsjit.filter.copy(3), bestie 🫢)


🌸 SYNOPSIS 🌸

local copy = require("dnsjit.filter.copy").new()
local object = require("dnsjit.core.objects")
copy:obj_type(object.PAYLOAD)
copy:obj_type(object.IP6)
channel:receiver(copy)

πŸ¦‹ DESCRIPTION πŸ¦‹

okay so picture this: it's a filter, and its whole job is to create a copy of the object chain, but only with the object types you selected. that's it, that's the vibe. ✨

⚠️ important bestie, no cap: you are responsible for manually freeing the created object chain. the filter does not do it for you. free your stuff or it will haunt you πŸ’€

πŸŽ€ Functions πŸŽ€

  • Copy.new() β€” creates a brand new Copy filter. it's a whole new baby πŸ‘‘
  • Copy:log() β€” hands you the Log object so you can control logging for this instance or module. logging is self-care fr fr πŸ“
  • Copy:obj_type(obj_type) β€” sets the object type that should get copied. call it as many times as you want to grab multiple object types out of the object chain. stack 'em up, collect 'em all 🌈
  • Copy:receive() β€” returns the C functions and the context used for receiving objects. iykyk πŸ”₯
  • Copy:receiver(o) β€” sets the receiver that objects get passed along to. passing the aux cord 🎧

πŸ’œ AUTHORS and CONTRIBUTORS πŸ’œ

the iconic 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? need a feature? pls don't suffer in silence, tell the devs:

https://codeberg.org/DNS-OARC/dnsjit/issues

got questions or just need a lil help? slide into the inbox:

admin@dns-oarc.net

and that's the whole page, bestie πŸ’– this was dnsjit.filter.copy(3) from dnsjit 1.5.1 β€” go forth and copy responsibly, mwah πŸ’…βœ¨