ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
April 17th, 2024 | 14:30-16:00 SGT (UTC+8) | Online

Wireshark-dev: Re: [Wireshark-dev] [PATCH] User can select dissector based on packet matching d

From: Guy Harris <guy@xxxxxxxxxxxx>
Date: Wed, 31 Jan 2007 10:34:58 -0800
Douglas Pratley wrote:

b) Adds functionality analogous to dissector tables, but instead of directing by field values, there is a list of display-filter / sub-dissector pairs. A sub-dissector is called if the display filter is matched by the packet.

Display filter values are available only if a protocol tree is being constructed.

This means that, if this mechanism is enabled, you have to force the construction of a protocol tree; presumably, if it's *not* enabled, construction of a protocol tree is *not* forced (forcing the construction of a protocol tree if the protocol tree won't be used imposes a significant performance cost).