Wireshark mailing list archives

Re: Filebacked-tvbuffs : GSoC'13


From: Ambarisha B <b.ambarisha () gmail com>
Date: Wed, 1 May 2013 20:31:52 +0530

On Thu, Apr 25, 2013 at 7:34 PM, Jeff Morriss <jeff.morriss.ws () gmail com>wrote:

But the dissectors create the tvb from the reassembled data. So, if we
define a new type of tvbuff which has to be used, wouldn't that effect
the dissectors?


It shouldn't: dissectors should be using the TVB-accessor functions so
they shouldn't care what kind of TVB they are handed.


Please bear with me, I may be missing something obvious here.

Reassembly code returns a fragment_data to a dissector(say, tcp dissector
specifically). The dissector uses fragment_data->data in a call to
tvb_new_child_real_data(). fragment_data->data points to a buffer
containing the complete reassembled pdu. What will this data member contain
incase of a reassembly implementation which uses filebacked tvbuffs?

Cheers
Ambarish
___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev () wireshark org>
Archives:    http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
             mailto:wireshark-dev-request () wireshark org?subject=unsubscribe

Current thread: