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

An opaque structure defining an corsaro output file. More...

Data Fields

corsaro_file_mode_t mode
 The requested output format for the file. More...
 
union {
   struct {
      iow_t *   io
 The wandio output file handle. More...
 
   }   ms_wandio
 ASCII & Binary mode state. More...
 
   struct {
      libtrace_out_t *   trace
 The libtrace object used to create the trace. More...
 
   }   ms_trace
 Trace mode state. More...
 
mode_state
 Per-framework state for the file. More...
 

Detailed Description

An opaque structure defining an corsaro output file.

Definition at line 60 of file corsaro_file.h.

Field Documentation

iow_t* corsaro_file::io

The wandio output file handle.

Definition at line 72 of file corsaro_file.h.

corsaro_file_mode_t corsaro_file::mode

The requested output format for the file.

Definition at line 63 of file corsaro_file.h.

Referenced by corsaro_file_close(), corsaro_file_open(), corsaro_file_vprintf(), corsaro_file_write(), and corsaro_file_write_packet().

union { ... } corsaro_file::mode_state

Per-framework state for the file.

struct { ... } corsaro_file::ms_trace

Trace mode state.

struct { ... } corsaro_file::ms_wandio

ASCII & Binary mode state.

libtrace_out_t* corsaro_file::trace

The libtrace object used to create the trace.

Definition at line 79 of file corsaro_file.h.


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