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§
- Boolean
Config - A checkbox configuration with a true/false value.
- Config
Option Value - An option for
SelectorConfig
andRadioConfig
. - Double
Config - 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.
- File
Select Config - Lets the user provide a file path.
- Integer
Config - 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.
- Long
Config - 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.
- Multi
Check Config - A tree of hierarchical check boxes that the user can select.
- Multi
Check Value - Represents a checkbox in a
MultiCheckConfig
. Each value is a checkbox in the UI that can be nested into a hierarchy using thechildren
field. See the docs forMultiCheckConfig
for usage details. - Password
Config - 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.
- Radio
Config - 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
. - Selector
Config - 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.
- String
Config - A field for entering a text value.
- Timestamp
Config - A config that is displayed as a date/time editor.
- Unsigned
Config - 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§
- Config
Trait - 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.