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

Date: Sat, 18 Aug 2012 11:37:29 -0700 (PDT)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5821

Jakub Zawadzki <darkjames-ws@xxxxxxxxxxxx> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Attachment #8978|                            |review_for_checkin-
              Flags|                            |

--- Comment #15 from Jakub Zawadzki <darkjames-ws@xxxxxxxxxxxx> 2012-08-18 11:37:28 PDT ---
Created attachment 8978
  --> https://bugs.wireshark.org/bugzilla/attachment.cgi?id=8978
frame_data: reduce size, add helper functions to search for given frame number

Add new argument to epan_init2() -- pointer to function which can be used to
get frame with given number. Implement this functionality to wireshark (GTK)
tshark and rawshark. This patch breaks compilation for qtshark+lua.

This patch reduces frame_data size on 64bits from 144B to 112B (space for
prev_dis_num was previously used as padding).

It's ok for wireshark, where we always have frame_data_sequence not so good for
tshark.

Also implementing multiple opened capture files will be harder.

-- 
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.