Home | History | Annotate | Download | only in rpc

Lines Matching refs:xdrs

69 xdr_callmsg(XDR *xdrs, struct rpc_msg *cmsg)
74 _DIAGASSERT(xdrs != NULL);
77 if (xdrs->x_op == XDR_ENCODE) {
84 buf = XDR_INLINE(xdrs, 8 * BYTES_PER_XDR_UNIT
120 if (xdrs->x_op == XDR_DECODE) {
121 buf = XDR_INLINE(xdrs, 8 * BYTES_PER_XDR_UNIT);
147 buf = XDR_INLINE(xdrs, RNDUP(oa->oa_length));
149 if (xdr_opaque(xdrs, oa->oa_base,
163 buf = XDR_INLINE(xdrs, 2 * BYTES_PER_XDR_UNIT);
165 if (xdr_enum(xdrs, &oa->oa_flavor) == FALSE ||
166 xdr_u_int(xdrs, &oa->oa_length) == FALSE) {
182 buf = XDR_INLINE(xdrs, RNDUP(oa->oa_length));
184 if (xdr_opaque(xdrs, oa->oa_base,
201 xdr_u_int32_t(xdrs, &(cmsg->rm_xid)) &&
202 xdr_enum(xdrs, (enum_t *)(void *)&(cmsg->rm_direction)) &&
204 xdr_u_int32_t(xdrs, &(cmsg->rm_call.cb_rpcvers)) &&
206 xdr_u_int32_t(xdrs, &(cmsg->rm_call.cb_prog)) &&
207 xdr_u_int32_t(xdrs, &(cmsg->rm_call.cb_vers)) &&
208 xdr_u_int32_t(xdrs, &(cmsg->rm_call.cb_proc)) &&
209 xdr_opaque_auth(xdrs, &(cmsg->rm_call.cb_cred)) )
210 return (xdr_opaque_auth(xdrs, &(cmsg->rm_call.cb_verf)));