Go to the documentation of this file.
23 #ifndef SURICATA_RUNMODES_H
24 #define SURICATA_RUNMODES_H
56 RUNMODE_INSTALL_SERVICE,
57 RUNMODE_REMOVE_SERVICE,
58 RUNMODE_CHANGE_SERVICE_PARAMS,
81 int RunModeEngineIsIPS(
int capture_mode,
const char *runmode,
const char *capture_plugin_name);
82 void RunModeDispatch(
int,
const char *,
const char *capture_plugin_name,
const char *capture_plugin_args);
85 int (*RunModeIsIPSEnabled)(
void));
void RunModeListRunmodes(void)
Lists all registered runmodes.
uint64_t threading_set_stack_size
void RunModeEnablesBypassManager(void)
bool IsRunModeOffline(enum RunModes run_mode_to_check)
int RunModeNeedsBypassManager(void)
@ RUNMODE_PRINT_BUILDINFO
void RunModeRegisterNewRunMode(enum RunModes, const char *, const char *, int(*RunModeFunc)(void), int(*RunModeIsIPSEnabled)(void))
Registers a new runmode.
const char * thread_name_unix_socket
const char * RunModeGetMainMode(void)
int RunModeOutputFiledataEnabled(void)
float threading_detect_ratio
void RunModeShutDown(void)
const char * thread_name_workers
const char * thread_name_flow_rec
@ RUNMODE_LIST_APP_LAYERS
const char * thread_name_counter_wakeup
const char * thread_name_autofp
bool threading_set_cpu_affinity
char * RunmodeGetActive(void)
void RunModeInitializeOutputs(void)
void RunModeDispatch(int, const char *, const char *capture_plugin_name, const char *capture_plugin_args)
const char * thread_name_verdict
int RunModeEngineIsIPS(int capture_mode, const char *runmode, const char *capture_plugin_name)
bool IsRunModeSystem(enum RunModes run_mode_to_check)
const char * thread_name_flow_mgr
@ RUNMODE_ENGINE_ANALYSIS
void RunModeInitializeThreadSettings(void)
const char * thread_name_flow_bypass
const char * thread_name_single
const char * thread_name_detect_loader
const char * thread_name_counter_stats
void RunModeRegisterRunModes(void)
Register all runmodes in the engine.