Lines Matching defs:objp

50 xdr_rpcb(XDR *xdrs, RPCB *objp)
52 if (!xdr_u_int(xdrs, (uint_t *)&objp->r_prog))
54 if (!xdr_u_int(xdrs, (uint_t *)&objp->r_vers))
56 if (!xdr_string(xdrs, &objp->r_netid, ~0))
58 if (!xdr_string(xdrs, &objp->r_addr, ~0))
60 return (xdr_string(xdrs, &objp->r_owner, ~0));
142 xdr_rpcb_entry(XDR *xdrs, rpcb_entry *objp)
144 if (!xdr_string(xdrs, &objp->r_maddr, ~0))
146 if (!xdr_string(xdrs, &objp->r_nc_netid, ~0))
148 if (!xdr_u_int(xdrs, &objp->r_nc_semantics))
150 if (!xdr_string(xdrs, &objp->r_nc_protofmly, ~0))
152 return (xdr_string(xdrs, &objp->r_nc_proto, ~0));
205 xdr_rpcb_rmtcallargs(XDR *xdrs, struct r_rpcb_rmtcallargs *objp)
212 if (!xdr_u_int(xdrs, (uint_t *)&objp->prog))
214 if (!xdr_u_int(xdrs, (uint_t *)&objp->vers))
216 if (!xdr_u_int(xdrs, (uint_t *)&objp->proc))
219 IXDR_PUT_U_INT32(buf, objp->prog);
220 IXDR_PUT_U_INT32(buf, objp->vers);
221 IXDR_PUT_U_INT32(buf, objp->proc);
228 if (!xdr_u_int(xdrs, &(objp->args.args_len)))
231 if (!(*objp->xdr_args)(xdrs, objp->args.args_val))
234 objp->args.args_len = (uint_t)position - (uint_t)argposition;
236 if (!xdr_u_int(xdrs, &(objp->args.args_len)))
247 xdr_rpcb_rmtcallres(XDR *xdrs, struct r_rpcb_rmtcallres *objp)
249 if (!xdr_string(xdrs, &objp->addr, ~0))
251 if (!xdr_u_int(xdrs, &objp->results.results_len))
253 return ((*(objp->xdr_res))(xdrs, objp->results.results_val));
257 xdr_netbuf(XDR *xdrs, struct netbuf *objp)
259 if (!xdr_u_int(xdrs, (uint_t *)&objp->maxlen))
261 return (xdr_bytes(xdrs, (char **)&(objp->buf),
262 (uint_t *)&(objp->len), objp->maxlen));