1DFTEST(1)                                                            DFTEST(1)
2
3
4

NAME

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

SYNOPSIS

10       dftest [ <filter> ]
11

DESCRIPTION

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

OPTIONS

18       filter
19
20           The display filter expression. If needed it has to be quoted.
21

DIAGNOSTIC OPTIONS

23       --log-level <level>
24           Set the active log level. Supported levels in lowest to highest
25           order are "noisy", "debug", "info", "message", "warning",
26           "critical", and "error". Messages at each level and higher will be
27           printed, for example "warning" prints "warning", "critical", and
28           "error" messages and "noisy" prints all messages. Levels are case
29           insensitive.
30
31       --log-fatal <level>
32           Abort the program if any messages are logged at the specified level
33           or higher. For example, "warning" aborts on any "warning",
34           "critical", or "error" messages.
35
36       --log-domains <list>
37           Only print messages for the specified log domains, e.g.
38           "GUI,Epan,sshdump". List of domains must be comma-separated.
39
40       --log-debug <list>
41           Force the specified domains to log at the "debug" level. List of
42           domains must be comma-separated.
43
44       --log-noisy <list>
45           Force the specified domains to log at the "noisy" level. List of
46           domains must be comma-separated.
47
48       --log-file <path>
49           Write log messages and stderr output to the specified file.
50

EXAMPLES

52       Show how the IP protocol is filtered:
53
54           dftest ip
55
56       Shows how frame 150 is filtered:
57
58           dftest "frame.number == 150"
59

SEE ALSO

61       wireshark-filter(4)
62

AUTHORS

64       Original Author
65       Jan Šafránek
66
67       Contributors
68       Jaap Keuter
69
70
71
72                                  2023-08-31                         DFTEST(1)
Impressum