/illumos-gate/usr/src/lib/libnsl/yp/ |
H A D | yp_b_clnt.c | 50 ypbindproc_null_3(void *argp, CLIENT *clnt) argument 55 if (clnt_call(clnt, YPBINDPROC_NULL, xdr_void, 62 ypbindproc_domain_3(ypbind_domain *argp, CLIENT *clnt) argument 67 if (clnt_call(clnt, YPBINDPROC_DOMAIN, 75 ypbindproc_setdom_3(ypbind_setdom *argp, CLIENT *clnt) argument 80 if (clnt_call(clnt, YPBINDPROC_SETDOM,
|
H A D | yp_rsvd.c | 46 CLIENT *clnt = NULL; local 85 if ((clnt = clnt_tli_create(fd, nconf, svcaddr, 91 clnt_control(clnt, CLSET_FD_CLOSE, NULL); 94 return (clnt);
|
/illumos-gate/usr/src/lib/libidmap/common/ |
H A D | directory_rpc_clnt.c | 47 CLIENT *clnt) 53 return (clnt_call(clnt, DIRECTORY_GET_COMMON, 42 directory_get_common_1( idmap_utf8str_list ids, idmap_utf8str types, idmap_utf8str_list attrs, directory_results_rpc *clnt_res, CLIENT *clnt) argument
|
H A D | utils.c | 155 _idmap_rpc2stat(enum clnt_stat clntstat, CLIENT *clnt) argument 168 clnt_geterr(clnt, &r_err); 342 CLIENT *clnt; local 344 clnt = idmap_handle.client; 345 if (clnt != NULL) { 346 if (clnt->cl_auth) 347 auth_destroy(clnt->cl_auth); 348 clnt_destroy(clnt);
|
/illumos-gate/usr/src/cmd/krb5/kwarn/ |
H A D | kwarnd_clnt_stubs.c | 56 CLIENT *clnt; local 64 if ((clnt = getkwarnd_handle()) == NULL) { 80 ret = kwarn_add_warning_1(&args, &res, clnt); 107 CLIENT *clnt; local 115 if ((clnt = getkwarnd_handle()) == NULL) { 130 ret = kwarn_del_warning_1(&args, &res, clnt);
|
/illumos-gate/usr/src/lib/libads/common/ |
H A D | poke.c | 34 CLIENT *clnt = NULL; local 45 clnt = clnt_door_create(ADSPRIV_PROGRAM, ADSPRIV_V1, ADSPRIV_MAX_XFER); 46 if (clnt == NULL) 49 clstat = clnt_call(clnt, ADSPRIV_ForceRediscovery, 53 clnt_destroy(clnt);
|
H A D | dsgetdc.c | 67 CLIENT *clnt = NULL; local 85 clnt = clnt_door_create(ADSPRIV_PROGRAM, ADSPRIV_V1, ADSPRIV_MAX_XFER); 86 if (clnt == NULL) 97 clstat = clnt_call(clnt, ADSPRIV_GetDcName, 101 clnt_destroy(clnt);
|
/illumos-gate/usr/src/lib/krb5/kadm5/clnt/ |
H A D | client_internal.h | 102 CLIENT * clnt; member in struct:_kadm5_server_handle_t 115 if (srvr->params.kpasswd_protocol == KRB5_CHGPWD_RPCSEC && ! srvr->clnt) \
|
H A D | client_rpc.c | 37 create_principal_2(cprinc_arg *argp, CLIENT *clnt) argument 42 if (clnt == NULL) 45 if (clnt_call(clnt, CREATE_PRINCIPAL, 55 create_principal3_2(cprinc3_arg *argp, CLIENT *clnt) argument 60 if (clnt == NULL) 63 if (clnt_call(clnt, CREATE_PRINCIPAL3, 73 delete_principal_2(dprinc_arg *argp, CLIENT *clnt) argument 78 if (clnt == NULL) 81 if (clnt_call(clnt, DELETE_PRINCIPAL, 91 modify_principal_2(mprinc_arg *argp, CLIENT *clnt) argument 109 rename_principal_2(rprinc_arg *argp, CLIENT *clnt) argument 127 get_principal_2(gprinc_arg *argp, CLIENT *clnt) argument 145 get_princs_2(gprincs_arg *argp, CLIENT *clnt) argument 163 chpass_principal_2(chpass_arg *argp, CLIENT *clnt) argument 181 chpass_principal3_2(chpass3_arg *argp, CLIENT *clnt) argument 199 setv4key_principal_2(setv4key_arg *argp, CLIENT *clnt) argument 217 setkey_principal_2(setkey_arg *argp, CLIENT *clnt) argument 235 setkey_principal3_2(setkey3_arg *argp, CLIENT *clnt) argument 253 chrand_principal_2(chrand_arg *argp, CLIENT *clnt) argument 271 chrand_principal3_2(chrand3_arg *argp, CLIENT *clnt) argument 289 create_policy_2(cpol_arg *argp, CLIENT *clnt) argument 307 delete_policy_2(dpol_arg *argp, CLIENT *clnt) argument 325 modify_policy_2(mpol_arg *argp, CLIENT *clnt) argument 343 get_policy_2(gpol_arg *argp, CLIENT *clnt) argument 361 get_pols_2(gpols_arg *argp, CLIENT *clnt) argument 379 get_privs_2(void *argp, CLIENT *clnt) argument 397 init_2(void *argp, CLIENT *clnt) argument [all...] |
/illumos-gate/usr/src/cmd/gss/gssd/ |
H A D | gssd_handle.c | 43 #include <rpc/clnt.h> 67 static CLIENT *clnt; local 76 if (clnt) 77 return (clnt); 91 clnt = clnt_tp_create(hostname, 93 if (clnt) { 102 if ((clnt == NULL) && (tpconf)) { 106 clnt = clnt_tp_create(hostname, GSSPROG, GSSVERS, tpconf); 108 if (clnt) { 125 if (clnt_control(clnt, CLSET_SVC_PRI [all...] |
/illumos-gate/usr/src/cmd/rpcsvc/ |
H A D | spray.c | 46 enum clnt_stat sprayproc_spray_1nd(/*argp, clnt*/); 61 register CLIENT *clnt; local 107 clnt = clnt_create(host, SPRAYPROG, SPRAYVERS, type); 108 if (clnt == (CLIENT *)NULL) { 125 if (sprayproc_clear_1(NULL, clnt) == NULL) { 126 clnt_perror(clnt, "SPRAYPROC_CLEAR "); 130 sprayproc_spray_1nd(&arr, clnt); 134 if ((co = sprayproc_get_1(NULL, clnt)) == NULL) { 135 clnt_perror(clnt, "SPRAYPROC_GET "); 160 sprayproc_spray_1nd(argp, clnt) [all...] |
H A D | rwall.c | 219 CLIENT *clnt; local 231 clnt = clnt_create_timed( 233 if (clnt == NULL) { 244 if (wallproc_wall_1(&path, vp, clnt) != RPC_SUCCESS) { 247 clnt_perror(clnt, hostname); 251 clnt_destroy(clnt);
|
/illumos-gate/usr/src/uts/common/gssapi/ |
H A D | gssd_handle.c | 98 CLIENT *clnt; local 163 GSSVERS, 0, GSSD_RETRY, kcred, &clnt); 173 return (clnt);
|
/illumos-gate/usr/src/lib/pam_modules/dhkeys/ |
H A D | key_call_uid.c | 80 CLIENT *clnt; local 126 clnt = clnt_door_create(KEY_PROG, vers, 0); 128 if (clnt == NULL) 131 clnt->cl_auth = authsys_create_uid(uid, gid); 133 status = CLNT_CALL(clnt, proc, xdr_arg, arg, xdr_rslt, 136 auth_destroy(clnt->cl_auth); 137 clnt_destroy(clnt);
|
/illumos-gate/usr/src/lib/smbsrv/libmlrpc/common/ |
H A D | ndr_client.c | 41 ndr_clnt_bind(ndr_client_t *clnt, const char *service_name, argument 59 mxa.binding_list = clnt->binding_list; 63 ndr_clnt_init_hdr(clnt, &mxa); 75 pce->p_cont_id = clnt->next_p_cont_id++; 93 if ((*clnt->xa_init)(clnt, &mxa) < 0) 100 if ((*clnt->xa_exchange)(clnt, &mxa) < 0) { 110 (*clnt->xa_destruct)(clnt, 142 ndr_client_t *clnt = mbind->clnt; local 241 ndr_clnt_free_heap(ndr_client_t *clnt) argument 247 ndr_clnt_init_hdr(ndr_client_t *clnt, ndr_xa_t *mxa) argument 275 ndr_clnt_get_frags(ndr_client_t *clnt, ndr_xa_t *mxa) argument 309 ndr_clnt_get_frag(ndr_client_t *clnt, ndr_xa_t *mxa, ndr_common_header_t *hdr) argument [all...] |
/illumos-gate/usr/src/lib/libsmedia/library/common/ |
H A D | l_misc.c | 89 CLIENT *clnt; local 105 clnt = clnt_create("localhost", SMSERVERPROG, SMSERVERVERS, 107 if (clnt == (CLIENT *)NULL) { 144 server_info = smserverproc_get_serverinfo_1(NULL, clnt); 146 if (clnt) 147 clnt_destroy(clnt); 151 if (clnt) 152 clnt_destroy(clnt); 158 if (clnt) 159 clnt_destroy(clnt); [all...] |
/illumos-gate/usr/src/cmd/ypcmd/ |
H A D | ypxfrd_client.c | 119 (void) printf("clnt call getpag GETDBM_ERROR\n"); 164 (void) printf("clnt call getdir GETDBM_ERROR\n"); 213 CLIENT *clnt; local 272 if ((clnt = __nis_clnt_create(fd, nconf, 0, svcaddr, 0, 286 (void) CLNT_CONTROL(clnt, CLSET_FD_CLOSE, (char *)NULL); 298 if (clnt_call(clnt, getdbm, xdr_hosereq, (char *)&rmap, xdr_myfyl, 300 logprintf("clnt call to ypxfrd getdbm failed.\n"); 301 clnt_perror(clnt, "getdbm"); 306 logprintf("clnt call %s ypxfrd getdbm NOTOK %s %s code=%d\n",
|
/illumos-gate/usr/src/lib/lvm/libmeta/common/ |
H A D | metarpcopen.c | 248 CLIENT *clnt = (CLIENT *) NULL; local 268 return (clnt); 274 clnt = (*func)(hostname, data, &timeout); 275 if (clnt != (CLIENT *) NULL) 290 return (clnt); 297 if ((clnt == (CLIENT *) NULL) && (ep != (md_error_t *)NULL)) { 301 return (clnt);
|
/illumos-gate/usr/src/lib/gss_mechs/mech_dh/backend/mech/ |
H A D | context_establish.c | 379 dh_init_context_t clnt; local 434 /* set clnt to point to the init context part of token */ 435 clnt = &token.ver.dh_version_u.body.dh_token_body_desc_u.init_context; 438 if (strcmp(clnt->cntx.local, netname) != 0) { 458 if ((*minor = establish_session_keys(dhctx, clnt->cntx.remote, 459 &clnt->keys, 467 clnt->cntx.channel); 496 if ((g_cntx->remote = strdup(clnt->cntx.remote)) == NULL) { 503 if ((g_cntx->local = strdup(clnt->cntx.local)) == NULL) { 510 g_cntx->no_keys = clnt [all...] |
/illumos-gate/usr/src/lib/libnsl/rpc/ |
H A D | auth_time.c | 189 CLIENT *clnt; /* Client handle */ local 331 clnt = 0; 403 if (clnt != 0) 404 clnt_destroy(clnt); 405 clnt = __nis_clnt_create(RPC_ANYFD, nc, useua, 0, 0, RPCBPROG, 407 if (! clnt) 414 status = clnt_call(clnt, RPCBPROC_GETTIME, xdr_void, NULL, 428 } else if (clnt == 0) { 606 if (clnt) 607 clnt_destroy(clnt); [all...] |
H A D | clnt_generic.c | 91 CLIENT *clnt; local 97 clnt = clnt_create_timed(hostname, prog, vers_high, nettype, tp); 98 if (clnt == NULL) 106 rpc_stat = clnt_call(clnt, NULLPROC, (xdrproc_t)xdr_void, 110 return (clnt); 117 clnt_geterr(clnt, &rpcerr); 129 CLNT_CONTROL(clnt, CLSET_VERS, (char *)&v_high); 130 rpc_stat = clnt_call(clnt, NULLPROC, (xdrproc_t)xdr_void, 135 return (clnt); 138 clnt_geterr(clnt, 180 CLIENT *clnt = NULL; local 300 CLIENT *clnt = NULL; local [all...] |
H A D | rpc_generic.c | 398 * Used to ping the NULL procedure for clnt handle. 402 rpc_nullproc(CLIENT *clnt) argument 406 if (clnt_call(clnt, NULLPROC, (xdrproc_t)xdr_void, NULL, 409 return ((void *)clnt);
|
H A D | rpcsec_gss_if.c | 153 CLIENT *clnt, /* associated client handle */ 163 return ((*calls.rpc_gss_seccreate)(clnt, principal, mechanism, 152 rpc_gss_seccreate( CLIENT *clnt, char *principal, char *mechanism, rpc_gss_service_t service_type, char *qop, rpc_gss_options_req_t *options_req, rpc_gss_options_ret_t *options_ret) argument
|
/illumos-gate/usr/src/lib/smbsrv/libmlsvc/common/ |
H A D | mlsvc_client.c | 89 ndr_client_t *clnt = NULL; local 167 if ((clnt = malloc(sizeof (ndr_client_t))) == NULL) { 171 bzero(clnt, sizeof (ndr_client_t)); 173 clnt->handle = &handle->handle; 174 clnt->xa_init = ndr_xa_init; 175 clnt->xa_exchange = ndr_xa_exchange; 176 clnt->xa_read = ndr_xa_read; 177 clnt->xa_preserve = ndr_xa_preserve; 178 clnt->xa_destruct = ndr_xa_destruct; 179 clnt 250 ndr_client_t *clnt = handle->clnt; local 276 ndr_client_t *clnt = handle->clnt; local 340 ndr_client_t *clnt = handle->clnt; local 364 ndr_client_t *clnt = handle->clnt; local 381 ndr_client_t *clnt = handle->clnt; local 465 ndr_xa_init(ndr_client_t *clnt, ndr_xa_t *mxa) argument 509 ndr_xa_exchange(ndr_client_t *clnt, ndr_xa_t *mxa) argument 539 ndr_xa_read(ndr_client_t *clnt, ndr_xa_t *mxa) argument 569 ndr_xa_preserve(ndr_client_t *clnt, ndr_xa_t *mxa) argument 582 ndr_xa_destruct(ndr_client_t *clnt, ndr_xa_t *mxa) argument 598 ndr_xa_release(ndr_client_t *clnt) argument [all...] |
/illumos-gate/usr/src/lib/rpcsec_gss/ |
H A D | rpcsec_gss.c | 76 CLIENT *clnt; /* associated client handle */ member in struct:_rpc_gss_data 101 __rpc_gss_seccreate(clnt, server_name, mech, service, qop, options_req, 103 CLIENT *clnt; /* associated client handle */ 163 ap->clnt = clnt; 243 CLIENT *clnt = ap->clnt; local 272 * should not change clnt->cl_auth at this time, so save 275 save_auth = clnt->cl_auth; 276 clnt [all...] |