Home
last modified time | relevance | path

Searched refs:clc_len (Results 1 – 2 of 2) sorted by relevance

/fs/cifs/
Dsmb2misc.c145 __u32 clc_len; /* calculated length */ in smb2_check_message() local
230 clc_len = smb2_calc_size(buf, srvr); in smb2_check_message()
233 clc_len += get_neg_ctxt_len(shdr, len, clc_len); in smb2_check_message()
235 if (len != clc_len) { in smb2_check_message()
237 clc_len, len, mid); in smb2_check_message()
243 if (clc_len + 24 == len && command == SMB2_OPLOCK_BREAK_HE) in smb2_check_message()
246 if (clc_len == len + 1) in smb2_check_message()
253 if (((clc_len + 7) & ~7) == len) in smb2_check_message()
262 if (clc_len < len) in smb2_check_message()
267 len, clc_len, command, mid); in smb2_check_message()
Dmisc.c323 __u32 clc_len; /* calculated length */ in checkSMB() local
365 clc_len = smbCalcSize(smb, server); in checkSMB()
373 if (4 + rfclen != clc_len) { in checkSMB()
376 if ((rfclen > 64 * 1024) && (rfclen > clc_len)) { in checkSMB()
378 if (((4 + rfclen) & 0xFFFF) == (clc_len & 0xFFFF)) in checkSMB()
382 clc_len, 4 + rfclen, mid); in checkSMB()
384 if (4 + rfclen < clc_len) { in checkSMB()
388 } else if (rfclen > clc_len + 512) { in checkSMB()