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 /smb.h | |
parent | 4c50ff909d156ecc024cff1e1c519f7e169faefc (diff) |
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 'smb.h')
-rw-r--r-- | smb.h | 17 |
1 files changed, 16 insertions, 1 deletions
@@ -2,7 +2,7 @@ * Defines for smb packet dissection * Copyright 1999, Richard Sharpe <rsharpe@ns.aus.com> * - * $Id: smb.h,v 1.47 2002/08/31 05:31:42 sharpe Exp $ + * $Id: smb.h,v 1.48 2003/01/22 00:40:31 sahlberg Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@ethereal.com> @@ -27,6 +27,9 @@ #define _SMB_H /* SMB command codes, from the SNIA CIFS spec. */ +extern const value_string smb_cmd_vals[]; +extern const value_string trans2_cmd_vals[]; +extern const value_string nt_cmd_vals[]; #define SMB_COM_CREATE_DIRECTORY 0x00 #define SMB_COM_DELETE_DIRECTORY 0x01 @@ -223,6 +226,18 @@ #define SMBE_sharebufexc 36 /* A sharing buffer has been exceeded */ #define SMBE_diskfull 39 +/* the information we need to keep around for NT transatcion commands */ +typedef struct { + int subcmd; +} smb_nt_transact_info_t; + +/* the information we need to keep around for transaction2 commands */ +typedef struct { + int subcmd; + int info_level; + gboolean resume_keys; /* if "return resume" keys set in T2 FIND_FIRST request */ +} smb_transact2_info_t; + /* * The information we need to save about a request in order to show the * frame number of the request in the dissection of the reply. |