Skip to content

Commit 7e136a7

Browse files
metze-sambasmfrench
authored andcommitted
smb: smbdirect: add smbdirect.h with public structures
Will be used in client and server in the next commits. Cc: Steve French <[email protected]> Cc: Tom Talpey <[email protected]> Cc: Long Li <[email protected]> Cc: Namjae Jeon <[email protected]> Cc: Hyunchul Lee <[email protected]> CC: Meetakshi Setiya <[email protected]> Cc: [email protected] Cc: [email protected] Signed-off-by: Stefan Metzmacher <[email protected]> Signed-off-by: Steve French <[email protected]>
1 parent 64946d5 commit 7e136a7

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

fs/smb/common/smbdirect/smbdirect.h

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
/* SPDX-License-Identifier: GPL-2.0-or-later */
2+
/*
3+
* Copyright (C) 2017, Microsoft Corporation.
4+
* Copyright (C) 2018, LG Electronics.
5+
*/
6+
7+
#ifndef __FS_SMB_COMMON_SMBDIRECT_SMBDIRECT_H__
8+
#define __FS_SMB_COMMON_SMBDIRECT_SMBDIRECT_H__
9+
10+
/* SMB-DIRECT buffer descriptor V1 structure [MS-SMBD] 2.2.3.1 */
11+
struct smbdirect_buffer_descriptor_v1 {
12+
__le64 offset;
13+
__le32 token;
14+
__le32 length;
15+
} __packed;
16+
17+
#endif /* __FS_SMB_COMMON_SMBDIRECT_SMBDIRECT_H__ */

0 commit comments

Comments
 (0)