DOKK / manpages / debian 12 / dnsjit / dnsjit.output.pcap.3.en
dnsjit.output.pcap(3) Library Functions Manual dnsjit.output.pcap(3)

dnsjit.output.pcap - Output to a PCAP using libpcap


local output = require("dnsjit.output.pcap").new()
output:open("file.pcap")
...
output:close()

Output module for writing dnsjit.core.object.pcap objects to a PCAP,

Create a new Pcap output.
Return the Log object to control logging of this instance or module.
Open the PCAP file to write to using the linktype and snaplen. Uses pcap_dump_open() so you can pass "-" to it to open stdout, see it's man-page for more information. Returns 0 on success.
Close the PCAP.
Return true if the underlying FILE* indicates that there's been an error.
Return the C functions and context for receiving objects.

dnsjit.input.pcap(3)

Jerry Lundström (DNS-OARC), Tomáš Křížek (CZ.NIC), Petr Špaček (ISC)

Maintained by DNS-OARC

https://www.dns-oarc.net/

For issues and feature requests please use:

https://github.com/DNS-OARC/dnsjit/issues

For question and help please use:

admin@dns-oarc.net
1.2.3 dnsjit