suricata
|
Go to the source code of this file.
Functions | |
int | RunModeIdsNetmapSingle (void) |
Single thread version of the netmap processing. More... | |
int | RunModeIdsNetmapAutoFp (void) |
int | RunModeIdsNetmapWorkers (void) |
Workers version of the netmap processing. More... | |
void | RunModeIdsNetmapRegister (void) |
const char * | RunModeNetmapGetDefaultMode (void) |
int | NetmapRunModeIsIPS (void) |
Definition in file runmode-netmap.h.
int NetmapRunModeIsIPS | ( | void | ) |
int RunModeIdsNetmapAutoFp | ( | void | ) |
Definition at line 402 of file runmode-netmap.c.
References ConfGet(), FatalError, RunModeInitialize(), RunModeSetLiveCaptureAutoFp(), SC_ERR_FATAL, SCEnter, SCLogDebug, SCReturnInt, thread_name_autofp, and TimeModeSetLive().
Referenced by RunModeIdsNetmapRegister().
void RunModeIdsNetmapRegister | ( | void | ) |
Definition at line 64 of file runmode-netmap.c.
References RUNMODE_NETMAP, RunModeIdsNetmapAutoFp(), RunModeIdsNetmapSingle(), RunModeIdsNetmapWorkers(), and RunModeRegisterNewRunMode().
int RunModeIdsNetmapSingle | ( | void | ) |
Single thread version of the netmap processing.
Definition at line 437 of file runmode-netmap.c.
References ConfGet(), FatalError, RunModeInitialize(), RunModeSetLiveCaptureSingle(), SC_ERR_FATAL, SCEnter, SCLogDebug, SCReturnInt, thread_name_single, and TimeModeSetLive().
Referenced by RunModeIdsNetmapRegister().
int RunModeIdsNetmapWorkers | ( | void | ) |
Workers version of the netmap processing.
Start N threads with each thread doing all the work.
Definition at line 472 of file runmode-netmap.c.
References ConfGet(), FatalError, RunModeInitialize(), RunModeSetLiveCaptureWorkers(), SC_ERR_FATAL, SCEnter, SCLogDebug, SCReturnInt, thread_name_workers, and TimeModeSetLive().
Referenced by RunModeIdsNetmapRegister().
const char* RunModeNetmapGetDefaultMode | ( | void | ) |
Definition at line 59 of file runmode-netmap.c.
Referenced by RunModeDispatch().