.\" Copyright (c) 2018-2023, OARC, Inc. .\" All rights reserved. .\" .\" This file is part of dnsjit. .\" .\" dnsjit is free software: you can redistribute it and/or modify .\" it under the terms of the GNU General Public License as published by .\" the Free Software Foundation, either version 3 of the License, or .\" (at your option) any later version. .\" .\" dnsjit is distributed in the hope that it will be useful, .\" but WITHOUT ANY WARRANTY; without even the implied warranty of .\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the .\" GNU General Public License for more details. .\" .\" You should have received a copy of the GNU General Public License .\" along with dnsjit. If not, see . .\" .TH dnsjit.filter.layer 3 "1.3.0" "dnsjit" .SH NAME dnsjit.filter.layer \- Parse the ether/IP stack .SH SYNOPSIS local filter = require("dnsjit.filter.layer").new() .SH DESCRIPTION Parse the ether/IP stack of the received objects and send the top most object to the receivers. Objects are chained which each layer in the stack with the top most first. Currently supports input .IR dnsjit.core.object.pcap . .SS Functions .TP .BR Layer.new "()" Create a new Layer filter. .TP .BR Layer:log "()" Return the Log object to control logging of this instance or module. .TP .BR Layer:receive "()" Return the C functions and context for receiving objects. .TP .BR Layer:receiver "(o)" Set the receiver to pass objects to. .TP .BR Layer:produce "()" Return the C functions and context for producing objects. .TP .BR Layer:producer "(o)" Set the producer to get objects from. .SH SEE ALSO .BR dnsjit.core.object.pcap (3), .BR dnsjit.core.object.ether (3), .BR dnsjit.core.object.null (3), .BR dnsjit.core.object.loop (3), .BR dnsjit.core.object.linuxsll (3), .BR dnsjit.core.object.ieee802 (3), .BR dnsjit.core.object.gre (3), .BR dnsjit.core.object.ip (3), .BR dnsjit.core.object.ip6 (3), .BR dnsjit.core.object.icmp (3), .BR dnsjit.core.object.icmp6 (3), .BR dnsjit.core.object.udp (3), .BR dnsjit.core.object.tcp (3), .BR dnsjit.core.object.payload (3) .SH AUTHORS and CONTRIBUTORS Jerry Lundström (DNS-OARC), Tomáš Křížek (CZ.NIC), Petr Špaček (ISC) .LP Maintained by DNS-OARC .LP .RS .I https://www.dns-oarc.net/ .RE .LP .SH BUGS For issues and feature requests please use: .LP .RS \fIhttps://github.com/DNS-OARC/dnsjit/issues\fP .RE .LP For question and help please use: .LP .RS \fIadmin@dns-oarc.net\fP .RE .LP