Go to the documentation of this file.
23 #ifndef SURICATA_UTIL_RUNMODES_H
24 #define SURICATA_UTIL_RUNMODES_H
26 typedef void *(*ConfigIfaceParserFunc) (
const char *);
27 typedef void *(*ConfigIPSParserFunc) (int);
32 const char *recv_mod_name,
33 const char *decode_mod_name,
const char *thread_name,
34 const char *live_dev);
38 const char *decode_mod_name,
const char *thread_name,
const char *live_dev);
42 const char *recv_mod_name,
43 const char *decode_mod_name,
const char *thread_name,
44 const char *live_dev);
48 const char *decode_mod_name,
const char *thread_name,
const char *live_dev);
51 const char *recv_mod_name,
52 const char *verdict_mod_name,
53 const char *decode_mod_name);
56 const char *recv_mod_name,
57 const char *verdict_mod_name,
58 const char *decode_mod_name);
int RunModeSetIPSWorker(ConfigIPSParserFunc ConfigParser, const char *recv_mod_name, const char *verdict_mod_name, const char *decode_mod_name)
int RunModeSetLiveCaptureAuto(ConfigIfaceParserFunc configparser, ConfigIfaceThreadsCountFunc ModThreadsCount, const char *recv_mod_name, const char *decode_mod_name, const char *thread_name, const char *live_dev)
int(* ConfigIfaceThreadsCountFunc)(void *)
void *(* ConfigIPSParserFunc)(int)
char * RunmodeAutoFpCreatePickupQueuesString(int n)
create a queue string for autofp to pass to the flow queue handler.
int RunModeSetIPSAutoFp(ConfigIPSParserFunc ConfigParser, const char *recv_mod_name, const char *verdict_mod_name, const char *decode_mod_name)
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 *(* ConfigIfaceParserFunc)(const char *)
int RunModeSetLiveCaptureSingle(ConfigIfaceParserFunc configparser, ConfigIfaceThreadsCountFunc ModThreadsCount, const char *recv_mod_name, const char *decode_mod_name, const char *thread_name, const char *live_dev)
int RunModeSetLiveCaptureAutoFp(ConfigIfaceParserFunc configparser, ConfigIfaceThreadsCountFunc ModThreadsCount, const char *recv_mod_name, const char *decode_mod_name, const char *thread_name, const char *live_dev)