aboutsummaryrefslogtreecommitdiffstats
path: root/smb.h
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2002-01-08 05:52:05 +0000
committerGuy Harris <guy@alum.mit.edu>2002-01-08 05:52:05 +0000
commit4e08507d23f647ec7035b76e3b5e142e92f16690 (patch)
treeb5abffeb8f2736a10accd12636c3333cefa46efd /smb.h
parent7519e9b831dcdeaec40fcdd89a330f9e9d3d312e (diff)
Match requests and responses using both the MID and the PID; the SNIA
CIFS draft spec speaks of both being used: The multiplex ID (Mid) is used along with the Pid to allow multiplexing the single client and server connection among the client's multiple processes, threads, and requests per thread. Clients may have many outstanding requests (up to the negotiated number, MaxMpxCount) at one time. Servers MAY respond to requests in any order, but a response message MUST always contain the same Mid and Pid values as the corresponding request message. The client MUST NOT have multiple outstanding requests to a server with the same Mid and Pid. and I have seen a capture where more than one PID is used on a given connection and where the same MID is used with two different PIDs. Get rid of the "mid" field in the "smb_info_t" structure - the MID is not used outside "dissect_smb()". svn path=/trunk/; revision=4495
Diffstat (limited to 'smb.h')
-rw-r--r--smb.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/smb.h b/smb.h
index f710139835..a54e5ada62 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.31 2002/01/03 20:42:41 guy Exp $
+ * $Id: smb.h,v 1.32 2002/01/08 05:52:05 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -263,7 +263,7 @@ typedef struct conv_tables {
} conv_tables_t;
typedef struct smb_info {
- int cmd, mid;
+ int cmd;
gboolean unicode; /* Are strings in this SMB Unicode? */
gboolean request; /* Is this a request? */
gboolean unidir;