|
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 782 of file runmode-af-packet.c.
References AFPPeersListInit(), FatalError, RunModeSetLiveCaptureAutoFp(), SCConfGet(), SCEnter, SCLogDebug, TimeModeSetLive(), and TM_ECODE_OK.

| void RunModeIdsAFPRegister | ( | void | ) |
Definition at line 133 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 821 of file runmode-af-packet.c.
References AFPPeersListInit(), FatalError, RunModeSetLiveCaptureSingle(), SCConfGet(), 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 862 of file runmode-af-packet.c.
References AFPPeersListInit(), FatalError, RunModeSetLiveCaptureWorkers(), SCConfGet(), SCEnter, TimeModeSetLive(), and TM_ECODE_OK.
