Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-bugs: [Wireshark-bugs] [Bug 5821] Reduce per-packet memory requirements

Date: Fri, 17 Aug 2012 09:48:44 -0700 (PDT)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5821

--- Comment #13 from Guy Harris <guy@xxxxxxxxxxxx> 2012-08-17 09:48:43 PDT ---
If you know the frame number of a given frame, you know the frame number of the
previous captured frame (if the frame number is > 1, the frame number of the
previous captured frame is {frame_number}-1), and from that you can get a
pointer to the previous captured frame, so I'm not sure we need a pointer to
the previous captured frame in the frame_data structure.

For the previous *displayed* frame, perhaps we should store the frame number of
the previous displayed frame, instead; currently, that'd save 4 bytes on a
64-bit system, although that's because we're limited to 2^32-1 packets in a
capture and store frame numbers in 4 bytes, and we might want to change that in
the future.

-- 
Configure bugmail: https://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are watching all bug changes.