Wireshark-commits: [Wireshark-commits] rev 36846: /trunk/ /trunk/gtk/: new_packet_list.c /trunk/: c
Date: Mon, 25 Apr 2011 05:33:13 GMT
http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=36846

User: guy
Date: 2011/04/24 10:33 PM

Log:
 Make the packet count an unsigned value, as frame numbers are unsigned.
 
 Make the loops that scan through all the packets do so by frame number,
 to abstract away the "next" and "previous" pointers in the frame_data
 structure.  Add a routine to cfile.c to map frame numbers to frame_data
 structures, and put in some special case handling so scanning forward or
 backward through the packets is O(N) rather than O(N^2).

Directory: /trunk/gtk/
  Changes    Path                 Action
  +17 -7     new_packet_list.c    Modified

Directory: /trunk/
  Changes    Path          Action
  +83 -13    cfile.c       Modified
  +15 -5     cfile.h       Modified
  +30 -19    file.c        Modified
  +1 -1      summary.c     Modified