Lines Matching defs:rmsg
128 xdr_replymsg(XDR *xdrs, struct rpc_msg *rmsg)
137 rmsg->rm_reply.rp_stat == MSG_ACCEPTED &&
138 rmsg->rm_direction == REPLY &&
140 RNDUP(rmsg->rm_reply.rp_acpt.ar_verf.oa_length)))) != NULL) {
141 IXDR_PUT_INT32(buf, rmsg->rm_xid);
142 IXDR_PUT_ENUM(buf, rmsg->rm_direction);
143 IXDR_PUT_ENUM(buf, rmsg->rm_reply.rp_stat);
144 ar = &rmsg->rm_reply.rp_acpt;
175 rmsg->rm_xid = IXDR_GET_INT32(buf);
176 rmsg->rm_direction = IXDR_GET_ENUM(buf, enum msg_type);
177 if (rmsg->rm_direction != REPLY)
179 rmsg->rm_reply.rp_stat = IXDR_GET_ENUM(buf, enum reply_stat);
180 if (rmsg->rm_reply.rp_stat != MSG_ACCEPTED) {
181 if (rmsg->rm_reply.rp_stat == MSG_DENIED)
183 &rmsg->rm_reply.rp_rjct));
186 ar = &rmsg->rm_reply.rp_acpt;
243 if (xdr_u_int(xdrs, &(rmsg->rm_xid)) &&
244 xdr_enum(xdrs, (enum_t *)&(rmsg->rm_direction)) &&
245 (rmsg->rm_direction == REPLY))
246 return (xdr_union(xdrs, (enum_t *)&(rmsg->rm_reply.rp_stat),
247 (caddr_t)&(rmsg->rm_reply.ru),