Home
last modified time | relevance | path

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

/dragonfly/usr.sbin/rpc.lockd/
H A Dtest.c16 nlm_test_1(struct nlm_testargs *argp, CLIENT *clnt) in nlm_test_1() argument
29 nlm_lock_1(struct nlm_lockargs *argp, CLIENT *clnt) in nlm_lock_1() argument
37 clnt_perror(clnt, "humbug"); in nlm_lock_1()
103 clnt_perror(clnt, "nlm_lock_msg_1"); in nlm_lock_msg_1()
150 nlm_test_res_1(nlm_testres *argp, CLIENT *clnt) in nlm_test_res_1() argument
163 nlm_lock_res_1(nlm_res *argp, CLIENT *clnt) in nlm_lock_res_1() argument
176 nlm_cancel_res_1(nlm_res *argp, CLIENT *clnt) in nlm_cancel_res_1() argument
189 nlm_unlock_res_1(nlm_res *argp, CLIENT *clnt) in nlm_unlock_res_1() argument
202 nlm_granted_res_1(nlm_res *argp, CLIENT *clnt) in nlm_granted_res_1() argument
215 nlm_share_3(nlm_shareargs *argp, CLIENT *clnt) in nlm_share_3() argument
[all …]
/dragonfly/libexec/ypxfr/
H A Dypxfr_misc.c150 CLIENT *clnt; in ypxfr_get_master() local
164 yp_error("%s",clnt_sperror(clnt,"YPPROC_MASTER \ in ypxfr_get_master()
166 clnt_destroy(clnt); in ypxfr_get_master()
170 clnt_destroy(clnt); in ypxfr_get_master()
215 CLIENT *clnt; in ypxfr_get_order() local
230 clnt_destroy(clnt); in ypxfr_get_order()
234 clnt_destroy(clnt); in ypxfr_get_order()
260 CLIENT *clnt; in ypxfr_match() local
277 clnt_destroy(clnt); in ypxfr_match()
279 clnt_sperror(clnt,"YPPROC_MATCH failed")); in ypxfr_match()
[all …]
H A Dypxfrd_getmap.c104 CLIENT *clnt; in ypxfrd_get_map() local
120 if ((clnt = clnt_create(host, YPXFRD_FREEBSD_PROG, in ypxfrd_get_map()
126 clnt_destroy(clnt); in ypxfrd_get_map()
131 if (clnt_call(clnt, YPXFRD_GETMAP, in ypxfrd_get_map()
135 yp_error("%s", clnt_sperror(clnt,"call to rpc.ypxfrd failed")); in ypxfrd_get_map()
140 clnt_destroy(clnt); in ypxfrd_get_map()
H A Dypxfr_getmap.c62 CLIENT *clnt; in ypxfr_get_map() local
71 if ((clnt = clnt_create(host, YPPROG, YPVERS, "tcp")) == NULL) { in ypxfr_get_map()
83 (void)clnt_call(clnt, YPPROC_ALL, (xdrproc_t)xdr_ypreq_nokey, &req, in ypxfr_get_map()
86 clnt_destroy(clnt); in ypxfr_get_map()
H A Dypxfr_main.c69 CLIENT *clnt; in ypxfr_exit() local
86 if ((clnt = clntudp_create(&ypxfr_callback_addr, ypxfr_prognum, in ypxfr_exit()
95 if (yppushproc_xfrresp_1(&ypxfr_resp, clnt) == NULL) { in ypxfr_exit()
96 yp_error("%s", clnt_sperror(clnt, "callback failed")); in ypxfr_exit()
97 clnt_destroy(clnt); in ypxfr_exit()
100 clnt_destroy(clnt); in ypxfr_exit()
/dragonfly/lib/libypclnt/
H A Dypclnt_passwd.c69 CLIENT *clnt = NULL; in ypclnt_havepasswdd() local
107 if (clnt != NULL) { in ypclnt_havepasswdd()
108 clnt_destroy(clnt); in ypclnt_havepasswdd()
143 CLIENT *clnt = NULL; in yppasswd_local() local
193 clnt_geterr(clnt, &rpcerr); in yppasswd_local()
215 if (clnt != NULL) { in yppasswd_local()
217 clnt_destroy(clnt); in yppasswd_local()
241 CLIENT *clnt = NULL; in yppasswd_remote() local
261 if (clnt == NULL) { in yppasswd_remote()
296 if (clnt != NULL) { in yppasswd_remote()
[all …]
/dragonfly/usr.sbin/ypbind/
H A Dyp_ping.c154 if (clnt_call(clnt, YPPROC_DOMAIN_NONACK, in ypproc_domain_nonack_2_send()
173 if (clnt_call(clnt, YPPROC_DOMAIN_NONACK, in ypproc_domain_nonack_2_recv()
221 CLIENT *clnt; in __yp_ping() local
255 if (clnt == NULL) { in __yp_ping()
263 clnt->cl_auth = authunix_create_default(); in __yp_ping()
266 clnt_control(clnt, CLSET_TIMEOUT, (char *)&tv); in __yp_ping()
277 clnt_control(clnt, CLSET_SVC_ADDR, &addr); in __yp_ping()
278 ypproc_domain_nonack_2_send(&foo, clnt); in __yp_ping()
283 ypproc_domain_nonack_2_recv(&foo, clnt); in __yp_ping()
295 auth_destroy(clnt->cl_auth); in __yp_ping()
[all …]
H A Dypbind.c155 ypbindproc_null_2_yp(SVCXPRT *transp, void *argp, CLIENT *clnt) in ypbindproc_null_2_yp() argument
164 ypbindproc_domain_2_yp(SVCXPRT *transp, domainname *argp, CLIENT *clnt) in ypbindproc_domain_2_yp() argument
234 ypbindproc_setdom_2_yp(SVCXPRT *transp, ypbind_setdom *argp, CLIENT *clnt) in ypbindproc_setdom_2_yp() argument
/dragonfly/usr.sbin/rpc.statd/
H A Dtest.c15 sm_stat_1(struct sm_name *argp, CLIENT *clnt) in sm_stat_1() argument
20 if (clnt_call(clnt, SM_STAT, xdr_sm_name, argp, xdr_sm_stat_res, &res, TIMEOUT) != RPC_SUCCESS) { in sm_stat_1()
28 sm_mon_1(struct mon *argp, CLIENT *clnt) in sm_mon_1() argument
33 if (clnt_call(clnt, SM_MON, xdr_mon, argp, xdr_sm_stat_res, &res, TIMEOUT) != RPC_SUCCESS) { in sm_mon_1()
41 sm_unmon_1(struct mon_id *argp, CLIENT *clnt) in sm_unmon_1() argument
46 if (clnt_call(clnt, SM_UNMON, xdr_mon_id, argp, xdr_sm_stat, &res, TIMEOUT) != RPC_SUCCESS) { in sm_unmon_1()
54 sm_unmon_all_1(struct my_id *argp, CLIENT *clnt) in sm_unmon_all_1() argument
59 if (clnt_call(clnt, SM_UNMON_ALL, xdr_my_id, argp, xdr_sm_stat, &res, TIMEOUT) != RPC_SUCCESS) { in sm_unmon_all_1()
67 sm_simu_crash_1(void *argp, CLIENT *clnt) in sm_simu_crash_1() argument
72 if (clnt_call(clnt, SM_SIMU_CRASH, xdr_void, argp, xdr_void, &res, TIMEOUT) != RPC_SUCCESS) { in sm_simu_crash_1()
/dragonfly/lib/librpcsvc/
H A Dyp_update.c67 CLIENT *clnt; in yp_update() local
81 if ((clnt = clnt_create(master, YPU_PROG, YPU_VERS, "tcp")) == NULL) in yp_update()
95 clnt_destroy(clnt); in yp_update()
103 if ((clnt->cl_auth = (AUTH *)authdes_create(netname, WINDOW, NULL, in yp_update()
105 clnt_destroy(clnt); in yp_update()
130 if ((rval = clnt_call(clnt, YPU_CHANGE, in yp_update()
147 if ((rval = clnt_call(clnt, YPU_INSERT, in yp_update()
162 if ((rval = clnt_call(clnt, YPU_DELETE, in yp_update()
179 if ((rval = clnt_call(clnt, YPU_STORE, in yp_update()
195 auth_destroy(clnt->cl_auth); in yp_update()
[all …]
/dragonfly/lib/libc/rpc/
H A Dclnt_generic.c113 CLIENT *clnt; in clnt_create_vers_timed() local
119 if (clnt == NULL) { in clnt_create_vers_timed()
128 return (clnt); in clnt_create_vers_timed()
133 clnt_geterr(clnt, &rpcerr); in clnt_create_vers_timed()
151 return (clnt); in clnt_create_vers_timed()
154 clnt_geterr(clnt, &rpcerr); in clnt_create_vers_timed()
159 clnt_destroy(clnt); in clnt_create_vers_timed()
197 CLIENT *clnt = NULL; in clnt_create_timed() local
220 while (clnt == NULL) { in clnt_create_timed()
230 if (clnt) in clnt_create_timed()
[all …]
H A Dcrypt_client.c49 CLIENT *clnt; in _des_crypt_call() local
67 clnt = clnt_tp_create(NULL, CRYPT_PROG, CRYPT_VERS, nconf); in _des_crypt_call()
68 if (clnt == NULL) { in _des_crypt_call()
81 result_1 = des_crypt_1(&des_crypt_1_arg, clnt); in _des_crypt_call()
83 clnt_destroy(clnt); in _des_crypt_call()
95 clnt_freeres(clnt, (xdrproc_t)xdr_desresp, result_1); in _des_crypt_call()
96 clnt_destroy(clnt); in _des_crypt_call()
H A Dauth_time.c240 CLIENT *clnt; /* Client handle */ in __rpc_get_time_offset() local
339 clnt = clnttcp_create(&sin, RPCBPROG, RPCBVERS, &s, 0, 0); in __rpc_get_time_offset()
340 if (clnt == NULL) { in __rpc_get_time_offset()
350 status = clnt_call(clnt, RPCBPROC_GETTIME, (xdrproc_t)xdr_void, NULL, in __rpc_get_time_offset()
363 if (clnt != NULL) { in __rpc_get_time_offset()
364 clnt_destroy(clnt); in __rpc_get_time_offset()
365 clnt = NULL; in __rpc_get_time_offset()
470 if (clnt != NULL) in __rpc_get_time_offset()
471 clnt_destroy(clnt); in __rpc_get_time_offset()
H A Dkey_call.c406 CLIENT *clnt; in key_call() local
429 clnt = getkeyserv_handle(2); /* talk to version 2 */ in key_call()
431 clnt = getkeyserv_handle(1); /* talk to version 1 */ in key_call()
433 if (clnt == NULL) { in key_call()
440 if (clnt_call(clnt, proc, xdr_arg, arg, xdr_rslt, rslt, in key_call()
H A Drpc_generic.c441 rpc_nullproc(CLIENT *clnt) in rpc_nullproc() argument
445 if (clnt_call(clnt, NULLPROC, (xdrproc_t) xdr_void, NULL, in rpc_nullproc()
449 return ((void *) clnt); in rpc_nullproc()
/dragonfly/usr.sbin/yppush/
H A Dyppush_main.c284 CLIENT *clnt; in yppush_send_xfr() local
319 if ((clnt = clnt_create(job->server, YPPROG, YPVERS, "udp")) == NULL) { in yppush_send_xfr()
340 if (clnt_control(clnt, CLSET_TIMEOUT, (char *)&timeout) == FALSE) in yppush_send_xfr()
344 if (ypproc_xfr_2(&req, clnt) == NULL) { in yppush_send_xfr()
345 clnt_geterr(clnt, &err); in yppush_send_xfr()
348 yp_error("%s: %s", job->server, clnt_sperror(clnt, in yppush_send_xfr()
351 clnt_destroy(clnt); in yppush_send_xfr()
356 clnt_destroy(clnt); in yppush_send_xfr()
/dragonfly/usr.sbin/bootparamd/callbootd/
H A Dcallbootd.c76 CLIENT *clnt; in main() local
92 clnt = clnt_create(server,BOOTPARAMPROG, BOOTPARAMVERS, "udp"); in main()
95 if ( clnt == NULL ) in main()
107 whoami_res = bootparamproc_whoami_1(&whoami_arg, clnt); in main()
128 getfile_res = bootparamproc_getfile_1(&getfile_arg,clnt); in main()
/dragonfly/usr.bin/rpcinfo/
H A Drpcinfo.c310 CLIENT *clnt; local
323 clnt = clnt_tp_create(NULL, prog, vers, nconf);
325 return clnt;
333 CLIENT *clnt; local
342 clnt = clntudp_create(addr, prog, vers, to, fdp);
344 if (clnt == NULL) {
353 return (clnt);
1528 CLIENT *clnt = NULL; local
1535 while (clnt == NULL) {
1544 if (clnt)
[all …]
/dragonfly/usr.sbin/ypserv/
H A Dyp_server.c272 CLIENT *clnt; local
282 if ((clnt = clntudp_create(addr,prognum,1,timeout,&sock)) == NULL) {
293 if (clnt_control(clnt, CLSET_TIMEOUT, &timeout) == FALSE)
296 if (yppushproc_xfrresp_1(&ypxfr_resp, clnt) == NULL) {
297 clnt_geterr(clnt, &err);
300 yp_error("%s", clnt_sperror(clnt,
304 clnt_destroy(clnt);
/dragonfly/crypto/libressl/ssl/
H A Dssl_tlsext.c1225 STACK_OF(SRTP_PROTECTION_PROFILE) *clnt = NULL; in tlsext_srtp_client_build()
1228 if ((clnt = SSL_get_srtp_profiles(s)) == NULL) { in tlsext_srtp_client_build()
1233 if ((ct = sk_SRTP_PROTECTION_PROFILE_num(clnt)) < 1) { in tlsext_srtp_client_build()
1261 STACK_OF(SRTP_PROTECTION_PROFILE) *clnt = NULL, *srvr; in tlsext_srtp_server_parse()
1274 if ((clnt = sk_SRTP_PROTECTION_PROFILE_new_null()) == NULL) in tlsext_srtp_server_parse()
1282 if (!sk_SRTP_PROTECTION_PROFILE_push(clnt, cprof)) in tlsext_srtp_server_parse()
1308 if ((cprof = sk_SRTP_PROTECTION_PROFILE_value(clnt, j)) in tlsext_srtp_server_parse()
1328 sk_SRTP_PROTECTION_PROFILE_free(clnt); in tlsext_srtp_server_parse()
1365 STACK_OF(SRTP_PROTECTION_PROFILE) *clnt; in tlsext_srtp_client_parse()
1387 if ((clnt = SSL_get_srtp_profiles(s)) == NULL) { in tlsext_srtp_client_parse()
[all …]
H A Ds3_lib.c2540 ssl3_choose_cipher(SSL *s, STACK_OF(SSL_CIPHER) *clnt, in ssl3_choose_cipher() argument
2564 allow = clnt; in ssl3_choose_cipher()
2566 prio = clnt; in ssl3_choose_cipher()
H A Dssl_locl.h1387 SSL_CIPHER *ssl3_choose_cipher(SSL *ssl, STACK_OF(SSL_CIPHER) *clnt,
/dragonfly/lib/libc/yp/
H A Dyplib.c883 CLIENT *clnt; in yp_all() local
909 clnt = clnttcp_create(&clnt_sin, YPPROG, YPVERS, &clnt_sock, 0, 0); in yp_all()
910 if (clnt == NULL) { in yp_all()
921 if (clnt_call(clnt, YPPROC_ALL, in yp_all()
925 clnt_destroy(clnt); in yp_all()
930 clnt_destroy(clnt); in yp_all()
/dragonfly/include/rpc/
H A DMakefile11 HFILES= auth.h auth_unix.h clnt.h clnt_soc.h clnt_stat.h \
/dragonfly/crypto/libressl/
H A DChangeLog888 * Merge d1_{clnt,srvr}.c into ssl_{clnt,srvr}.c.