ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
July 17th, 2024 | 10:00am-11:55am SGT (UTC+8) | Online

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.