Searched refs:clc_len (Results 1 – 2 of 2) sorted by relevance
102 __u32 clc_len; /* calculated length */ in smb2_check_message() local171 clc_len = smb2_calc_size(hdr); in smb2_check_message()173 if (4 + len != clc_len) { in smb2_check_message()175 clc_len, 4 + len, mid); in smb2_check_message()181 if (clc_len + 20 == len && command == SMB2_OPLOCK_BREAK_HE) in smb2_check_message()184 if (clc_len == 4 + len + 1) in smb2_check_message()191 if (((clc_len + 7) & ~7) == len) in smb2_check_message()201 if (clc_len < 4 /* RFC1001 header size */ + len) { in smb2_check_message()204 len, clc_len - 4); in smb2_check_message()
312 __u32 clc_len; /* calculated length */ in checkSMB() local350 clc_len = smbCalcSize(smb); in checkSMB()358 if (4 + rfclen != clc_len) { in checkSMB()361 if ((rfclen > 64 * 1024) && (rfclen > clc_len)) { in checkSMB()363 if (((4 + rfclen) & 0xFFFF) == (clc_len & 0xFFFF)) in checkSMB()367 clc_len, 4 + rfclen, mid); in checkSMB()369 if (4 + rfclen < clc_len) { in checkSMB()373 } else if (rfclen > clc_len + 512) { in checkSMB()