dnsjit.filter.layer - Parse the ether/IP stack
Contents
Bugs
For issues and feature requests please use:
https://github.com/DNS-OARC/dnsjit/issues
For question and help please use:
admin@dns-oarc.net
dnsjit 1.5.0 dnsjit.filter.layer(3)
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
dnsjit.core.object.pcap.
FunctionsLayer.new()
Create a new Layer filter.
Layer:log()
Return the Log object to control logging of this instance or module.
Layer:receive()
Return the C functions and context for receiving objects.
Layer:receiver(o)
Set the receiver to pass objects to.
Layer:produce()
Return the C functions and context for producing objects.
Layer:producer(o)
Set the producer to get objects from.
Name
dnsjit.filter.layer - Parse the ether/IP stack
See Also
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)
Synopsis
local filter = require("dnsjit.filter.layer").new()
