Lines Matching refs:rmsg
124 xdr_replymsg(XDR *xdrs, struct rpc_msg *rmsg) in xdr_replymsg() argument
133 rmsg->rm_reply.rp_stat == MSG_ACCEPTED && in xdr_replymsg()
134 rmsg->rm_direction == REPLY && in xdr_replymsg()
136 RNDUP(rmsg->rm_reply.rp_acpt.ar_verf.oa_length)))) != NULL) { in xdr_replymsg()
137 IXDR_PUT_INT32(buf, rmsg->rm_xid); in xdr_replymsg()
138 IXDR_PUT_ENUM(buf, rmsg->rm_direction); in xdr_replymsg()
139 IXDR_PUT_ENUM(buf, rmsg->rm_reply.rp_stat); in xdr_replymsg()
140 ar = &rmsg->rm_reply.rp_acpt; in xdr_replymsg()
171 rmsg->rm_xid = IXDR_GET_INT32(buf); in xdr_replymsg()
172 rmsg->rm_direction = IXDR_GET_ENUM(buf, enum msg_type); in xdr_replymsg()
173 if (rmsg->rm_direction != REPLY) in xdr_replymsg()
175 rmsg->rm_reply.rp_stat = IXDR_GET_ENUM(buf, enum reply_stat); in xdr_replymsg()
176 if (rmsg->rm_reply.rp_stat != MSG_ACCEPTED) { in xdr_replymsg()
177 if (rmsg->rm_reply.rp_stat == MSG_DENIED) in xdr_replymsg()
179 &rmsg->rm_reply.rp_rjct)); in xdr_replymsg()
182 ar = &rmsg->rm_reply.rp_acpt; in xdr_replymsg()
238 if (xdr_u_int(xdrs, &(rmsg->rm_xid)) && in xdr_replymsg()
239 xdr_enum(xdrs, (enum_t *)&(rmsg->rm_direction)) && in xdr_replymsg()
240 (rmsg->rm_direction == REPLY)) in xdr_replymsg()
241 return (xdr_union(xdrs, (enum_t *)&(rmsg->rm_reply.rp_stat), in xdr_replymsg()
242 (caddr_t)&(rmsg->rm_reply.ru), in xdr_replymsg()