/freebsd-current/usr.sbin/rpc.lockd/ |
H A D | test.c | 11 nlm_test_1(argp, clnt) 13 CLIENT *clnt; 18 if (clnt_call(clnt, NLM_TEST, xdr_nlm_testargs, argp, xdr_nlm_testres, &res, TIMEOUT) != RPC_SUCCESS) { 26 nlm_lock_1(argp, clnt) 28 CLIENT *clnt; 34 if (st = clnt_call(clnt, NLM_LOCK, xdr_nlm_lockargs, argp, xdr_nlm_res, &res, TIMEOUT) != RPC_SUCCESS) { 36 clnt_perror(clnt, "humbug"); 44 nlm_cancel_1(argp, clnt) 46 CLIENT *clnt; 51 if (clnt_call(clnt, NLM_CANCE [all...] |
/freebsd-current/usr.sbin/rpc.statd/ |
H A D | test.c | 11 sm_stat_1(argp, clnt) 13 CLIENT *clnt; 18 if (clnt_call(clnt, SM_STAT, (xdrproc_t)xdr_sm_name, argp, 27 sm_mon_1(argp, clnt) 29 CLIENT *clnt; 34 if (clnt_call(clnt, SM_MON, (xdrproc_t)xdr_mon, argp, 43 sm_unmon_1(argp, clnt) 45 CLIENT *clnt; 50 if (clnt_call(clnt, SM_UNMON, (xdrproc_t)xdr_mon_id, argp, 59 sm_unmon_all_1(argp, clnt) [all...] |
/freebsd-current/sys/nlm/ |
H A D | nlm_prot_clnt.c | 17 nlm_sm_notify_0(struct nlm_sm_status *argp, void *clnt_res, CLIENT *clnt, struct rpc_callextra *ext, struct timeval timo) argument 19 return (CLNT_CALL_EXT(clnt, ext, NLM_SM_NOTIFY, 26 nlm_test_1(struct nlm_testargs *argp, nlm_testres *clnt_res, CLIENT *clnt, struct rpc_callextra *ext, struct timeval timo) argument 28 return (CLNT_CALL_EXT(clnt, ext, NLM_TEST, 35 nlm_lock_1(struct nlm_lockargs *argp, nlm_res *clnt_res, CLIENT *clnt, struct rpc_callextra *ext, struct timeval timo) argument 37 return (CLNT_CALL_EXT(clnt, ext, NLM_LOCK, 44 nlm_cancel_1(struct nlm_cancargs *argp, nlm_res *clnt_res, CLIENT *clnt, struct rpc_callextra *ext, struct timeval timo) argument 46 return (CLNT_CALL_EXT(clnt, ext, NLM_CANCEL, 53 nlm_unlock_1(struct nlm_unlockargs *argp, nlm_res *clnt_res, CLIENT *clnt, struct rpc_callextra *ext, struct timeval timo) argument 55 return (CLNT_CALL_EXT(clnt, ex 62 nlm_granted_1(struct nlm_testargs *argp, nlm_res *clnt_res, CLIENT *clnt, struct rpc_callextra *ext, struct timeval timo) argument 71 nlm_test_msg_1(struct nlm_testargs *argp, void *clnt_res, CLIENT *clnt, struct rpc_callextra *ext, struct timeval timo) argument 80 nlm_lock_msg_1(struct nlm_lockargs *argp, void *clnt_res, CLIENT *clnt, struct rpc_callextra *ext, struct timeval timo) argument 89 nlm_cancel_msg_1(struct nlm_cancargs *argp, void *clnt_res, CLIENT *clnt, struct rpc_callextra *ext, struct timeval timo) argument 98 nlm_unlock_msg_1(struct nlm_unlockargs *argp, void *clnt_res, CLIENT *clnt, struct rpc_callextra *ext, struct timeval timo) argument 107 nlm_granted_msg_1(struct nlm_testargs *argp, void *clnt_res, CLIENT *clnt, struct rpc_callextra *ext, struct timeval timo) argument 116 nlm_test_res_1(nlm_testres *argp, void *clnt_res, CLIENT *clnt, struct rpc_callextra *ext, struct timeval timo) argument 125 nlm_lock_res_1(nlm_res *argp, void *clnt_res, CLIENT *clnt, struct rpc_callextra *ext, struct timeval timo) argument 134 nlm_cancel_res_1(nlm_res *argp, void *clnt_res, CLIENT *clnt, struct rpc_callextra *ext, struct timeval timo) argument 143 nlm_unlock_res_1(nlm_res *argp, void *clnt_res, CLIENT *clnt, struct rpc_callextra *ext, struct timeval timo) argument 152 nlm_granted_res_1(nlm_res *argp, void *clnt_res, CLIENT *clnt, struct rpc_callextra *ext, struct timeval timo) argument 161 nlm_share_3(nlm_shareargs *argp, nlm_shareres *clnt_res, CLIENT *clnt, struct rpc_callextra *ext, struct timeval timo) argument 170 nlm_unshare_3(nlm_shareargs *argp, nlm_shareres *clnt_res, CLIENT *clnt, struct rpc_callextra *ext, struct timeval timo) argument 179 nlm_nm_lock_3(nlm_lockargs *argp, nlm_res *clnt_res, CLIENT *clnt, struct rpc_callextra *ext, struct timeval timo) argument 188 nlm_free_all_3(nlm_notify *argp, void *clnt_res, CLIENT *clnt, struct rpc_callextra *ext, struct timeval timo) argument 197 nlm4_test_4(nlm4_testargs *argp, nlm4_testres *clnt_res, CLIENT *clnt, struct rpc_callextra *ext, struct timeval timo) argument 206 nlm4_lock_4(nlm4_lockargs *argp, nlm4_res *clnt_res, CLIENT *clnt, struct rpc_callextra *ext, struct timeval timo) argument 215 nlm4_cancel_4(nlm4_cancargs *argp, nlm4_res *clnt_res, CLIENT *clnt, struct rpc_callextra *ext, struct timeval timo) argument 224 nlm4_unlock_4(nlm4_unlockargs *argp, nlm4_res *clnt_res, CLIENT *clnt, struct rpc_callextra *ext, struct timeval timo) argument 233 nlm4_granted_4(nlm4_testargs *argp, nlm4_res *clnt_res, CLIENT *clnt, struct rpc_callextra *ext, struct timeval timo) argument 242 nlm4_test_msg_4(nlm4_testargs *argp, void *clnt_res, CLIENT *clnt, struct rpc_callextra *ext, struct timeval timo) argument 251 nlm4_lock_msg_4(nlm4_lockargs *argp, void *clnt_res, CLIENT *clnt, struct rpc_callextra *ext, struct timeval timo) argument 260 nlm4_cancel_msg_4(nlm4_cancargs *argp, void *clnt_res, CLIENT *clnt, struct rpc_callextra *ext, struct timeval timo) argument 269 nlm4_unlock_msg_4(nlm4_unlockargs *argp, void *clnt_res, CLIENT *clnt, struct rpc_callextra *ext, struct timeval timo) argument 278 nlm4_granted_msg_4(nlm4_testargs *argp, void *clnt_res, CLIENT *clnt, struct rpc_callextra *ext, struct timeval timo) argument 287 nlm4_test_res_4(nlm4_testres *argp, void *clnt_res, CLIENT *clnt, struct rpc_callextra *ext, struct timeval timo) argument 296 nlm4_lock_res_4(nlm4_res *argp, void *clnt_res, CLIENT *clnt, struct rpc_callextra *ext, struct timeval timo) argument 305 nlm4_cancel_res_4(nlm4_res *argp, void *clnt_res, CLIENT *clnt, struct rpc_callextra *ext, struct timeval timo) argument 314 nlm4_unlock_res_4(nlm4_res *argp, void *clnt_res, CLIENT *clnt, struct rpc_callextra *ext, struct timeval timo) argument 323 nlm4_granted_res_4(nlm4_res *argp, void *clnt_res, CLIENT *clnt, struct rpc_callextra *ext, struct timeval timo) argument 332 nlm4_share_4(nlm4_shareargs *argp, nlm4_shareres *clnt_res, CLIENT *clnt, struct rpc_callextra *ext, struct timeval timo) argument 341 nlm4_unshare_4(nlm4_shareargs *argp, nlm4_shareres *clnt_res, CLIENT *clnt, struct rpc_callextra *ext, struct timeval timo) argument 350 nlm4_nm_lock_4(nlm4_lockargs *argp, nlm4_res *clnt_res, CLIENT *clnt, struct rpc_callextra *ext, struct timeval timo) argument 359 nlm4_free_all_4(nlm4_notify *argp, void *clnt_res, CLIENT *clnt, struct rpc_callextra *ext, struct timeval timo) argument [all...] |
/freebsd-current/libexec/ypxfr/ |
H A D | ypxfr_misc.c | 150 CLIENT *clnt; local 154 if ((clnt = clnt_create(source,YPPROG,YPVERS,"udp")) == NULL) { 163 if ((resp = ypproc_master_2(&req, clnt)) == NULL) { 164 yp_error("%s",clnt_sperror(clnt,"YPPROC_MASTER \ 166 clnt_destroy(clnt); 170 clnt_destroy(clnt); 215 CLIENT *clnt; local 219 if ((clnt = clnt_create(source,YPPROG,YPVERS,"udp")) == NULL) { 227 if ((resp = ypproc_order_2(&req, clnt)) == NULL) { 228 yp_error("%s", clnt_sperror(clnt, "YPPROC_ORDE 260 CLIENT *clnt; local [all...] |
H A D | ypxfrd_getmap.c | 105 CLIENT *clnt; local 121 if ((clnt = clnt_create(host, YPXFRD_FREEBSD_PROG, 127 clnt_destroy(clnt); 132 if (clnt_call(clnt,YPXFRD_GETMAP, 136 yp_error("%s", clnt_sperror(clnt,"call to rpc.ypxfrd failed")); 141 clnt_destroy(clnt);
|
H A D | ypxfr_getmap.c | 64 CLIENT *clnt; local 73 if ((clnt = clnt_create(host, YPPROG, YPVERS, "tcp")) == NULL) { 85 (void)clnt_call(clnt, YPPROC_ALL, (xdrproc_t)xdr_ypreq_nokey, &req, 88 clnt_destroy(clnt);
|
H A D | ypxfr_main.c | 48 #include <rpc/clnt.h> 69 CLIENT *clnt; local 86 if ((clnt = clntudp_create(&ypxfr_callback_addr, ypxfr_prognum, 95 if (yppushproc_xfrresp_1(&ypxfr_resp, clnt) == NULL) { 96 yp_error("%s", clnt_sperror(clnt, "callback failed")); 97 clnt_destroy(clnt); 100 clnt_destroy(clnt);
|
/freebsd-current/lib/libc/rpc/ |
H A D | crypt_client.c | 47 CLIENT *clnt; local 66 clnt = clnt_tp_create(NULL, CRYPT_PROG, CRYPT_VERS, nconf); 67 if (clnt == (CLIENT *) NULL) { 80 result_1 = des_crypt_1(&des_crypt_1_arg, clnt); 82 clnt_destroy(clnt); 94 clnt_freeres(clnt, (xdrproc_t)xdr_desresp, result_1); 95 clnt_destroy(clnt);
|
H A D | clnt_generic.c | 93 CLIENT *clnt; local 98 clnt = clnt_create_timed(hostname, prog, vers_high, nettype, tp); 99 if (clnt == NULL) { 104 rpc_stat = clnt_call(clnt, NULLPROC, (xdrproc_t)xdr_void, 108 return (clnt); 113 clnt_geterr(clnt, &rpcerr); 125 CLNT_CONTROL(clnt, CLSET_VERS, (char *)&vers_high); 126 rpc_stat = clnt_call(clnt, NULLPROC, (xdrproc_t)xdr_void, 131 return (clnt); 134 clnt_geterr(clnt, 177 CLIENT *clnt = NULL; local [all...] |
H A D | auth_time.c | 238 CLIENT *clnt; /* Client handle */ local 337 clnt = clnttcp_create(&sin, RPCBPROG, RPCBVERS, &s, 0, 0); 338 if (clnt == NULL) { 348 status = clnt_call(clnt, RPCBPROC_GETTIME, (xdrproc_t)xdr_void, NULL, 361 if (clnt != NULL) { 362 clnt_destroy(clnt); 363 clnt = NULL; 467 if (clnt != NULL) 468 clnt_destroy(clnt);
|
H A D | key_call.c | 417 CLIENT *clnt; local 440 clnt = getkeyserv_handle(2); /* talk to version 2 */ 442 clnt = getkeyserv_handle(1); /* talk to version 1 */ 444 if (clnt == NULL) { 451 if (clnt_call(clnt, proc, xdr_arg, arg, xdr_rslt, rslt,
|
/freebsd-current/contrib/lib9p/pytest/ |
H A D | client.py | 56 clnt = self.mkclient() 57 pair = [clnt, None] 60 clnt = pair[0] 61 if not clnt.is_connected(): 62 clnt.connect() 75 clnt = pair[0] 76 if clnt.is_connected(): 77 clnt.shutdown() 88 clnt = pair[0] 94 if clnt [all...] |
/freebsd-current/lib/libypclnt/ |
H A D | ypclnt_passwd.c | 69 CLIENT *clnt = NULL; local 96 if ((clnt = clnt_tp_create(NULL, MASTER_YPPASSWDPROG, 107 if (clnt != NULL) { 108 clnt_destroy(clnt); 143 CLIENT *clnt = NULL; local 179 if ((clnt = clnt_tp_create(NULL, MASTER_YPPASSWDPROG, 187 clnt->cl_auth = authunix_create_default(); 190 result = yppasswdproc_update_master_1(&yppwd, clnt); 193 clnt_geterr(clnt, &rpcerr); 197 clnt_sperror(clnt, ypcln 241 CLIENT *clnt = NULL; local [all...] |
/freebsd-current/lib/librpcsvc/ |
H A D | yp_update.c | 66 CLIENT *clnt; local 80 if ((clnt = clnt_create(master, YPU_PROG, YPU_VERS, "tcp")) == NULL) 94 clnt_destroy(clnt); 102 if ((clnt->cl_auth = (AUTH *)authdes_create(netname, WINDOW, NULL, 104 clnt_destroy(clnt); 129 if ((rval = clnt_call(clnt, YPU_CHANGE, 146 if ((rval = clnt_call(clnt, YPU_INSERT, 161 if ((rval = clnt_call(clnt, YPU_DELETE, 178 if ((rval = clnt_call(clnt, YPU_STORE, 194 auth_destroy(clnt [all...] |
/freebsd-current/usr.sbin/ypbind/ |
H A D | yp_ping.c | 144 ypproc_domain_nonack_2_send(domainname *argp, CLIENT *clnt) argument 150 if (clnt_call(clnt, YPPROC_DOMAIN_NONACK, 163 ypproc_domain_nonack_2_recv(domainname *argp, CLIENT *clnt) argument 169 if (clnt_call(clnt, YPPROC_DOMAIN_NONACK, 217 CLIENT *clnt; local 250 clnt = clntudp_create(any, YPPROG, YPVERS, tv, &sock); 251 if (clnt == NULL) { 259 clnt->cl_auth = authunix_create_default(); 262 clnt_control(clnt, CLSET_TIMEOUT, (char *)&tv); 264 clnt_control(clnt, CLSET_ASYN [all...] |
/freebsd-current/contrib/netbsd-tests/lib/libc/rpc/ |
H A D | t_rpc.c | 66 CLIENT *clnt; local 80 if ((clnt = clnt_create_timed(host, RPCBPROG, RPCBVERS, transp, 87 if ((clnt = clnt_create(host, RPCBPROG, RPCBVERS, transp)) == NULL) 94 if (clnt_call(clnt, RPCBPROC_NULL, (xdrproc_t)xdr_void, NULL, 98 if (clnt_call(clnt, RPCBPROC_NULL, xdr_void, NULL, xdr_void, NULL, tv) 101 ERRX(, "clnt_call (%s)", clnt_sperror(clnt, "")); 102 clnt_control(clnt, CLGET_SVC_ADDR, (char *) &addr); 151 CLIENT *clnt; local 167 clnt = clnt_raw_create(PROGNUM, VERSNUM); 168 if (clnt 187 CLIENT *clnt; local [all...] |
/freebsd-current/contrib/netbsd-tests/net/net/ |
H A D | t_unix.c | 144 int srvr = -1, clnt = -1, acpt = -1; local 182 clnt = socket(AF_UNIX, SOCK_STREAM, 0); 183 if (clnt == -1) 186 if (connect(clnt, (const struct sockaddr *)sun, sl) == -1) 190 if (close(clnt) == -1) 192 clnt = -1; 243 if (clnt != -1 && !closeit) 244 (void)close(clnt); 254 if (clnt != -1 && !closeit) 255 (void)close(clnt); [all...] |
H A D | t_tcp.c | 76 int srvr = -1, clnt = -1, as = -1; local 107 clnt = socket(AF_INET, SOCK_STREAM | SOCK_NONBLOCK, 0); 108 if (clnt == -1) 112 ok = connect(clnt, (struct sockaddr *) &ba, addrlen); 116 ok = connect(clnt, (struct sockaddr *) &ba, addrlen); 166 close(clnt);
|
/freebsd-current/usr.sbin/bootparamd/callbootd/ |
H A D | callbootd.c | 72 CLIENT *clnt = NULL; /* Silence warnings */ local 87 clnt = clnt_create(server,BOOTPARAMPROG, BOOTPARAMVERS, "udp"); 88 if ( clnt == NULL ) 101 whoami_res = bootparamproc_whoami_1(&whoami_arg, clnt); 124 getfile_res = bootparamproc_getfile_1(&getfile_arg,clnt);
|
/freebsd-current/sys/rpc/ |
H A D | rpcsec_gss.h | 151 typedef AUTH *rpc_gss_secfind_ftype(CLIENT *clnt, struct ucred *cred, 154 typedef void rpc_gss_secpurge_ftype(CLIENT *clnt); 155 typedef AUTH *rpc_gss_seccreate_ftype(CLIENT *clnt, struct ucred *cred, 217 rpc_gss_secfind_call(CLIENT *clnt, struct ucred *cred, const char *principal, argument 223 ret = (*rpc_gss_entries.rpc_gss_secfind)(clnt, cred, principal, 229 rpc_gss_secpurge_call(CLIENT *clnt) argument 233 (*rpc_gss_entries.rpc_gss_secpurge)(clnt); 237 rpc_gss_seccreate_call(CLIENT *clnt, struct ucred *cred, argument 245 ret = (*rpc_gss_entries.rpc_gss_seccreate)(clnt, cred, 435 AUTH *rpc_gss_secfind(CLIENT *clnt, struc [all...] |
H A D | rpc.h | 53 #include <rpc/clnt.h> /* generic rpc stuff */
|
/freebsd-current/usr.sbin/yppush/ |
H A D | yppush_main.c | 49 #include <rpc/clnt.h> 284 CLIENT *clnt; local 319 if ((clnt = clnt_create(job->server, YPPROG, YPVERS, "udp")) == NULL) { 340 if (clnt_control(clnt, CLSET_TIMEOUT, (char *)&timeout) == FALSE) 344 if (ypproc_xfr_2(&req, clnt) == NULL) { 345 clnt_geterr(clnt, &err); 348 yp_error("%s: %s", job->server, clnt_sperror(clnt, 351 clnt_destroy(clnt); 356 clnt_destroy(clnt);
|
/freebsd-current/sys/nfsclient/ |
H A D | nfsmount.h | 44 #include <rpc/clnt.h>
|
/freebsd-current/include/rpc/ |
H A D | rpc.h | 53 #include <rpc/clnt.h> /* generic rpc stuff */
|
H A D | Makefile | 10 HFILES= auth.h auth_unix.h clnt.h clnt_soc.h clnt_stat.h \
|