diff options
author | Guy Harris <guy@alum.mit.edu> | 2001-08-11 07:26:25 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2001-08-11 07:26:25 +0000 |
commit | a739061860aa9d8fac008e34ab28c0c16bd93e6a (patch) | |
tree | d1834a49fe72a3c932bacc8e18b0ae6383b0dafa /smb.h | |
parent | a588428c1b0f055a0753dfd6339802b061ac769f (diff) |
Keep track of transaction replies that have continuations, and associate
continuations with the message to which they're a continuation.
svn path=/trunk/; revision=3834
Diffstat (limited to 'smb.h')
-rw-r--r-- | smb.h | 21 |
1 files changed, 20 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.11 2001/08/07 08:39:57 guy Exp $ + * $Id: smb.h,v 1.12 2001/08/11 07:26:25 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@ethereal.com> @@ -627,6 +627,13 @@ #define SMB_LMapi_SetUserInfo 0x0072 #define SMB_LMapi_UserPasswordSet 0x0073 +/* + * One of these data structures is allocated for a transaction or + * transaction2 request; it keeps track of all information that's + * available in the request but not the reply and that's needed in + * order to dissect the reply, as well as the frame number of the + * request. + */ struct smb_request_val { int frame; /* Frame in which this request appeared */ int last_transact2_command; @@ -638,10 +645,22 @@ struct smb_request_val { guint16 last_level; /* Last level in request */ }; +/* + * One of these data structures is allocated for a transaction reply + * that's continued in a later reply; it keeps track of the pathname + * from the request that generated the reply, as well as the frame + * number of the continued message. + */ +struct smb_continuation_val { + int frame; /* Frame in which this reply appeared */ + const gchar *transact_name; +}; + struct smb_info { int tid, uid, mid, pid; /* Any more? */ conversation_t *conversation; struct smb_request_val *request_val; + struct smb_continuation_val *continuation_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? */ |