Lines Matching refs:sv
108 struct smb_sopt *sv = &ctx->ct_sopt;
168 sv = &ctx->ct_sopt;
169 bzero(sv, sizeof (struct smb_sopt));
216 sv->sv_proto = dp->d_id;
227 md_get_uint8(mbp, &sv->sv_sm); /* SecurityMode */
228 md_get_uint16le(mbp, &sv->sv_maxmux); /* MaxMpxCount */
229 md_get_uint16le(mbp, &sv->sv_maxvcs); /* MaxCountVCs */
230 md_get_uint32le(mbp, &sv->sv_maxtx); /* MaxBufferSize */
231 md_get_uint32le(mbp, &sv->sv_maxraw); /* MaxRawSize */
232 md_get_uint32le(mbp, &sv->sv_skey); /* SessionKey */
233 md_get_uint32le(mbp, &sv->sv_caps); /* Capabilities */
235 md_get_uint16le(mbp, (uint16_t *)&sv->sv_tz);
265 if (sv->sv_sm & SMB_SM_SIGS_REQUIRE) {
271 } else if (sv->sv_sm & SMB_SM_SIGS) {
298 if (sv->sv_caps & SMB_CAP_UNICODE)
303 if ((sv->sv_caps & SMB_CAP_STATUS32) == 0) {
323 sv->sv_maxtx < 4096 &&
324 (sv->sv_caps & SMB_CAP_NT_SMBS) == 0) {
340 if (sv->sv_caps & SMB_CAP_EXT_SECURITY) {
398 if (sv->sv_maxmux < 1)
399 sv->sv_maxmux = 1;
400 if (sv->sv_maxvcs < 1)
401 sv->sv_maxvcs = 1;
402 if (sv->sv_maxtx < 1024)
403 sv->sv_maxtx = 1024;
416 is->is_txmax = sv->sv_maxtx;
445 ctx->ct_clnt_caps = sv->sv_caps & smb_clnt_caps_mask;