Ethereal-dev: Re: [ethereal-dev] cvs commit: ethereal packet-aarp.c

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

From: Laurent Deniel <deniel@xxxxxxxxxxx>
Date: Mon, 04 Oct 1999 20:54:49 +0200
Gilbert Ramirez wrote:
> 
> 
> Yes. I'm restructuring the header_field_info struct, and for integers,
> I'm going to have a separate field denoting in which base the field should
> be displayed (decimal, hex, octal, binary). I could bitwise-OR that
> with a flag indicating endianness.

Good.

> > display filters knows what to do with the string (Do we support string
> > comparisons in display filters?  If not, we will probably want to,
> > eventually.)
> 
> Not yet, but we will. I want to have string comparisons for equivalence
> and regexes:
> 
>         some.string == "hostname"
>         some.string =~ /hostname/
> 
> and as you suggested:
>         ip.proto == "IP"
> 

It would be nice also to allow (with FT_BYTES type fields) :
  some.bytes == 0x01...
instead of
  some.bytes[0:n] == 0x01...

Laurent.

--
Laurent DENIEL        | E-mail: deniel@xxxxxxxxxxx
Paris, FRANCE         |         laurent.deniel@xxxxxxxxxxxxxxxxxxxxxxxxxxxx
                      | WWW   : http://www.worldnet.fr/~deniel
    All above opinions are personal, unless stated otherwise.