Wireshark-commits: [Wireshark-commits] rev 23412: /trunk/ /trunk/plugins/ciscosm/: packet-sm.c /tru
Date: Fri, 09 Nov 2007 06:01:26 GMT
http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=23412

User: etxrab
Date: 2007/11/09 06:01 AM

Log:
 Apply yet another set of the optimization patches:
 When offset parameter is 0 replace tvb_bytes_exist() with the faster tvb_length().
 
 On the other hand 
 	if (tvb_bytes_exist(tvb, 0, 20)
 is more readable than
 	if (tvb_length(tvb) >= 20
 
 so only do it in heuristic function

Directory: /trunk/plugins/ciscosm/
  Changes    Path           Action
  +29 -9     packet-sm.c    Modified

Directory: /trunk/epan/dissectors/
  Changes    Path                   Action
  +2 -1      packet-bittorrent.c    Modified
  +1 -1      packet-cigi.c          Modified
  +2 -2      packet-dccp.c          Modified
  +1 -1      packet-dcerpc.c        Modified
  +1 -1      packet-pktgen.c        Modified
  +1 -1      packet-rmt-norm.c      Modified
  +3 -3      packet-ses.c           Modified
  +1 -1      packet-smb.c           Modified
  +1 -1      packet-smb2.c          Modified
  +5 -8      packet-stun.c          Modified


(3 files not shown)