hc
2024-02-20 102a0743326a03cd1a1202ceda21e175b7d3575c
kernel/fs/cifs/smb2glob.h
....@@ -33,7 +33,7 @@
3333
3434 /*
3535 * Identifiers for functions that use the open, operation, close pattern
36
- * in smb2inode.c:smb2_open_op_close()
36
+ * in smb2inode.c:smb2_compound_op()
3737 */
3838 #define SMB2_OP_SET_DELETE 1
3939 #define SMB2_OP_SET_INFO 2
....@@ -45,6 +45,7 @@
4545 #define SMB2_OP_HARDLINK 8
4646 #define SMB2_OP_SET_EOF 9
4747 #define SMB2_OP_RMDIR 10
48
+#define SMB2_OP_POSIX_QUERY_INFO 11
4849
4950 /* Used when constructing chained read requests. */
5051 #define CHAINED_REQUEST 1
....@@ -57,6 +58,8 @@
5758 #define SMB2_HMACSHA256_SIZE (32)
5859 #define SMB2_CMACAES_SIZE (16)
5960 #define SMB3_SIGNKEY_SIZE (16)
61
+#define SMB3_GCM128_CRYPTKEY_SIZE (16)
62
+#define SMB3_GCM256_CRYPTKEY_SIZE (32)
6063
6164 /* Maximum buffer size value we can send with 1 credit */
6265 #define SMB2_MAX_BUFFER_SIZE 65536