]> git.ipfire.org Git - thirdparty/suricata.git/commit
af-packet: tpacket_v3 implementation
authorEric Leblond <eric@regit.org>
Mon, 28 Oct 2013 16:19:31 +0000 (17:19 +0100)
committerVictor Julien <victor@inliniac.net>
Fri, 20 May 2016 10:32:39 +0000 (12:32 +0200)
commitbae1b03cf5ccab79c0d8af896c7c2200688edc00
treefdbce64c5d2b68951c8bc5b2c13f233323d6ec20
parentd094039600ac832325bacb014583cca6a6eaa2f4
af-packet: tpacket_v3 implementation

This patch adds a basic implementation of AF_PACKET tpacket v3. It
is basic in the way it is only working for 'workers' runnning mode.
If not in 'workers' mode there is a fallback to tpacket_v2. Feature
is activated via tpacket-v3 option in the af-packet section of
Suricata YAML.
src/runmode-af-packet.c
src/source-af-packet.c
src/source-af-packet.h
suricata.yaml.in