suricata
|
#include "suricata-common.h"
#include "tm-threads.h"
#include "conf.h"
#include "runmodes.h"
#include "runmode-erf-file.h"
#include "output.h"
#include "detect-engine.h"
#include "util-debug.h"
#include "util-time.h"
#include "util-cpu.h"
#include "util-affinity.h"
#include "util-runmodes.h"
Go to the source code of this file.
Functions | |
const char * | RunModeErfFileGetDefaultMode (void) |
void | RunModeErfFileRegister (void) |
int | RunModeErfFileSingle (void) |
int | RunModeErfFileAutoFp (void) |
int RunModeErfFileAutoFp | ( | void | ) |
Definition at line 103 of file runmode-erf-file.c.
References ConfGet(), FatalError, PRIO_LOW, PRIO_MEDIUM, RunmodeAutoFpCreatePickupQueuesString(), SCEnter, SCFree, SCLogDebug, 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(), tv, UtilCpuGetNumProcessorsOnline(), and WORKER_CPU_SET.
Referenced by RunModeErfFileRegister().
const char* RunModeErfFileGetDefaultMode | ( | void | ) |
Definition at line 34 of file runmode-erf-file.c.
void RunModeErfFileRegister | ( | void | ) |
Definition at line 39 of file runmode-erf-file.c.
References RUNMODE_ERF_FILE, RunModeErfFileAutoFp(), RunModeErfFileSingle(), and RunModeRegisterNewRunMode().
int RunModeErfFileSingle | ( | void | ) |
Definition at line 50 of file runmode-erf-file.c.
References ConfGet(), FatalError, SCEnter, SCLogInfo, SCReturnInt, thread_name_single, TimeModeSetOffline(), TM_ECODE_OK, TmModuleGetByName(), TmSlotSetFuncAppend(), TmThreadCreatePacketHandler(), TmThreadSpawn(), and tv.
Referenced by RunModeErfFileRegister().