Home
last modified time | relevance | path

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

12345678910>>...15

/illumos-gate/usr/src/uts/common/io/scsi/adapters/iscsi/
H A DiscsiAuthClient.c604 client->passwordData, client->passwordLength)) { in iscsiAuthClientChapComputeResponse()
995 client, client->chapAlgorithmCount, in iscsiAuthClientLocalAuthentication()
1218 client, TRUE, client->sendChapIdentifier, in iscsiAuthClientRemoteAuthentication()
1243 client, client->chapUsername, client->sendChapIdentifier, in iscsiAuthClientRemoteAuthentication()
1406 if (client->authRemote && !client->authResponseFlag && in iscsiAuthClientRecvEndStatus()
1541 client->transitBitSentFlag = client->sendKeyBlock.transitBit; in iscsiAuthClientRecvBegin()
1740 client->callback(client->userHandle, client->messageHandle, authStatus); in iscsiAuthClientAuthResponse()
1978 bzero(client, sizeof (*client)); in iscsiAuthClientInit()
2052 bzero(client, sizeof (*client)); in iscsiAuthClientFinish()
2193 client->authMethodValidList[j++] = client->authMethodList[i]; in iscsiAuthClientSetAuthMethodValid()
[all …]
/illumos-gate/usr/src/uts/common/io/ib/clients/of/sol_uverbs/
H A Dsol_uverbs_hca.c96 llist_head_init(&client->list, client); in sol_uverbs_ib_register_client()
101 if (client->add && in sol_uverbs_ib_register_client()
103 client->add(hca); in sol_uverbs_ib_register_client()
139 if (client->remove) { in sol_uverbs_ib_unregister_client()
140 client->remove(hca); in sol_uverbs_ib_unregister_client()
151 if (context->client == client) { in sol_uverbs_ib_unregister_client()
198 if (context->client == client) { in sol_uverbs_ib_get_client_data()
240 if (context->client == client) { in sol_uverbs_ib_set_client_data()
247 client->name != NULL ? client->name : "NULL Client Name"); in sol_uverbs_ib_set_client_data()
376 client->name ? client->name : "Name is NULL"); in sol_uverbs_hca_add_client_context()
[all …]
/illumos-gate/usr/src/lib/libnsl/rpc/
H A Drpcb_clnt.c387 if (client) in _getclnthandle_timed()
391 if (client) { in _getclnthandle_timed()
399 return (client); in _getclnthandle_timed()
453 CLIENT *client; in rpcb_set() local
468 if (!client) in rpcb_set()
506 CLIENT *client; in rpcb_unset() local
512 if (!client) in rpcb_unset()
800 client = NULL; in __rpcb_findaddr_timed()
1246 if (client) in rpcb_gettime()
1293 if (!client) in rpcb_taddr2uaddr()
[all …]
H A Dpmap_clnt.c133 CLIENT *client; in pmap_getport() local
139 if (client != NULL) { in pmap_getport()
148 clnt_geterr(client, &rpc_createerr.cf_error); in pmap_getport()
152 CLNT_DESTROY(client); in pmap_getport()
168 CLIENT *client; in pmap_getmaps() local
174 if (client != NULL) { in pmap_getmaps()
181 CLNT_DESTROY(client); in pmap_getmaps()
200 CLIENT *client; in pmap_rmtcall() local
208 if (client != NULL) { in pmap_rmtcall()
216 stat = CLNT_CALL(client, PMAPPROC_CALLIT, in pmap_rmtcall()
[all …]
H A Dclnt_simple.c59 CLIENT *client; /* Client handle */ member
73 if (rcp->client) in rpc_call_destroy()
74 CLNT_DESTROY(rcp->client); in rpc_call_destroy()
127 if (rcp->client) in rpc_call()
128 CLNT_DESTROY(rcp->client); in rpc_call()
132 rcp->client = clnt_create(host, prognum, versnum, nettype); in rpc_call()
134 if (rcp->client == NULL) in rpc_call()
143 (void) CLNT_CONTROL(rcp->client, in rpc_call()
145 if (CLNT_CONTROL(rcp->client, CLGET_FD, (char *)&fd)) in rpc_call()
160 clnt_stat = CLNT_CALL(rcp->client, procnum, inproc, (char *)in, in rpc_call()
/illumos-gate/usr/src/uts/common/io/comstar/port/iscsit/
H A Discsit_auth.c222 client->phase = AP_AM_DECIDED; in iscsit_select_auth()
271 client->phase = AP_AM_DECIDED; in auth_propose_chap()
293 client->phase = AP_CHAP_A_RCVD; in auth_chap_select_alg()
316 &client->recvKeyBlock, in auth_chap_select_alg()
365 client->phase = AP_CHAP_R_RCVD; in auth_chap_recv_n()
395 client->phase = AP_CHAP_R_RCVD; in auth_chap_recv_r()
424 client->phase = AP_CHAP_R_RCVD; in auth_chap_recv_i()
451 &client->recvKeyBlock, in auth_chap_recv_c()
531 client->phase = AP_DONE; in iscsit_auth_propose()
557 client->phase = AP_DONE; in iscsit_auth_expect_key()
[all …]
/illumos-gate/usr/src/cmd/rcm_daemon/common/
H A Drcm_subr.c554 client = client->next; in rsrc_client_find()
564 client->alias, client->module->name, client->pid); in rsrc_client_add()
567 *list = client; in rsrc_client_add()
577 client->alias, client->module->name, client->pid); in rsrc_client_remove()
619 free(client); in rsrc_clients_free()
620 client = list; in rsrc_clients_free()
696 rval = call_getinfo(ops, hdl, client->alias, client->pid, in rsrc_client_action()
854 client->alias, client->pid, targ->flag, targ->nvl, in rsrc_client_action()
863 client->alias, client->pid, targ->flag, targ->nvl, in rsrc_client_action()
894 (void) call_getinfo(ops, hdl, client->alias, client->pid, in rsrc_client_action()
[all …]
/illumos-gate/usr/src/uts/common/pcmcia/cs/
H A Dcs.c1872 client = client->next; in cs_add_client_to_socket()
2537 client = client->next; in cs_event()
2590 client = client->prev; in cs_event()
2592 client = client->next; in cs_event()
2906 client = client->next; in cs_card_insertion()
3390 client = client->next; in cs_event_thread()
3419 client = client->next; in cs_event_thread()
3548 client = client->prev; in cs_event_thread()
3550 client = client->next; in cs_event_thread()
7314 client = client->next;
[all …]
/illumos-gate/usr/src/cmd/rpcinfo/
H A Drpcinfo.c388 CLIENT *client; local
929 clnt_destroy(client);
1046 clnt_destroy(client);
1288 clnt_destroy(client);
1333 CLIENT *client; local
1357 return (client);
1373 CLIENT *client; local
1481 CLIENT *client; local
1721 CLIENT *client = NULL; local
1733 if (client) {
[all …]
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/krb/
H A Dwalk_rtree.c154 if (!client->data) { in krb5_walk_realm_tree()
169 strncpy(cap_client, client->data, client->length); in krb5_walk_realm_tree()
202 clen = client->length; in krb5_walk_realm_tree()
232 com_cdot = client->data; in krb5_walk_realm_tree()
274 if(com_cdot == client->data + client->length -1) in krb5_walk_realm_tree()
275 com_cdot = client->data - 1 ; in krb5_walk_realm_tree()
288 if ((retval = krb5_tgtname(context, client, client, &rettree[0]))) { in krb5_walk_realm_tree()
295 tmpcrealm.data = client->data; in krb5_walk_realm_tree()
337 (prevccp - client->data); in krb5_walk_realm_tree()
340 (ccp - client->data); in krb5_walk_realm_tree()
[all …]
H A Dgic_keytab.c43 krb5_principal client, in krb5_get_as_key_keytab() argument
93 krb5_principal client, in krb5_get_init_creds_keytab() argument
125 if (krb5_is_referral_realm(&client->realm)) { in krb5_get_init_creds_keytab()
129 krb5_free_data_contents(context, &client->realm); in krb5_get_init_creds_keytab()
130 client->realm.length = realm.length; in krb5_get_init_creds_keytab()
131 client->realm.data = realm.data; in krb5_get_init_creds_keytab()
135 krb5_unparse_name(context, client, &princ); in krb5_get_init_creds_keytab()
237 client_princ = creds->client; in krb5_get_in_tkt_with_keytab()
239 creds, creds->client, in krb5_get_in_tkt_with_keytab()
251 if (creds->client) in krb5_get_in_tkt_with_keytab()
[all …]
H A Dget_creds.c63 if (!in_creds || !in_creds->server || !in_creds->client) in krb5_get_credentials_core()
93 mcreds->client = in_creds->client; in krb5_get_credentials_core()
289 krb5_principal client, krb5_ccache ccache, in krb5_validate_or_renew_creds() argument
302 in_creds.client = client; in krb5_validate_or_renew_creds()
317 in_creds.client->realm.length)) == NULL) { in krb5_validate_or_renew_creds()
322 in_creds.server->realm.length = in_creds.client->realm.length; in krb5_validate_or_renew_creds()
324 in_creds.client->realm.length); in krb5_validate_or_renew_creds()
327 in_creds.client->realm.length, in krb5_validate_or_renew_creds()
328 in_creds.client->realm.data, in krb5_validate_or_renew_creds()
331 in_creds.client->realm.length, in krb5_validate_or_renew_creds()
[all …]
H A Dfwd_tgt.c41 …ext context, krb5_auth_context auth_context, char *rhost, krb5_principal client, krb5_principal se… in krb5_fwd_tgt_creds() argument
88 retval = krb5_copy_principal (context, client, &in.client); in krb5_fwd_tgt_creds()
102 if ((retval = krb5_copy_principal(context, client, &creds.client))) in krb5_fwd_tgt_creds()
106 client->realm.length, in krb5_fwd_tgt_creds()
107 client->realm.data, in krb5_fwd_tgt_creds()
110 client->realm.length, in krb5_fwd_tgt_creds()
111 client->realm.data, in krb5_fwd_tgt_creds()
124 if (!krb5_principal_compare(context, tgt.client, creds.client)) { in krb5_fwd_tgt_creds()
129 t_err = krb5_unparse_name(context, tgt.client, &t_name); in krb5_fwd_tgt_creds()
130 r_err = krb5_unparse_name(context, creds.client, &r_name); in krb5_fwd_tgt_creds()
H A Dget_in_tkt.c334 if (!krb5_principal_compare(context, as_reply->client, request->client) in verify_as_reply()
396 krb5_principal client; in stash_as_reply() local
399 client = NULL; in stash_as_reply()
402 if (!creds->client) in stash_as_reply()
403 if ((retval = krb5_copy_principal(context, as_reply->client, &client))) in stash_as_reply()
439 if (!creds->client) in stash_as_reply()
440 creds->client = client; in stash_as_reply()
446 if (client) in stash_as_reply()
586 request.client = creds->client; in krb5_get_in_tkt()
984 krb5_principal client, in krb5_get_init_creds() argument
[all …]
H A Dgc_frm_kdc.c316 retval = krb5_copy_principal(ctx, client, &mcreds->client); in tgt_mcred()
376 retval = tgt_mcred(ts->ctx, client, client, client, &tgtq); in retr_local_tgt()
607 retval = krb5_copy_principal(ts->ctx, client, &mcreds->client); in kdc_mcred()
643 retval = kdc_mcred(ts, client, &tgtq); in next_closest_tgt()
768 krb5_principal client, in do_traversal() argument
789 retval = retr_local_tgt(ts, client); in do_traversal()
797 retval = next_closest_tgt(ts, client); in do_traversal()
877 client = in_cred->client; in krb5_get_cred_from_kdc_opt()
908 memcpy(server->realm.data, client->realm.data, client->realm.length); in krb5_get_cred_from_kdc_opt()
917 retval = tgt_mcred(context, client, server, client, &tgtq); in krb5_get_cred_from_kdc_opt()
[all …]
/illumos-gate/usr/src/uts/common/io/ib/mgt/ibmf/
H A Dibmf_saa_events.c873 tnf_opaque, client, client); in ibmf_saa_notify_event_clients()
880 client = client->next; in ibmf_saa_notify_event_clients()
882 client = NULL; in ibmf_saa_notify_event_clients()
900 tnf_opaque, client, client); in ibmf_saa_notify_event_clients()
909 client = in ibmf_saa_notify_event_clients()
928 tnf_opaque, client, client, in ibmf_saa_notify_event_clients()
943 client = in ibmf_saa_notify_event_clients()
980 tnf_opaque, client, client); in ibmf_saa_notify_event_clients()
1011 tnf_opaque, client, client); in ibmf_saa_notify_event_clients()
1019 client = (registering_client == NULL) ? client->next: NULL; in ibmf_saa_notify_event_clients()
[all …]
/illumos-gate/usr/src/cmd/krb5/krb5kdc/
H A Ddo_as_req.c63 krb5_db_entry client, server; in process_as_req() local
111 if (!request->client) { in process_as_req()
220 enc_tkt_reply.client = request->client; in process_as_req()
303 client.fail_auth_count = client.fail_auth_count + 1; in process_as_req()
308 client.last_failed = kdc_time; in process_as_req()
395 reply.client = request->client; in process_as_req()
407 if (client.expiration != 0 && client.pw_expiration != 0) in process_as_req()
408 etime = min(client.expiration, client.pw_expiration); in process_as_req()
410 etime = client.expiration ? client.expiration : client.pw_expiration; in process_as_req()
471 client.fail_auth_count = 0; in process_as_req()
[all …]
/illumos-gate/usr/src/lib/libnsl/yp/
H A Dyp_update.c70 CLIENT *client; in yp_update() local
98 if (client == NULL) { in yp_update()
110 clnt_destroy(client); in yp_update()
114 client->cl_auth = authdes_seccreate(ypmastername, WINDOW, in yp_update()
117 if (client->cl_auth == NULL) { in yp_update()
119 clnt_destroy(client); in yp_update()
131 clnt_control(client, CLSET_TIMEOUT, (char *)&total); in yp_update()
132 stat = clnt_call(client, proc, in yp_update()
141 clnt_perror(client, "ypupdate call failed"); in yp_update()
145 auth_destroy(client->cl_auth); in yp_update()
[all …]
/illumos-gate/usr/src/uts/common/klm/
H A Dnlm_rpc_clnt.c91 CLIENT *client, rpcvers_t vers) in nlm_test_rpc() argument
94 return (nlm4_test_4(args, res, client)); in nlm_test_rpc()
105 stat = nlm_test_1(&args1, &res1, client); in nlm_test_rpc()
122 CLIENT *client, rpcvers_t vers) in nlm_lock_rpc() argument
125 return (nlm4_lock_4(args, res, client)); in nlm_lock_rpc()
139 stat = nlm_lock_1(&args1, &res1, client); in nlm_lock_rpc()
151 CLIENT *client, rpcvers_t vers) in nlm_cancel_rpc() argument
178 CLIENT *client, rpcvers_t vers) in nlm_unlock_rpc() argument
207 return (nlm_null_1(NULL, NULL, client)); in nlm_null_rpc()
237 CLIENT *client, rpcvers_t vers) in nlm_share_rpc() argument
[all …]
/illumos-gate/usr/src/lib/libwrap/
H A Dtli.c73 static struct sockaddr_gen client; local
89 if (request->client->unit != 0) {
90 memcpy(&client, request->client->unit->addr.buf,
92 request->client->unit->addr.buf));
93 request->client->sin = &client;
94 sockgen_simplify(&client);
119 if (request->client->unit != 0)
131 struct t_unitdata *client; local
152 if (ioctl(fd, TI_GETPEERNAME, &client->addr) < 0 || client->addr.len == 0) {
154 if (t_rcvudata(fd, client, &flags) < 0 || client->addr.len == 0) {
[all …]
/illumos-gate/usr/src/lib/varpd/libvarpd/common/
H A Dlibvarpd_client.c69 ret = door_call(client->vcl_doorfd, &darg); in libvarpd_c_door_call()
91 varpd_client_t *client; in libvarpd_c_create() local
94 if (client == NULL) in libvarpd_c_create()
97 client->vcl_doorfd = open(doorname, O_RDWR); in libvarpd_c_create()
98 if (client->vcl_doorfd < 0) { in libvarpd_c_create()
100 umem_free(client, sizeof (varpd_client_t)); in libvarpd_c_create()
104 *chpp = (varpd_client_handle_t *)client; in libvarpd_c_create()
112 if (close(client->vcl_doorfd) != 0) in libvarpd_c_destroy()
114 client->vcl_doorfd, errno); in libvarpd_c_destroy()
135 ret = libvarpd_c_door_call(client, &carg, 0); in libvarpd_c_instance_create()
[all …]
/illumos-gate/usr/src/cmd/ypcmd/
H A Dypserv_resolv.c70 CLIENT **client, char *tp_type, long prognum) in setup_resolv() argument
154 *client = clntudp_bufcreate(&addr, prognum, YPDNSVERS, in setup_resolv()
157 *client = clnttcp_create(&addr, prognum, YPDNSVERS, in setup_resolv()
160 if (*client == NULL) { in setup_resolv()
187 if ((stat = clnt_call(*client, 0, xdr_void, 0, in setup_resolv()
190 clnt_destroy (*client); in setup_resolv()
374 if (*client != NULL) in resolv_req()
375 clnt_destroy (*client); in resolv_req()
404 if (*client != NULL) in resolv_req()
405 clnt_destroy (*client); in resolv_req()
[all …]
H A Dypset.c246 CLIENT *server, *client; in send_message() local
273 client = __clnt_create_loopback(YPBINDPROG, YPBINDVERS, &err); in send_message()
274 if (client == (CLIENT *)NULL) { in send_message()
278 client->cl_auth = authsys_create("", geteuid(), 0, 0, NULL); in send_message()
279 if (client->cl_auth == NULL) { in send_message()
284 client = clnt_create(host, YPBINDPROG, in send_message()
286 if (client == (CLIENT *)NULL) { in send_message()
303 clnt_stat = (enum clnt_stat) clnt_call(client, in send_message()
316 auth_destroy((client)->cl_auth); in send_message()
318 (void) clnt_destroy(client); in send_message()
/illumos-gate/usr/src/cmd/tcpd/
H A Dtcpdmatch.c62 char *client; local
126 if ((client = split_at(argv[optind + 1], '@')) != 0) {
129 client = argv[optind + 1];
205 if (numeric_addr(client, NULL, NULL, NULL) == 0) {
206 request_set(&request, RQ_CLIENT_ADDR, client, 0);
215 if (NOT_INADDR(client) && HOSTNAME_KNOWN(client) == 0) {
216 request_set(&request, RQ_CLIENT_NAME, client, 0);
229 if ((hp = find_inet_addr(client)) == 0)
243 if (STR_EQ(eval_hostname(request.client), unknown))
245 eval_hostaddr(request.client));
[all …]
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/nfs/
H A Dtst.call.c55 CLIENT *client; in dotest() local
71 client = clnt_create("localhost", NFS4_PROGRAM, NFS_V4, "tcp"); in dotest()
72 if (client == NULL) { in dotest()
77 client->cl_auth = auth; in dotest()
89 status = clnt_call(client, NFSPROC4_COMPOUND, in dotest()
94 clnt_perror(client, "test"); in dotest()

12345678910>>...15