Searched refs:best_version (Results 1 – 1 of 1) sorted by relevance
185 uint16_t best_version = 0; in smb2_find_best_dialect() local190 best_version < cl_versions[i]) in smb2_find_best_dialect()191 best_version = cl_versions[i]; in smb2_find_best_dialect()193 return (best_version); in smb2_find_best_dialect()597 uint16_t best_version; in smb2_newrq_negotiate() local654 best_version = smb2_find_best_dialect(s, nego->neg_dialects, in smb2_newrq_negotiate()657 if (best_version >= SMB_VERS_3_11) { in smb2_newrq_negotiate()706 if (best_version == 0) { in smb2_newrq_negotiate()720 s->dialect = best_version; in smb2_newrq_negotiate()724 if (smb2_negotiate_common(sr, best_version) != 0) in smb2_newrq_negotiate()