Wireshark 4.7.3
The Wireshark network protocol analyzer
Loading...
Searching...
No Matches
_ws_info_t Struct Reference

Snapshot of current Wireshark application state, passed to plugins via plugin_if_get_ws_info. More...

#include <plugin_if.h>

Public Attributes

bool ws_info_supported
file_state cf_state
char * cf_filename
uint32_t cf_count
uint32_t cf_framenr
bool frame_passed_dfilter

Detailed Description

Snapshot of current Wireshark application state, passed to plugins via plugin_if_get_ws_info.

Member Data Documentation

◆ cf_count

uint32_t _ws_info_t::cf_count

Total number of frames in the capture file.

◆ cf_filename

char* _ws_info_t::cf_filename

Path and name of the currently open capture file, or NULL if none.

◆ cf_framenr

uint32_t _ws_info_t::cf_framenr

Frame number of the currently displayed frame.

◆ cf_state

file_state _ws_info_t::cf_state

Current state of the open capture file (e.g., reading, ready, closed).

◆ frame_passed_dfilter

bool _ws_info_t::frame_passed_dfilter

True if the current frame passes the active display filter; false if hidden.

◆ ws_info_supported

bool _ws_info_t::ws_info_supported

False if no libpcap support is available; structure fields are invalid when false.


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