diff options
author | Andrew Tridgell <tridge@samba.org> | 2005-12-01 00:18:29 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:46:53 -0500 |
commit | 6615907b94eb2395ddf907e92a543ff0525b9d02 (patch) | |
tree | b95434fb1798f78ac2753cd55e4b2da19ea26fde /source4/include | |
parent | a9cdc6321ac1aeafae6200afefd12f83c5786868 (diff) | |
download | samba-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/include')
-rw-r--r-- | source4/include/ioctl.h | 3 | ||||
-rw-r--r-- | source4/include/structs.h | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/source4/include/ioctl.h b/source4/include/ioctl.h index 1c08a58d76..cd658c121b 100644 --- a/source4/include/ioctl.h +++ b/source4/include/ioctl.h @@ -28,3 +28,6 @@ #define FSCTL_FILESYSTEM 0x90000 #define FSCTL_SET_SPARSE (FSCTL_FILESYSTEM | (49<<2)) #define FSCTL_REQUEST_BATCH_OPLOCK (FSCTL_FILESYSTEM | (2<<2)) + +#define FSCTL_NAMED_PIPE 0x110000 +#define FSCTL_NAMED_PIPE_READ_WRITE (FSCTL_NAMED_PIPE | 0xc017) diff --git a/source4/include/structs.h b/source4/include/structs.h index f593be6b84..34127c58ca 100644 --- a/source4/include/structs.h +++ b/source4/include/structs.h @@ -356,6 +356,6 @@ struct smb2_setinfo; struct smb2_read; struct smb2_write; struct smb2_find; -struct smb2_trans; +struct smb2_ioctl; struct smb2_flush; struct smb2_handle; |