inliniac/suricata — pull request #135 by mkeeler (2012-10-10 13:54:06+00:00)
Title: Napatech 3GD Support

Napatech 3GD Support

For use with Network Cards from Napatech utilizing the 3GD driver/api.
- Implemented a new run mode in runmode-napatech-3gd.*
- Implemented capture/decode threads in source-napatech-3gd.*
- Integrated the new run mode and source into the build infrastructure.
- Added some default values to suricata.yaml.in for napatech3gd

New configure switches
--enabled-napatech-3gd : Turns on the NT 3GD support
--with-napatech-3gd-includes : The directory containing the NT 3GD header files
--with-napatech-3gd-libraries : The directory containing the NT 3GD libraries to link against.

New CLI switch
--napatech-3gd : Uses the Napatech 3GD run mode

Notes:
- napatech3gd.streams in the yaml file must equal the number of streams the Napatech 3GD driver is set to use.
(Configured in ntservice.ini by setting HostBuffersRx and using NTPL to assign the host buffers to streams)
- tested with 1 Gbps sustained traffic

Signed-off-by: Matt Keeler