Go to the documentation of this file.
33 static int DagConfigGetThreadCount(
void *conf)
38 static void *ParseDagConfig(
const char *iface)
51 "Multi threaded DAG mode. Packets from "
52 "each flow are assigned to a single detect "
53 "thread, unlike \"dag_auto\" where packets "
54 "from the same flow can be processed by any "
59 "Singled threaded DAG mode",
63 "Workers DAG mode, each thread does all "
64 " tasks from acquisition to logging",
81 DagConfigGetThreadCount,
90 SCLogInfo(
"RunModeIdsDagSingle initialised");
106 DagConfigGetThreadCount,
115 SCLogInfo(
"RunModeIdsDagAutoFp initialised");
131 DagConfigGetThreadCount,
140 SCLogInfo(
"RunModeIdsErfDagWorkers initialised");
const char * thread_name_workers
int RunModeSetLiveCaptureWorkers(ConfigIfaceParserFunc ConfigParser, ConfigIfaceThreadsCountFunc ModThreadsCount, const char *recv_mod_name, const char *decode_mod_name, const char *thread_name, const char *live_dev)
void RunModeInitialize(void)
int RunModeIdsErfDagSingle(void)
const char * thread_name_autofp
const char * thread_name_single
int RunModeSetLiveCaptureAutoFp(ConfigIfaceParserFunc ConfigParser, ConfigIfaceThreadsCountFunc ModThreadsCount, const char *recv_mod_name, const char *decode_mod_name, const char *thread_name, const char *live_dev)
int RunModeIdsErfDagWorkers(void)
const char * RunModeErfDagGetDefaultMode(void)
void RunModeErfDagRegister(void)
#define SCLogInfo(...)
Macro used to log INFORMATIONAL messages.
void TimeModeSetLive(void)
void RunModeRegisterNewRunMode(enum RunModes runmode, const char *name, const char *description, int(*RunModeFunc)(void))
Registers a new runmode.
int RunModeIdsErfDagAutoFp(void)
#define FatalError(x,...)
int RunModeSetLiveCaptureSingle(ConfigIfaceParserFunc ConfigParser, ConfigIfaceThreadsCountFunc ModThreadsCount, const char *recv_mod_name, const char *decode_mod_name, const char *thread_name, const char *live_dev)