Searched refs:clnt (Results 1 - 25 of 44) sorted by relevance

12

/freebsd-10.0-release/usr.sbin/rpc.lockd/
H A Dtest.c20 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.0-release/contrib/amd/amq/
H A Damq_clnt.c55 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 Damq.c300 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 Dpawd.c181 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.0-release/usr.sbin/rpc.statd/
H A Dtest.c16 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.0-release/sys/nlm/
H A Dnlm_prot_clnt.c21 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.0-release/libexec/ypxfr/
H A Dypxfr_misc.c150 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 Dypxfrd_getmap.c105 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 Dypxfr_getmap.c64 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.0-release/lib/libc/rpc/
H A Dcrypt_client.c51 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 Dclnt_generic.c118 CLIENT *clnt; local
123 clnt = clnt_create_timed(hostname, prog, vers_high, nettype, tp);
124 if (clnt == NULL) {
129 rpc_stat = clnt_call(clnt, NULLPROC, (xdrproc_t)xdr_void,
133 return (clnt);
138 clnt_geterr(clnt, &rpcerr);
150 CLNT_CONTROL(clnt, CLSET_VERS, (char *)&vers_high);
151 rpc_stat = clnt_call(clnt, NULLPROC, (xdrproc_t)xdr_void,
156 return (clnt);
159 clnt_geterr(clnt,
202 CLIENT *clnt = NULL; local
[all...]
H A Dauth_time.c248 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.0-release/lib/libypclnt/
H A Dypclnt_passwd.c69 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.0-release/lib/librpcsvc/
H A Dyp_update.c66 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.0-release/usr.sbin/ypbind/
H A Dyp_ping.c153 ypproc_domain_nonack_2_send(domainname *argp, CLIENT *clnt) argument
159 if (clnt_call(clnt, YPPROC_DOMAIN_NONACK,
172 ypproc_domain_nonack_2_recv(domainname *argp, CLIENT *clnt) argument
178 if (clnt_call(clnt, YPPROC_DOMAIN_NONACK,
226 CLIENT *clnt; local
259 clnt = clntudp_create(any, YPPROG, YPVERS, tv, &sock);
260 if (clnt == NULL) {
268 clnt->cl_auth = authunix_create_default();
271 clnt_control(clnt, CLSET_TIMEOUT, (char *)&tv);
273 clnt_control(clnt, CLSET_ASYN
[all...]
/freebsd-10.0-release/crypto/openssl/ssl/
H A Dd1_srtp.c257 STACK_OF(SRTP_PROTECTION_PROFILE) *clnt=0;
260 clnt=SSL_get_srtp_profiles(s);
261 ct=sk_SRTP_PROTECTION_PROFILE_num(clnt); /* -1 if clnt == 0 */
281 prof=sk_SRTP_PROTECTION_PROFILE_value(clnt,i);
406 STACK_OF(SRTP_PROTECTION_PROFILE) *clnt;
432 clnt=SSL_get_srtp_profiles(s);
435 if (clnt == NULL)
445 for(i=0;i<sk_SRTP_PROTECTION_PROFILE_num(clnt);i++)
447 prof=sk_SRTP_PROTECTION_PROFILE_value(clnt,
[all...]
/freebsd-10.0-release/usr.sbin/bootparamd/callbootd/
H A Dcallbootd.c83 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.0-release/sys/rpc/
H A Drpcsec_gss.h151 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 Drpc.h56 #include <rpc/clnt.h> /* generic rpc stuff */
/freebsd-10.0-release/usr.sbin/yppush/
H A Dyppush_main.c49 #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.0-release/contrib/amd/conf/transp/
H A Dtransp_sockets.c423 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.0-release/contrib/amd/fixmount/
H A Dfixmount.c540 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.0-release/include/rpc/
H A DMakefile12 HFILES= auth.h auth_unix.h clnt.h clnt_soc.h clnt_stat.h \
H A Drpc.h56 #include <rpc/clnt.h> /* generic rpc stuff */
/freebsd-10.0-release/sys/nfsclient/
H A Dnfsmount.h45 #include <rpc/clnt.h>

Completed in 153 milliseconds

12