Ethereal-dev: [Ethereal-dev] Re-assemble Data

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: "Hans Viens" <hviens@xxxxxxxxxxxxx>
Date: Thu, 22 May 2003 08:29:29 -0400
Hi all,
 
I developped a dissector for Ethereal and I need to re-assemble data from different packet. I tried to concatenate those data as the packet are decoded, however, since Ethereal decode each time we selected a packet, this give me wrong values.
 
For example,
 
Packet 1: 0x99
Packet 2: 0x89
Packet 3: 0x79
Packet 4: 0x69
 
I need on packet 5 to show the overall data: 0x99, 0x89, 0x79, 0x69
 
but if I overview packets 1,2,3,4,3,2,1 (by clicking on it) I will have the following results on packet 5: 0x99, 0x89, 0x79, 0x69, 0x79, 0x89, 0x99
 
Any idea ?
 
Thanks,
 
Hans