Skip to Content
[CAIDA - Center for Applied Internet Data Analysis logo]
The Center for Applied Internet Data Analysis
corsaro_header Struct Reference

Structure representing a corsaro file header. More...

Data Fields

uint32_t corsaro_magic
 The global corsaro magic number. More...
 
uint32_t magic
 The header magic number. More...
 
uint8_t version_major
 The corsaro major version number. More...
 
uint8_t version_minor
 The corsaro minor version number. More...
 
uint32_t local_init_time
 The local time that corsaro was started at. More...
 
uint16_t interval_length
 The interval length (seconds) More...
 
uint16_t traceuri_len
 The length of the (optional) trace uri string. More...
 
uint8_t * traceuri
 A pointer to the traceuri string. More...
 
uint16_t plugin_cnt
 The number of plugins used. More...
 
uint32_t * plugin_magics
 A pointer to the list of plugin magic numbers used. More...
 

Detailed Description

Structure representing a corsaro file header.

Values are all in HOST byte order

Definition at line 88 of file corsaro_int.h.

Field Documentation

uint32_t corsaro_header::corsaro_magic

The global corsaro magic number.

Definition at line 91 of file corsaro_int.h.

uint16_t corsaro_header::interval_length

The interval length (seconds)

Definition at line 101 of file corsaro_int.h.

Referenced by corsaro_io_print_header().

uint32_t corsaro_header::local_init_time

The local time that corsaro was started at.

Definition at line 99 of file corsaro_int.h.

Referenced by corsaro_io_print_header().

uint32_t corsaro_header::magic

The header magic number.

Definition at line 93 of file corsaro_int.h.

uint16_t corsaro_header::plugin_cnt

The number of plugins used.

Definition at line 107 of file corsaro_int.h.

Referenced by corsaro_io_print_header().

uint32_t* corsaro_header::plugin_magics

A pointer to the list of plugin magic numbers used.

Definition at line 109 of file corsaro_int.h.

Referenced by corsaro_io_print_header().

uint8_t* corsaro_header::traceuri

A pointer to the traceuri string.

Definition at line 105 of file corsaro_int.h.

Referenced by corsaro_io_print_header().

uint16_t corsaro_header::traceuri_len

The length of the (optional) trace uri string.

Definition at line 103 of file corsaro_int.h.

uint8_t corsaro_header::version_major

The corsaro major version number.

Definition at line 95 of file corsaro_int.h.

Referenced by corsaro_io_print_header().

uint8_t corsaro_header::version_minor

The corsaro minor version number.

Definition at line 97 of file corsaro_int.h.

Referenced by corsaro_io_print_header().


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