Lines Matching defs:clnt
88 CLIENT *clnt;
94 clnt = clnt_create_timed(hostname, prog, vers_high, nettype, tp);
95 if (clnt == NULL)
103 rpc_stat = clnt_call(clnt, NULLPROC, (xdrproc_t)xdr_void,
107 return (clnt);
114 clnt_geterr(clnt, &rpcerr);
126 CLNT_CONTROL(clnt, CLSET_VERS, (char *)&v_high);
127 rpc_stat = clnt_call(clnt, NULLPROC, (xdrproc_t)xdr_void,
132 return (clnt);
135 clnt_geterr(clnt, &rpcerr);
140 clnt_destroy(clnt);
177 CLIENT *clnt = NULL;
204 if ((clnt = clnt_door_create(prog, vers, 0)) != NULL)
205 return (clnt);
224 while (clnt == NULL) {
230 clnt = clnt_tp_create_timed(hostname, prog, vers, nconf, tp);
231 if (clnt)
275 return (clnt);
297 CLIENT *clnt = NULL;
364 if ((clnt = clnt_door_create(prog, vers, 0)) != NULL)
376 while (clnt == NULL) {
432 clnt = _clnt_tli_create_timed(fd, nconf, &tbind->addr,
435 if (clnt == NULL) {
442 (void) CLNT_CONTROL(clnt, CLSET_FD_CLOSE, NULL);
445 * Check if we can reach the server with this clnt handle
451 rpc_createerr.cf_stat = clnt_call(clnt, NULLPROC,
458 clnt_destroy(clnt);
459 clnt = NULL;
477 return (clnt);