Go to the documentation of this file.
23 #ifndef SURICATA_RUNMODES_H
24 #define SURICATA_RUNMODES_H
57 RUNMODE_INSTALL_SERVICE,
58 RUNMODE_REMOVE_SERVICE,
59 RUNMODE_CHANGE_SERVICE_PARAMS,
83 int RunModeEngineIsIPS(
int capture_mode,
const char *runmode,
const char *capture_plugin_name);
84 void RunModeDispatch(
int,
const char *,
const char *capture_plugin_name,
const char *capture_plugin_args);
87 int (*RunModeIsIPSEnabled)(
void));
@ RUNMODE_LIST_APP_LAYERS
void RunModeListRunmodes(void)
Lists all registered runmodes.
enum SCRunModes SCRunMode
@ RUNMODE_ENGINE_ANALYSIS
uint64_t threading_set_stack_size
void RunModeEnablesBypassManager(void)
int RunModeNeedsBypassManager(void)
bool IsRunModeSystem(SCRunMode run_mode_to_check)
const char * thread_name_unix_socket
const char * RunModeGetMainMode(void)
int RunModeOutputFiledataEnabled(void)
bool IsRunModeOffline(SCRunMode run_mode_to_check)
float threading_detect_ratio
void RunModeShutDown(void)
const char * thread_name_workers
const char * thread_name_flow_rec
const char * thread_name_counter_wakeup
const char * thread_name_autofp
bool threading_set_cpu_affinity
char * RunmodeGetActive(void)
void RunModeRegisterNewRunMode(SCRunMode, const char *, const char *, int(*RunModeFunc)(void), int(*RunModeIsIPSEnabled)(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)
const char * thread_name_flow_mgr
void RunModeInitializeThreadSettings(void)
const char * thread_name_flow_bypass
const char * thread_name_single
const char * thread_name_heartbeat
const char * thread_name_detect_loader
@ RUNMODE_PRINT_BUILDINFO
const char * thread_name_counter_stats
void RunModeRegisterRunModes(void)
Register all runmodes in the engine.