Ethereal-dev: Re: [Ethereal-dev] Question

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

From: "Gilbert Ramirez" <gram@xxxxxxxxxxxxxxx>
Date: Wed, 5 Apr 2006 09:35:29 -0500
The code for that is in gtk/capture_info_dlg.c; you'll have to add
your progress bar there.  Then, similar to dissect_*, there are a
series of functions named "capture_*" that act as mini-dissectors
during the capture phase. Look at catpure_ip in
epan/dissectors/packet-ip.c. Somehow, a function like that will have
to identify your protocol and increment it's counter (a new counter)
in the packet_counts structure. But I don't know the details of your
protocol, so I can't saw how to proceed.

Oh, and the packet_counts structure is in epan/packet.h

--gilbert

On 4/4/06, manu romu <eucalipto_75@xxxxxxxxxxx> wrote:
> Hello, List
> I'd like to add a progressing 'my-proto' bar on the dialog box that appears
> once a capture's started (something like UDP, IP bars). How can I do?
> manuela
>
>
> _______________________________________________
> Ethereal-dev mailing list
> Ethereal-dev@xxxxxxxxxxxx
> http://www.ethereal.com/mailman/listinfo/ethereal-dev
>
>