Ethereal-dev: Re: [ethereal-dev] TCP/UDP protcol dissector lookups

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

From: Guy Harris <gharris@xxxxxxxxxxxx>
Date: Fri, 17 Mar 2000 20:37:14 -0800
> I have a working model of the protocol hashing code.  The context diff of
> packet.h, packet.c, proto.h, and proto.c is attached.  These changes do NOT
> break any of the current code.

...although, as it adds a new field to a "header_field_info" structure,
it changes the binary interface between protocols and the Ethereal core
- this causes a core dump when a Gryphon protocol built with the
previous version of "proto.h" tries to register itself.

I think the plugin interface does have a version number in it -
currently 0.8 - presumably intended to handle, among other things,
binary-compatibility issues such as this; for example, PLUGIN_DIR is
currently set to "$libdir/ethereal/plugins/0.8"

Olivier, is that one thing the version number is intended to handle? 
(The binary interface between plugins and the Ethereal core will
probably change in the future as well; for that matter, Gilbert's recent
changes, and the checkin I made to make them work for plugins on Win32,
also change the binary interface to plugins.)