Module config

Module config 

Source
Expand description

Module for implementing extcap config (also known as arg), which are UI elements shown in Wireshark that allows the user to customize the capture.

Each interface can have custom options that are valid for this interface only. Those config options are specified on the command line when running the actual capture.

Re-exports§

pub use crate::ExtcapFormatter;
pub use crate::PrintSentence;

Structs§

BooleanConfig
A checkbox configuration with a true/false value.
ConfigOptionValue
An option for SelectorConfig and RadioConfig.
DoubleConfig
This provides a field for entering a numeric value of the given data type. A default value may be provided, as well as a range.
FileSelectConfig
Lets the user provide a file path.
IntegerConfig
This provides a field for entering a numeric value of the given data type. A default value may be provided, as well as a range.
LongConfig
This provides a field for entering a numeric value of the given data type. A default value may be provided, as well as a range.
MultiCheckConfig
A tree of hierarchical check boxes that the user can select.
MultiCheckValue
Represents a checkbox in a MultiCheckConfig. Each value is a checkbox in the UI that can be nested into a hierarchy using the children field. See the docs for MultiCheckConfig for usage details.
PasswordConfig
A field for entering text value, but with its value masked in the user interface. The value of a password field is not saved by Wireshark.
RadioConfig
A list of radio buttons for the user to choose one value from. The list of options should have exactly one item with default=true.
Reload
Defines a reload operation for SelectorConfig.
SelectorConfig
A selector config UI element that allows the user to select an option from a drop-down list. The list of options should have default=true on exactly one item.
StringConfig
A field for entering a text value.
TimestampConfig
A config that is displayed as a date/time editor.
UnsignedConfig
This provides a field for entering a numeric value of the given data type. A default value may be provided, as well as a range.

Traits§

ConfigTrait
Represents a config, also known as arg in an extcap sentence`, which is a UI element shown in Wireshark that allows the user to customize the capture.