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 <smfrench@gmail.com> Cc: Tom Talpey <tom@talpey.com> Cc: Long Li <longli@microsoft.com> Cc: Namjae Jeon <linkinjeon@kernel.org> Cc: Hyunchul Lee <hyc.lee@gmail.com> CC: Meetakshi Setiya <meetakshisetiyaoss@gmail.com> Cc: linux-cifs@vger.kernel.org Cc: samba-technical@lists.samba.org Signed-off-by: Stefan Metzmacher <metze@samba.org> Signed-off-by: Steve French <stfrench@microsoft.com>
1 parent 64946d5 commit 7e136a7

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed
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)