aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-smb2.h
diff options
context:
space:
mode:
authorRonnie Sahlberg <ronnie_sahlberg@ozemail.com.au>2005-12-24 10:10:04 +0000
committerRonnie Sahlberg <ronnie_sahlberg@ozemail.com.au>2005-12-24 10:10:04 +0000
commitcec07db2dad6c3e92246078c77cc63b8b103cf74 (patch)
treebb2ee7b42d7238cd0d705dbb3bedd99cb95731cd /epan/dissectors/packet-smb2.h
parentca4722c47b7c4004f44df87b01abb612c8be2d9e (diff)
from metze
update to tid and uid tracking svn path=/trunk/; revision=16893
Diffstat (limited to 'epan/dissectors/packet-smb2.h')
-rw-r--r--epan/dissectors/packet-smb2.h15
1 files changed, 4 insertions, 11 deletions
diff --git a/epan/dissectors/packet-smb2.h b/epan/dissectors/packet-smb2.h
index 8a783b972a..93c69b0120 100644
--- a/epan/dissectors/packet-smb2.h
+++ b/epan/dissectors/packet-smb2.h
@@ -50,18 +50,10 @@ typedef struct _smb2_saved_info_t {
nstime_t req_time;
} smb2_saved_info_t;
-/* at most one of these two bits may be set.
- * if ipc$ status is unknown none is set.
- *
- * if the tid name ends with "IPC$" we assume that all files on this tid
- * are dcerpc pipes.
- */
-#define SMB2_FLAGS_TID_IS_IPC 0x00000001
-#define SMB2_FLAGS_TID_IS_NOT_IPC 0x00000002
-
typedef struct _smb2_tid_info_t {
guint32 tid;
- guint32 flags;
+ guint32 connect_frame;
+ guint16 share_type;
char *name;
} smb2_tid_info_t;
@@ -71,6 +63,7 @@ typedef struct _smb2_uid_info_t {
char *acct_name;
char *domain_name;
char *host_name;
+ GHashTable *tids;
} smb2_uid_info_t;
/* Structure to keep track of conversations and the hash tables.
@@ -80,7 +73,6 @@ typedef struct _smb2_conv_info_t {
/* these two tables are used to match requests with responses */
GHashTable *unmatched;
GHashTable *matched;
- GHashTable *tids;
GHashTable *uids;
} smb2_conv_info_t;
@@ -99,6 +91,7 @@ typedef struct _smb2_info_t {
smb2_conv_info_t *conv;
smb2_saved_info_t *saved;
smb2_tid_info_t *tree;
+ smb2_uid_info_t *session;
proto_tree *top_tree;
} smb2_info_t;