|
Wireshark 4.7.0
The Wireshark network protocol analyzer
|
Holds all runtime parameters and state for an extcap plugin, parsed from command-line arguments and used to drive capture and configuration operations. More...
#include <extcap-base.h>
Public Attributes | |
| char * | exename |
| char * | fifo |
| char * | interface |
| char * | capture_filter |
| char * | version |
| char * | compiled_with |
| char * | running_with |
| char * | helppage |
| uint8_t | capture |
| uint8_t | show_config |
| uint8_t | show_config_option |
| char * | config_option_name |
| char * | config_option_value |
| char * | ws_version |
| GList * | interfaces |
| uint8_t | do_version |
| uint8_t | do_list_dlts |
| uint8_t | do_list_interfaces |
| uint8_t | do_cleanup_postkill |
| char * | help_header |
| GList * | help_options |
| enum ws_log_level | debug |
| void(* | cleanup_postkill_cb )(void) |
Holds all runtime parameters and state for an extcap plugin, parsed from command-line arguments and used to drive capture and configuration operations.
| uint8_t _extcap_parameters::capture |
Non-zero if the extcap was invoked to perform a live capture.
| char* _extcap_parameters::capture_filter |
BPF or display filter string to apply during capture, or NULL if unfiltered.
| void(* _extcap_parameters::cleanup_postkill_cb) (void) |
Optional callback invoked after the capture process is killed, for resource cleanup; NULL if unused.
| char* _extcap_parameters::compiled_with |
Description of libraries and versions the extcap was compiled against.
| char* _extcap_parameters::config_option_name |
Name of the specific configuration option to display when show_config_option is set.
| char* _extcap_parameters::config_option_value |
Current value of the specific configuration option to display.
| enum ws_log_level _extcap_parameters::debug |
Log verbosity level controlling the detail of diagnostic messages emitted by the extcap.
| uint8_t _extcap_parameters::do_cleanup_postkill |
Non-zero if the extcap should invoke cleanup_postkill_cb after the capture process is terminated.
| uint8_t _extcap_parameters::do_list_dlts |
Non-zero if the extcap was invoked with –extcap-dlts to list supported link-layer types.
| uint8_t _extcap_parameters::do_list_interfaces |
Non-zero if the extcap was invoked with –extcap-interfaces to enumerate available interfaces.
| uint8_t _extcap_parameters::do_version |
Non-zero if the extcap was invoked with –extcap-version to report its version.
| char* _extcap_parameters::exename |
Path or name of the extcap executable.
| char* _extcap_parameters::fifo |
Path to the FIFO or pipe through which captured packets are written to Wireshark.
| char* _extcap_parameters::help_header |
Header text displayed at the top of the extcap's help output.
| GList* _extcap_parameters::help_options |
List of help text entries describing the extcap's command-line options.
| char* _extcap_parameters::helppage |
URL or path to the extcap plugin's help documentation.
| char* _extcap_parameters::interface |
Name of the extcap interface selected for this operation.
| GList* _extcap_parameters::interfaces |
List of extcap_interface entries describing the interfaces provided by this extcap.
| char* _extcap_parameters::running_with |
Description of libraries and versions the extcap is running with at runtime.
| uint8_t _extcap_parameters::show_config |
Non-zero if the extcap was invoked to display its configuration dialog.
| uint8_t _extcap_parameters::show_config_option |
Non-zero if the extcap was invoked to display a specific configuration option.
| char* _extcap_parameters::version |
Version string of the extcap plugin itself.
| char* _extcap_parameters::ws_version |
Wireshark version string passed by the Wireshark process that launched this extcap.