diff options
author | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 2011-04-25 05:33:07 +0000 |
---|---|---|
committer | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 2011-04-25 05:33:07 +0000 |
commit | ccddddd63c30862fdc9d138b12f296ec1893e678 (patch) | |
tree | 7de19db35225461d7a3d9418e48e78bb803382fc /summary.c | |
parent | 14fe34e2f53e48c71099e16388da4a2fd3ce1667 (diff) |
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).
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@36846 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'summary.c')
-rw-r--r-- | summary.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -92,7 +92,7 @@ summary_fill_in(capture_file *cf, summary_tally *st) { frame_data *first_frame, *cur_frame; - int i; + guint32 i; frame_data *cur_glist; st->start_time = 0; |