Ethereal-cvs: [ethereal-cvs] cvs commit: ethereal dfilter-grammar.y dfilter-scanner.l

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

From: Jun-ichiro itojun Hagino <itojun@xxxxxxxxxxxx>
Date: Thu, 14 Oct 1999 23:23:05 -0500 (CDT)
itojun      1999/10/14 23:23:01 CDT

  Modified files:
    .                    dfilter-grammar.y dfilter-scanner.l 
                         packet-ipv6.c 
  Log:
  use proto_tree_add_item() for IPv6 header, to allow filtering like below
  possible.
  	ipv6.nxt == 17
  	ipv6.dst == ff02::9
  	ipv6.src[0:2] == fe:80
  
  modify dfilter lexical rule to allow standard IPv6 expression to be
  passed up to parser.
  
  XXX backward compat issue in lex rule, maybe
  XXX IPv6 has chained headers.  how will dfilter behave when we have
  multiple protocol header of the same type?
  XXX ipv6.nxt is not really useful due to IPv6 chained header.  we need a
  symbol to identify "final" protocol type on the chain (testing ipv6.final
  but will SEGV).
  
  Revision  Changes    Path
  1.32      +2 -2      ethereal/dfilter-grammar.y
  1.21      +3 -2      ethereal/dfilter-scanner.l
  1.21      +91 -27    ethereal/packet-ipv6.c