From a2157976bc5e3f04aba419df364ad010656c7533 Mon Sep 17 00:00:00 2001 From: sahlberg Date: Sat, 24 Dec 2005 10:10:04 +0000 Subject: from metze update to tid and uid tracking git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@16893 f5534014-38df-0310-8fa8-9805f1628bb7 --- epan/dissectors/packet-smb2.h | 15 ++++----------- 1 file changed, 4 insertions(+), 11 deletions(-) (limited to 'epan/dissectors/packet-smb2.h') 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; -- cgit v1.2.3