aboutsummaryrefslogtreecommitdiffstats
path: root/smb.h
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2001-08-05 01:15:27 +0000
committerGuy Harris <guy@alum.mit.edu>2001-08-05 01:15:27 +0000
commitd2b01e812b82b4640389ddb31fe5176abe92f19a (patch)
treefd8cfcd25f6e04dde725229fee4cbd78dfa52d29 /smb.h
parentd271509c7e5c18fce2f700cf52b570717046126d (diff)
Remote API protocol (that seems to be what it's called in a number of
places) dissector tvbuffified, from Ronnie Sahlberg and me. Additional "are we past the end of the buffer" checks added, so that we don't hand random junk to the transaction and transact2 dissectors. svn path=/trunk/; revision=3824
Diffstat (limited to 'smb.h')
-rw-r--r--smb.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/smb.h b/smb.h
index 7163a6203b..7217d9549b 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.9 2001/08/05 00:16:36 guy Exp $
+ * $Id: smb.h,v 1.10 2001/08/05 01:15:27 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -628,6 +628,7 @@
#define SMB_LMapi_UserPasswordSet 0x0073
struct smb_request_val {
+ int frame; /* Frame in which this request appeared */
int last_transact2_command;
gchar *last_transact_command;
guint16 last_lanman_cmd;
@@ -643,6 +644,10 @@ struct smb_info {
struct smb_request_val *request_val;
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 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 */
};
#endif