Wireshark-dev: Re: [Wireshark-dev] Improved "interactive" statistics?
From: Abhik Sarkar <sarkar.abhik@xxxxxxxxx>
Date: Fri, 25 Sep 2009 13:51:17 +0400
Hi,

For the round trip time, you might want to look at gtk/service_response_time_table.h. There are several dissectors using this API. For the rest, I am unable to make any suggestions immediately.

Regards,
Abhik.

On Fri, Sep 25, 2009 at 12:09 AM, Nicolas Gendron <Nicolas.Gendron@xxxxxxxxxxxx> wrote:
I want to gather some stats on an homemade protocol.

I played with "stats_tree_register", "stats_tree_create_node", etc.
It works great ... for counting packets.

Now, I would want to calculate some round trip time (like a tcp ping)
based on some information a user enters.

I can't see how I can do the following with the stats interface :
       - Allow the user to provide information for stats gathering
(e.g. two strings)
       - Allow the user to reset stats
       - Display some "non counting" stats (e.g. ms for the round trip
time)


Maybe the stats_tree_xxxx is not the way to go.

Can anybody help me?

Thanks,

Nic
___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev@xxxxxxxxxxxxx>
Archives:    http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
            mailto:wireshark-dev-request@xxxxxxxxxxxxx?subject=unsubscribe