Corsaro output state. More...

Data Fields | |
| struct timeval | init_time |
| The local wall time that corsaro was started at. | |
| char * | uridata |
| The uri that was used to open the trace file. | |
| char * | monitorname |
| The name of the monitor that corsaro is running on. | |
| char * | template |
| The template used to create corsaro output files. | |
| corsaro_file_mode_t | output_mode |
| The default output mode for new files. | |
| corsaro_file_compress_t | compress |
| The compression type (based on the file name) | |
| int | compress_level |
| The compression level (ignored if not compressing) | |
| corsaro_file_t * | global_file |
| The corsaro output file to write global output to. | |
| corsaro_file_t * | logfile |
| The file to write log output to. | |
| corsaro_packet_t * | packet |
| A pointer to the wrapper packet passed to the plugins. | |
| corsaro_plugin_manager_t * | plugin_manager |
| A pointer to the corsaro plugin manager state. | |
| int | interval |
| The number of seconds after which plugins will be asked to dump data. | |
| corsaro_interval_t | interval_start |
| State for the current interval. | |
| uint32_t | next_report |
| The time that this interval will be dumped at. | |
| struct timeval | first_ts |
| The time of the the first packet seen by corsaro. | |
| struct timeval | last_ts |
| The time of the most recent packet seen by corsaro. | |
| uint64_t | packet_cnt |
| The total number of packets that have been processed. | |
| int | started |
| Has this corsaro object been started yet? | |
Corsaro output state.
Definition at line 214 of file corsaro_int.h.
| corsaro_file_compress_t corsaro::compress |
The compression type (based on the file name)
Definition at line 232 of file corsaro_int.h.
Referenced by corsaro_io_prepare_file().
| int corsaro::compress_level |
The compression level (ignored if not compressing)
Definition at line 235 of file corsaro_int.h.
Referenced by corsaro_io_prepare_file().
| struct timeval corsaro::first_ts |
The time of the the first packet seen by corsaro.
Definition at line 260 of file corsaro_int.h.
Referenced by corsaro_per_packet().
| corsaro_file_t* corsaro::global_file |
The corsaro output file to write global output to.
Definition at line 238 of file corsaro_int.h.
Referenced by corsaro_finalize_output(), and corsaro_start_output().
| struct timeval corsaro::init_time |
The local wall time that corsaro was started at.
Definition at line 217 of file corsaro_int.h.
| int corsaro::interval |
The number of seconds after which plugins will be asked to dump data.
Definition at line 251 of file corsaro_int.h.
Referenced by corsaro_per_packet(), and corsaro_set_interval().
| corsaro_interval_t corsaro::interval_start |
State for the current interval.
Definition at line 254 of file corsaro_int.h.
Referenced by corsaro_per_packet().
| struct timeval corsaro::last_ts |
The time of the most recent packet seen by corsaro.
Definition at line 263 of file corsaro_int.h.
Referenced by corsaro_finalize_output(), and corsaro_per_packet().
| corsaro_file_t* corsaro::logfile |
The file to write log output to.
Definition at line 241 of file corsaro_int.h.
Referenced by corsaro_log_close(), corsaro_log_init(), and corsaro_log_va().
| char* corsaro::monitorname |
The name of the monitor that corsaro is running on.
Definition at line 223 of file corsaro_int.h.
Referenced by corsaro_get_monitorname(), and corsaro_set_monitorname().
| uint32_t corsaro::next_report |
The time that this interval will be dumped at.
Definition at line 257 of file corsaro_int.h.
Referenced by corsaro_per_packet().
| corsaro_file_mode_t corsaro::output_mode |
The default output mode for new files.
Definition at line 229 of file corsaro_int.h.
Referenced by corsaro_io_prepare_file().
| corsaro_packet_t* corsaro::packet |
A pointer to the wrapper packet passed to the plugins.
Definition at line 244 of file corsaro_int.h.
Referenced by corsaro_per_packet().
| uint64_t corsaro::packet_cnt |
The total number of packets that have been processed.
Definition at line 266 of file corsaro_int.h.
Referenced by corsaro_per_packet().
| corsaro_plugin_manager_t* corsaro::plugin_manager |
A pointer to the corsaro plugin manager state.
Definition at line 248 of file corsaro_int.h.
Referenced by corsaro_dos_init_output(), corsaro_enable_plugin(), corsaro_flowtuple_init_output(), corsaro_io_write_record(), and corsaro_start_output().
| int corsaro::started |
Has this corsaro object been started yet?
Definition at line 269 of file corsaro_int.h.
Referenced by corsaro_enable_plugin(), corsaro_finalize_output(), corsaro_per_packet(), corsaro_set_interval(), corsaro_set_monitorname(), corsaro_set_traceuri(), and corsaro_start_output().
| char* corsaro::template |
The template used to create corsaro output files.
Definition at line 226 of file corsaro_int.h.
| char* corsaro::uridata |
The uri that was used to open the trace file.
Definition at line 220 of file corsaro_int.h.
Referenced by corsaro_get_traceuri(), and corsaro_set_traceuri().