Ethereal-dev: Re: [Ethereal-dev] Re: [Ethereal-users] Can I get the field ID?

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: Tue, 20 Feb 2001 13:56:37 -0500
On Tue, Feb 20, 2001 at 10:35:11AM -0800, Nicholas, John S wrote:
> I could not get this to work as you suggested.  It seems to work with the following:
> 
> #define proto_registrar_get_id(x)   \
>       (dfilter_lookup_token(x))
> 
> The parameter seems to be the protocol abbreviation plus the field abbreviation:
> (eg: pep.t0462_status) an it seems to return the ID (int).

Fine. You're using ethereal 0.8.15, and I'm using the CVS image,
and dfilter_lookup_token() changed between them. No problem.
Your macro is fine.

--gilbert