aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-smb.h
diff options
context:
space:
mode:
authorsahlberg <sahlberg@f5534014-38df-0310-8fa8-9805f1628bb7>2006-06-18 05:45:40 +0000
committersahlberg <sahlberg@f5534014-38df-0310-8fa8-9805f1628bb7>2006-06-18 05:45:40 +0000
commit624e3b191709c211ed7be77f63dc262ba857c09d (patch)
treed9c2994e0f9592c3d941011ab90ba1b6ba0aaa9a /epan/dissectors/packet-smb.h
parenta2b5014c207455d425d140e4355300be4b9fb21b (diff)
track smb FIDFs when tehy are opened and closed.
add an expansion to the fid that display which frame itr was opened in and when it was closed. someone may want to add tracking of actual filenames here as well. i am not sure i need that feature myself so ... git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@18512 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/dissectors/packet-smb.h')
-rw-r--r--epan/dissectors/packet-smb.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/epan/dissectors/packet-smb.h b/epan/dissectors/packet-smb.h
index 45ddd0f18e..72ebd35470 100644
--- a/epan/dissectors/packet-smb.h
+++ b/epan/dissectors/packet-smb.h
@@ -249,6 +249,9 @@ typedef struct conv_tables {
/* This table is used to track TID->services for a conversation */
GHashTable *tid_service;
gboolean raw_ntlmssp; /* Do extended security exc use raw ntlmssp */
+
+ /* track fid to fidstruct (filename/openframe/closeframe */
+ se_tree_t *fid_tree;
} conv_tables_t;
typedef struct smb_info {
@@ -273,7 +276,7 @@ extern int dissect_file_data(tvbuff_t *tvb, proto_tree *tree, int offset,
* Dissect an smb FID
*/
extern void dissect_smb_fid(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree,
- int offset, int len, guint16 fid);
+ int offset, int len, guint16 fid, gboolean is_created, gboolean is_closed);
/*
* Dissect named pipe state information.