diff options
author | Pavel Shilovsky <pshilovsky@samba.org> | 2012-07-12 18:30:44 +0400 |
---|---|---|
committer | Pavel Shilovsky <pshilovsky@samba.org> | 2012-07-24 21:55:17 +0400 |
commit | 9094fad1ed90caebd25b1bdec3c8982d079356ee (patch) | |
tree | a6a111f572f18533d31d80a771fe848507cb26b6 /fs/cifs/smb2pdu.h | |
parent | f6d7617862e106affc59c6933099e45629af5c4e (diff) | |
download | linux-3.10-9094fad1ed90caebd25b1bdec3c8982d079356ee.tar.gz linux-3.10-9094fad1ed90caebd25b1bdec3c8982d079356ee.tar.bz2 linux-3.10-9094fad1ed90caebd25b1bdec3c8982d079356ee.zip |
CIFS: Add echo request support for SMB2
Signed-off-by: Pavel Shilovsky <piastryyy@gmail.com>
Signed-off-by: Steve French <smfrench@gmail.com>
Diffstat (limited to 'fs/cifs/smb2pdu.h')
-rw-r--r-- | fs/cifs/smb2pdu.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/fs/cifs/smb2pdu.h b/fs/cifs/smb2pdu.h index 9151e9040b0..59aae608d36 100644 --- a/fs/cifs/smb2pdu.h +++ b/fs/cifs/smb2pdu.h @@ -448,6 +448,18 @@ struct smb2_close_rsp { __le32 Attributes; } __packed; +struct smb2_echo_req { + struct smb2_hdr hdr; + __le16 StructureSize; /* Must be 4 */ + __u16 Reserved; +} __packed; + +struct smb2_echo_rsp { + struct smb2_hdr hdr; + __le16 StructureSize; /* Must be 4 */ + __u16 Reserved; +} __packed; + /* Possible InfoType values */ #define SMB2_O_INFO_FILE 0x01 #define SMB2_O_INFO_FILESYSTEM 0x02 |