summaryrefslogtreecommitdiff
path: root/source4/libcli/smb2/smb2_calls.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_calls.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_calls.h')
-rw-r--r--source4/libcli/smb2/smb2_calls.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/source4/libcli/smb2/smb2_calls.h b/source4/libcli/smb2/smb2_calls.h
index 03f65d947e..08e765ad60 100644
--- a/source4/libcli/smb2/smb2_calls.h
+++ b/source4/libcli/smb2/smb2_calls.h
@@ -316,14 +316,12 @@ struct smb2_find {
} out;
};
-#define SMB2_TRANS_PIPE_FLAGS 0x0011c017 /* what are these? */
-
-struct smb2_trans {
+struct smb2_ioctl {
struct {
/* static body buffer 56 (0x38) bytes */
/* uint16_t buffer_code; 0x39 = 0x38 + 1 */
uint16_t _pad;
- uint32_t pipe_flags;
+ uint32_t function;
struct smb2_handle handle;
/* uint32_t out_ofs; */
/* uint32_t out_size; */
@@ -342,7 +340,7 @@ struct smb2_trans {
/* static body buffer 48 (0x30) bytes */
/* uint16_t buffer_code; 0x31 = 0x30 + 1 */
uint16_t _pad;
- uint32_t pipe_flags;
+ uint32_t function;
struct smb2_handle handle;
/* uint32_t in_ofs; */
/* uint32_t in_size; */