Lines Matching defs:ct_error
89 struct rpc_err ct_error;
252 ct->ct_error.re_status = RPC_SUCCESS;
258 if (ct->ct_error.re_status == RPC_SUCCESS)
259 ct->ct_error.re_status = RPC_CANTENCODEARGS;
261 return (ct->ct_error.re_status);
264 return (ct->ct_error.re_status = RPC_CANTSEND);
271 return (ct->ct_error.re_status = RPC_TIMEDOUT);
284 return (ct->ct_error.re_status);
287 if (ct->ct_error.re_status == RPC_SUCCESS)
289 return (ct->ct_error.re_status);
298 __seterr_reply(&reply_msg, &(ct->ct_error));
299 if (ct->ct_error.re_status == RPC_SUCCESS) {
302 ct->ct_error.re_status = RPC_AUTHERROR;
303 ct->ct_error.re_why = AUTH_INVALIDRESP;
305 if (ct->ct_error.re_status == RPC_SUCCESS)
306 ct->ct_error.re_status = RPC_CANTDECODERES;
320 return (ct->ct_error.re_status);
331 *errp = ct->ct_error;
425 ct->ct_error.re_status = RPC_TIMEDOUT;
431 ct->ct_error.re_status = RPC_CANTRECV;
432 ct->ct_error.re_errno = errno;
441 ct->ct_error.re_errno = ECONNRESET;
442 ct->ct_error.re_status = RPC_CANTRECV;
447 ct->ct_error.re_errno = errno;
448 ct->ct_error.re_status = RPC_CANTRECV;
464 ct->ct_error.re_errno = errno;
465 ct->ct_error.re_status = RPC_CANTSEND;