Wireshark-commits: [Wireshark-commits] rev 38128: /trunk/ /trunk/epan/dissectors/: packet-dcerpc-dr

Date: Tue, 19 Jul 2011 23:02:06 GMT
http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=38128

User: guy
Date: 2011/07/19 04:02 PM

Log:
 Add a DREP_LITTLE_ENDIAN for the DCE RPC endianness bit in the data
 representation.  Use it rather than a raw 0x10.
 
 Add a DREP_ENC_INTEGER() macro that takes a pointer to the data
 representation and returns either ENC_LITTLE_ENDIAN or ENC_BIG_ENDIAN;
 use it for the encoding argument to proto_tree_add_item(), rather than
 just the AND of drep[0] and DREP_LITTLE_ENDIAN, as it's not a boolean
 any more, and for string values we'll be supporting character encodings
 as well and thus won't be able to trust that the 0x10 bit will mean
 "little endian".
 
 Use ENC_NA for some other encoding values, i.e. for FT_BYTES and the
 like.
 
 Fix a couple of places in the DCOM dissector where we were passing the
 byte-order bit rather than the field value to
 proto_tree_add_uint_format().
 
 Clean up white space.

Directory: /trunk/epan/dissectors/
  Changes    Path                        Action
  +1 -1      packet-dcerpc-drsuapi.c     Modified
  +5 -4      packet-dcerpc-netlogon.c    Modified
  +9 -3      packet-dcerpc-nt.c          Modified
  +2 -2      packet-dcerpc-spoolss.c     Modified
  +38 -22    packet-dcerpc.c             Modified
  +11 -0     packet-dcerpc.h             Modified
  +4 -4      packet-dcom.c               Modified

Directory: /trunk/epan/dissectors/dcerpc/drsuapi/
  Changes    Path                                Action
  +1 -1      packet-dcerpc-drsuapi-template.c    Modified

Directory: /trunk/plugins/profinet/
  Changes    Path                     Action
  +18 -18    packet-dcerpc-pn-io.c    Modified