mirror of
https://github.com/samba-team/samba.git
synced 2024-12-22 13:34:15 +03:00
libcli/smb: add SMB_BUFFER_SIZE_MIN/MAX defines
Bug: https://bugzilla.samba.org/show_bug.cgi?id=10422 Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
parent
74f8c3568a
commit
900839e221
@ -209,6 +209,14 @@ enum smb_signing_setting {
|
||||
#define NEGOTIATE_SECURITY_SIGNATURES_ENABLED 0x04
|
||||
#define NEGOTIATE_SECURITY_SIGNATURES_REQUIRED 0x08
|
||||
|
||||
/*
|
||||
* The negotiated buffer size for non LARGE_READX/WRITEX
|
||||
* should be limited to uint16_t and has to be at least
|
||||
* 500, which is the default for MinClientBufferSize on Windows.
|
||||
*/
|
||||
#define SMB_BUFFER_SIZE_MIN 500
|
||||
#define SMB_BUFFER_SIZE_MAX 65535
|
||||
|
||||
/* Capabilities. see ftp.microsoft.com/developr/drg/cifs/cifs/cifs4.txt */
|
||||
|
||||
#define CAP_RAW_MODE 0x00000001
|
||||
|
Loading…
Reference in New Issue
Block a user