Lines Matching defs:sv
100 struct smb_sopt *sv = &ctx->ct_sopt;
153 sv = &ctx->ct_sopt;
154 bzero(sv, sizeof (struct smb_sopt));
201 sv->sv_proto = dp->d_id;
212 md_get_uint8(mbp, &sv->sv_sm); /* SecurityMode */
213 md_get_uint16le(mbp, &sv->sv_maxmux); /* MaxMpxCount */
214 md_get_uint16le(mbp, &sv->sv_maxvcs); /* MaxCountVCs */
215 md_get_uint32le(mbp, &sv->sv_maxtx); /* MaxBufferSize */
216 md_get_uint32le(mbp, &sv->sv_maxraw); /* MaxRawSize */
217 md_get_uint32le(mbp, &sv->sv_skey); /* SessionKey */
218 md_get_uint32le(mbp, &sv->sv_caps); /* Capabilities */
220 md_get_uint16le(mbp, (uint16_t *)&sv->sv_tz);
250 if (sv->sv_sm & SMB_SM_SIGS_REQUIRE) {
256 } else if (sv->sv_sm & SMB_SM_SIGS) {
283 if (sv->sv_caps & SMB_CAP_UNICODE)
288 if ((sv->sv_caps & SMB_CAP_STATUS32) == 0) {
308 sv->sv_maxtx < 4096 &&
309 (sv->sv_caps & SMB_CAP_NT_SMBS) == 0) {
325 if (sv->sv_caps & SMB_CAP_EXT_SECURITY) {
383 if (sv->sv_maxmux < 1)
384 sv->sv_maxmux = 1;
385 if (sv->sv_maxvcs < 1)
386 sv->sv_maxvcs = 1;
387 if (sv->sv_maxtx < 1024)
388 sv->sv_maxtx = 1024;
401 is->is_txmax = sv->sv_maxtx;