Ethereal-cvs: [Ethereal-cvs] cvs commit: ethereal/epan/dfilter dfilter-int.h dfilter.c dfilter

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

From: Gilbert Ramirez Jr. <gram@xxxxxxxxxxxxxxxxxxx>
Date: Tue, 18 Dec 2001 13:09:07 -0600 (CST)
gram        2001/12/18 13:09:07 CST

  Modified files:
    epan/dfilter         dfilter-int.h dfilter.c dfilter.h dfvm.c 
                         gencode.c gencode.h semcheck.c 
  Log:
  Provide for per-protocol-tree data in the proto_tree code.
  Put a hash-table of "interesting" fields in the per-proto-tree data.
  The dfilter code records which fields/protocols are "interesting" (by which
  I mean, their value or existence is checked). Thus, the proto_tree routines
  can create special arrays of field_info*'s that are ready for the dfilter
  engine to use during a filter operation.
  
  Also store the "proto_tree_is_visible" boolean, renamed "visible", in
  the per-proto-tree data.
  
  Move epan_dissect_t to its own header file to make #include dependencies
  easier to handle.
  
  Provide epan_dissect_fill_in_columns(), which accepts just the epan_dissect_t*
  as an argument.
  
  epan_dissect_new() needs to be followed by epan_dissect_run() for the
  dissection to actually take place. Between those two calls,
  epan_dissect_prime_dfilter() can be run 0, 1, or multiple times in order to
  prime the empty proto_tree with the "intersesting" fields from the dfilter_t.
  
  Revision  Changes    Path
  1.4       +4 -1      ethereal/epan/dfilter/dfilter-int.h
  1.6       +26 -1     ethereal/epan/dfilter/dfilter.c
  1.3       +9 -3      ethereal/epan/dfilter/dfilter.h
  1.5       +4 -2      ethereal/epan/dfilter/dfvm.c
  1.4       +48 -2     ethereal/epan/dfilter/gencode.c
  1.2       +3 -0      ethereal/epan/dfilter/gencode.h
  1.7       +2 -1      ethereal/epan/dfilter/semcheck.c