![]() |
Wireshark 4.7.0
The Wireshark network protocol analyzer
|
#include <wtap-int.h>
Public Attributes | |
FILE_T | fh |
FILE_T | random_fh |
bool | ispipe |
int | file_type_subtype |
unsigned | snapshot_length |
GArray * | shb_hdrs |
GArray * | shb_iface_to_global |
GArray * | interface_data |
unsigned | next_interface_data |
GArray * | nrbs |
GArray * | dsbs |
GArray * | meta_events |
char * | pathname |
void * | priv |
void * | wslua_data |
subtype_read_func | subtype_read |
subtype_seek_read_func | subtype_seek_read |
void(* | subtype_sequential_close )(struct wtap *) |
void(* | subtype_close )(struct wtap *) |
int | file_encap |
int | file_tsprec |
wtap_new_ipv4_callback_t | add_new_ipv4 |
wtap_new_ipv6_callback_t | add_new_ipv6 |
wtap_new_secrets_callback_t | add_new_secrets |
GPtrArray * | fast_seek |
Struct holding data of the currently read file.
GArray* wtap::dsbs |
An array of DSBs (of type wtap_block_t), or NULL if not supported.
FILE_T wtap::fh |
Primary FILE_T for sequential reads
int wtap::file_encap |
Per-file encapsulation type, for those file formats that have per-file encapsulation types rather than per-packet encapsulation types
int wtap::file_tsprec |
Per-file timestamp precision of the fractional part of the time stamp, for those file formats that have per-file timestamp precision rather than per-packet timestamp precision e.g. WTAP_TSPREC_USEC
GArray* wtap::interface_data |
An array holding the interface data from pcapng IDB:s or equivalent(?)
bool wtap::ispipe |
true if the file is a pipe
GArray* wtap::meta_events |
An array of meta events (of type wtap_block_t), or NULL if not supported.
unsigned wtap::next_interface_data |
Next interface data that wtap_get_next_interface_description() will show
GArray* wtap::nrbs |
Holds the Name Res Blocks, or NULL
char* wtap::pathname |
File pathname; might just be "-"
void* wtap::priv |
Stores per-file state and is free'd automatically by wtap_close()
FILE_T wtap::random_fh |
Secondary FILE_T for random access
GArray* wtap::shb_iface_to_global |
An array mapping the per-section interface numbers to global IDs
subtype_read_func wtap::subtype_read |
Function called for sequential reads
subtype_seek_read_func wtap::subtype_seek_read |
Function called for random access reads
void* wtap::wslua_data |
Stores wslua state info and is not free'd