diff options
author | Jeremy Allison <jra@samba.org> | 2010-12-10 15:46:41 -0800 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2010-12-10 15:46:41 -0800 |
commit | 2ac579ca76452c58022e8b9e41d5168dd25fe3b0 (patch) | |
tree | ac83a978995be4d66e700409ef59eeed78637958 /source3/include/local.h | |
parent | 533ba5a919b08a3eb040af7ea980163661b642c7 (diff) | |
download | samba-2ac579ca76452c58022e8b9e41d5168dd25fe3b0.tar.gz |
Add a SMB2 crediting algorithm, by default the same as Windows. Defaults to 128 credits.
Jeremy.
Diffstat (limited to 'source3/include/local.h')
-rw-r--r-- | source3/include/local.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/source3/include/local.h b/source3/include/local.h index 6c9a8c3055c..3014f613b2a 100644 --- a/source3/include/local.h +++ b/source3/include/local.h @@ -265,4 +265,9 @@ #define CLIENT_NDR_PADDING_SIZE 8 #define SERVER_NDR_PADDING_SIZE 8 +#define DEFAULT_SMB2_MAX_READ (1024*1024) +#define DEFAULT_SMB2_MAX_WRITE (1024*1024) +#define DEFAULT_SMB2_MAX_TRANSACT (1024*1024) +#define DEFAULT_SMB2_MAX_CREDITS 128 + #endif |