Ethereal-dev: Re: [Ethereal-dev] New FT type

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

From: Gilbert Ramirez <gram@xxxxxxxxxx>
Date: Thu, 25 Jan 2001 12:11:27 -0600
On Wed, 24 Jan 2001 22:40:00 -0800
Guy Harris <gharris@xxxxxxxxxxxx> wrote:

> On Wed, Jan 24, 2001 at 04:33:19PM -0600, Frank Singleton wrote:
> > Initially I was going to use packet-giop.[ch]
> > as I have proposed earlier, but it would be nice
> > to bolt it into the ethereal FT_xx types
> 
> Do types represent the type of the underlying data (in which case
> FT_CDR_LONG is just another name for FT_UINT32), or the way it's
> represented in packets?

That's the problem; we have an explosion of types becuase of we're
using them to define the representation in packets, and perhaps we
need to refine the basic types and define the representation elsewhere.
Or have sub-types inheriting from a small set of basic types.

(Sometimes I really feel like re-writing Ethereal in Python, as
it would be a whole lot easier to do inherited type systems in
a non-C language.)

--gilbert