|
suricata
|
#include "suricata-common.h"#include "runmode-pcap.h"#include "runmodes.h"#include "output.h"#include "util-conf.h"#include "util-debug.h"#include "util-time.h"#include "util-cpu.h"#include "util-device-private.h"#include "util-runmodes.h"#include "util-misc.h"#include "util-byte.h"
Go to the source code of this file.
Functions | |
| const char * | RunModeIdsGetDefaultMode (void) |
| int | RunModeIdsPcapWorkers (void) |
| Workers version of the PCAP LIVE processing. More... | |
| void | RunModeIdsPcapRegister (void) |
| int | RunModeIdsPcapSingle (void) |
| Single thread version of the Pcap live processing. More... | |
| int | RunModeIdsPcapAutoFp (void) |
| RunModIdsPcapAutoFp set up the following thread packet handlers: More... | |
| const char* RunModeIdsGetDefaultMode | ( | void | ) |
Definition at line 32 of file runmode-pcap.c.
| int RunModeIdsPcapAutoFp | ( | void | ) |
RunModIdsPcapAutoFp set up the following thread packet handlers:
| 0 | If all goes well. (If any problem is detected the engine will exit()). |
Definition at line 268 of file runmode-pcap.c.
References RunModeSetLiveCaptureAutoFp(), SCConfGet(), SCEnter, and TimeModeSetLive().
Referenced by RunModeIdsPcapRegister().


| void RunModeIdsPcapRegister | ( | void | ) |
Definition at line 39 of file runmode-pcap.c.
References RUNMODE_PCAP_DEV, RunModeIdsPcapAutoFp(), RunModeIdsPcapSingle(), RunModeIdsPcapWorkers(), and RunModeRegisterNewRunMode().

| int RunModeIdsPcapSingle | ( | void | ) |
Single thread version of the Pcap live processing.
Definition at line 228 of file runmode-pcap.c.
References RunModeSetLiveCaptureSingle(), SCConfGet(), SCEnter, and TimeModeSetLive().
Referenced by RunModeIdsPcapRegister().


| int RunModeIdsPcapWorkers | ( | void | ) |
Workers version of the PCAP LIVE processing.
Start N threads with each thread doing all the work.
Definition at line 295 of file runmode-pcap.c.
References RunModeSetLiveCaptureWorkers(), SCConfGet(), SCEnter, and TimeModeSetLive().
Referenced by RunModeIdsPcapRegister().

