aboutsummaryrefslogtreecommitdiffstats
path: root/smb.h
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2001-08-27 09:09:36 +0000
committerGuy Harris <guy@alum.mit.edu>2001-08-27 09:09:36 +0000
commite18fdae9b6525b6bfbf5256b08d970e8fcf286a2 (patch)
tree9e6d7f7b12b88d25c2f4033332f2cdd305a87399 /smb.h
parentdee3661ce3ef3bf62bfae8ce784fa4370f0e836f (diff)
Use the descriptor strings when dissecting remote APIs; this lets us
handle null pointer entries, and lets us make the dissection of those APIs more table-driven. svn path=/trunk/; revision=3873
Diffstat (limited to 'smb.h')
-rw-r--r--smb.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/smb.h b/smb.h
index 5e0f1b8dbf..6c07e2bb69 100644
--- a/smb.h
+++ b/smb.h
@@ -2,7 +2,7 @@
* Defines for smb packet dissection
* Copyright 1999, Richard Sharpe <rsharpe@ns.aus.com>
*
- * $Id: smb.h,v 1.12 2001/08/11 07:26:25 guy Exp $
+ * $Id: smb.h,v 1.13 2001/08/27 09:09:36 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -641,8 +641,9 @@ struct smb_request_val {
guint16 last_lanman_cmd;
gchar *last_param_descrip; /* Keep these descriptors around */
gchar *last_data_descrip;
+ gchar *last_aux_data_descrip;
guint16 trans_response_seen;
- guint16 last_level; /* Last level in request */
+ int last_level; /* Last level in request */
};
/*
@@ -664,6 +665,7 @@ struct smb_info {
gboolean unicode; /* Are strings in this SMB Unicode? */
gboolean request; /* Is this a request? */
gboolean is_interim_response; /* Is this an interim transaction response? */
+ int parameter_count; /* Number of bytes of parameter in transaction */
int data_offset; /* Offset from parameter to data in transaction */
int data_count; /* Number of bytes of data in transaction */
guint16 ddisp; /* Data displacement for transaction commands */