From a5bafffd66f511375dda4c974e6a1f152fc7aa16 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Mon, 17 Jul 2006 09:36:52 +0000 Subject: 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) --- source4/libcli/smb2/smb2.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'source4/libcli/smb2/smb2.h') 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; -- cgit