Wireshark  4.3.0
The Wireshark network protocol analyzer
Classes | Typedefs | Enumerations | Functions
Frame Data

Classes

struct  _frame_data
 

Typedefs

typedef DIAG_OFF_PEDANTIC struct _frame_data frame_data
 

Enumerations

enum  packet_char_enc { PACKET_CHAR_ENC_CHAR_ASCII = 0 , PACKET_CHAR_ENC_CHAR_EBCDIC = 1 }
 

Functions

DIAG_ON_PEDANTIC WS_DLL_PUBLIC gint frame_data_compare (const struct epan_session *epan, const frame_data *fdata1, const frame_data *fdata2, int field)
 
WS_DLL_PUBLIC void frame_data_reset (frame_data *fdata)
 
WS_DLL_PUBLIC void frame_data_destroy (frame_data *fdata)
 
WS_DLL_PUBLIC void frame_data_init (frame_data *fdata, guint32 num, const wtap_rec *rec, gint64 offset, guint32 cum_bytes)
 
void frame_delta_abs_time (const struct epan_session *epan, const frame_data *fdata, guint32 prev_num, nstime_t *delta)
 
WS_DLL_PUBLIC void frame_data_set_before_dissect (frame_data *fdata, nstime_t *elapsed_time, const frame_data **frame_ref, const frame_data *prev_dis)
 
WS_DLL_PUBLIC void frame_data_set_after_dissect (frame_data *fdata, guint32 *cum_bytes)
 

Detailed Description

Enumeration Type Documentation

◆ packet_char_enc

Todo:
XXX - some of this stuff is used only while a packet is being dissected; should we keep that stuff in the "packet_info" structure, instead, to save memory?

Function Documentation

◆ frame_data_compare()

DIAG_ON_PEDANTIC WS_DLL_PUBLIC gint frame_data_compare ( const struct epan_session epan,
const frame_data *  fdata1,
const frame_data *  fdata2,
int  field 
)

compare two frame_datas

◆ frame_data_set_before_dissect()

WS_DLL_PUBLIC void frame_data_set_before_dissect ( frame_data *  fdata,
nstime_t elapsed_time,
const frame_data **  frame_ref,
const frame_data *  prev_dis 
)

Sets the frame data struct values before dissection.