Ethereal-dev: [Ethereal-dev] Patch: packet-wsp.c major rewrite

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Biot Olivier <Olivier.Biot@xxxxxxxxxxx>
Date: Fri, 31 Oct 2003 20:36:05 +0100
Hi all,

As promised a looooong time ago, here's the 1st patch to the WSP dissector.
Features:
* Use function reference arrays for header parse function lookup (avoids
switch())
* Use macros for the common parts of the header parse functions
* Use macros for identical header dissection functions
* Implement many missing header parse functions
* Automatic header parse error notification
* Some minor edits

You need the proto_item_append_string() function in order to compile this
patch (available in CVS version of epan/proto.[ch]).

I've been playing with lots of captures, and it works fine.

Please review and check in.

Regards,

Olivier

Attachment: packet-wsp.diff.gz
Description: Binary data