dftest man page
dftest — Shows display filter byte-code, for debugging dfilter routines.
dftest [ <filter> ]
dftest is a simple tool which compiles a display filter and shows its bytecode.
The display filter expression. If needed it has to be quoted.
Show how the IP protocol is filtered:
Shows how frame 150 is filtered:
dftest "frame.number == 150"