Lines Matching refs:rmsg
141 xdr_replymsg(XDR *xdrs, struct rpc_msg *rmsg) in xdr_replymsg() argument
149 rmsg->rm_reply.rp_stat == MSG_ACCEPTED && in xdr_replymsg()
150 rmsg->rm_direction == REPLY && in xdr_replymsg()
152 RNDUP(rmsg->rm_reply.rp_acpt.ar_verf.oa_length)))) != NULL) { in xdr_replymsg()
153 IXDR_PUT_INT32(buf, rmsg->rm_xid); in xdr_replymsg()
154 IXDR_PUT_ENUM(buf, rmsg->rm_direction); in xdr_replymsg()
155 IXDR_PUT_ENUM(buf, rmsg->rm_reply.rp_stat); in xdr_replymsg()
156 ar = &rmsg->rm_reply.rp_acpt; in xdr_replymsg()
186 rmsg->rm_xid = IXDR_GET_INT32(buf); in xdr_replymsg()
187 rmsg->rm_direction = IXDR_GET_ENUM(buf, enum msg_type); in xdr_replymsg()
188 if (rmsg->rm_direction != REPLY) in xdr_replymsg()
190 rmsg->rm_reply.rp_stat = IXDR_GET_ENUM(buf, enum reply_stat); in xdr_replymsg()
191 if (rmsg->rm_reply.rp_stat != MSG_ACCEPTED) { in xdr_replymsg()
192 if (rmsg->rm_reply.rp_stat == MSG_DENIED) in xdr_replymsg()
194 &rmsg->rm_reply.rp_rjct)); in xdr_replymsg()
197 ar = &rmsg->rm_reply.rp_acpt; in xdr_replymsg()
243 if (xdr_u_int(xdrs, &(rmsg->rm_xid)) && in xdr_replymsg()
244 xdr_enum(xdrs, (enum_t *)&(rmsg->rm_direction)) && in xdr_replymsg()
245 (rmsg->rm_direction == REPLY)) in xdr_replymsg()
246 return (xdr_union(xdrs, (enum_t *)&(rmsg->rm_reply.rp_stat), in xdr_replymsg()
247 (caddr_t)&(rmsg->rm_reply.ru), reply_dscrm, in xdr_replymsg()
256 xdr_replymsg_hdr(XDR *xdrs, struct rpc_msg *rmsg) in xdr_replymsg_hdr() argument
264 rmsg->rm_reply.rp_stat != MSG_ACCEPTED || in xdr_replymsg_hdr()
265 rmsg->rm_direction != REPLY) in xdr_replymsg_hdr()
269 RNDUP(rmsg->rm_reply.rp_acpt.ar_verf.oa_length)))) != NULL) { in xdr_replymsg_hdr()
270 IXDR_PUT_INT32(buf, rmsg->rm_xid); in xdr_replymsg_hdr()
271 IXDR_PUT_ENUM(buf, rmsg->rm_direction); in xdr_replymsg_hdr()
272 IXDR_PUT_ENUM(buf, rmsg->rm_reply.rp_stat); in xdr_replymsg_hdr()
273 ar = &rmsg->rm_reply.rp_acpt; in xdr_replymsg_hdr()
292 if (xdr_u_int(xdrs, &(rmsg->rm_xid)) && in xdr_replymsg_hdr()
293 xdr_enum(xdrs, (enum_t *)&(rmsg->rm_direction)) && in xdr_replymsg_hdr()
294 xdr_enum(xdrs, (enum_t *)&(rmsg->rm_reply.rp_stat)) && in xdr_replymsg_hdr()
295 xdr_opaque_auth(xdrs, &rmsg->rm_reply.rp_acpt.ar_verf) && in xdr_replymsg_hdr()
296 xdr_enum(xdrs, (enum_t *)&(rmsg->rm_reply.rp_acpt.ar_stat))) in xdr_replymsg_hdr()
305 xdr_replymsg_body(XDR *xdrs, struct rpc_msg *rmsg) in xdr_replymsg_body() argument
312 ar = &rmsg->rm_reply.rp_acpt; in xdr_replymsg_body()