Lines Matching full:mdp

321 	struct mdchain *mdp = &rqp->sr_rp;  in smb_rq_reply()  local
329 error = md_get_uint32(mdp, &tdw); in smb_rq_reply()
332 error = md_get_uint8(mdp, &tb); in smb_rq_reply()
334 error = md_get_uint32le(mdp, &rqp->sr_error); in smb_rq_reply()
336 error = md_get_uint8(mdp, &rqp->sr_errclass); in smb_rq_reply()
337 error = md_get_uint8(mdp, &tb); in smb_rq_reply()
338 error = md_get_uint16le(mdp, &rqp->sr_serror); in smb_rq_reply()
342 error = md_get_uint8(mdp, &rqp->sr_rpflags); in smb_rq_reply()
343 error = md_get_uint16le(mdp, &rqp->sr_rpflags2); in smb_rq_reply()
345 error = md_get_uint32(mdp, &tdw); in smb_rq_reply()
346 error = md_get_uint32(mdp, &tdw); in smb_rq_reply()
347 error = md_get_uint32(mdp, &tdw); in smb_rq_reply()
349 error = md_get_uint16le(mdp, &rqp->sr_rptid); in smb_rq_reply()
350 error = md_get_uint16le(mdp, &rqp->sr_rppid); in smb_rq_reply()
351 error = md_get_uint16le(mdp, &rqp->sr_rpuid); in smb_rq_reply()
352 error = md_get_uint16le(mdp, &rqp->sr_rpmid); in smb_rq_reply()
419 struct mdchain *mdp) in smb_t2_placedata() argument
433 if (mdp->md_top == NULL) { in smb_t2_placedata()
434 md_initm(mdp, m0); in smb_t2_placedata()
436 m_cat(mdp->md_top, m0); in smb_t2_placedata()
443 struct mdchain *mdp; in smb_t2_reply() local
469 mdp = &rqp->sr_rp; in smb_t2_reply()
471 m_dumpm(mdp->md_top); in smb_t2_reply()
472 if ((error = md_get_uint8(mdp, &wc)) != 0) in smb_t2_reply()
478 if ((error = md_get_uint16le(mdp, &tmp)) != 0) in smb_t2_reply()
482 md_get_uint16le(mdp, &tmp); in smb_t2_reply()
485 if ((error = md_get_uint16le(mdp, &tmp)) != 0 || /* reserved */ in smb_t2_reply()
486 (error = md_get_uint16le(mdp, &pcount)) != 0 || in smb_t2_reply()
487 (error = md_get_uint16le(mdp, &poff)) != 0 || in smb_t2_reply()
488 (error = md_get_uint16le(mdp, &pdisp)) != 0) in smb_t2_reply()
496 if ((error = md_get_uint16le(mdp, &dcount)) != 0 || in smb_t2_reply()
497 (error = md_get_uint16le(mdp, &doff)) != 0 || in smb_t2_reply()
498 (error = md_get_uint16le(mdp, &ddisp)) != 0) in smb_t2_reply()
505 md_get_uint8(mdp, &wc); in smb_t2_reply()
506 md_get_uint8(mdp, NULL); in smb_t2_reply()
509 md_get_uint16(mdp, NULL); in smb_t2_reply()
510 if ((error = md_get_uint16le(mdp, &bc)) != 0) in smb_t2_reply()
514 error = smb_t2_placedata(mdp->md_top, doff, dcount, in smb_t2_reply()
520 error = smb_t2_placedata(mdp->md_top, poff, pcount, in smb_t2_reply()
554 struct mdchain *mdp, mbparam, mbdata; in smb_t2_request_int() local
726 mdp = &t2p->t2_rdata; in smb_t2_request_int()
727 if (mdp->md_top) { in smb_t2_request_int()
728 m_fixhdr(mdp->md_top); in smb_t2_request_int()
729 md_initm(mdp, mdp->md_top); in smb_t2_request_int()
731 mdp = &t2p->t2_rparam; in smb_t2_request_int()
732 if (mdp->md_top) { in smb_t2_request_int()
733 m_fixhdr(mdp->md_top); in smb_t2_request_int()
734 md_initm(mdp, mdp->md_top); in smb_t2_request_int()