Ethereal-dev: [Ethereal-dev] Referenceing data at specific stream position

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

From: "Helge Kruse" <HelgeKruse@xxxxxxxxxxx>
Date: Sat, 16 Apr 2005 17:14:17 +0200
In a stream dissector I have a query response scheme. The client sends a
query, containing an identificator. The server answers with a response that
has this identificator.

To dissect this protocol I need the query at a response time. I can build a
collection with all queries in the dissector. But this seems to be a bad
design. I would have to store ca. 50% of the data in a copy at the
dissector. 

So I want  to remember the position in the "stream" where the query is sent.
When I dissect the response, I want to lookup the tvbuff containing the
query.

Is there any concept for this task?

Another question regards the user interface. Can I add to the context menu a
"goto query" or "goto response" item, that would navigate to that frame?

Regards, Helge