Ethereal-dev: [Ethereal-dev] 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 11:46:23 -0400
Greetings.

I've read over the various README files, and haven't been able to
determine if there is a clean/easy way to obtain information from
a previous portion of the frame; already processed by a dissector.

For example, if I was currently processing the SMB frame payload
and I needed some of the TCP payload (e.g., source IP address) what
is the best way to do it?  I can think of a couple of not so nice
ways, all violating the payload boundaries, but I would really like
to use existing functions if available.

Thanks in advance.

- Mark