Wireshark 4.5.0
The Wireshark network protocol analyzer
Loading...
Searching...
No Matches
Public Attributes | List of all members
wtap Struct Reference

#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
 

Detailed Description

Struct holding data of the currently read file.

Member Data Documentation

◆ dsbs

GArray* wtap::dsbs

An array of DSBs (of type wtap_block_t), or NULL if not supported.

◆ interface_data

GArray* wtap::interface_data

An array holding the interface data from pcapng IDB:s or equivalent(?)

◆ ispipe

bool wtap::ispipe

true if the file is a pipe

◆ meta_events

GArray* wtap::meta_events

An array of meta events (of type wtap_block_t), or NULL if not supported.

◆ next_interface_data

unsigned wtap::next_interface_data

Next interface data that wtap_get_next_interface_description() will show

◆ nrbs

GArray* wtap::nrbs

holds the Name Res Blocks, or NULL

◆ pathname

char* wtap::pathname

File pathname; might just be "-"

◆ random_fh

FILE_T wtap::random_fh

Secondary FILE_T for random access

◆ shb_iface_to_global

GArray* wtap::shb_iface_to_global

An array mapping the per-section interface numbers to global IDs


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