diff options
author | Guy Harris <guy@alum.mit.edu> | 2001-11-03 06:56:56 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2001-11-03 06:56:56 +0000 |
commit | 80d72f8cf3c92156e9d8c1bab5f78bf812d3da87 (patch) | |
tree | ddcb99c4b64baa876c6af83e4dd90838ee19afb4 /smb.h | |
parent | f5054cff0df173cde7f6aed126ab118c0c0d1fc8 (diff) | |
download | wireshark-80d72f8cf3c92156e9d8c1bab5f78bf812d3da87.tar.gz wireshark-80d72f8cf3c92156e9d8c1bab5f78bf812d3da87.tar.bz2 wireshark-80d72f8cf3c92156e9d8c1bab5f78bf812d3da87.zip |
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.h | 14 |
1 files changed, 10 insertions, 4 deletions
@@ -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 |