Lines Matching refs:nego
208 smb2_arg_negotiate_t *nego = sr->arg.other; in smb31_decode_neg_ctxs() local
209 smb2_neg_ctxs_t *neg_ctxs = &nego->neg_in_ctxs; in smb31_decode_neg_ctxs()
411 nego->neg_out_ctxs = nego->neg_in_ctxs; in smb31_decode_neg_ctxs()
421 smb2_arg_negotiate_t *nego = sr->arg.other; in smb31_encode_neg_ctxs() local
422 smb2_neg_ctxs_t *neg_ctxs = &nego->neg_out_ctxs; in smb31_encode_neg_ctxs()
589 smb2_arg_negotiate_t *nego; in smb2_newrq_negotiate() local
599 nego = smb_srm_zalloc(sr, sizeof (smb2_arg_negotiate_t)); in smb2_newrq_negotiate()
600 sr->arg.other = nego; // for dtrace in smb2_newrq_negotiate()
643 nego->neg_dialect_cnt = SMB2_NEGOTIATE_MAX_DIALECTS; in smb2_newrq_negotiate()
645 nego->neg_dialect_cnt = dialect_cnt; in smb2_newrq_negotiate()
646 if (nego->neg_dialect_cnt > 0) { in smb2_newrq_negotiate()
648 nego->neg_dialect_cnt, in smb2_newrq_negotiate()
649 nego->neg_dialects); in smb2_newrq_negotiate()
654 best_version = smb2_find_best_dialect(s, nego->neg_dialects, in smb2_newrq_negotiate()
655 nego->neg_dialect_cnt); in smb2_newrq_negotiate()
658 nego->neg_in_ctxs.offset = neg_ctx_off; in smb2_newrq_negotiate()
659 nego->neg_in_ctxs.count = neg_ctx_cnt; in smb2_newrq_negotiate()
767 smb2_arg_negotiate_t *nego = sr->arg.other; in smb2_negotiate_common() local
843 &nego->neg_in_ctxs.encrypt_ctx.encrypt_caps; in smb2_negotiate_common()