diff options
author | Jeremy Allison <jra@samba.org> | 1997-10-03 03:15:24 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 1997-10-03 03:15:24 +0000 |
commit | 4438d7b57e459e091017fcbe18547a8b69be4d80 (patch) | |
tree | 23cede38144e1113011ef2156e27d6f60598ebf0 /source3/include/smb.h | |
parent | a69125bae97619580134dfd38f1952f37b2bbcec (diff) | |
download | samba-4438d7b57e459e091017fcbe18547a8b69be4d80.tar.gz samba-4438d7b57e459e091017fcbe18547a8b69be4d80.tar.bz2 samba-4438d7b57e459e091017fcbe18547a8b69be4d80.zip |
proto.h: Updated.
server.c: Updated after netbench observation. Oplocks must be
broken *before* share modes are checked, not after. Netbench seems
to be working now.
smb.h: Added offsets for oplock break time fields.
trans2.c: Upped debug messages.
util.c: Upped debug messages.
Jeremy (jallison@whistle.com)
(This used to be commit bc4b70c566ed5fa926441fb64a0f756a6137d8d0)
Diffstat (limited to 'source3/include/smb.h')
-rw-r--r-- | source3/include/smb.h | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/source3/include/smb.h b/source3/include/smb.h index 509c1e1cf1..66da2099c7 100644 --- a/source3/include/smb.h +++ b/source3/include/smb.h @@ -1049,17 +1049,19 @@ extern int unix_ERR_code; * * Form of this is : * - * 0 2 6 10 - * +----+--------+--------+--------+ - * | cmd| pid | dev | inode | - * +----+--------+--------+--------+ + * 0 2 6 10 14 18 22 + * +----+--------+--------+--------+-------+--------+ + * | cmd| pid | dev | inode | sec | usec | + * +----+--------+--------+--------+-------+--------+ */ #define OPLOCK_BREAK_CMD 0x1 #define OPLOCK_BREAK_PID_OFFSET 2 #define OPLOCK_BREAK_DEV_OFFSET 6 #define OPLOCK_BREAK_INODE_OFFSET 10 -#define OPLOCK_BREAK_MSG_LEN 14 +#define OPLOCK_BREAK_SEC_OFFSET 14 +#define OPLOCK_BREAK_USEC_OFFSET 18 +#define OPLOCK_BREAK_MSG_LEN 22 #define CMD_REPLY 0x8000 |