Wireshark mailing list archives

Re: Routines for registering dissectors with a"portnumber", and looking up dissectors by "port number", renamed


From: Stephen Fisher <steve () stephen-fisher com>
Date: Mon, 20 Dec 2010 11:22:17 -0700

On Mon, Dec 20, 2010 at 06:45:38PM +0100, news.gmane.com wrote:

The first should be illustrated. The pinfo member fd points to a 
structure that has been changed between 1.2.x and 1.4.x. You this 
structure to retrieve the packet number, used to identify 
conversations.

Using accessor functions to set and get values as in object-oriented 
programming instead of directly using the variables would help prevent 
problems like this.

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


Current thread: