]> git.ipfire.org Git - people/ms/suricata.git/commit
af-packet: multi interface support
authorEric Leblond <eric@regit.org>
Thu, 1 Sep 2011 21:43:22 +0000 (23:43 +0200)
committerVictor Julien <victor@inliniac.net>
Thu, 8 Sep 2011 09:14:21 +0000 (11:14 +0200)
commitfbca1a4e6b7e8a9de9260553a0b777acffc179e9
treee4fc0f8bd7e45d928c9e085bae9d952aa635720a
parent18c6503a0821993450399ab61b1e7620cd22b002
af-packet: multi interface support

This patch adds multi interface support to AF_PACKET. A structure
is used at thread creation to give all needed information to the
input module. Parsing of the options is done in runmode preparation
through a dedicated function which return the configuration in a
structure usable by thread creation.
src/conf.c
src/runmode-af-packet.c
src/source-af-packet.c
src/source-af-packet.h
src/suricata.c