diff options
author | Irene Ruengeler <ruengeler@wireshark.org> | 2014-06-04 11:03:59 +0200 |
---|---|---|
committer | Anders Broman <a.broman58@gmail.com> | 2014-06-12 05:54:59 +0000 |
commit | df8c4bf2644d39d66613868256d918346d56aef8 (patch) | |
tree | b0a04ebc37a508598b5e49652ebe83219fff47c2 /capture_ui_utils.h | |
parent | 428c5b9448a510da1d8bc903f59364ef830585ac (diff) |
Capture Interfaces Dialog:
- allow to change the interface options in the table
- save the options to preferences when the dialog is left
- add a field for setting a capture filter for all selected interfaces
- add a "Compile BPF" button and a window to show the compiled filter output
- try to address Alexis' and Evan's comments
Change-Id: Ic1272e29183ec80e2d2f4b3e494c79dabe2c3b6f
Reviewed-on: https://code.wireshark.org/review/1946
Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
Tested-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'capture_ui_utils.h')
-rw-r--r-- | capture_ui_utils.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/capture_ui_utils.h b/capture_ui_utils.h index a09db8d7ea..fd2a4e4b1e 100644 --- a/capture_ui_utils.h +++ b/capture_ui_utils.h @@ -66,6 +66,12 @@ gboolean capture_dev_user_hassnap_find(const gchar *if_name); */ gboolean capture_dev_user_pmode_find(const gchar *if_name); +/** + * Find user-specified capture filter that matches interface + * name, if any. + */ +gchar* capture_dev_user_cfilter_find(const gchar *if_name); + /** Return as descriptive a name for an interface as we can get. * If the user has specified a comment, use that. Otherwise, * if capture_interface_list() supplies a description, use that, |