Wireshark-dev: Re: [Wireshark-dev] How can I use preferences from other dissectors?
From: Alex Lindberg <alindber@xxxxxxxxx>
Date: Sat, 9 Jan 2010 11:43:57 -0800 (PST)
Yes - My plug-in uses a common TCP port, h248, for a custom protocol my company uses.  I have built a heuristic dissector that using this port, however the h248 dissector allows for this port to be changed via the preferences and I would like my dissector to use this reconfigured port without having to create my own preferences.

Thanks.
Alex Lindberg


--- On Fri, 1/8/10, Stephen Fisher <steve@xxxxxxxxxxxxxxxxxx> wrote:

From: Stephen Fisher <steve@xxxxxxxxxxxxxxxxxx>
Subject: Re: [Wireshark-dev] How can I use preferences from other dissectors?
To: "Developer support list for Wireshark" <wireshark-dev@xxxxxxxxxxxxx>
Date: Friday, January 8, 2010, 5:39 PM


On Jan 8, 2010, at 2:47 PM, Alex Lindberg wrote:

> I am building a heuristic dissector that shares a common tcp port 
> used by other dissectors.  This same port is used in my dissector 
> and thus must be checked as part of the heuristic testing.  This 
> port can be changed in other modules.  Is there a method to read the 
> configuration data from another module into my dissector?

Are you trying to always match the configured port for another 
dissector, even if it is changed at run-time?


Steve

___________________________________________________________________________
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