Wireshark-dev: Re: [Wireshark-dev] About the conversation table source code
From: Jaap Keuter <jaap.keuter@xxxxxxxxx>
Date: Wed, 12 Sep 2012 23:27:10 +0200
Hi,

(Keeping this on list, as it should)

You should be looking at using cscope (assuming you're using a UNIX variant OS) to index your source tree. You can feed this your questions and it will show you where these are. That is much better than documentation that gets outdated.

Thanks,
Jaap


On 09/12/2012 05:51 PM, Kire Gasteovski wrote:
Dear Jaap,

Thank you for your response for wireshark.

I wanted to ask you another question: is there some list of all data types
(structures) definitions that are defined by the developers?
For example, the definition of the structure conversations_table I found in the
file conversations_table.h.

For now, I need the definitions for the structures:

  * conv_id_t
  * nstime_t
  * SAT_E
  * address
  * ptype

Thank you in advance.
Best regards,
Kiril

--------------------------------------------------------------------------------
*From:* Jaap Keuter <jaap.keuter@xxxxxxxxx>
*To:* Kire Gasteovski <kire_gasteovski@xxxxxxxxx>; Developer support list for
Wireshark <wireshark-dev@xxxxxxxxxxxxx>
*Sent:* Tuesday, September 11, 2012 9:20 PM
*Subject:* Re: [Wireshark-dev] About the conversation table source code

Hi,

First of all there's a lot of GTK+ programming going on, so if you want to know
about that consult http://www.gtk.org/documentation.php

Then there's a lot of conversation tracking going on, so if you want to know
about that consult doc/README.developer section 2.2 to see how it's used, and
research from there.

There's retapping, so if you want to know about that consult doc/README.tapping.

Hope it helps,
Jaap



On 09/10/2012 04:47 PM, Kire Gasteovski wrote:
 > Dear Sir/ Madam
 >
 > I am writing you about the source code for the conversation table in WireShark.
 > More specifically, I am interested into the function that is in the menu
 > Statistics -> Conversations. I found some source code file under the name
 > conversations_table.c.
 > Unfortunately, there is a serious lack of comments, thus making the code
 > impossible to read.
 >
 > I would like to ask you, if it is possible, to tell me if this is the source
 > code file for the conversations table?
 >
 > If it is, please send me some version with more comments if possible, or maybe
 > explain to me shortly where exactly can I find the part where this conversations
 > are made? I am really interested in this, and I would very much appreciate if
 > you answer me as soon as possible.
 >
 > Thank you in advance.
 >
 > Yours faithfully,
 > Kiril Gashteovski
 >