Ethereal-cvs: [Ethereal-cvs] rev 16369: /trunk/epan/dfilter/: dfvm.c /trunk/epan/: proto.c /tr

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

Date: Mon, 31 Oct 2005 02:42:24 GMT
User: guy
Date: 2005/10/30 08:42 PM

Log:
 When printing the code for a display filter:
 
 	print register numbers as unsigned (they're guint32);
 
 	when printing a PUT_FVALUE instruction, show the value as well
 	as the type of the value.
 
 That requires that a bunch of types get to_repr methods; add them for
 PCRE (FTREPR_DFILTER-only - show the regular expression as text),
 tvbuffs (FTREPR_DFILTER_only - show the data as a hex string), integral
 types, string types other than FT_STRING, and FT_IPv6.
 
 That means we can use fvalue_to_string_repr() for FT_IPXNET and FT_IPv6
 in proto_construct_dfilter_string(), and that we don't need to handle
 integer and floating types specially in MATE.
 
 Fix some problems with the PCRE execution code for tvbuff types.

Directory: /trunk/epan/dfilter/
  Changes    Path          Action
  +19 -15    dfvm.c        Modified

Directory: /trunk/epan/
  Changes    Path          Action
  +7 -34     proto.c       Modified

Directory: /trunk/epan/ftypes/
  Changes    Path               Action
  +19 -4     ftype-bytes.c      Modified
  +84 -24    ftype-integer.c    Modified
  +19 -3     ftype-pcre.c       Modified
  +4 -4      ftype-string.c     Modified
  +42 -5     ftype-tvbuff.c     Modified

Directory: /trunk/plugins/mate/
  Changes    Path           Action
  +1 -27     mate_util.c    Modified



http://anonsvn.ethereal.com/viewcvs/viewcvs.py?rev=16369&view=rev