/titanic_50/usr/src/lib/libsmbfs/smb/ |
H A D | ntlmssp.c | 125 mb_initm(&tmp_mb, mbp->mb_top); in md_get_sb_data() 205 err = mb_put_sb_data(mbp, sb, tmp_mb.mb_top); in mb_put_sb_string() 286 err = mb_put_mbuf(out_mb, mb2.mb_top); in ntlmssp_put_type1() 314 if (m_totlen(in_mb->mb_top) < min_hdr_sz) { in ntlmssp_get_type2() 355 if ((m_totlen(top_mb.mb_top) > sizeof (hdr)) && in ntlmssp_get_type2() 512 err = mb_put_sb_data(&mb2, &hdr.h_lm_resp, lm_mbc.mb_top); in ntlmssp_put_type3() 513 lm_mbc.mb_top = NULL; /* consumed */ in ntlmssp_put_type3() 516 err = mb_put_sb_data(&mb2, &hdr.h_nt_resp, nt_mbc.mb_top); in ntlmssp_put_type3() 517 nt_mbc.mb_top = NULL; /* consumed */ in ntlmssp_put_type3() 538 err = mb_put_sb_data(&mb2, &hdr.h_ssn_key, ek_mbc.mb_top); in ntlmssp_put_type3() [all …]
|
H A D | ssnsetup.c | 325 if (mbc1 && mbc1->mb_top) { in smb__ssnsetup() 326 mb_put_mbuf(mbp, mbc1->mb_top); /* sec. blob */ in smb__ssnsetup() 327 mbc1->mb_top = NULL; /* consumed */ in smb__ssnsetup() 343 if (mbc1 && mbc1->mb_top) { in smb__ssnsetup() 344 mb_put_mbuf(mbp, mbc1->mb_top); /* LM password */ in smb__ssnsetup() 345 mbc1->mb_top = NULL; /* consumed */ in smb__ssnsetup() 347 if (mbc2 && mbc2->mb_top) { in smb__ssnsetup() 348 mb_put_mbuf(mbp, mbc2->mb_top); /* NT password */ in smb__ssnsetup() 349 mbc2->mb_top = NULL; /* consumed */ in smb__ssnsetup()
|
H A D | nb_ssn.c | 76 m = mbp->mb_top; in nb_ssn_send() 94 err = m_lineup(mbp->mb_top, &mbp->mb_top); in nb_ssn_send() 97 m = mbp->mb_top; in nb_ssn_send() 189 buf = mb->mb_top->m_data; in nb_ssn_recv() 209 mb->mb_top->m_len = *mlen; in nb_ssn_recv()
|
H A D | ssp.c | 106 m = hint_mb->mb_top; in ssp_ctx_create_client() 249 m = caller_in->mb_top; in ssp_ctx_next_token() 283 m = body_in.mb_top; in ssp_ctx_next_token() 313 m = body_out.mb_top; in ssp_ctx_next_token() 360 m = caller_out->mb_top; in ssp_ctx_next_token()
|
H A D | rq.c | 234 error = m_lineup(mbp->mb_top, &mbp->mb_top); in smb_rq_simple() 238 data = mtod(mbp->mb_top, char *); in smb_rq_simple() 239 len = m_totlen(mbp->mb_top); in smb_rq_simple() 355 mbp->mb_cur = mbp->mb_top; in smb_rq_internal()
|
H A D | acl_api.c | 85 m = mbp->mb_top; in smbfs_acl_iocget() 116 error = m_lineup(mbp->mb_top, &m); in smbfs_acl_iocset() 120 if (mbp->mb_top != m) in smbfs_acl_iocset()
|
H A D | nbns_rq.c | 468 error = m_lineup(mbp->mb_top, &mbp->mb_top); in nbns_rq_prepare() 480 void *rpdata = mtod(mbp->mb_top, void *); in nbns_rq_recv() 503 n = recvfrom(s, rpdata, mbp->mb_top->m_maxlen, 0, in nbns_rq_recv() 507 mbp->mb_top->m_len = mbp->mb_count = n; in nbns_rq_recv() 558 datap = mtod(mbp->mb_top, uint16_t *); in nbns_rq_send() 565 rc = sendto(s, mtod(mbp->mb_top, char *), mbp->mb_count, 0, in nbns_rq_send()
|
H A D | signing.c | 149 mbuf_t *m = rqp->rq_rq.mb_top; in smb_rq_sign() 191 mbuf_t *m = rqp->rq_rp.mb_top; in smb_rq_verify()
|
H A D | mbuf.c | 169 mbp->mb_top = mbp->mb_cur = m; in mb_initm() 176 if (mbp->mb_top) { in mb_done() 177 m_freem(mbp->mb_top); in mb_done() 178 mbp->mb_top = NULL; in mb_done()
|
H A D | ntlm.c | 486 struct mbuf *tim = ti_mbp->mb_top; in ntlm_put_v2_responses() 665 m = ntresp_mbp->mb_top; in ntlm_build_mac_key() 686 uchar_t *p = mtod(lm_mbp->mb_top, uchar_t *); in ntlm2_kxkey()
|
H A D | krb5ssp.c | 291 mbuf_t *m = in_mb->mb_top; in krb5ssp_get_reply()
|
/titanic_50/usr/src/uts/common/fs/smbclnt/netsmb/ |
H A D | subr_mchain.c | 227 if (mbp->mb_top) { in mb_done() 228 freemsg(mbp->mb_top); in mb_done() 229 mbp->mb_top = NULL; in mb_done() 250 mbp->mb_top = mbp->mb_cur = m; in mb_initm() 292 m = mbp->mb_top; in mb_detach() 293 mbp->mb_top = mbp->mb_cur = NULL; in mb_detach() 318 return (m_fixhdr(mbp->mb_top)); in mb_fixhdr()
|
H A D | smb_rq.c | 207 m = dupb(rqp->sr_rq.mb_top); in smb_rq_fillhdr() 949 m = t2p->t2_tparam.mb_top; in smb_t2_request_int() 957 m = t2p->t2_tdata.mb_top; in smb_t2_request_int() 1182 m = ntp->nt_tsetup.mb_top; in smb_nt_request_int() 1190 m = ntp->nt_tparam.mb_top; in smb_nt_request_int() 1198 m = ntp->nt_tdata.mb_top; in smb_nt_request_int()
|
H A D | smb_sign.c | 195 mblk_t *mp = rqp->sr_rq.mb_top; in smb_rq_sign()
|
H A D | smb_iod.c | 265 m = copymsg(rqp->sr_rq.mb_top); in smb_iod_sendrq()
|
H A D | smb_smb.c | 413 mb_put_mbuf(mbp, name_mb->mb_top); in smb_smb_ntcreate()
|
/titanic_50/usr/src/uts/common/netsmb/ |
H A D | mchain.h | 183 mblk_t *mb_top; member 211 mbuf_t *mb_top; /* head of mbuf chain */ member
|
/titanic_50/usr/src/uts/common/fs/smbclnt/smbfs/ |
H A D | smbfs_acl.c | 299 error = smbfs_setsd(vp, iocb.selector, &mbp->mb_top, cr); in smbfs_acl_iocset() 526 error = smbfs_setsd(vp, selector, &mbp->mb_top, cr); in smbfs_acl_store()
|
H A D | smbfs_smb.c | 2696 error = smbfs_smb_setsec_m(ssp, fid, scrp, selector, &mbp->mb_top); in smbfs_smb_setsec()
|