Ethereal-dev: Re: [ethereal-dev] Protocol Description Language

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

From: Guy Harris <guy@xxxxxxxxxx>
Date: Fri, 30 Jul 1999 11:28:11 -0700 (PDT)
> There are some other ideas lurking around ... What do you folks think?

That looks reasonable.

Note that, at least for Ethereal, you probably want to have a way of
specifying, outside a request, a field type, so that you can have field
XXX of SMB YYY, and field ZZZ of SMB WWW, and..., all be fields of that
type.  This could be convenient if more than one such field were decoded
as a bitfield in the same fashion.

(In addition, it could let you specify one action to be take on those
fields - e.g., decode them as bitfields - for Ethereal, and a different
one for some other program.)

You probably also want some way in which you can automatically generate,
when producing code for Ethereal, the array of "hf_register_info" values
for fields in the protocol.