summaryrefslogtreecommitdiff
path: root/source4/libcli/smb2/smb2.h
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2005-12-01 00:18:29 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:46:53 -0500
commit6615907b94eb2395ddf907e92a543ff0525b9d02 (patch)
treeb95434fb1798f78ac2753cd55e4b2da19ea26fde /source4/libcli/smb2/smb2.h
parenta9cdc6321ac1aeafae6200afefd12f83c5786868 (diff)
downloadsamba-6615907b94eb2395ddf907e92a543ff0525b9d02.tar.gz
samba-6615907b94eb2395ddf907e92a543ff0525b9d02.tar.bz2
samba-6615907b94eb2395ddf907e92a543ff0525b9d02.zip
r11980: ronnie worked out that opcode 0xb in SMB2 is in fact ioctl, and that
it only appeared to be like a SMBtrans request as it was being called with function 0x11c017 which is "named pipe read write" I wonder if this means we could do DCE/RPC over SMB using ntioctl calls as well? (This used to be commit f2b8857797328be64b0b85e875ae6d108e2aeaaa)
Diffstat (limited to 'source4/libcli/smb2/smb2.h')
-rw-r--r--source4/libcli/smb2/smb2.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/source4/libcli/smb2/smb2.h b/source4/libcli/smb2/smb2.h
index d12725f70f..ceafacf9d4 100644
--- a/source4/libcli/smb2/smb2.h
+++ b/source4/libcli/smb2/smb2.h
@@ -167,7 +167,8 @@ struct smb2_request {
#define SMB2_OP_FLUSH 0x07
#define SMB2_OP_READ 0x08
#define SMB2_OP_WRITE 0x09
-#define SMB2_OP_TRANS 0x0b
+#define SMB2_OP_LOCK 0x0a
+#define SMB2_OP_IOCTL 0x0b
#define SMB2_OP_CANCEL 0x0c
#define SMB2_OP_KEEPALIVE 0x0d
#define SMB2_OP_FIND 0x0e