HomeSort by: relevance | last modified time | path
    Searched defs:xdrs (Results 1 - 22 of 22) sorted by relevancy

  /src/lib/libc/rpc/
auth_none.c 96 XDR *xdrs; local in function:authnone_create
107 xdrs = &xdr_stream;
108 xdrmem_create(xdrs, ap->marshalled_client,
110 (void)xdr_opaque_auth(xdrs, &ap->no_client.ah_cred);
111 (void)xdr_opaque_auth(xdrs, &ap->no_client.ah_verf);
112 ap->mcnt = XDR_GETPOS(xdrs);
113 XDR_DESTROY(xdrs);
120 authnone_marshal(AUTH *client, XDR *xdrs)
124 _DIAGASSERT(xdrs != NULL);
128 return ((*xdrs->x_ops->x_putbytes)(xdrs
    [all...]
svc_auth_unix.c 70 XDR xdrs; local in function:_svcauth_unix
89 xdrmem_create(&xdrs, msg->rm_call.cb_cred.oa_base, auth_len,XDR_DECODE);
90 buf = XDR_INLINE(&xdrs, auth_len);
124 } else if (! xdr_authunix_parms(&xdrs, aup)) {
125 xdrs.x_op = XDR_FREE;
126 (void)xdr_authunix_parms(&xdrs, aup);
134 XDR_DESTROY(&xdrs);
auth_none.c 96 XDR *xdrs; local in function:authnone_create
107 xdrs = &xdr_stream;
108 xdrmem_create(xdrs, ap->marshalled_client,
110 (void)xdr_opaque_auth(xdrs, &ap->no_client.ah_cred);
111 (void)xdr_opaque_auth(xdrs, &ap->no_client.ah_verf);
112 ap->mcnt = XDR_GETPOS(xdrs);
113 XDR_DESTROY(xdrs);
120 authnone_marshal(AUTH *client, XDR *xdrs)
124 _DIAGASSERT(xdrs != NULL);
128 return ((*xdrs->x_ops->x_putbytes)(xdrs
    [all...]
svc_auth_unix.c 70 XDR xdrs; local in function:_svcauth_unix
89 xdrmem_create(&xdrs, msg->rm_call.cb_cred.oa_base, auth_len,XDR_DECODE);
90 buf = XDR_INLINE(&xdrs, auth_len);
124 } else if (! xdr_authunix_parms(&xdrs, aup)) {
125 xdrs.x_op = XDR_FREE;
126 (void)xdr_authunix_parms(&xdrs, aup);
134 XDR_DESTROY(&xdrs);
svc_raw.c 143 XDR *xdrs; local in function:svc_raw_recv
153 xdrs = &srp->xdr_stream;
154 xdrs->x_op = XDR_DECODE;
155 (void) XDR_SETPOS(xdrs, 0);
156 if (! xdr_callmsg(xdrs, msg)) {
167 XDR *xdrs; local in function:svc_raw_reply
177 xdrs = &srp->xdr_stream;
178 xdrs->x_op = XDR_ENCODE;
179 (void) XDR_SETPOS(xdrs, 0);
180 if (! xdr_replymsg(xdrs, msg))
208 XDR *xdrs; local in function:svc_raw_freeargs
    [all...]
svc_raw.c 143 XDR *xdrs; local in function:svc_raw_recv
153 xdrs = &srp->xdr_stream;
154 xdrs->x_op = XDR_DECODE;
155 (void) XDR_SETPOS(xdrs, 0);
156 if (! xdr_callmsg(xdrs, msg)) {
167 XDR *xdrs; local in function:svc_raw_reply
177 xdrs = &srp->xdr_stream;
178 xdrs->x_op = XDR_ENCODE;
179 (void) XDR_SETPOS(xdrs, 0);
180 if (! xdr_replymsg(xdrs, msg))
208 XDR *xdrs; local in function:svc_raw_freeargs
    [all...]
clnt_raw.c 105 XDR *xdrs; local in function:clnt_raw_create
122 xdrs = &clp->xdr_stream;
133 xdrmem_create(xdrs, clp->u.mashl_callmsg, MCALL_MSG_SIZE, XDR_ENCODE);
134 if (! xdr_callhdr(xdrs, &call_msg))
136 clp->mcnt = XDR_GETPOS(xdrs);
137 XDR_DESTROY(xdrs);
142 xdrmem_create(xdrs, clp->_raw_buf, UDPMSGSIZE, XDR_FREE);
165 XDR *xdrs = &clp->xdr_stream; local in function:clnt_raw_call
183 xdrs->x_op = XDR_ENCODE;
184 XDR_SETPOS(xdrs, 0)
263 XDR *xdrs = &clp->xdr_stream; local in function:clnt_raw_freeres
    [all...]
clnt_raw.c 105 XDR *xdrs; local in function:clnt_raw_create
122 xdrs = &clp->xdr_stream;
133 xdrmem_create(xdrs, clp->u.mashl_callmsg, MCALL_MSG_SIZE, XDR_ENCODE);
134 if (! xdr_callhdr(xdrs, &call_msg))
136 clp->mcnt = XDR_GETPOS(xdrs);
137 XDR_DESTROY(xdrs);
142 xdrmem_create(xdrs, clp->_raw_buf, UDPMSGSIZE, XDR_FREE);
165 XDR *xdrs = &clp->xdr_stream; local in function:clnt_raw_call
183 xdrs->x_op = XDR_ENCODE;
184 XDR_SETPOS(xdrs, 0)
263 XDR *xdrs = &clp->xdr_stream; local in function:clnt_raw_freeres
    [all...]
auth_unix.c 112 XDR xdrs; local in function:authunix_create
154 xdrmem_create(&xdrs, mymem, MAX_AUTH_BYTES, XDR_ENCODE);
155 if (! xdr_authunix_parms(&xdrs, &aup))
157 au->au_origcred.oa_length = len = XDR_GETPOS(&xdrs);
241 authunix_marshal(AUTH *auth, XDR *xdrs)
246 _DIAGASSERT(xdrs != NULL);
249 return (XDR_PUTBYTES(xdrs, au->au_marshed, au->au_mpos));
256 XDR xdrs; local in function:authunix_validate
263 xdrmem_create(&xdrs, verf->oa_base, verf->oa_length,
271 if (xdr_opaque_auth(&xdrs, &au->au_shcred))
290 XDR xdrs; local in function:authunix_refresh
357 XDR *xdrs = &xdr_stream; local in function:marshal_new_auth
    [all...]
auth_unix.c 112 XDR xdrs; local in function:authunix_create
154 xdrmem_create(&xdrs, mymem, MAX_AUTH_BYTES, XDR_ENCODE);
155 if (! xdr_authunix_parms(&xdrs, &aup))
157 au->au_origcred.oa_length = len = XDR_GETPOS(&xdrs);
241 authunix_marshal(AUTH *auth, XDR *xdrs)
246 _DIAGASSERT(xdrs != NULL);
249 return (XDR_PUTBYTES(xdrs, au->au_marshed, au->au_mpos));
256 XDR xdrs; local in function:authunix_validate
263 xdrmem_create(&xdrs, verf->oa_base, verf->oa_length,
271 if (xdr_opaque_auth(&xdrs, &au->au_shcred))
290 XDR xdrs; local in function:authunix_refresh
357 XDR *xdrs = &xdr_stream; local in function:marshal_new_auth
    [all...]
clnt_dg.c 319 XDR *xdrs; local in function:clnt_dg_call
361 xdrs = &(cu->cu_outxdrs);
362 xdrs->x_op = XDR_ENCODE;
363 XDR_SETPOS(xdrs, cu->cu_xdrpos);
368 if ((! XDR_PUTINT32(xdrs, (int32_t *)&proc)) ||
369 (! AUTH_MARSHALL(cl->cl_auth, xdrs)) ||
370 (! (*xargs)(xdrs, __UNCONST(argsp)))) {
374 outlen = (size_t)XDR_GETPOS(xdrs);
480 xdrs->x_op = XDR_FREE;
481 (void) xdr_opaque_auth(xdrs,
522 XDR *xdrs; local in function:clnt_dg_freeres
    [all...]
clnt_vc.c 353 XDR *xdrs; local in function:clnt_vc_call
377 xdrs = &(ct->ct_xdrs);
390 xdrs->x_op = XDR_ENCODE;
393 if ((! XDR_PUTBYTES(xdrs, ct->ct_u.ct_mcallc, ct->ct_mpos)) ||
394 (! XDR_PUTINT32(xdrs, (int32_t *)&proc)) ||
395 (! AUTH_MARSHALL(h->cl_auth, xdrs)) ||
396 (! (*xdr_args)(xdrs, __UNCONST(args_ptr)))) {
399 (void)xdrrec_endofrecord(xdrs, TRUE);
403 if (! xdrrec_endofrecord(xdrs, shipnow)) {
423 xdrs->x_op = XDR_DECODE
495 XDR *xdrs; local in function:clnt_vc_freeres
    [all...]
clnt_dg.c 319 XDR *xdrs; local in function:clnt_dg_call
361 xdrs = &(cu->cu_outxdrs);
362 xdrs->x_op = XDR_ENCODE;
363 XDR_SETPOS(xdrs, cu->cu_xdrpos);
368 if ((! XDR_PUTINT32(xdrs, (int32_t *)&proc)) ||
369 (! AUTH_MARSHALL(cl->cl_auth, xdrs)) ||
370 (! (*xargs)(xdrs, __UNCONST(argsp)))) {
374 outlen = (size_t)XDR_GETPOS(xdrs);
480 xdrs->x_op = XDR_FREE;
481 (void) xdr_opaque_auth(xdrs,
522 XDR *xdrs; local in function:clnt_dg_freeres
    [all...]
clnt_vc.c 353 XDR *xdrs; local in function:clnt_vc_call
377 xdrs = &(ct->ct_xdrs);
390 xdrs->x_op = XDR_ENCODE;
393 if ((! XDR_PUTBYTES(xdrs, ct->ct_u.ct_mcallc, ct->ct_mpos)) ||
394 (! XDR_PUTINT32(xdrs, (int32_t *)&proc)) ||
395 (! AUTH_MARSHALL(h->cl_auth, xdrs)) ||
396 (! (*xdr_args)(xdrs, __UNCONST(args_ptr)))) {
399 (void)xdrrec_endofrecord(xdrs, TRUE);
403 if (! xdrrec_endofrecord(xdrs, shipnow)) {
423 xdrs->x_op = XDR_DECODE
495 XDR *xdrs; local in function:clnt_vc_freeres
    [all...]
clnt_bcast.c 265 XDR *xdrs = &xdr_stream; local in function:rpc_broadcast_exp
408 xdrmem_create(xdrs, outbuf, maxbufsize, XDR_ENCODE);
409 if ((!xdr_callmsg(xdrs, &msg)) ||
410 (!xdr_rpcb_rmtcallargs(xdrs,
415 outlen = xdr_getpos(xdrs);
416 xdr_destroy(xdrs);
433 xdrmem_create(xdrs, outbuf_pmap, udpbufsz, XDR_ENCODE);
434 if ((! xdr_callmsg(xdrs, &msg)) ||
435 (! xdr_rmtcall_args(xdrs, &barg_pmap))) {
439 outlen_pmap = xdr_getpos(xdrs);
    [all...]
svc_dg.c 187 XDR *xdrs; local in function:svc_dg_recv
198 xdrs = &(su->su_xdrs);
221 xdrs->x_op = XDR_DECODE;
222 XDR_SETPOS(xdrs, 0);
223 if (! xdr_callmsg(xdrs, msg)) {
241 XDR *xdrs; local in function:svc_dg_reply
249 xdrs = &(su->su_xdrs);
251 xdrs->x_op = XDR_ENCODE;
252 XDR_SETPOS(xdrs, 0);
254 if (xdr_replymsg(xdrs, msg))
276 XDR *xdrs; local in function:svc_dg_freeargs
    [all...]
svc_vc.c 107 XDR xdrs; member in struct:cf_conn
277 xdrrec_create(&(cd->xdrs), sendsize, recvsize,
367 __xdrrec_setnonblock(&cd->xdrs, cd->maxrec);
413 XDR_DESTROY(&(cd->xdrs));
619 if (! xdrrec_eof(&(cd->xdrs)))
628 XDR *xdrs; local in function:svc_vc_recv
634 xdrs = &(cd->xdrs);
637 if (!__xdrrec_getrec(xdrs, &cd->strm_stat, TRUE))
641 xdrs->x_op = XDR_DECODE
666 XDR *xdrs; local in function:svc_vc_freeargs
681 XDR *xdrs; local in function:svc_vc_reply
    [all...]
clnt_bcast.c 265 XDR *xdrs = &xdr_stream; local in function:rpc_broadcast_exp
408 xdrmem_create(xdrs, outbuf, maxbufsize, XDR_ENCODE);
409 if ((!xdr_callmsg(xdrs, &msg)) ||
410 (!xdr_rpcb_rmtcallargs(xdrs,
415 outlen = xdr_getpos(xdrs);
416 xdr_destroy(xdrs);
433 xdrmem_create(xdrs, outbuf_pmap, udpbufsz, XDR_ENCODE);
434 if ((! xdr_callmsg(xdrs, &msg)) ||
435 (! xdr_rmtcall_args(xdrs, &barg_pmap))) {
439 outlen_pmap = xdr_getpos(xdrs);
    [all...]
svc_dg.c 187 XDR *xdrs; local in function:svc_dg_recv
198 xdrs = &(su->su_xdrs);
221 xdrs->x_op = XDR_DECODE;
222 XDR_SETPOS(xdrs, 0);
223 if (! xdr_callmsg(xdrs, msg)) {
241 XDR *xdrs; local in function:svc_dg_reply
249 xdrs = &(su->su_xdrs);
251 xdrs->x_op = XDR_ENCODE;
252 XDR_SETPOS(xdrs, 0);
254 if (xdr_replymsg(xdrs, msg))
276 XDR *xdrs; local in function:svc_dg_freeargs
    [all...]
svc_vc.c 107 XDR xdrs; member in struct:cf_conn
277 xdrrec_create(&(cd->xdrs), sendsize, recvsize,
367 __xdrrec_setnonblock(&cd->xdrs, cd->maxrec);
413 XDR_DESTROY(&(cd->xdrs));
619 if (! xdrrec_eof(&(cd->xdrs)))
628 XDR *xdrs; local in function:svc_vc_recv
634 xdrs = &(cd->xdrs);
637 if (!__xdrrec_getrec(xdrs, &cd->strm_stat, TRUE))
641 xdrs->x_op = XDR_DECODE
666 XDR *xdrs; local in function:svc_vc_freeargs
681 XDR *xdrs; local in function:svc_vc_reply
    [all...]
  /src/usr.sbin/rpcbind/
warmstart.c 78 XDR xdrs; local in function:write_struct
88 xdrstdio_create(&xdrs, fp, XDR_ENCODE);
90 if (structproc(&xdrs, list) == FALSE) {
95 XDR_DESTROY(&xdrs);
104 XDR xdrs; local in function:read_struct
121 xdrstdio_create(&xdrs, fp, XDR_DECODE);
123 if (structproc(&xdrs, list) == FALSE) {
128 XDR_DESTROY(&xdrs);
warmstart.c 78 XDR xdrs; local in function:write_struct
88 xdrstdio_create(&xdrs, fp, XDR_ENCODE);
90 if (structproc(&xdrs, list) == FALSE) {
95 XDR_DESTROY(&xdrs);
104 XDR xdrs; local in function:read_struct
121 xdrstdio_create(&xdrs, fp, XDR_DECODE);
123 if (structproc(&xdrs, list) == FALSE) {
128 XDR_DESTROY(&xdrs);

Completed in 33 milliseconds