Lines Matching defs:objp
54 xdr_rpcb(XDR *xdrs, RPCB *objp)
56 if (!xdr_rpcprog(xdrs, &objp->r_prog))
58 if (!xdr_rpcvers(xdrs, &objp->r_vers))
60 if (!xdr_string(xdrs, &objp->r_netid, ~0))
62 if (!xdr_string(xdrs, &objp->r_addr, ~0))
64 if (!xdr_string(xdrs, &objp->r_owner, ~0))
74 xdr_rpcb_rmtcallargs(XDR *xdrs, struct rpcb_rmtcallargs *objp)
78 if (!xdr_rpcprog(xdrs, &objp->prog))
80 if (!xdr_rpcvers(xdrs, &objp->vers))
82 if (!xdr_rpcproc(xdrs, &objp->proc))
88 if (!xdr_u_int(xdrs, &(objp->arglen)))
91 if (!(*(objp->xdr_args))(xdrs, objp->args_ptr))
94 objp->arglen = (u_int)position - (u_int)argposition;
96 if (!xdr_u_int(xdrs, &(objp->arglen)))
107 xdr_rpcb_rmtcallres(XDR *xdrs, struct rpcb_rmtcallres *objp)
109 if (!xdr_string(xdrs, &objp->addr_ptr, ~0))
111 if (!xdr_u_int(xdrs, &objp->resultslen))
113 return ((*(objp->xdr_results))(xdrs, objp->results_ptr));
117 xdr_netbuf(XDR *xdrs, struct netbuf *objp)
125 if (xdrs->x_op == XDR_DECODE && objp->buf != NULL) {
131 if (!xdr_u_int(xdrs, (u_int *)&objp->maxlen))
134 return (xdr_bytes(xdrs, (char **)&(objp->buf),
135 (u_int *)&(objp->len), objp->maxlen));