aboutsummaryrefslogtreecommitdiffstats
path: root/smb.h
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2001-11-03 06:56:56 +0000
committerGuy Harris <guy@alum.mit.edu>2001-11-03 06:56:56 +0000
commit80d72f8cf3c92156e9d8c1bab5f78bf812d3da87 (patch)
treeddcb99c4b64baa876c6af83e4dd90838ee19afb4 /smb.h
parentf5054cff0df173cde7f6aed126ab118c0c0d1fc8 (diff)
First tvbuffication change, from Ronnie Sahlberg. Also changes SMB
command names to match later SMB specs. svn path=/trunk/; revision=4138
Diffstat (limited to 'smb.h')
-rw-r--r--smb.h14
1 files changed, 10 insertions, 4 deletions
diff --git a/smb.h b/smb.h
index 5b09236998..d317345ae8 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.14 2001/08/27 20:04:21 guy Exp $
+ * $Id: smb.h,v 1.15 2001/11/03 06:56:56 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -657,8 +657,14 @@ struct smb_continuation_val {
const gchar *transact_name;
};
-struct smb_info {
- int tid, uid, mid, pid; /* Any more? */
+typedef struct smb_info {
+ /* this will be cleaned up when all smb is tvbuffified */
+ int cmd, tid, uid, mid, pid; /* Any more? */
+ address *src, *dst;
+ int frame_req, frame_res;
+ gboolean unidir;
+
+
conversation_t *conversation;
struct smb_request_val *request_val;
struct smb_continuation_val *continuation_val;
@@ -670,6 +676,6 @@ struct smb_info {
int data_count; /* Number of bytes of data in transaction */
guint16 ddisp; /* Data displacement for transaction commands */
char *trans_cmd; /* Command for mailslot dissection */
-};
+} smb_info_t;
#endif