diff options
author | Ronnie Sahlberg <ronnie_sahlberg@ozemail.com.au> | 2003-01-22 00:40:36 +0000 |
---|---|---|
committer | Ronnie Sahlberg <ronnie_sahlberg@ozemail.com.au> | 2003-01-22 00:40:36 +0000 |
commit | 48d3d8eb269941e1c8a19ac22fbeb6e251d304fd (patch) | |
tree | b5836fd3930ce7c2b2217af375638dda3dc33a89 /gtk | |
parent | 4c50ff909d156ecc024cff1e1c519f7e169faefc (diff) | |
download | wireshark-48d3d8eb269941e1c8a19ac22fbeb6e251d304fd.tar.gz wireshark-48d3d8eb269941e1c8a19ac22fbeb6e251d304fd.tar.bz2 wireshark-48d3d8eb269941e1c8a19ac22fbeb6e251d304fd.zip |
SMB RTT statistics for tethereal and ethereal.
SMB RTT statistics are similar to the RTT statistics already supported by ONC-RPC and DCE-RPC.
It will present a table with all seen SMB commands and present the Min/Max and Avg response time in ms.
Transaction2 and NT-Transaction commands are broken out and presented in its own subtables.
tethereal feature is activated with -z smb,rtt switch
and in ethereal it is activated either through -0z smb,rtt switch or through the Menu.
svn path=/trunk/; revision=6966
Diffstat (limited to 'gtk')
-rw-r--r-- | gtk/Makefile.am | 6 | ||||
-rw-r--r-- | gtk/Makefile.nmake | 5 | ||||
-rw-r--r-- | gtk/menu.c | 7 |
3 files changed, 13 insertions, 5 deletions
diff --git a/gtk/Makefile.am b/gtk/Makefile.am index 7b51c44cde..82f2116536 100644 --- a/gtk/Makefile.am +++ b/gtk/Makefile.am @@ -1,7 +1,7 @@ # Makefile.am # Automake file for the GTK interface routines for Ethereal # -# $Id: Makefile.am,v 1.52 2003/01/08 02:00:51 guy Exp $ +# $Id: Makefile.am,v 1.53 2003/01/22 00:40:36 sahlberg Exp $ # # Ethereal - Network traffic analyzer # By Gerald Combs <gerald@ethereal.com> @@ -35,7 +35,9 @@ ETHEREAL_TAP_SRC = \ rpc_stat.c \ rpc_stat.h \ rpc_progs.c \ - rpc_progs.h + rpc_progs.h \ + smb_stat.c \ + smb_stat.h ethereal-tap-register.c: $(ETHEREAL_TAP_SRC) $(top_srcdir)/make-tapreg-dotc @echo Making ethereal-tap-register.c diff --git a/gtk/Makefile.nmake b/gtk/Makefile.nmake index 0bb714241c..8c2402e4ca 100644 --- a/gtk/Makefile.nmake +++ b/gtk/Makefile.nmake @@ -1,7 +1,7 @@ ## Makefile for building ethereal.exe with Microsoft C and nmake ## Use: $(MAKE) /$(MAKEFLAGS) -f makefile.nmake # -# $Id: Makefile.nmake,v 1.38 2003/01/08 01:59:41 guy Exp $ +# $Id: Makefile.nmake,v 1.39 2003/01/22 00:40:36 sahlberg Exp $ include ..\config.nmake @@ -25,7 +25,8 @@ ETHEREAL_TAP_SRC = \ dcerpc_stat.c \ io_stat.c \ rpc_stat.c \ - rpc_progs.c + rpc_progs.c \ + smb_stat.c ETHEREAL_TAP_OBJECTS = $(ETHEREAL_TAP_SRC:.c=.obj) diff --git a/gtk/menu.c b/gtk/menu.c index 42edf0ad4f..d7df085c2f 100644 --- a/gtk/menu.c +++ b/gtk/menu.c @@ -1,7 +1,7 @@ /* menu.c * Menu routines * - * $Id: menu.c,v 1.82 2003/01/08 23:33:38 oabad Exp $ + * $Id: menu.c,v 1.83 2003/01/22 00:40:36 sahlberg Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@ethereal.com> @@ -61,6 +61,7 @@ #include "rpc_stat.h" #include "rpc_progs.h" #include "dcerpc_stat.h" +#include "smb_stat.h" #include "compat_macros.h" #include "gtkglobals.h" @@ -248,6 +249,10 @@ static GtkItemFactoryEntry menu_items[] = NULL), ITEM_FACTORY_ENTRY("/Tools/Statistics/IO/IO-Stat", NULL, gtk_iostat_cb, 0, NULL, NULL), + ITEM_FACTORY_ENTRY("/Tools/Statistics/SMB", NULL, NULL, 0, "<Branch>", + NULL), + ITEM_FACTORY_ENTRY("/Tools/Statistics/SMB/RTT", NULL, gtk_smbstat_cb, + 0, NULL, NULL), ITEM_FACTORY_ENTRY("/_Help", NULL, NULL, 0, "<LastBranch>", NULL), ITEM_FACTORY_STOCK_ENTRY("/Help/_Help", NULL, help_cb, 0, GTK_STOCK_HELP), ITEM_FACTORY_ENTRY("/Help/<separator>", NULL, NULL, 0, "<Separator>", NULL), |