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] Problem in using a global variable in wireshark/gtk folder w

From: Vishnu Bhatt <vishnu.bhatt@xxxxxxxxxxx>
Date: Thu, 3 May 2012 15:38:10 +0530
Hello,

Let me make myself more specific. I want to use GTK/UI code in dissectors code but everytime I use it, I get linking error(undefined reference to that variable). So, what all Makefiles do I need to change in order to use GTK/UI code in dissectors code? I am stuck at this one for a long time, so any further help would be appreciated.

Thanks and Regards
Vishnu Bhatt

-----Original Message-----
From: wireshark-dev-bounces@xxxxxxxxxxxxx [mailto:wireshark-dev-bounces@xxxxxxxxxxxxx] On Behalf Of Stephen Fisher
Sent: Wednesday, May 02, 2012 11:14 PM
To: Developer support list for Wireshark
Subject: Re: [Wireshark-dev] Problem in using a global variable in wireshark/gtk folder which is defined in epan/dissectors/ folder


---- 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.

___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev@xxxxxxxxxxxxx>
Archives:    http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
             mailto:wireshark-dev-request@xxxxxxxxxxxxx?subject=unsubscribe




===============================================================================
Please refer to http://www.aricent.com/legal/email_disclaimer.html
for important disclosures regarding this electronic communication.
===============================================================================