11 #ifndef __PACKET_SMB2_H__ 12 #define __PACKET_SMB2_H__ 14 #include "packet-dcerpc.h" 15 #include "packet-smb.h" 41 guint64 fid_persistent;
58 guint32 frame_req, frame_res;
66 smb2_extra_info_t extra_info_type;
71 guint32 connect_frame;
83 guint8 client_decryption_key[16];
84 guint8 server_decryption_key[16];
93 GHashTable *unmatched;
106 #define SMB2_FLAGS_RESPONSE 0x00000001 107 #define SMB2_FLAGS_ASYNC_CMD 0x00000002 108 #define SMB2_FLAGS_CHAINED 0x00000004 109 #define SMB2_FLAGS_SIGNATURE 0x00000008 110 #define SMB2_FLAGS_PRIORITY_MASK 0x00000070 111 #define SMB2_FLAGS_DFS_OP 0x10000000 112 #define SMB2_FLAGS_REPLAY_OPERATION 0x20000000 114 #define SMB2_FLAGS_PRIORITY1 0x00000010 115 #define SMB2_FLAGS_PRIORITY2 0x00000020 116 #define SMB2_FLAGS_PRIORITY3 0x00000030 117 #define SMB2_FLAGS_PRIORITY4 0x00000040 118 #define SMB2_FLAGS_PRIORITY5 0x00000050 119 #define SMB2_FLAGS_PRIORITY6 0x00000060 120 #define SMB2_FLAGS_PRIORITY7 0x00000070 123 #define SMB2_FLAGS_ATTR_ENCRYPTED 0x00004000 124 #define SMB2_FLAGS_ATTR_INDEXED 0x00002000 125 #define SMB2_FLAGS_ATTR_OFFLINE 0x00001000 126 #define SMB2_FLAGS_ATTR_COMPRESSED 0x00000800 127 #define SMB2_FLAGS_ATTR_REPARSEPOINT 0x00000400 128 #define SMB2_FLAGS_ATTR_SPARSE 0x00000200 129 #define SMB2_FLAGS_ATTR_TEMPORARY 0x00000100 130 #define SMB2_FLAGS_ATTR_NORMAL 0x00000080 131 #define SMB2_FLAGS_ATTR_DEVICE 0x00000040 132 #define SMB2_FLAGS_ATTR_ARCHIVE 0x00000020 133 #define SMB2_FLAGS_ATTR_DIRECTORY 0x00000010 134 #define SMB2_FLAGS_ATTR_VOLUMEID 0x00000008 135 #define SMB2_FLAGS_ATTR_SYSTEM 0x00000004 136 #define SMB2_FLAGS_ATTR_HIDDEN 0x00000002 137 #define SMB2_FLAGS_ATTR_READONLY 0x00000001 140 #define SMB2_FID_TYPE_UNKNOWN 0 141 #define SMB2_FID_TYPE_FILE 1 142 #define SMB2_FID_TYPE_DIR 2 143 #define SMB2_FID_TYPE_PIPE 3 144 #define SMB2_FID_TYPE_OTHER 4 147 #define SMB2_COM_NEGOTIATE_PROTOCOL 0x00 148 #define SMB2_COM_SESSION_SETUP 0x01 149 #define SMB2_COM_SESSION_LOGOFF 0x02 150 #define SMB2_COM_TREE_CONNECT 0x03 151 #define SMB2_COM_TREE_DISCONNECT 0x04 152 #define SMB2_COM_CREATE 0x05 153 #define SMB2_COM_CLOSE 0x06 154 #define SMB2_COM_FLUSH 0x07 155 #define SMB2_COM_READ 0x08 156 #define SMB2_COM_WRITE 0x09 157 #define SMB2_COM_LOCK 0x0A 158 #define SMB2_COM_IOCTL 0x0B 159 #define SMB2_COM_CANCEL 0x0C 160 #define SMB2_COM_KEEPALIVE 0x0D 161 #define SMB2_COM_FIND 0x0E 162 #define SMB2_COM_NOTIFY 0x0F 163 #define SMB2_COM_GETINFO 0x10 164 #define SMB2_COM_SETINFO 0x11 165 #define SMB2_COM_BREAK 0x12 169 guint32 ioctl_function;
Definition: packet-smb2.h:40
Definition: packet_info.h:44
Definition: packet-smb2.h:35
Definition: tvbuff-int.h:35
Definition: packet-smb2.h:91
Definition: packet-smb2.h:69
Definition: packet-smb2.h:76
Definition: packet-smb2.h:54
Definition: packet-smb2.h:167
Definition: packet-dcerpc.h:53
Definition: value_string.h:164
Definition: packet-smb.h:112