Ethereal-cvs: [ethereal-cvs] cvs commit: ethereal dfilter-grammar.y dfilter.c proto.c proto.h

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

From: "Gilbert Ramirez Jr." <gram@xxxxxxxxxxxx>
Date: Sat, 28 Aug 1999 23:06:49 -0500 (CDT)
gram        1999/08/28 23:06:47 CDT

  Modified files:
    .                    dfilter-grammar.y dfilter.c proto.c 
                         proto.h 
  Log:
  Removed from the display filter/proto_tree code the assumption that
  a protocol occurs only once in a packet. Because of encapsulation (IP within
  IP), a protocol can occur more than once. I don't have a packet trace
  showing such a packet, but the code should handle it now. The one thing
  that it cannot do, though, is differentiate the levels. It might be
  nice to say:
  	ip{1}.src == 192.168.1.1 && ipx{2}.dst == 10.0.0.1
  
  In the dfilter grammar I had left IPXNET variables out of the list
  of variables that could be checked for existence. Now you can check
  for the existence of ipx.srcnet and ipx.dstnet. Hurrah.
  
  Revision  Changes    Path
  1.17      +2 -1      ethereal/dfilter-grammar.y
  1.17      +22 -32    ethereal/dfilter.c
  1.19      +65 -49    ethereal/proto.c
  1.9       +23 -8     ethereal/proto.h