Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-dev: Re: [Wireshark-dev] Problem in using a global variable in wireshark/gtk folder w

From: Stephen Fisher <steve@xxxxxxxxxxxxxxxxxx>
Date: Wed, 02 May 2012 11:44:05 -0600
---- On Wed, 02 May 2012 02:01:02 -0600 Vishnu Bhatt  wrote ---- 

> I am implementing a functionality where I want to scan all packets in a pcap file, and depending on a configuration, select only the relevant packets of a call flow (basically create a filter and then apply it). I will be using only the GUI mode (no tshark). Tap interface will not serve my purpose.

In what way does the tap not work?

> Is there a quick fix way to call UI code from the dissectors code? I simply want to prototype and test.

Make sure GTK+ is linked to the same code as the dissectors.