Ethereal-dev: [Ethereal-dev] Patch for mgcp-tap and new gui-tap

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

From: Lars Roland <Lars.Roland@xxxxxxx>
Date: Wed, 16 Apr 2003 02:49:22 +0200
Hello,

attached are patches to the the mgcp-plugin and the mgcp-tap, and 4 new files.

We have now Response-Time statistics for each known mgcp message-type.
the patch fixes also a few bugs and cleans the files from trailing whitespaces.
I now use "gdouble" for printing time-values and calculating the average.
It is easier to use and shouldn't overflow on big trace files like "guint32".

I have moved some functions for time statistics into the new file timestats.c in the main directory. This code may be useful in the rpc and smb rtt-taps as well.

gtk/mgcp_stat.c contains the GTK version of the mgcp-tap.
the patch for menu.c adds the menu-item and also adds code to disable this menu-item, if ethereal cannot find the mgcp-tap, e.g. when mgcp-plugin is not present or an old version. In such a case, ethereal will exit immediately, if someone clicks on the menu-item.

Please check in.

Best Regards,

Lars Roland

Attachment: patch-mgcp.zip
Description: Zip archive