Ethereal-dev: [Ethereal-dev] Conversation Variables

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

From: PC Drew <drewpc@xxxxxxxxxxxx>
Date: Sun, 22 Apr 2001 20:15:34 -0600
In line with the summary functionality that I described earlier, is there any way to have a variable be in the global for a conversation? As an example, the latency of an RTP packet depends on the latency of the previous packet. Is there a way for me to save a variable in the conversation space (i.e. a conversation between machines a and b on ports 2000 and 1000 has one latency, while a conversation between machines a and b on ports 2002 and 1002 has another latency)?

The next question is what is the best way to check to see if the packet that is currently being run through the dissector has already run before? Like in the above situation, I want to calculate the latency of the current packet. When ethereal dissects all of the packets to begin with, the latency is correct. Once the packet is clicked on 10 times in the GTK window, the latency is no longer correct because every click causes ethereal to dissect the packet over again. This is also critical to some variable that accumulates across all packets in a conversation. An example of this is calculating jitter for RTP packets. It's the sum of all of the packet specific jitters.

Thanks!

--
PC Drew

 Be nice or I'll replace you with a very
 small shell script.