Ethereal

Re: [Ethereal-dev] referencing specific tcp protocol data

Home | Introduction | Download | Documentation | Lists | FAQ | Development | Wiki

Ethereal-dev: March 2002


On Thu, Mar 28, 2002 at 11:18:29AM +0000, Phil Williams wrote:
> So it is not possible to look up by name, but are these fields referred
> to by any identifier?

Yes, they are, but...

> If so, would it be possible to look up these values?

...those identifiers are static variables in the dissectors.

One *could* export them, but that would require code changes, so you
might as well just put a look-up-by-name feature into "epan/proto.c", so
that you don't have to modify dissectors in order to let other modules
get at fields they've registered.



Powered by MHonArc 2.6.10