summaryrefslogtreecommitdiff
path: root/source3/include/smb.h
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2001-05-23 18:47:52 +0000
committerJeremy Allison <jra@samba.org>2001-05-23 18:47:52 +0000
commit4d86a2841cd3941c8b67e3f2dc1670562b6874a6 (patch)
treedc2a1eb7c28c71352fd080e1696e5c7812ff64f5 /source3/include/smb.h
parent840fb1643dbaa3ca1b435ccd85ce50123cf6252d (diff)
downloadsamba-4d86a2841cd3941c8b67e3f2dc1670562b6874a6.tar.gz
samba-4d86a2841cd3941c8b67e3f2dc1670562b6874a6.tar.bz2
samba-4d86a2841cd3941c8b67e3f2dc1670562b6874a6.zip
This is *very* cool. I'm pretty convinced we can just set the
CAP_LARGE_READX|CAP_LARGE_WRITEX bits on negprot and out W2K performance goes through the roof...... And as we *always* offer 64 buffers we can do this with this simple change..... Jeremy. (This used to be commit c328dda0fa081e79049d7a9ddac06e80cc8b331b)
Diffstat (limited to 'source3/include/smb.h')
-rw-r--r--source3/include/smb.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/include/smb.h b/source3/include/smb.h
index 2036076b6b..616b75dded 100644
--- a/source3/include/smb.h
+++ b/source3/include/smb.h
@@ -1323,6 +1323,7 @@ char *strdup(char *s);
#define CAP_NT_FIND 0x0200
#define CAP_DFS 0x1000
#define CAP_LARGE_READX 0x4000
+#define CAP_LARGE_WRITEX 0x8000
#define CAP_EXTENDED_SECURITY 0x80000000
/* protocol types. It assumes that higher protocols include lower protocols