/freebsd-10.1-release/usr.sbin/rpc.lockd/ |
H A D | test.c | 20 nlm_test_1(argp, clnt) 22 CLIENT *clnt; 27 if (clnt_call(clnt, NLM_TEST, xdr_nlm_testargs, argp, xdr_nlm_testres, &res, TIMEOUT) != RPC_SUCCESS) { 35 nlm_lock_1(argp, clnt) 37 CLIENT *clnt; 43 if (st = clnt_call(clnt, NLM_LOCK, xdr_nlm_lockargs, argp, xdr_nlm_res, &res, TIMEOUT) != RPC_SUCCESS) { 45 clnt_perror(clnt, "humbug"); 53 nlm_cancel_1(argp, clnt) 55 CLIENT *clnt; 60 if (clnt_call(clnt, NLM_CANCE [all...] |
/freebsd-10.1-release/contrib/amd/amq/ |
H A D | amq_clnt.c | 55 amqproc_null_1(voidp argp, CLIENT *clnt) argument 60 if (clnt_call(clnt, AMQPROC_NULL, 71 amqproc_mnttree_1(amq_string *argp, CLIENT *clnt) argument 76 if (clnt_call(clnt, AMQPROC_MNTTREE, 87 amqproc_umnt_1(amq_string *argp, CLIENT *clnt) argument 92 if (clnt_call(clnt, AMQPROC_UMNT, 103 amqproc_stats_1(voidp argp, CLIENT *clnt) argument 108 if (clnt_call(clnt, AMQPROC_STATS, 120 amqproc_export_1(voidp argp, CLIENT *clnt) argument 125 if (clnt_call(clnt, AMQPROC_EXPOR 136 amqproc_setopt_1(amq_setopt *argp, CLIENT *clnt) argument 151 amqproc_getmntfs_1(voidp argp, CLIENT *clnt) argument 166 amqproc_mount_1(voidp argp, CLIENT *clnt) argument 181 amqproc_getvers_1(voidp argp, CLIENT *clnt) argument 196 amqproc_getpid_1(voidp argp, CLIENT *clnt) argument 211 amqproc_pawd_1(amq_string *argp, CLIENT *clnt) argument [all...] |
H A D | amq.c | 300 CLIENT *clnt = NULL; local 455 clnt = clnt_create(server, amd_program_number, AMQ_VERSION, "tcp"); 456 if (!clnt && use_udp_flag) { /* try udp next */ 457 clnt = clnt_create(server, amd_program_number, AMQ_VERSION, "udp"); 459 if (clnt) 460 clnt_control(clnt, CLSET_RETRY_TIMEOUT, (char *) &tv); 462 if (!clnt) { 476 rc = amqproc_setopt_1(&opt, clnt); 496 rc = amqproc_setopt_1(&opt, clnt); 512 rc = amqproc_setopt_1(&opt, clnt); [all...] |
H A D | pawd.c | 181 CLIENT *clnt; local 205 clnt = clntudp_create(&server_addr, AMQ_PROGRAM, AMQ_VERSION, tmo, &s); 206 if (clnt == NULL) 207 clnt = clnttcp_create(&server_addr, AMQ_PROGRAM, AMQ_VERSION, &s, 0, 0); 208 if (clnt == NULL) 213 spp = amqproc_pawd_1((amq_string *) &dummystr, clnt); 218 clnt_destroy(clnt);
|
/freebsd-10.1-release/usr.sbin/rpc.statd/ |
H A D | test.c | 16 sm_stat_1(argp, clnt) 18 CLIENT *clnt; 23 if (clnt_call(clnt, SM_STAT, xdr_sm_name, argp, xdr_sm_stat_res, &res, TIMEOUT) != RPC_SUCCESS) { 31 sm_mon_1(argp, clnt) 33 CLIENT *clnt; 38 if (clnt_call(clnt, SM_MON, xdr_mon, argp, xdr_sm_stat_res, &res, TIMEOUT) != RPC_SUCCESS) { 46 sm_unmon_1(argp, clnt) 48 CLIENT *clnt; 53 if (clnt_call(clnt, SM_UNMON, xdr_mon_id, argp, xdr_sm_stat, &res, TIMEOUT) != RPC_SUCCESS) { 61 sm_unmon_all_1(argp, clnt) [all...] |
/freebsd-10.1-release/sys/nlm/ |
H A D | nlm_prot_clnt.c | 21 nlm_sm_notify_0(struct nlm_sm_status *argp, void *clnt_res, CLIENT *clnt, struct rpc_callextra *ext, struct timeval timo) argument 23 return (CLNT_CALL_EXT(clnt, ext, NLM_SM_NOTIFY, 30 nlm_test_1(struct nlm_testargs *argp, nlm_testres *clnt_res, CLIENT *clnt, struct rpc_callextra *ext, struct timeval timo) argument 32 return (CLNT_CALL_EXT(clnt, ext, NLM_TEST, 39 nlm_lock_1(struct nlm_lockargs *argp, nlm_res *clnt_res, CLIENT *clnt, struct rpc_callextra *ext, struct timeval timo) argument 41 return (CLNT_CALL_EXT(clnt, ext, NLM_LOCK, 48 nlm_cancel_1(struct nlm_cancargs *argp, nlm_res *clnt_res, CLIENT *clnt, struct rpc_callextra *ext, struct timeval timo) argument 50 return (CLNT_CALL_EXT(clnt, ext, NLM_CANCEL, 57 nlm_unlock_1(struct nlm_unlockargs *argp, nlm_res *clnt_res, CLIENT *clnt, struct rpc_callextra *ext, struct timeval timo) argument 59 return (CLNT_CALL_EXT(clnt, ex 66 nlm_granted_1(struct nlm_testargs *argp, nlm_res *clnt_res, CLIENT *clnt, struct rpc_callextra *ext, struct timeval timo) argument 75 nlm_test_msg_1(struct nlm_testargs *argp, void *clnt_res, CLIENT *clnt, struct rpc_callextra *ext, struct timeval timo) argument 84 nlm_lock_msg_1(struct nlm_lockargs *argp, void *clnt_res, CLIENT *clnt, struct rpc_callextra *ext, struct timeval timo) argument 93 nlm_cancel_msg_1(struct nlm_cancargs *argp, void *clnt_res, CLIENT *clnt, struct rpc_callextra *ext, struct timeval timo) argument 102 nlm_unlock_msg_1(struct nlm_unlockargs *argp, void *clnt_res, CLIENT *clnt, struct rpc_callextra *ext, struct timeval timo) argument 111 nlm_granted_msg_1(struct nlm_testargs *argp, void *clnt_res, CLIENT *clnt, struct rpc_callextra *ext, struct timeval timo) argument 120 nlm_test_res_1(nlm_testres *argp, void *clnt_res, CLIENT *clnt, struct rpc_callextra *ext, struct timeval timo) argument 129 nlm_lock_res_1(nlm_res *argp, void *clnt_res, CLIENT *clnt, struct rpc_callextra *ext, struct timeval timo) argument 138 nlm_cancel_res_1(nlm_res *argp, void *clnt_res, CLIENT *clnt, struct rpc_callextra *ext, struct timeval timo) argument 147 nlm_unlock_res_1(nlm_res *argp, void *clnt_res, CLIENT *clnt, struct rpc_callextra *ext, struct timeval timo) argument 156 nlm_granted_res_1(nlm_res *argp, void *clnt_res, CLIENT *clnt, struct rpc_callextra *ext, struct timeval timo) argument 165 nlm_share_3(nlm_shareargs *argp, nlm_shareres *clnt_res, CLIENT *clnt, struct rpc_callextra *ext, struct timeval timo) argument 174 nlm_unshare_3(nlm_shareargs *argp, nlm_shareres *clnt_res, CLIENT *clnt, struct rpc_callextra *ext, struct timeval timo) argument 183 nlm_nm_lock_3(nlm_lockargs *argp, nlm_res *clnt_res, CLIENT *clnt, struct rpc_callextra *ext, struct timeval timo) argument 192 nlm_free_all_3(nlm_notify *argp, void *clnt_res, CLIENT *clnt, struct rpc_callextra *ext, struct timeval timo) argument 201 nlm4_test_4(nlm4_testargs *argp, nlm4_testres *clnt_res, CLIENT *clnt, struct rpc_callextra *ext, struct timeval timo) argument 210 nlm4_lock_4(nlm4_lockargs *argp, nlm4_res *clnt_res, CLIENT *clnt, struct rpc_callextra *ext, struct timeval timo) argument 219 nlm4_cancel_4(nlm4_cancargs *argp, nlm4_res *clnt_res, CLIENT *clnt, struct rpc_callextra *ext, struct timeval timo) argument 228 nlm4_unlock_4(nlm4_unlockargs *argp, nlm4_res *clnt_res, CLIENT *clnt, struct rpc_callextra *ext, struct timeval timo) argument 237 nlm4_granted_4(nlm4_testargs *argp, nlm4_res *clnt_res, CLIENT *clnt, struct rpc_callextra *ext, struct timeval timo) argument 246 nlm4_test_msg_4(nlm4_testargs *argp, void *clnt_res, CLIENT *clnt, struct rpc_callextra *ext, struct timeval timo) argument 255 nlm4_lock_msg_4(nlm4_lockargs *argp, void *clnt_res, CLIENT *clnt, struct rpc_callextra *ext, struct timeval timo) argument 264 nlm4_cancel_msg_4(nlm4_cancargs *argp, void *clnt_res, CLIENT *clnt, struct rpc_callextra *ext, struct timeval timo) argument 273 nlm4_unlock_msg_4(nlm4_unlockargs *argp, void *clnt_res, CLIENT *clnt, struct rpc_callextra *ext, struct timeval timo) argument 282 nlm4_granted_msg_4(nlm4_testargs *argp, void *clnt_res, CLIENT *clnt, struct rpc_callextra *ext, struct timeval timo) argument 291 nlm4_test_res_4(nlm4_testres *argp, void *clnt_res, CLIENT *clnt, struct rpc_callextra *ext, struct timeval timo) argument 300 nlm4_lock_res_4(nlm4_res *argp, void *clnt_res, CLIENT *clnt, struct rpc_callextra *ext, struct timeval timo) argument 309 nlm4_cancel_res_4(nlm4_res *argp, void *clnt_res, CLIENT *clnt, struct rpc_callextra *ext, struct timeval timo) argument 318 nlm4_unlock_res_4(nlm4_res *argp, void *clnt_res, CLIENT *clnt, struct rpc_callextra *ext, struct timeval timo) argument 327 nlm4_granted_res_4(nlm4_res *argp, void *clnt_res, CLIENT *clnt, struct rpc_callextra *ext, struct timeval timo) argument 336 nlm4_share_4(nlm4_shareargs *argp, nlm4_shareres *clnt_res, CLIENT *clnt, struct rpc_callextra *ext, struct timeval timo) argument 345 nlm4_unshare_4(nlm4_shareargs *argp, nlm4_shareres *clnt_res, CLIENT *clnt, struct rpc_callextra *ext, struct timeval timo) argument 354 nlm4_nm_lock_4(nlm4_lockargs *argp, nlm4_res *clnt_res, CLIENT *clnt, struct rpc_callextra *ext, struct timeval timo) argument 363 nlm4_free_all_4(nlm4_notify *argp, void *clnt_res, CLIENT *clnt, struct rpc_callextra *ext, struct timeval timo) argument [all...] |
/freebsd-10.1-release/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);
|
/freebsd-10.1-release/lib/libc/rpc/ |
H A D | crypt_client.c | 51 CLIENT *clnt; local 69 clnt = clnt_tp_create(NULL, CRYPT_PROG, CRYPT_VERS, nconf); 70 if (clnt == (CLIENT *) NULL) { 83 result_1 = des_crypt_1(&des_crypt_1_arg, clnt); 85 clnt_destroy(clnt); 97 clnt_freeres(clnt, (xdrproc_t)xdr_desresp, result_1); 98 clnt_destroy(clnt);
|
H A D | clnt_generic.c | 100 CLIENT *clnt; local 105 clnt = clnt_create_timed(hostname, prog, vers_high, nettype, tp); 106 if (clnt == NULL) { 111 rpc_stat = clnt_call(clnt, NULLPROC, (xdrproc_t)xdr_void, 115 return (clnt); 120 clnt_geterr(clnt, &rpcerr); 132 CLNT_CONTROL(clnt, CLSET_VERS, (char *)&vers_high); 133 rpc_stat = clnt_call(clnt, NULLPROC, (xdrproc_t)xdr_void, 138 return (clnt); 141 clnt_geterr(clnt, 184 CLIENT *clnt = NULL; local [all...] |
H A D | auth_time.c | 248 CLIENT *clnt; /* Client handle */ local 347 clnt = clnttcp_create(&sin, RPCBPROG, RPCBVERS, &s, 0, 0); 348 if (clnt == NULL) { 358 status = clnt_call(clnt, RPCBPROC_GETTIME, (xdrproc_t)xdr_void, NULL, 371 if (clnt != NULL) { 372 clnt_destroy(clnt); 373 clnt = NULL; 477 if (clnt != NULL) 478 clnt_destroy(clnt);
|
/freebsd-10.1-release/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-10.1-release/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-10.1-release/usr.sbin/ypbind/ |
H A D | yp_ping.c | 151 ypproc_domain_nonack_2_send(domainname *argp, CLIENT *clnt) argument 157 if (clnt_call(clnt, YPPROC_DOMAIN_NONACK, 170 ypproc_domain_nonack_2_recv(domainname *argp, CLIENT *clnt) argument 176 if (clnt_call(clnt, YPPROC_DOMAIN_NONACK, 224 CLIENT *clnt; local 257 clnt = clntudp_create(any, YPPROG, YPVERS, tv, &sock); 258 if (clnt == NULL) { 266 clnt->cl_auth = authunix_create_default(); 269 clnt_control(clnt, CLSET_TIMEOUT, (char *)&tv); 271 clnt_control(clnt, CLSET_ASYN [all...] |
/freebsd-10.1-release/crypto/openssl/ssl/ |
H A D | d1_srtp.c | 246 STACK_OF(SRTP_PROTECTION_PROFILE) *clnt = 0; 249 clnt = SSL_get_srtp_profiles(s); 250 ct = sk_SRTP_PROTECTION_PROFILE_num(clnt); /* -1 if clnt == 0 */ 268 prof = sk_SRTP_PROTECTION_PROFILE_value(clnt, i); 393 STACK_OF(SRTP_PROTECTION_PROFILE) *clnt; 419 clnt = SSL_get_srtp_profiles(s); 422 if (clnt == NULL) { 433 for (i = 0; i < sk_SRTP_PROTECTION_PROFILE_num(clnt); i++) { 434 prof = sk_SRTP_PROTECTION_PROFILE_value(clnt, [all...] |
/freebsd-10.1-release/usr.sbin/bootparamd/callbootd/ |
H A D | callbootd.c | 83 CLIENT *clnt; local 98 clnt = clnt_create(server,BOOTPARAMPROG, BOOTPARAMVERS, "udp"); 99 if ( clnt == NULL ) 112 whoami_res = bootparamproc_whoami_1(&whoami_arg, clnt); 135 getfile_res = bootparamproc_getfile_1(&getfile_arg,clnt);
|
/freebsd-10.1-release/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, 214 rpc_gss_secfind_call(CLIENT *clnt, struct ucred *cred, const char *principal, argument 220 ret = (*rpc_gss_entries.rpc_gss_secfind)(clnt, cred, principal, 226 rpc_gss_secpurge_call(CLIENT *clnt) argument 230 (*rpc_gss_entries.rpc_gss_secpurge)(clnt); 234 rpc_gss_seccreate_call(CLIENT *clnt, struct ucred *cred, argument 242 ret = (*rpc_gss_entries.rpc_gss_seccreate)(clnt, cred, 420 AUTH *rpc_gss_secfind(CLIENT *clnt, struc [all...] |
H A D | rpc.h | 55 #include <rpc/clnt.h> /* generic rpc stuff */
|
/freebsd-10.1-release/usr.sbin/yppush/ |
H A D | yppush_main.c | 49 #include <rpc/clnt.h> 286 CLIENT *clnt; local 321 if ((clnt = clnt_create(job->server, YPPROG, YPVERS, "udp")) == NULL) { 342 if (clnt_control(clnt, CLSET_TIMEOUT, (char *)&timeout) == FALSE) 346 if (ypproc_xfr_2(&req, clnt) == NULL) { 347 clnt_geterr(clnt, &err); 350 yp_error("%s: %s", job->server, clnt_sperror(clnt, 353 clnt_destroy(clnt); 358 clnt_destroy(clnt);
|
/freebsd-10.1-release/contrib/amd/conf/transp/ |
H A D | transp_sockets.c | 423 CLIENT *clnt; local 448 clnt = clnttcp_create(sin, NFS_PROGRAM, nfs_version, &sock, 0, 0); 450 clnt = clntudp_create(sin, NFS_PROGRAM, nfs_version, tv, &sock); 452 clnt = NULL; 454 if (clnt != NULL) { 457 clnt_stat = clnt_call(clnt, 469 clnt_destroy(clnt);
|
/freebsd-10.1-release/contrib/amd/fixmount/ |
H A D | fixmount.c | 540 CLIENT *clnt; local 579 clnt = clnt_create(host, MOUNTPROG, MOUNTVERS, "tcp"); 580 if (!clnt) 581 clnt = clnt_create(host, MOUNTPROG, MOUNTVERS, "udp"); 584 clnt = clnttcp_create(&host_addr, MOUNTPROG, MOUNTVERS, &s, 0, 0); 585 if (!clnt) { 588 clnt = clntudp_create(&host_addr, MOUNTPROG, MOUNTVERS, *tvp, &s); 592 if (!clnt) { 602 return clnt;
|
/freebsd-10.1-release/include/rpc/ |
H A D | Makefile | 12 HFILES= auth.h auth_unix.h clnt.h clnt_soc.h clnt_stat.h \
|
H A D | rpc.h | 55 #include <rpc/clnt.h> /* generic rpc stuff */
|
/freebsd-10.1-release/sys/nfsclient/ |
H A D | nfsmount.h | 45 #include <rpc/clnt.h>
|