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

#include <capture_opts.h>

Public Attributes

GList *(* get_iface_list )(int *, char **)
 
GArray * ifaces
 
GArray * all_ifaces
 
int ifaces_err
 
char * ifaces_err_info
 
unsigned num_selected
 
interface_options default_options
 
bool saving_to_file
 
char * save_file
 
bool group_read_access
 
bool use_pcapng
 
unsigned update_interval
 
bool real_time_mode
 
bool show_info
 
bool restart
 
char * orig_save_file
 
bool multi_files_on
 
bool has_file_duration
 
double file_duration
 
bool has_file_interval
 
int32_t file_interval
 
bool has_file_packets
 
int file_packets
 
bool has_ring_num_files
 
uint32_t ring_num_files
 
bool has_nametimenum
 
bool has_autostop_files
 
int autostop_files
 
bool has_autostop_packets
 
int autostop_packets
 
bool has_autostop_written_packets
 
int autostop_written_packets
 
bool has_autostop_filesize
 
uint32_t autostop_filesize
 
bool has_autostop_duration
 
double autostop_duration
 
bool print_file_names
 
char * print_name_to
 
char * temp_dir
 
bool output_to_pipe
 
bool capture_child
 
bool stop_after_extcaps
 
bool wait_for_extcap_cbs
 
char * compress_type
 
char * closed_msg
 
unsigned extcap_terminate_id
 
filter_list_tcapture_filters_list
 

Detailed Description

Capture options coming from user interface

Member Data Documentation

◆ all_ifaces

GArray* capture_options_tag::all_ifaces

all interfaces, entries are of type interface_t

◆ autostop_duration

double capture_options_tag::autostop_duration

Maximum capture duration

◆ autostop_files

int capture_options_tag::autostop_files

Maximum number of capture files

◆ autostop_filesize

uint32_t capture_options_tag::autostop_filesize

Maximum capture file size in kB

◆ autostop_packets

int capture_options_tag::autostop_packets

Maximum packet count

◆ autostop_written_packets

int capture_options_tag::autostop_written_packets

Maximum packet count

◆ capture_child

bool capture_options_tag::capture_child

hidden option: Wireshark child mode

◆ capture_filters_list

filter_list_t* capture_options_tag::capture_filters_list

list of saved capture filters

◆ closed_msg

char* capture_options_tag::closed_msg

Dumpcap capture closed message

◆ compress_type

char* capture_options_tag::compress_type

compress type

◆ extcap_terminate_id

unsigned capture_options_tag::extcap_terminate_id

extcap process termination source ID

◆ file_duration

double capture_options_tag::file_duration

Switch file after n seconds

◆ file_interval

int32_t capture_options_tag::file_interval

Create time intervals of n seconds

◆ file_packets

int capture_options_tag::file_packets

Switch file after n packets

◆ get_iface_list

GList *(* capture_options_tag::get_iface_list) (int *, char **)

routine to call to get the interface list

◆ group_read_access

bool capture_options_tag::group_read_access

true is group read permission needs to be set

◆ has_autostop_duration

bool capture_options_tag::has_autostop_duration

true if maximum capture duration is specified

◆ has_autostop_files

bool capture_options_tag::has_autostop_files

true if maximum number of capture files are specified

◆ has_autostop_filesize

bool capture_options_tag::has_autostop_filesize

true if maximum capture file size is specified

◆ has_autostop_packets

bool capture_options_tag::has_autostop_packets

true if maximum packet count is specified

◆ has_autostop_written_packets

bool capture_options_tag::has_autostop_written_packets

true if maximum packet count is specified

◆ has_file_duration

bool capture_options_tag::has_file_duration

true if ring duration specified

◆ has_file_interval

bool capture_options_tag::has_file_interval

true if ring interval specified

◆ has_file_packets

bool capture_options_tag::has_file_packets

true if ring packet count is specified

◆ has_nametimenum

bool capture_options_tag::has_nametimenum

true if file name has date part before num part

◆ has_ring_num_files

bool capture_options_tag::has_ring_num_files

true if ring num_files specified

◆ ifaces

GArray* capture_options_tag::ifaces

the interfaces to use for the next capture, entries are of type interface_options

◆ ifaces_err

int capture_options_tag::ifaces_err

if all_ifaces is null, the error when it was fetched, if any

◆ ifaces_err_info

char* capture_options_tag::ifaces_err_info

error string for that error

◆ multi_files_on

bool capture_options_tag::multi_files_on

true if ring buffer in use

◆ orig_save_file

char* capture_options_tag::orig_save_file

the original capture file name (saved for a restart)

◆ output_to_pipe

bool capture_options_tag::output_to_pipe

save_file is a pipe (named or stdout)

◆ print_file_names

bool capture_options_tag::print_file_names

true if printing names of completed files as we close them

◆ print_name_to

char* capture_options_tag::print_name_to

output file name

◆ real_time_mode

bool capture_options_tag::real_time_mode

Update list of packets in real time

◆ restart

bool capture_options_tag::restart

restart after closing is done

◆ ring_num_files

uint32_t capture_options_tag::ring_num_files

Number of multiple buffer files

◆ save_file

char* capture_options_tag::save_file

the capture file name

◆ saving_to_file

bool capture_options_tag::saving_to_file

true if capture is writing to a file

◆ show_info

bool capture_options_tag::show_info

show the info dialog.

◆ stop_after_extcaps

bool capture_options_tag::stop_after_extcaps

request dumpcap stop after last extcap

◆ temp_dir

char* capture_options_tag::temp_dir

temporary directory path

◆ update_interval

unsigned capture_options_tag::update_interval

Time in milliseconds. How often to notify parent of new packet counts, check file duration, etc.

◆ use_pcapng

bool capture_options_tag::use_pcapng

true if file format is pcapng

◆ wait_for_extcap_cbs

bool capture_options_tag::wait_for_extcap_cbs

extcaps terminated, waiting for callbacks


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