Lines Matching refs:xdr
8 xdr_s_type *xdr, in xdr_call_msg_start() argument
17 xdr->x_prog = prog; in xdr_call_msg_start()
18 xdr->x_proc = proc; in xdr_call_msg_start()
20 return (XDR_MSG_START(xdr, RPC_MSG_CALL) && in xdr_call_msg_start()
21 XDR_SEND_UINT32(xdr, &vers) && in xdr_call_msg_start()
22 XDR_SEND_UINT32(xdr, &prog) && in xdr_call_msg_start()
23 XDR_SEND_UINT32(xdr, &ver) && in xdr_call_msg_start()
24 XDR_SEND_UINT32(xdr, &proc) && in xdr_call_msg_start()
25 xdr_send_auth(xdr, cred) && in xdr_call_msg_start()
26 xdr_send_auth(xdr, verf)); in xdr_call_msg_start()
30 xdr_s_type *xdr, in xdr_reply_msg_start() argument
36 return(XDR_MSG_START(xdr, RPC_MSG_REPLY) && in xdr_reply_msg_start()
37 XDR_SEND_INT32(xdr, &stat) && in xdr_reply_msg_start()
38 xdr_send_auth(xdr, verf) && in xdr_reply_msg_start()
39 XDR_SEND_INT32(xdr, &accept)); in xdr_reply_msg_start()
43 xdr_s_type *xdr, in xdr_send_accepted_reply_header() argument
46 if (!xdr_send_auth(xdr, &accreply->verf)) in xdr_send_accepted_reply_header()
49 if (!XDR_SEND_ENUM(xdr, &accreply->stat)) in xdr_send_accepted_reply_header()
54 if (!XDR_SEND_UINT32(xdr, &accreply->u.versions.low)) in xdr_send_accepted_reply_header()
57 if (!XDR_SEND_UINT32(xdr, &accreply->u.versions.high)) in xdr_send_accepted_reply_header()
78 xdr_s_type *xdr, in xdr_send_denied_reply() argument
81 if (!XDR_SEND_ENUM(xdr, &rejreply->stat)) in xdr_send_denied_reply()
86 if (!XDR_SEND_UINT32(xdr, &rejreply->u.versions.low)) in xdr_send_denied_reply()
88 if (!XDR_SEND_UINT32(xdr, &rejreply->u.versions.high)) in xdr_send_denied_reply()
92 if (!XDR_SEND_ENUM(xdr, &rejreply->u.why)) in xdr_send_denied_reply()
103 xdr_s_type *xdr, in xdr_send_reply_header() argument
106 if (!XDR_SEND_ENUM(xdr, &reply->stat)) in xdr_send_reply_header()
111 if (!xdr_send_accepted_reply_header(xdr, &reply->u.ar)) in xdr_send_reply_header()
115 if (!xdr_send_denied_reply(xdr, &reply->u.dr)) in xdr_send_reply_header()
128 xdr_send_auth(xdr_s_type *xdr, const opaque_auth *auth) in xdr_send_auth() argument
134 FAILIF(!XDR_SEND_INT8(xdr, (int8_t *)&auth->oa_flavor)); in xdr_send_auth()
137 FAILIF(!XDR_SEND_INT16(xdr, (int16_t *)&auth->oa_flavor)); in xdr_send_auth()
140 FAILIF(!XDR_SEND_INT32(xdr, (int32_t *)&auth->oa_flavor)); in xdr_send_auth()
146 return (XDR_SEND_UINT(xdr, (uint32_t *)&auth->oa_length) && in xdr_send_auth()
148 XDR_SEND_BYTES(xdr, (uint8_t *)auth->oa_base, auth->oa_length))); in xdr_send_auth()