aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorMike78 <michael.oed@gmail.com>2014-12-20 23:13:05 +0100
committerMichael Mann <mmann78@netscape.net>2016-01-27 13:40:24 +0000
commitef752689da5cb948a6f40052342f597ee90bd0b6 (patch)
treecf22a118317bfba6bd2f3e12d12071b94ce306cb /doc
parent522510060985eb9a59b22383636157a4cd199f89 (diff)
Allow/Create an option to use "capture filter" labels defined in wireshark GUI from CLI
Move ui/filters.[ch] to filter_files.[ch] because dumpcap is using functionality. Bug: 8091 Change-Id: I195c82fc023f97d6f331b8718c45a2d83d30faea Reviewed-on: https://code.wireshark.org/review/5925 Petri-Dish: Michael Mann <mmann78@netscape.net> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Michael Mann <mmann78@netscape.net>
Diffstat (limited to 'doc')
-rw-r--r--doc/dumpcap.pod4
-rw-r--r--doc/tshark.pod4
-rw-r--r--doc/wireshark.pod.template4
3 files changed, 12 insertions, 0 deletions
diff --git a/doc/dumpcap.pod b/doc/dumpcap.pod
index 8ed270f901..b643970fba 100644
--- a/doc/dumpcap.pod
+++ b/doc/dumpcap.pod
@@ -185,6 +185,10 @@ the interface specified by the last B<-i> option occurring before
this option. If the capture filter expression is not set specifically,
the default capture filter expression is used if provided.
+Pre-defined capture filter names, as shown in the GUI menu item Capture->Capture Filters,
+can be used by prefixing the argument with "predef:".
+Example: B<-f "predef:MyPredefinedHostOnlyFilter">
+
=item -g
This option causes the output file(s) to be created with group-read permission
diff --git a/doc/tshark.pod b/doc/tshark.pod
index 092df16f98..0ba3743461 100644
--- a/doc/tshark.pod
+++ b/doc/tshark.pod
@@ -342,6 +342,10 @@ the interface specified by the last B<-i> option occurring before
this option. If the capture filter expression is not set specifically,
the default capture filter expression is used if provided.
+Pre-defined capture filter names, as shown in the GUI menu item Capture->Capture Filters,
+can be used by prefixing the argument with "predef:".
+Example: B<-f "predef:MyPredefinedHostOnlyFilter">
+
=item -F E<lt>file formatE<gt>
Set the file format of the output capture file written using the B<-w>
diff --git a/doc/wireshark.pod.template b/doc/wireshark.pod.template
index dd868f87ce..aebb2daf95 100644
--- a/doc/wireshark.pod.template
+++ b/doc/wireshark.pod.template
@@ -347,6 +347,10 @@ the interface specified by the last B<-i> option occurring before
this option. If the capture filter expression is not set specifically,
the default capture filter expression is used if provided.
+Pre-defined capture filter names, as shown in the GUI menu item Capture->Capture Filters,
+can be used by prefixing the argument with "predef:".
+Example: B<-f "predef:MyPredefinedHostOnlyFilter">
+
=item -g E<lt>packet numberE<gt>
After reading in a capture file using the B<-r> flag, go to the given I<packet number>.