A libtrace input trace. More...

Data Fields | |
| struct libtrace_format_t * | format |
| The capture format for the input trace. | |
| struct libtrace_event_status_t | event |
| Details of the most recent PACKET event reported by the trace. | |
| void * | format_data |
| Pointer to the "global" data for the capture format module. | |
| struct libtrace_filter_t * | filter |
| A BPF filter to be applied to all packets read by the trace - used only if the capture format does not support filters natively. | |
| size_t | snaplen |
| The snap length to be applied to all packets read by the trace - used only if the capture format does not support snapping natively. | |
| uint64_t | accepted_packets |
| Count of the number of packets returned to the libtrace user. | |
| uint64_t | filtered_packets |
| Count of the number of packets filtered by libtrace. | |
| char * | uridata |
| The filename from the uri for the trace. | |
| io_t * | io |
| The libtrace IO reader for this trace (if applicable). | |
| libtrace_err_t | err |
| Error information for the trace. | |
| bool | started |
| Boolean flag indicating whether the trace has been started. | |
A libtrace input trace.
| uint64_t libtrace_t::accepted_packets |
Count of the number of packets returned to the libtrace user.
Referenced by trace_create(), trace_event(), trace_get_accepted_packets(), and trace_read_packet().
Error information for the trace.
Referenced by trace_create(), trace_create_dead(), trace_get_err(), and trace_is_err().
Details of the most recent PACKET event reported by the trace.
Referenced by trace_create(), trace_create_dead(), and trace_destroy().
| struct libtrace_filter_t* libtrace_t::filter |
A BPF filter to be applied to all packets read by the trace - used only if the capture format does not support filters natively.
Referenced by trace_config(), trace_create(), trace_create_dead(), and trace_read_packet().
| uint64_t libtrace_t::filtered_packets |
Count of the number of packets filtered by libtrace.
Referenced by trace_create(), trace_create_dead(), trace_get_filtered_packets(), and trace_read_packet().
| struct libtrace_format_t* libtrace_t::format |
The capture format for the input trace.
Referenced by promote_packet(), trace_config(), trace_create(), trace_create_dead(), trace_destroy(), trace_event(), trace_get_capture_length(), trace_get_direction(), trace_get_dropped_packets(), trace_get_erf_timestamp(), trace_get_filtered_packets(), trace_get_format(), trace_get_framing_length(), trace_get_link_type(), trace_get_received_packets(), trace_get_seconds(), trace_get_wire_length(), trace_pause(), trace_prepare_packet(), trace_read_packet(), trace_seek_erf_timestamp(), trace_seek_seconds(), trace_seek_timeval(), trace_set_capture_length(), trace_set_direction(), and trace_start().
| void* libtrace_t::format_data |
Pointer to the "global" data for the capture format module.
Referenced by trace_create_dead(), and trace_destroy_dead().
The libtrace IO reader for this trace (if applicable).
Referenced by trace_create(), and trace_create_dead().
| size_t libtrace_t::snaplen |
The snap length to be applied to all packets read by the trace - used only if the capture format does not support snapping natively.
Referenced by trace_config(), trace_create(), trace_create_dead(), and trace_read_packet().
| bool libtrace_t::started |
Boolean flag indicating whether the trace has been started.
Referenced by trace_create(), trace_create_dead(), trace_destroy(), trace_pause(), trace_read_packet(), and trace_start().
| char* libtrace_t::uridata |
The filename from the uri for the trace.
Referenced by trace_create(), trace_create_dead(), trace_destroy(), and trace_open_file().
1.7.1