inliniac/suricata — pull request #290 by mkeeler (2013-02-19 17:00:01+00:00)
Title: Added host buffer allowance and stream configuration for Napatech 3GD

Added a napatech section in the yaml configuration.
* hba - host buffer allowance
* use-all-streams - whether all streams should be used
* streams - list of stream numbers to use when use-all-streams is no

The source-napatech.* files were modified to support the host buffer allowance configuration.
The runmode-napatech.c file was modified to support both the host buffer allowance configuration and stream configuration

The purpose is to all for scenarios where you may only want to process a portion of the napatech streams or where they are not sequential. The host buffer allowance allows for Suricata not to slow down other potentially faster applications.

Signed-off-by: Matt Keeler