Searched refs:clc_len (Results 1 – 2 of 2) sorted by relevance
/Linux-v5.10/fs/cifs/ |
D | smb2misc.c | 137 __u32 clc_len; /* calculated length */ in smb2_check_message() local 222 clc_len = smb2_calc_size(buf, srvr); in smb2_check_message() 225 clc_len += get_neg_ctxt_len(shdr, len, clc_len); in smb2_check_message() 227 if (len != clc_len) { in smb2_check_message() 229 clc_len, len, mid); in smb2_check_message() 235 if (clc_len + 24 == len && command == SMB2_OPLOCK_BREAK_HE) in smb2_check_message() 238 if (clc_len == len + 1) in smb2_check_message() 245 if (((clc_len + 7) & ~7) == len) in smb2_check_message() 254 if (clc_len < len) in smb2_check_message() 259 len, clc_len, command, mid); in smb2_check_message()
|
D | misc.c | 323 __u32 clc_len; /* calculated length */ in checkSMB() local 361 clc_len = smbCalcSize(smb, server); in checkSMB() 369 if (4 + rfclen != clc_len) { in checkSMB() 372 if ((rfclen > 64 * 1024) && (rfclen > clc_len)) { in checkSMB() 374 if (((4 + rfclen) & 0xFFFF) == (clc_len & 0xFFFF)) in checkSMB() 378 clc_len, 4 + rfclen, mid); in checkSMB() 380 if (4 + rfclen < clc_len) { in checkSMB() 384 } else if (rfclen > clc_len + 512) { in checkSMB()
|