suricata
|
Go to the source code of this file.
Functions | |
int | RunModeErfFileSingle (void) |
int | RunModeErfFileAutoFp (void) |
void | RunModeErfFileRegister (void) |
const char * | RunModeErfFileGetDefaultMode (void) |
Definition in file runmode-erf-file.h.
int RunModeErfFileAutoFp | ( | void | ) |
Definition at line 114 of file runmode-erf-file.c.
References ConfGet(), PRIO_LOW, PRIO_MEDIUM, RunmodeAutoFpCreatePickupQueuesString(), RunModeInitialize(), SC_ERR_RUNMODE, SCEnter, SCFree, SCLogDebug, SCLogError, SCLogInfo, SCReturnInt, thread_name_autofp, thread_name_workers, threading_detect_ratio, threading_set_cpu_affinity, TimeModeSetOffline(), TM_ECODE_OK, TM_QUEUE_NAME_MAX, TM_THREAD_NAME_MAX, TmModuleGetByName(), TmSlotSetFuncAppend(), TmThreadCreatePacketHandler(), TmThreadGetNbThreads(), TmThreadSetCPUAffinity(), TmThreadSetGroupName(), TmThreadSetThreadPriority(), TmThreadSpawn(), UtilCpuGetNumProcessorsOnline(), and WORKER_CPU_SET.
Referenced by RunModeErfFileRegister().
const char* RunModeErfFileGetDefaultMode | ( | void | ) |
Definition at line 36 of file runmode-erf-file.c.
Referenced by RunModeDispatch().
void RunModeErfFileRegister | ( | void | ) |
Definition at line 41 of file runmode-erf-file.c.
References RUNMODE_ERF_FILE, RunModeErfFileAutoFp(), RunModeErfFileSingle(), and RunModeRegisterNewRunMode().
Referenced by RunModeRegisterRunModes().
int RunModeErfFileSingle | ( | void | ) |
Definition at line 57 of file runmode-erf-file.c.
References ConfGet(), RunModeInitialize(), SC_ERR_RUNMODE, SCEnter, SCLogError, SCLogInfo, SCReturnInt, thread_name_single, TimeModeSetOffline(), TM_ECODE_OK, TmModuleGetByName(), TmSlotSetFuncAppend(), TmThreadCreatePacketHandler(), and TmThreadSpawn().
Referenced by RunModeErfFileRegister().