summaryrefslogtreecommitdiff
path: root/libcli/smb
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2011-08-30 11:48:16 +0200
committerStefan Metzmacher <metze@samba.org>2011-08-30 23:49:56 +0200
commit480a031c5b9a2ffe1e03e3fcb197e526e6d69e72 (patch)
tree7791e041a78160fbcb5bd2a4723f811f3e9980ec /libcli/smb
parent7e7f085419bd56ba7d8c7901188180e86840789b (diff)
downloadsamba-480a031c5b9a2ffe1e03e3fcb197e526e6d69e72.tar.gz
samba-480a031c5b9a2ffe1e03e3fcb197e526e6d69e72.tar.bz2
samba-480a031c5b9a2ffe1e03e3fcb197e526e6d69e72.zip
smb2_constants: add SMB2_HDR_CREDIT_CHARGE
SMB2_HDR_EPOCH was never used and SMB 2.10 uses it as SMB2_HDR_CREDIT_CHARGE. We keep SMB2_HDR_EPOCH as alias for now, until all callers are fixed. metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Tue Aug 30 23:49:56 CEST 2011 on sn-devel-104
Diffstat (limited to 'libcli/smb')
-rw-r--r--libcli/smb/smb2_constants.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/libcli/smb/smb2_constants.h b/libcli/smb/smb2_constants.h
index 7ab496df22..0e2c267d53 100644
--- a/libcli/smb/smb2_constants.h
+++ b/libcli/smb/smb2_constants.h
@@ -25,7 +25,8 @@
/* offsets into header elements for a sync SMB2 request */
#define SMB2_HDR_PROTOCOL_ID 0x00
#define SMB2_HDR_LENGTH 0x04
-#define SMB2_HDR_EPOCH 0x06
+#define SMB2_HDR_CREDIT_CHARGE 0x06
+#define SMB2_HDR_EPOCH SMB2_HDR_CREDIT_CHARGE /* TODO: remove this */
#define SMB2_HDR_STATUS 0x08
#define SMB2_HDR_OPCODE 0x0c
#define SMB2_HDR_CREDIT 0x0e