diff options
author | Guy Harris <guy@alum.mit.edu> | 2001-08-27 09:09:36 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2001-08-27 09:09:36 +0000 |
commit | e18fdae9b6525b6bfbf5256b08d970e8fcf286a2 (patch) | |
tree | 9e6d7f7b12b88d25c2f4033332f2cdd305a87399 /smb.h | |
parent | dee3661ce3ef3bf62bfae8ce784fa4370f0e836f (diff) | |
download | wireshark-e18fdae9b6525b6bfbf5256b08d970e8fcf286a2.tar.gz wireshark-e18fdae9b6525b6bfbf5256b08d970e8fcf286a2.tar.bz2 wireshark-e18fdae9b6525b6bfbf5256b08d970e8fcf286a2.zip |
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.h | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -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 */ |