suricata
SCInstance_ Struct Reference

#include <suricata.h>

Data Fields

enum RunModes run_mode
 
enum RunModes aux_run_mode
 
char pcap_dev [128]
 
char * sig_file
 
bool sig_file_exclusive
 
char * pid_filename
 
char * regex_arg
 
char * keyword_info
 
char * runmode_custom_mode
 
const char * user_name
 
const char * group_name
 
bool do_setuid
 
bool do_setgid
 
uint32_t userid
 
uint32_t groupid
 
bool system
 
bool set_logdir
 
bool set_datadir
 
bool unix_socket_enabled
 
int delayed_detect
 
int disabled_detect
 
int daemon
 
int offline
 
int verbose
 
int checksum_validation
 
struct timeval start_time
 
const char * log_dir
 
const char * progname
 
const char * conf_filename
 
const char ** additional_configs
 
char * strict_rule_parsing_string
 
const char * capture_plugin_name
 
const char * capture_plugin_args
 

Detailed Description

Definition at line 123 of file suricata.h.

Field Documentation

◆ additional_configs

const char** SCInstance_::additional_configs

Definition at line 161 of file suricata.h.

Referenced by SCLoadYamlConfig().

◆ aux_run_mode

enum RunModes SCInstance_::aux_run_mode

Definition at line 226 of file suricata.h.

◆ capture_plugin_args

const char* SCInstance_::capture_plugin_args

Definition at line 165 of file suricata.h.

Referenced by PostConfLoadedSetup(), and SCParseCommandLine().

◆ capture_plugin_name

const char* SCInstance_::capture_plugin_name

Definition at line 164 of file suricata.h.

Referenced by PostConfLoadedSetup(), and SCParseCommandLine().

◆ checksum_validation

int SCInstance_::checksum_validation

Definition at line 154 of file suricata.h.

Referenced by PostConfLoadedSetup().

◆ conf_filename

const char* SCInstance_::conf_filename

Definition at line 160 of file suricata.h.

Referenced by DetectEngineReload(), SCLoadYamlConfig(), and SCStartInternalRunMode().

◆ daemon

int SCInstance_::daemon

Definition at line 151 of file suricata.h.

◆ delayed_detect

int SCInstance_::delayed_detect

Definition at line 149 of file suricata.h.

◆ disabled_detect

int SCInstance_::disabled_detect

Definition at line 150 of file suricata.h.

Referenced by PostConfLoadedDetectSetup().

◆ do_setgid

bool SCInstance_::do_setgid

Definition at line 139 of file suricata.h.

◆ do_setuid

bool SCInstance_::do_setuid

Definition at line 138 of file suricata.h.

◆ group_name

const char* SCInstance_::group_name

Definition at line 137 of file suricata.h.

◆ groupid

uint32_t SCInstance_::groupid

Definition at line 142 of file suricata.h.

◆ keyword_info

char* SCInstance_::keyword_info

Definition at line 133 of file suricata.h.

Referenced by SCStartInternalRunMode().

◆ log_dir

const char* SCInstance_::log_dir

Definition at line 158 of file suricata.h.

◆ offline

int SCInstance_::offline

Definition at line 152 of file suricata.h.

◆ pcap_dev

char SCInstance_::pcap_dev[128]

Definition at line 127 of file suricata.h.

Referenced by SCParseCommandLine().

◆ pid_filename

char* SCInstance_::pid_filename

Definition at line 130 of file suricata.h.

Referenced by GlobalsDestroy().

◆ progname

const char* SCInstance_::progname

pointer to argv[0]

Definition at line 159 of file suricata.h.

◆ regex_arg

char* SCInstance_::regex_arg

Definition at line 131 of file suricata.h.

◆ run_mode

◆ runmode_custom_mode

char* SCInstance_::runmode_custom_mode

Definition at line 134 of file suricata.h.

Referenced by PostConfLoadedSetup().

◆ set_datadir

bool SCInstance_::set_datadir

Definition at line 146 of file suricata.h.

◆ set_logdir

bool SCInstance_::set_logdir

Definition at line 145 of file suricata.h.

◆ sig_file

char* SCInstance_::sig_file

Definition at line 128 of file suricata.h.

Referenced by SuriHasSigFile().

◆ sig_file_exclusive

bool SCInstance_::sig_file_exclusive

Definition at line 129 of file suricata.h.

◆ start_time

struct timeval SCInstance_::start_time

Definition at line 154 of file suricata.h.

Referenced by SuricataShutdown().

◆ strict_rule_parsing_string

char* SCInstance_::strict_rule_parsing_string

Definition at line 162 of file suricata.h.

◆ system

bool SCInstance_::system

Definition at line 144 of file suricata.h.

◆ unix_socket_enabled

bool SCInstance_::unix_socket_enabled

Definition at line 147 of file suricata.h.

◆ user_name

const char* SCInstance_::user_name

Definition at line 136 of file suricata.h.

◆ userid

uint32_t SCInstance_::userid

Definition at line 141 of file suricata.h.

◆ verbose

int SCInstance_::verbose

Definition at line 153 of file suricata.h.


The documentation for this struct was generated from the following file: