Ethereal-dev: [Ethereal-dev] Displaying/Dissecting Compressed data

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

From: Jeff Foster <jfoste@xxxxxxxxxxxx>
Date: Tue, 6 Feb 2001 13:43:28 -0600
Currently working on a dissector that will decompress
some data and display it, Wellfleet compression for you
Wellfleet/BayNetworks/Nortel fans.  I am wondering how
to handle the data after is decompressed.

I would like to see the uncompress data added to the 
packet list as an extra row just after the real data
packet.  I don't know the details but I think the program
would have to be modified so the frame_data struct would
contain a 'derived data' flag and a 'display handler' routine
pointer.  The select_packet routine would check this flag
when a packet is selected.  If the flag is set, the
'display handler' routine would be called with the frame_data
pointer.  This routine must recreate the decompressed data
and display it.

Questions:

1) Does this cause problems with the row number? 
2) What is the row number for this new row ?
3) How do we display this row so the user knows that is it
	using 'derived data'?
4) Is printing a problem?
5) How does packet filtering fit into this? 
6) Will sorting the packet list, clicking on column header,
	cause a problem?
7) How does this fit into tethereal?

Jeff Foster
jfoste@xxxxxxxxxxxx