option can be used multiple times on the command line.
This feature is only available for the Gtk2 port of B<Ethereal>.
+
+B<-z> rpc,programs
+
+Collect call/reply RTT data for all known ONC-RPC programs/versions.
+Data collected is number of calls for each protocol/version, MinRTT,
+MaxRTT and AvgRTT.
+
+This feature is only available for the Gtk2 port of B<Ethereal>.
+
=back
=head1 INTERFACE
# Makefile.am
# Automake file for the GTK2 interface routines for Ethereal
#
-# $Id: Makefile.am,v 1.2 2002/09/04 22:18:12 sahlberg Exp $
+# $Id: Makefile.am,v 1.3 2002/09/06 10:13:17 sahlberg Exp $
#
# Ethereal - Network traffic analyzer
# By Gerald Combs <gerald@ethereal.com>
gtkglobals.h \
gtk2-rpcstat.c \
gtk2-rpcstat.h \
+ gtk2-rpcprogs.c \
+ gtk2-rpcprogs.h \
gui_prefs.c \
gui_prefs.h \
help_dlg.c \
## Makefile for building ethereal.exe with Microsoft C and nmake
## Use: $(MAKE) /$(MAKEFLAGS) -f makefile.nmake
#
-# $Id: Makefile.nmake,v 1.3 2002/09/04 22:18:12 sahlberg Exp $
+# $Id: Makefile.nmake,v 1.4 2002/09/06 10:13:17 sahlberg Exp $
include ..\config.nmake
follow_dlg.obj \
goto_dlg.obj \
gtk2-rpcstat.obj \
+ gtk2-rpcprogs.obj \
gui_prefs.obj \
help_dlg.obj \
main.obj \
/* main.c
*
- * $Id: main.c,v 1.5 2002/09/06 08:58:20 sahlberg Exp $
+ * $Id: main.c,v 1.6 2002/09/06 10:13:17 sahlberg Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
#include "image/clist_descend.xpm"
#include "../tap.h"
#include "gtk2-rpcstat.h"
+#include "gtk2-rpcprogs.h"
#ifdef WIN32
#include "capture-wpcap.h"
fprintf(stderr, "ethereal: invalid \"-z rpc,rtt,<program>,<version>\" argument\n");
exit(1);
}
+ } else if(!strncmp(optarg,"rpc,programs",12)){
+ gtk2_rpcprogs_init();
} else {
- fprintf(stderr, "ethereal: invalid -z argument. Argument must be \"-z rpc,rtt,...\"\n");
+ fprintf(stderr, "ethereal: invalid -z argument. Argument must be one of:\n");
+ fprintf(stderr, " \"-z rpc,rtt,<program>,<version>\"\n");
+ fprintf(stderr, " \"-z rpc,programs\"\n");
exit(1);
}
} else {
/* menu.c
* Menu routines
*
- * $Id: menu.c,v 1.3 2002/09/05 18:48:51 jmayer Exp $
+ * $Id: menu.c,v 1.4 2002/09/06 10:13:17 sahlberg Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
#include "tcp_graph.h"
#include <epan/epan_dissect.h>
#include "gtk2-rpcstat.h"
+#include "gtk2-rpcprogs.h"
GtkWidget *popup_menu_object;
{"/Tools/Statistics", NULL, NULL, 0, "<Branch>", NULL },
{"/Tools/Statistics/ONC-RPC", NULL, NULL, 0, "<Branch>", NULL },
{"/Tools/Statistics/ONC-RPC/RTT", NULL, GTK_MENU_FUNC(gtk2_rpcstat_cb), 0, NULL, NULL },
+ {"/Tools/Statistics/ONC-RPC/Programs", NULL, GTK_MENU_FUNC(gtk2_rpcprogs_init), 0, NULL, NULL },
{"/_Help", NULL, NULL, 0, "<LastBranch>", NULL },
{"/Help/_Help", NULL, GTK_MENU_FUNC(help_cb), 0, "<StockItem>", GTK_STOCK_HELP },
{"/Help/<separator>", NULL, NULL, 0, "<Separator>", NULL },