Home
last modified time | relevance | path

Searched refs:oa_base (Results 1 – 25 of 39) sorted by path

12

/illumos-gate/usr/src/lib/libnsl/rpc/
H A Dauth_des.c352 ixdr = (uint32_t *)rverf->oa_base; in authdes_validate()
H A Dauth_sys.c261 xdrmem_create(&xdrs, verf->oa_base, in authsys_validate()
264 if (au->au_shcred.oa_base != NULL) { in authsys_validate()
265 free(au->au_shcred.oa_base); in authsys_validate()
266 au->au_shcred.oa_base = NULL; in authsys_validate()
273 au->au_shcred.oa_base = NULL; in authsys_validate()
292 if (auth->ah_cred.oa_base == au->au_origcred.oa_base) in authsys_refresh()
329 free(au->au_origcred.oa_base); in authsys_destroy()
330 if (au->au_shcred.oa_base != NULL) in authsys_destroy()
331 free(au->au_shcred.oa_base); in authsys_destroy()
333 if (auth->ah_verf.oa_base != NULL) in authsys_destroy()
[all …]
H A Dclnt_dg.c607 reply_msg.acpted_rply.ar_verf.oa_base != NULL) { in clnt_dg_call()
H A Dclnt_door.c257 if (reply_msg.acpted_rply.ar_verf.oa_base != NULL) { in clnt_door_call()
H A Dclnt_raw.c206 if (msg.acpted_rply.ar_verf.oa_base != NULL) { in clnt_raw_call()
H A Dclnt_vc.c793 reply_msg.acpted_rply.ar_verf.oa_base != NULL) { in clnt_vc_call()
H A Drpc_callmsg.c81 (void) memcpy(buf, oa->oa_base, oa->oa_length); in xdr_callmsg()
119 if (oa->oa_base == NULL) { in xdr_callmsg()
120 oa->oa_base = malloc(oa->oa_length); in xdr_callmsg()
121 if (oa->oa_base == NULL) { in xdr_callmsg()
129 if (xdr_opaque(xdrs, oa->oa_base, in xdr_callmsg()
133 (void) memcpy(oa->oa_base, in xdr_callmsg()
155 if (oa->oa_base == NULL) { in xdr_callmsg()
156 oa->oa_base = malloc(oa->oa_length); in xdr_callmsg()
157 if (oa->oa_base == NULL) { in xdr_callmsg()
165 if (xdr_opaque(xdrs, oa->oa_base, in xdr_callmsg()
[all …]
H A Drpc_prot.c61 return (xdr_bytes(xdrs, &ap->oa_base, in xdr_opaque_auth()
145 (void) memcpy(buf, oa->oa_base, oa->oa_length); in xdr_replymsg()
196 if (oa->oa_base == NULL) { in xdr_replymsg()
197 oa->oa_base = malloc(oa->oa_length); in xdr_replymsg()
198 if (oa->oa_base == NULL) { in xdr_replymsg()
207 if (xdr_opaque(xdrs, oa->oa_base, in xdr_replymsg()
211 (void) memcpy(oa->oa_base, buf, oa->oa_length); in xdr_replymsg()
H A Dsvc.c1371 msg->rm_call.cb_cred.oa_base = cred_area; in svc_getreq_common()
1372 msg->rm_call.cb_verf.oa_base = &(cred_area[MAX_AUTH_BYTES]); in svc_getreq_common()
H A Dsvc_auth_loopb.c75 buf = (int32_t *)msg->rm_call.cb_cred.oa_base; in __svcauth_loopback()
H A Dsvc_auth_sys.c89 buf = (int32_t *)msg->rm_call.cb_cred.oa_base; in __svcauth_sys()
H A Dsvc_dg.c165 xprt->xp_verf.oa_base = su->su_verfbody; in svc_dg_create_private()
264 xprt->xp_verf.oa_base = su->su_verfbody; in svc_dg_xprtcopy()
H A Dsvc_door.c265 msg->rm_call.cb_cred.oa_base = cred_area; in door_server()
266 msg->rm_call.cb_verf.oa_base = &(cred_area[MAX_AUTH_BYTES]); in door_server()
406 xprt->xp_verf.oa_base = su->su_verfbody; in svc_door_create()
487 xprt->xp_verf.oa_base = su->su_verfbody; in svc_door_xprtcopy()
H A Dsvc_raw.c121 srp->server->xp_verf.oa_base = srp->verf_body; in svc_raw_create()
H A Dsvc_run.c680 msg->rm_call.cb_cred.oa_base = cred_area; in _svc_run_mt()
681 msg->rm_call.cb_verf.oa_base = in _svc_run_mt()
H A Dsvc_vc.c578 xprt->xp_verf.oa_base = cd->verf_body; in makefd_xprt()
647 xprt->xp_verf.oa_base = cd->verf_body; in svc_fd_xprtcopy()
H A Dsvcauth_des.c171 ixdr = (int32_t *)msg->rm_call.cb_cred.oa_base; in __svcauth_des()
200 ixdr = (int32_t *)msg->rm_call.cb_verf.oa_base; in __svcauth_des()
425 ixdr = (int32_t *)msg->rm_call.cb_verf.oa_base; in __svcauth_des()
431 rqst->rq_xprt->xp_verf.oa_base = msg->rm_call.cb_verf.oa_base; in __svcauth_des()
433 (char *)ixdr - msg->rm_call.cb_verf.oa_base; in __svcauth_des()
/illumos-gate/usr/src/lib/rpcsec_gss/
H A Drpcsec_gss.c497 creds.oa_base = cred_buf;
529 verf.oa_base = NULL;
544 verf.oa_base = out_buf.value;
591 tok_buf.value = ap->verifier->oa_base; in validate_seqwin()
624 ap->verifier->oa_base = malloc(verf->oa_length);
627 free(ap->verifier->oa_base);
629 ap->verifier->oa_base = malloc(verf->oa_length);
632 bcopy(verf->oa_base, ap->verifier->oa_base, verf->oa_length);
640 tok_buf.value = verf->oa_base;
786 free(ap->verifier->oa_base);
H A Dsvc_rpcsec_gss.c566 rqst->rq_xprt->xp_verf.oa_base = NULL; in __svcrpcsec_gss()
581 xdrmem_create(&xdrs, cred->oa_base, cred->oa_length, XDR_DECODE); in __svcrpcsec_gss()
1100 (void) memcpy((caddr_t)tmp, oa->oa_base, oa->oa_length); in check_verf()
1107 tok_buf.value = oa->oa_base; in check_verf()
1135 rqst->rq_xprt->xp_verf.oa_base = msg->rm_call.cb_verf.oa_base; in set_response_verf()
1137 memcpy(rqst->rq_xprt->xp_verf.oa_base, out_buf.value, in set_response_verf()
/illumos-gate/usr/src/stand/lib/fs/nfs/
H A Dauth_unix.c129 if ((au->au_origcred.oa_base = bkmem_alloc((uint_t)len)) == NULL) { in authunix_create()
132 (void) bcopy(mymem, au->au_origcred.oa_base, (uint_t)len); in authunix_create()
171 xdrmem_create(&xdrs, verf->oa_base, verf->oa_length, in authunix_validate()
179 au->au_shcred.oa_base = 0; in authunix_validate()
197 if (auth->ah_cred.oa_base == au->au_origcred.oa_base) { in authunix_refresh()
206 xdrmem_create(&xdrs, au->au_origcred.oa_base, in authunix_refresh()
234 if (au->au_shcred.oa_base != NULL) in authunix_destroy()
235 bkmem_free(au->au_shcred.oa_base, au->au_shcred.oa_length); in authunix_destroy()
237 if (auth->ah_verf.oa_base != NULL) in authunix_destroy()
238 bkmem_free(auth->ah_verf.oa_base, auth->ah_verf.oa_length); in authunix_destroy()
H A Dclnt_btcp.c380 if (reply_msg.acpted_rply.ar_verf.oa_base != NULL) { in clntbtcp_call()
H A Dclnt_budp.c376 if (reply_msg.acpted_rply.ar_verf.oa_base != NULL) { in clntbudp_call()
H A Drpc.c401 if (reply.acpted_rply.ar_verf.oa_base != in brpc_call()
/illumos-gate/usr/src/ucblib/librpcsoc/
H A Dclnt_tcp.c300 if (reply_msg.acpted_rply.ar_verf.oa_base != NULL) { in clnttcp_call()
H A Dclnt_udp.c411 if (reply_msg.acpted_rply.ar_verf.oa_base != NULL) {

12