summaryrefslogtreecommitdiff
path: root/libcli
diff options
context:
space:
mode:
authorSteven Danneman <steven.danneman@isilon.com>2010-09-22 13:23:49 -0700
committerSteven Danneman <steven.danneman@isilon.com>2010-09-22 17:52:53 -0700
commitbf1a4b2bc411cba18980d00bf630aa61fc4e4699 (patch)
tree155e9fe15776bc1e17c7ea7871e1eabc4e03a89d /libcli
parent7e31704762b63ac580f3b778520d9f5f7d212cbe (diff)
downloadsamba-bf1a4b2bc411cba18980d00bf630aa61fc4e4699.tar.gz
samba-bf1a4b2bc411cba18980d00bf630aa61fc4e4699.tar.bz2
samba-bf1a4b2bc411cba18980d00bf630aa61fc4e4699.zip
s4:libcli:smb2 Rename pending_id to async_id and make 64-bit
Match MS-SMB2 - 2.2.1.1 SMB2 Packet Header - ASYNC
Diffstat (limited to 'libcli')
-rw-r--r--libcli/smb/smb2_constants.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/libcli/smb/smb2_constants.h b/libcli/smb/smb2_constants.h
index a3885f9b7d..6d29d6e9ea 100644
--- a/libcli/smb/smb2_constants.h
+++ b/libcli/smb/smb2_constants.h
@@ -28,7 +28,7 @@
#define SMB2_HDR_EPOCH 0x06
#define SMB2_HDR_STATUS 0x08
#define SMB2_HDR_OPCODE 0x0c
-#define SMB2_HDR_CREDIT 0x0e
+#define SMB2_HDR_CREDIT 0x0e
#define SMB2_HDR_FLAGS 0x10
#define SMB2_HDR_NEXT_COMMAND 0x14
#define SMB2_HDR_MESSAGE_ID 0x18
@@ -38,6 +38,9 @@
#define SMB2_HDR_SIGNATURE 0x30 /* 16 bytes */
#define SMB2_HDR_BODY 0x40
+/* offsets into header elements for an async SMB2 request */
+#define SMB2_HDR_ASYNC_ID 0x20
+
/* header flags */
#define SMB2_HDR_FLAG_REDIRECT 0x01
#define SMB2_HDR_FLAG_ASYNC 0x02