Ethereal-dev: [Ethereal-dev] RE: Obtaining previous dissector information

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

From: Mark Pilant <Mark.Pilant@xxxxxxx>
Date: Wed, 24 Aug 2005 16:37:31 -0400
> How do you get to the raw frame data?

After checking my notes, I believe it was via the packet data (pd)
member of the capture file (cfile) variable.  This is the same data
which winds up being placed in a tvb when add_packet_to_packet_list()
is called.  (And then on to the actual dissection.)  As I said, not
very nice.

Although I did get my code to work, I was very happy to find a way to
avoid having to violate a lot of the built in layering.  Of course
this was all before I found this list and a few other choice items
about how Ethereal was put together.

- Mark