Wireshark-commits: [Wireshark-commits] rev 53089: /trunk/epan/ /trunk/epan/dissectors/: packet-btob
Date: Tue, 05 Nov 2013 17:48:49 GMT
http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=53089

User: eapache
Date: 2013/11/05 05:48 PM

Log:
 Replace pinfo->layer_names as a string with pinfo->layers as a wmem_list of
 protocol IDs. This is substantially more efficient, which means we can build it
 all the time rather than only if tree (in my benchmarks the extra time taken is
 not large enough to be statistically significant even over tens of thousands of
 packets).
 
 This fixes what was probably a bug in btobex that relied on layer_names for
 non-tree dissection. It also enables a much simpler fix for
 https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=9303

Directory: /trunk/epan/dissectors/
  Changes    Path                 Action
  +5 -1      packet-btobex.c      Modified
  +1 -1      packet-btrfcomm.c    Modified
  +2 -0      packet-btrfcomm.h    Modified
  +28 -8     packet-frame.c       Modified
  +1 -1      packet-icmp.c        Modified
  +2 -0      packet-icmp.h        Modified
  +1 -1      packet-ip.c          Modified
  +2 -0      packet-ip.h          Modified
  +11 -10    packet-tcp.c         Modified

Directory: /trunk/epan/
  Changes    Path             Action
  +12 -23    packet.c         Modified
  +3 -4      packet_info.h    Modified