Ethereal-dev: Re: [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: Guy Harris <guy@xxxxxxxxxx>
Date: Tue, 6 Feb 2001 16:54:46 -0800 (PST)
> 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.

This is an issue for encrypted data as well.

> I would like to see the uncompress data added to the 
> packet list as an extra row just after the real data
> packet.

To the packet list, or to the hex dump pane?

I might be inclined to add it to the hex dump pane, and create a new
tvbuff for the uncompressed (or decrypted, or...) data, and dissect that
- we'd want to have some indication in a "field_info" structure
specifying to which chunk of data the protocol tree item refers, so the
GUI knows which of the data sections to highlight.

(There are a variety of ways to add it to the hex dump pane; we could
have it added to the end, after the raw data, or we could have a tabbed
widget with a tab for "raw data" and additional tabs added as necessary
for decrypted, decompressed, etc. data.)