summaryrefslogtreecommitdiff
path: root/source4/libcli/smb2/smb2.h
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2006-07-17 09:36:52 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:10:11 -0500
commita5bafffd66f511375dda4c974e6a1f152fc7aa16 (patch)
tree4a8765fbc275ba7c6a4cf30db99850bbc94e1891 /source4/libcli/smb2/smb2.h
parent152ea280f1982831c31071eec5c5a17f072073b0 (diff)
downloadsamba-a5bafffd66f511375dda4c974e6a1f152fc7aa16.tar.gz
samba-a5bafffd66f511375dda4c974e6a1f152fc7aa16.tar.bz2
samba-a5bafffd66f511375dda4c974e6a1f152fc7aa16.zip
r17083: - implement SMB2 Cancel in the client
- the 0xffffffffffffffff seqnum is reserved for SMB2 Break (oplock breaks) so don't use it in a request. we should someday try to test this... metze (This used to be commit 730cdc4475822e28cb400116641294a7f98ad0b5)
Diffstat (limited to 'source4/libcli/smb2/smb2.h')
-rw-r--r--source4/libcli/smb2/smb2.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/source4/libcli/smb2/smb2.h b/source4/libcli/smb2/smb2.h
index cee414b6e2..070eaf54ab 100644
--- a/source4/libcli/smb2/smb2.h
+++ b/source4/libcli/smb2/smb2.h
@@ -128,6 +128,12 @@ struct smb2_request {
uint64_t seqnum;
+ struct {
+ BOOL do_cancel;
+ BOOL can_cancel;
+ uint32_t pending_id;
+ } cancel;
+
/* the NT status for this request. Set by packet receive code
or code detecting error. */
NTSTATUS status;