suricata
|
Go to the source code of this file.
Functions | |
int | RunModeIdsAFPSingle (void) |
Single thread version of the AF_PACKET processing. More... | |
int | RunModeIdsAFPAutoFp (void) |
int | RunModeIdsAFPWorkers (void) |
Workers version of the AF_PACKET processing. More... | |
void | RunModeIdsAFPRegister (void) |
const char * | RunModeAFPGetDefaultMode (void) |
Definition in file runmode-af-packet.h.
const char* RunModeAFPGetDefaultMode | ( | void | ) |
Definition at line 64 of file runmode-af-packet.c.
int RunModeIdsAFPAutoFp | ( | void | ) |
Definition at line 738 of file runmode-af-packet.c.
References AFPPeersListInit(), ConfGet(), FatalError, RunModeSetLiveCaptureAutoFp(), SCEnter, SCLogDebug, TimeModeSetLive(), and TM_ECODE_OK.
void RunModeIdsAFPRegister | ( | void | ) |
Definition at line 136 of file runmode-af-packet.c.
References RUNMODE_AFP_DEV, RunModeIdsAFPSingle(), and RunModeRegisterNewRunMode().
int RunModeIdsAFPSingle | ( | void | ) |
Single thread version of the AF_PACKET processing.
Definition at line 777 of file runmode-af-packet.c.
References AFPPeersListInit(), ConfGet(), FatalError, RunModeSetLiveCaptureSingle(), SCEnter, TimeModeSetLive(), and TM_ECODE_OK.
Referenced by RunModeIdsAFPRegister().
int RunModeIdsAFPWorkers | ( | void | ) |
Workers version of the AF_PACKET processing.
Start N threads with each thread doing all the work.
Definition at line 818 of file runmode-af-packet.c.
References AFPPeersListInit(), ConfGet(), FatalError, RunModeSetLiveCaptureWorkers(), SCEnter, TimeModeSetLive(), and TM_ECODE_OK.