From 2ac579ca76452c58022e8b9e41d5168dd25fe3b0 Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Fri, 10 Dec 2010 15:46:41 -0800 Subject: Add a SMB2 crediting algorithm, by default the same as Windows. Defaults to 128 credits. Jeremy. --- source3/smbd/globals.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'source3/smbd/globals.h') diff --git a/source3/smbd/globals.h b/source3/smbd/globals.h index 5037b6d6b5..cb97cb5cd1 100644 --- a/source3/smbd/globals.h +++ b/source3/smbd/globals.h @@ -581,7 +581,10 @@ struct smbd_server_connection { bool blocking_lock_unlock_state; } locks; struct smbd_smb2_request *requests; - uint64_t credits_granted; + uint64_t seqnum_low; + uint32_t credits_granted; + uint32_t max_credits; + struct bitmap *credits_bitmap; } smb2; }; -- cgit