Wireshark-dev: Re: [Wireshark-dev] Conversation and TCP reassembly

From: didier <dgautheron@xxxxxxxx>
Date: Fri, 01 Aug 2008 11:20:12 +0200
Hi,

Le vendredi 01 aoᅵt 2008 ᅵ 10:52 +0200, Jens Steinhauser a ᅵcrit :
> I do the following to create only one conversation per "Configuration
> Frame":
> 
>   if (config_frame && !pinfo->fd->flags.visited) {
>     data = extract_data(...);
>     conversation = conversation_new(...);
>     conversation_add_proto_data(conversation, proto_handle, data);
>   }
You must use find_conversation() first because TCP has already created
one for reassembling.

Didier