aboutsummaryrefslogtreecommitdiffstats
path: root/doc/dftest.adoc
blob: be12646dabd7470fc7a21c6f850536683d17796c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
include::../docbook/attributes.adoc[]
= dftest(1)
:doctype: manpage
:stylesheet: ws.css
:linkcss:
:copycss: ../docbook/{stylesheet}

== NAME

dftest - Shows display filter byte-code, for debugging dfilter routines.

== SYNOPSIS

[manarg]
*dftest*
[ <filter> ]

== DESCRIPTION

*dftest* is a simple tool which compiles a display filter and shows its bytecode.
Please refer to doc/README.display_filter for a description of the
DFVM (Display Filter Virtual Machine) Byte Codes.

== OPTIONS

filter::
+
--
The display filter expression. If needed it has to be quoted.
--

== EXAMPLES

Show how the IP protocol is filtered:

    dftest ip

Shows how frame 150 is filtered:

    dftest "frame.number == 150"

== SEE ALSO

xref:wireshark-filter.html[wireshark-filter](4)

// 526a2946 - dftest and randpkt ... they are not documented in any man page.
== AUTHORS

.Original Author
[%hardbreaks]
Jan Šafránek

.Contributors
[%hardbreaks]
Jaap Keuter