packet-smb2: maintain a smb2_fid_info per open file
authorStefan Metzmacher <metze@samba.org>
Sat, 26 Sep 2015 19:59:02 +0000 (21:59 +0200)
committerMichael Mann <mmann78@netscape.net>
Thu, 29 Oct 2015 12:25:52 +0000 (12:25 +0000)
commit901ef718e8b1ef5767f6cac8b9b4d5260904de37
treeab05cc5f4d632d8262de11f812e4330a469d5328
parent029d117772d7a102e5f75e2f69a9d1fb082de76e
packet-smb2: maintain a smb2_fid_info per open file

This can we used as salt for dcerpc connections over smb2.

The key is that we identify an open by the combination
of session_id, tree_id, persistent file_id and volative file_id.
As some broken implementations make the file_ids only unique
per tree connect.

Change-Id: I85cab68503560840a98d2d8d6c21b447b4242e3c
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-on: https://code.wireshark.org/review/11358
Petri-Dish: Anders Broman <a.broman58@gmail.com>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Michael Mann <mmann78@netscape.net>
epan/dissectors/packet-smb2.c
epan/dissectors/packet-smb2.h