Wireshark-dev: Re: [Wireshark-dev] Catch 22 in SSL dissector?
From: Stephen Fisher <[email protected]>
Date: Sat, 14 Apr 2007 10:57:21 -0700
On Sat, Apr 14, 2007 at 01:00:24PM +0200, Sake Blok wrote:

> Is there a way to keep some state-information per packet? I don't know 
> exactly what is kept in the conversations, but I guess that it is on a 
> flow basis, not on a packet basis. Are there any other protocols where 
> dissection depends on a per-packet state? How do they do that?

Yes, you can store data "in" each packet.  See doc/README.developer, 
section 2.5.  Search for the functions mentioned in the readme, either 
p_add_proto_data or p_get_proto_data, to find a dissector that uses it.

By the way, thanks for working on this bug in the SSL dissector.