/titanic_41/usr/src/uts/common/io/scsi/adapters/iscsi/ |
H A D | iscsiAuthClient.c | 205 iscsiAuthClientAuthMethodOptionToText(IscsiAuthClient * client, int value) in iscsiAuthClientAuthMethodOptionToText() argument 211 s = client->rejectOptionName; in iscsiAuthClientAuthMethodOptionToText() 215 s = client->noneOptionName; in iscsiAuthClientAuthMethodOptionToText() 578 iscsiAuthClientChapComputeResponse(IscsiAuthClient * client, in iscsiAuthClientChapComputeResponse() argument 588 if (!client->passwordPresent) { in iscsiAuthClientChapComputeResponse() 604 client->passwordData, client->passwordLength)) { in iscsiAuthClientChapComputeResponse() 609 if (!remoteAuthentication && !client->ipSec && outLength < 12) { in iscsiAuthClientChapComputeResponse() 702 iscsiAuthClientCheckKey(IscsiAuthClient * client, in iscsiAuthClientCheckKey() argument 712 keyValue = iscsiAuthClientGetKeyValue(&client->recvKeyBlock, keyType); in iscsiAuthClientCheckKey() 723 client->scratchKeyValue[length++] = *keyValue++; in iscsiAuthClientCheckKey() [all …]
|
/titanic_41/usr/src/uts/common/io/ib/clients/of/sol_uverbs/ |
H A D | sol_uverbs_hca.c | 62 sol_uverbs_ib_client_t *client; member 68 sol_uverbs_ib_client_t *client); 89 sol_uverbs_ib_register_client(sol_uverbs_ib_client_t *client) in sol_uverbs_ib_register_client() argument 94 ASSERT(client != NULL); in sol_uverbs_ib_register_client() 96 llist_head_init(&client->list, client); in sol_uverbs_ib_register_client() 97 llist_add_tail(&client->list, &sol_uverbs_client_list); in sol_uverbs_ib_register_client() 101 if (client->add && in sol_uverbs_ib_register_client() 102 !sol_uverbs_hca_add_client_context(hca, client)) { in sol_uverbs_ib_register_client() 103 client->add(hca); in sol_uverbs_ib_register_client() 125 sol_uverbs_ib_unregister_client(sol_uverbs_ib_client_t *client) in sol_uverbs_ib_unregister_client() argument [all …]
|
/titanic_41/usr/src/uts/common/io/comstar/port/iscsit/ |
H A D | iscsit_auth.c | 179 iscsit_auth_get_handler(iscsit_auth_client_t *client, iscsikey_id_t kv_id) in iscsit_auth_get_handler() argument 181 iscsit_auth_phase_t phase = client->phase; in iscsit_auth_get_handler() 212 iscsit_auth_client_t *client = &lsm->icl_auth_client; in iscsit_select_auth() local 222 client->phase = AP_AM_DECIDED; in iscsit_select_auth() 249 client->negotiatedMethod = am_id; in iscsit_select_auth() 268 iscsit_auth_client_t *client = &lsm->icl_auth_client; in auth_propose_chap() local 270 client->negotiatedMethod = AM_CHAP; in auth_propose_chap() 271 client->phase = AP_AM_DECIDED; in auth_propose_chap() 285 iscsit_auth_client_t *client = &lsm->icl_auth_client; in auth_chap_select_alg() local 293 client->phase = AP_CHAP_A_RCVD; in auth_chap_select_alg() [all …]
|
/titanic_41/usr/src/lib/libnsl/rpc/ |
H A D | rpcb_clnt.c | 302 CLIENT *client = NULL; in _getclnthandle_timed() local 320 client = _clnt_tli_create_timed(RPC_ANYFD, nconf, addr, in _getclnthandle_timed() 322 if (client != NULL) { in _getclnthandle_timed() 346 return (client); in _getclnthandle_timed() 385 client = _clnt_tli_create_timed(RPC_ANYFD, nconf, addr, RPCBPROG, in _getclnthandle_timed() 387 if (client) in _getclnthandle_timed() 391 if (client) { in _getclnthandle_timed() 399 return (client); in _getclnthandle_timed() 453 CLIENT *client; in rpcb_set() local 467 client = local_rpcb(); in rpcb_set() [all …]
|
H A D | pmap_clnt.c | 133 CLIENT *client; in pmap_getport() local 137 client = clntudp_bufcreate(address, PMAPPROG, PMAPVERS, timeout, in pmap_getport() 139 if (client != NULL) { in pmap_getport() 144 if (CLNT_CALL(client, PMAPPROC_GETPORT, (xdrproc_t)xdr_pmap, 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 173 client = clnttcp_create(address, PMAPPROG, PMAPVERS, &fd, 50, 500); in pmap_getmaps() 174 if (client != NULL) { in pmap_getmaps() 175 if (CLNT_CALL(client, PMAPPROC_DUMP, (xdrproc_t)xdr_void, in pmap_getmaps() [all …]
|
H A D | clnt_simple.c | 61 CLIENT *client; /* Client handle */ member 75 if (rcp->client) in rpc_call_destroy() 76 CLNT_DESTROY(rcp->client); in rpc_call_destroy() 129 if (rcp->client) in rpc_call() 130 CLNT_DESTROY(rcp->client); in rpc_call() 134 rcp->client = clnt_create(host, prognum, versnum, nettype); in rpc_call() 136 if (rcp->client == NULL) in rpc_call() 145 (void) CLNT_CONTROL(rcp->client, in rpc_call() 147 if (CLNT_CONTROL(rcp->client, CLGET_FD, (char *)&fd)) in rpc_call() 162 clnt_stat = CLNT_CALL(rcp->client, procnum, inproc, (char *)in, in rpc_call()
|
/titanic_41/usr/src/cmd/rcm_daemon/common/ |
H A D | rcm_subr.c | 516 client_t *client; in rsrc_client_alloc() local 528 client = s_calloc(1, sizeof (client_t)); in rsrc_client_alloc() 529 client->module = mod; in rsrc_client_alloc() 530 client->pid = pid; in rsrc_client_alloc() 531 client->alias = s_strdup(alias); in rsrc_client_alloc() 532 client->prv_flags = 0; in rsrc_client_alloc() 533 client->state = RCM_STATE_ONLINE; in rsrc_client_alloc() 534 client->flag = flag; in rsrc_client_alloc() 537 rcm_enqueue_tail(&mod->client_q, &client->queue); in rsrc_client_alloc() 539 return (client); in rsrc_client_alloc() [all …]
|
/titanic_41/usr/src/uts/common/pcmcia/cs/ |
H A D | cs.c | 260 client_t *client; in cs_init() local 276 client = &cs_socket_services_client; in cs_init() 277 bzero((caddr_t)client, sizeof (client_t)); in cs_init() 278 client->client_handle = CS_SS_CLIENT_HANDLE; in cs_init() 279 client->flags |= (INFO_SOCKET_SERVICES | CLIENT_CARD_INSERTED); in cs_init() 926 client_t *client; in cs_parse_tuple() local 931 &fn, &sp, &client)) != CS_SUCCESS) in cs_parse_tuple() 938 if (!(client->flags & CLIENT_CARD_INSERTED)) in cs_parse_tuple() 1066 client_t *client; in cs_get_firstnext_tuple() local 1071 &sp, &client)) != CS_SUCCESS) in cs_get_firstnext_tuple() [all …]
|
/titanic_41/usr/src/cmd/rpcinfo/ |
H A D | rpcinfo.c | 388 CLIENT *client; local 415 client = clnt_com_create(&addr, prognum, vers, &fd, trans); 416 rpc_stat = CLNT_CALL(client, NULLPROC, (xdrproc_t)xdr_void, 421 if (pstatus(client, prognum, vers) < 0) 423 (void) CLNT_DESTROY(client); 427 (void) CLNT_CONTROL(client, CLSET_FD_NCLOSE, (char *)NULL); 429 clnt_geterr(client, &rpcerr); 437 (void) CLNT_DESTROY(client); 439 client = clnt_com_create(&addr, prognum, MAX_VERS, &fd, trans); 440 rpc_stat = CLNT_CALL(client, NULLPROC, (xdrproc_t)xdr_void, [all …]
|
/titanic_41/usr/src/lib/gss_mechs/mech_krb5/krb5/krb/ |
H A D | walk_rtree.c | 122 krb5_walk_realm_tree(krb5_context context, const krb5_data *client, const krb5_data *server, krb5_p… in krb5_walk_realm_tree() argument 143 printf(" client is %s\n",client->data); in krb5_walk_realm_tree() 147 if (!(client->data && server->data)) { in krb5_walk_realm_tree() 149 if (!client->data && !server->data) { in krb5_walk_realm_tree() 154 if (!client->data) { in krb5_walk_realm_tree() 167 if ((cap_client = (char *)malloc(client->length + 1)) == NULL) in krb5_walk_realm_tree() 169 strncpy(cap_client, client->data, client->length); in krb5_walk_realm_tree() 170 cap_client[client->length] = '\0'; in krb5_walk_realm_tree() 202 clen = client->length; in krb5_walk_realm_tree() 205 for (com_cdot = ccp = client->data + clen - 1, in krb5_walk_realm_tree() [all …]
|
H A D | gic_keytab.c | 43 krb5_principal client, in krb5_get_as_key_keytab() argument 73 if ((ret = krb5_kt_get_entry(context, keytab, client, in krb5_get_as_key_keytab() 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() 127 ret = krb5_kt_find_realm(context, keytab, 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() 153 ret = krb5_get_init_creds(context, creds, client, NULL, NULL, in krb5_get_init_creds_keytab() [all …]
|
H A D | get_creds.c | 63 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() 314 if (in_creds.server->realm.length < in_creds.client->realm.length) 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() 323 memcpy(in_creds.server->realm.data, in_creds.client->realm.data, 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() [all …]
|
H A D | fwd_tgt.c | 41 …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 D | get_in_tkt.c | 147 krb5_princ_realm(context, request->client), in send_as_request2() 263 if ((retval = krb5_principal2salt(context, request->client, &salt))) in decrypt_as_reply() 326 if (!krb5_principal_compare(context, as_reply->client, request->client) in verify_as_reply() 388 krb5_principal client; in stash_as_reply() local 391 client = NULL; in stash_as_reply() 394 if (!creds->client) in stash_as_reply() 395 if ((retval = krb5_copy_principal(context, as_reply->client, &client))) in stash_as_reply() 431 if (!creds->client) in stash_as_reply() 432 creds->client = client; in stash_as_reply() 438 if (client) in stash_as_reply() [all …]
|
/titanic_41/usr/src/uts/common/io/ib/mgt/ibmf/ |
H A D | ibmf_saa_events.c | 643 saa_client_data_t *client; in ibmf_saa_notify_event_client_task() local 651 client = event_taskq_args->et_client; in ibmf_saa_notify_event_client_task() 654 (event_taskq_args->et_callback)((ibmf_saa_handle_t)client, in ibmf_saa_notify_event_client_task() 665 mutex_enter(&client->saa_client_mutex); in ibmf_saa_notify_event_client_task() 667 client->saa_client_event_cb_num_active--; in ibmf_saa_notify_event_client_task() 669 if (client->saa_client_event_cb_num_active == 0) { in ibmf_saa_notify_event_client_task() 671 cv_signal(&client->saa_client_event_cb_cv); in ibmf_saa_notify_event_client_task() 675 mutex_exit(&client->saa_client_mutex); in ibmf_saa_notify_event_client_task() 845 saa_client_data_t *client; in ibmf_saa_notify_event_clients() local 856 client = registering_client; in ibmf_saa_notify_event_clients() [all …]
|
/titanic_41/usr/src/cmd/krb5/krb5kdc/ |
H A D | do_as_req.c | 63 krb5_db_entry client, server; in process_as_req() local 111 if (!request->client) { in process_as_req() 116 if ((errcode = krb5_unparse_name(kdc_context, request->client, &cname))) { in process_as_req() 133 if ((errcode = krb5_db_get_principal(kdc_context, request->client, in process_as_req() 134 &client, &c_nprincs, &more))) { in process_as_req() 174 if ((errcode = validate_as_request(request, client, server, in process_as_req() 220 enc_tkt_reply.client = request->client; in process_as_req() 239 tmp_client_times = (long long) enc_tkt_reply.times.starttime + client.max_life; in process_as_req() 252 !isflagset(client.attributes, KRB5_KDB_DISALLOW_RENEWABLE) && in process_as_req() 268 tmp_client_times = (double) enc_tkt_reply.times.starttime + client.max_renewable_life; in process_as_req() [all …]
|
/titanic_41/usr/src/lib/libnsl/yp/ |
H A D | yp_update.c | 70 CLIENT *client; in yp_update() local 97 client = clnt_create(ypmaster, YPU_PROG, YPU_VERS, "circuit_n"); in yp_update() 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() [all …]
|
/titanic_41/usr/src/lib/libwrap/ |
H A D | tli.c | 73 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) 120 t_free((char *) request->client->unit, T_UNITDATA); 131 struct t_unitdata *client; local 148 if ((client = (struct t_unitdata *) t_alloc(fd, T_UNITDATA, T_ADDR)) == 0) { [all …]
|
/titanic_41/usr/src/uts/common/klm/ |
H A D | nlm_rpc_clnt.c | 91 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 154 return (nlm4_cancel_4(args, res, client)); in nlm_cancel_rpc() 166 stat = nlm_cancel_1(&args1, &res1, client); in nlm_cancel_rpc() 178 CLIENT *client, rpcvers_t vers) in nlm_unlock_rpc() argument [all …]
|
/titanic_41/usr/src/uts/common/io/drm/ |
H A D | drm_ioctl.c | 205 drm_client_t client; in drm_getclient() local 216 client.idx = client32.idx; in drm_getclient() 217 client.auth = client32.auth; in drm_getclient() 218 client.pid = client32.pid; in drm_getclient() 219 client.uid = client32.uid; in drm_getclient() 220 client.magic = client32.magic; in drm_getclient() 221 client.iocs = client32.iocs; in drm_getclient() 224 DRM_COPYFROM_WITH_RETURN(&client, (void *)data, in drm_getclient() 225 sizeof (client)); in drm_getclient() 227 idx = client.idx; in drm_getclient() [all …]
|
/titanic_41/usr/src/cmd/ypcmd/ |
H A D | ypserv_resolv.c | 70 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() 174 if ((*client = clnt_tp_create(HOST_SELF_CONNECT, prognum, in setup_resolv() 187 if ((stat = clnt_call(*client, 0, xdr_void, 0, in setup_resolv() 190 clnt_destroy (*client); in setup_resolv() 290 int resolv_req(bool *fwding, CLIENT **client, int *pid, char *tp, in resolv_req() argument 374 if (*client != NULL) in resolv_req() 375 clnt_destroy (*client); in resolv_req() [all …]
|
H A D | ypset.c | 246 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()
|
/titanic_41/usr/src/cmd/cmd-inet/usr.bin/ |
H A D | dns-sd.c | 108 static DNSServiceRef client = NULL; variable 231 static void DNSSD_API enum_reply(DNSServiceRef client, const DNSServiceFlags flags, uint32_t ifInde… in enum_reply() argument 239 (void)client; // Unused in enum_reply() 292 static void DNSSD_API browse_reply(DNSServiceRef client, const DNSServiceFlags flags, uint32_t ifIn… in browse_reply() argument 296 (void)client; // Unused in browse_reply() 339 static void DNSSD_API resolve_reply(DNSServiceRef client, const DNSServiceFlags flags, uint32_t ifI… in resolve_reply() argument 345 (void)client; // Unused in resolve_reply() 374 …err = DNSServiceAddRecord(client, &record, 0, kDNSServiceType_HINFO, sizeof(myhinfoW), &myhinfoW[0… in myTimerCallBack() 378 err = DNSServiceUpdateRecord(client, record, 0, sizeof(myhinfoX), &myhinfoX[0], 0); in myTimerCallBack() 382 err = DNSServiceRemoveRecord(client, record, 0); in myTimerCallBack() [all …]
|
/titanic_41/usr/src/cmd/tcpd/ |
H A D | tcpdmatch.c | 62 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 …]
|
/titanic_41/usr/src/cmd/rexd/ |
H A D | mount_nfs.c | 66 static int bindudp_resvport(CLIENT *client); 110 CLIENT *client; in mount_nfs() local 200 client = clnt_create_vers(host, MOUNTPROG, &vers, MOUNTVERS, vers, in mount_nfs() 202 if (client == NULL) { in mount_nfs() 211 if (bindudp_resvport(client) < 0) { in mount_nfs() 216 clnt_destroy(client); in mount_nfs() 220 if (client->cl_auth) in mount_nfs() 221 auth_destroy(client->cl_auth); in mount_nfs() 222 if ((client->cl_auth = authsys_create_default()) == NULL) { in mount_nfs() 227 clnt_destroy(client); in mount_nfs() [all …]
|