/osnet-11/usr/src/lib/gss_mechs/mech_krb5/krb5/os/ |
H A D | hostaddr.c | 39 krb5_address **addrs; local 75 addrs = malloc ((i+1) * sizeof(*addrs)); 76 if (!addrs) 80 addrs[j] = 0; 103 addrs[i] = (krb5_address *) malloc(sizeof(krb5_address)); 104 if (!addrs[i]) { 108 addrs[i]->magic = KV5M_ADDRESS; 109 addrs[i]->addrtype = atype; 110 addrs[ [all...] |
H A D | changepw.c | 81 struct addrinfo *a = addrlist->addrs[i].ai; 150 krb5_address **addrs; local 152 code = krb5_os_localaddr(ctx->context, &addrs); 156 local_kaddr.magic = addrs[0]->magic; 157 local_kaddr.addrtype = addrs[0]->addrtype; 158 local_kaddr.length = addrs[0]->length; 159 local_kaddr.contents = malloc(addrs[0]->length); 160 if (local_kaddr.contents == NULL && addrs[0]->length != 0) { 162 krb5_free_addresses(ctx->context, addrs); 165 if (addrs[ [all...] |
H A D | locate_kdc.c | 125 size_t newsize = newspace * sizeof (*lp->addrs); 128 newaddrs = realloc (lp->addrs, newsize); 131 lp->addrs = newaddrs; 133 lp->addrs[i].ai = NULL; 134 lp->addrs[i].freefn = NULL; 135 lp->addrs[i].data = NULL; 149 if (lp->addrs[i].freefn) 150 (lp->addrs[i].freefn)(lp->addrs[i].data); 152 free(lp->addrs[ 288 struct addrinfo *addrs, *a, *anext, hint; local [all...] |
H A D | sendto_kdc.c | 292 dprint("%s%p=%A", i ? "," : "", (void*)a->addrs[i].ai, a->addrs[i].ai); 306 dprint(" %A", dest->addrs[i].ai); 309 dprint(" %A", src->addrs[i].ai); 316 dest->addrs[dest->naddrs + i] = src->addrs[i]; 317 src->addrs[i].ai = 0; 318 src->addrs[i].freefn = 0; 325 dprint(" %A", dest->addrs[i].ai); 336 if (thisaddr->ai_addrlen == list->addrs[ 391 struct addrlist addrs = ADDRLIST_INIT; /* Solaris Kerberos */ local 1243 krb5int_sendto(krb5_context context, const krb5_data *message, const struct addrlist *addrs, struct sendto_callback_info* callback_info, krb5_data *reply, struct sockaddr *localaddr, socklen_t *localaddrlen, struct sockaddr *remoteaddr, socklen_t *remoteaddrlen, int *addr_used, int (*msg_handler)(krb5_context, const krb5_data *, void *), void *msg_handler_data) argument [all...] |
/osnet-11/usr/src/lib/libproc/common/ |
H A D | pr_meminfo.c | 40 pr_meminfo(struct ps_prochandle *Pr, const uint64_t *addrs, argument 85 if (Pwrite(Pr, addrs, inarraysize, inaddr) != inarraysize) {
|
H A D | Psymtab.c | 99 uintptr_t a, addr, *addrs, last = 0; local 110 addrs = malloc(sizeof (uintptr_t) * phnum * 2); 115 free(addrs); 126 addrs[naddrs++] = addr; 127 addrs[naddrs++] = last = addr + phdr.p_memsz - 1; 138 addrs = malloc(sizeof (uintptr_t) * phnum * 2); 143 free(addrs); 154 addrs[naddrs++] = addr; 155 addrs[naddrs++] = last = addr + phdr.p_memsz - 1; 161 qsort(addrs, naddr [all...] |
/osnet-11/usr/src/lib/libsocket/inet/ |
H A D | inet6_rthdr.c | 96 struct in6_addr *addrs; local 104 addrs = (struct in6_addr *)((char *)rthdr + sizeof (*rthdr)); 105 addrs[rthdr->ip6r0_segleft++] = *addr;
|
/osnet-11/usr/src/lib/gss_mechs/mech_krb5/krb5/krb/ |
H A D | fwd_tgt.c | 57 krb5_address **addrs = NULL; local 178 retval = krb5_os_hostaddr(context, rhost, &addrs); 192 addrs, &creds, &pcreds))) { 196 addrs, &creds, &pcreds))) 214 if (addrs) 215 krb5_free_addresses(context, addrs);
|
H A D | gic_keytab.c | 219 krb5_address *const *addrs, krb5_enctype *ktypes, 232 options, addrs, ktypes, 218 krb5_get_in_tkt_with_keytab(krb5_context context, krb5_flags options, krb5_address *const *addrs, krb5_enctype *ktypes, krb5_preauthtype *pre_auth_types, krb5_keytab arg_keytab, krb5_ccache ccache, krb5_creds *creds, krb5_kdc_rep **ret_as_reply) argument
|
H A D | send_tgs.c | 43 addrs, if non-NULL, is used for addresses " " " 167 krb5_address *const *addrs, 218 tgsreq.addresses = (krb5_address **) addrs; 395 krb5_const_principal sname, krb5_address *const *addrs, 419 ktypes, sname, addrs, 162 krb5int_make_tgs_request_ext(krb5_context context, krb5_flags kdcoptions, const krb5_ticket_times *timestruct, const krb5_enctype *ktypes, krb5_const_principal sname, krb5_address *const *addrs, krb5_authdata *const *authorization_data, krb5_pa_data *const *padata, const krb5_data *second_ticket, krb5_creds *in_cred, krb5_error_code (*pacb_fct)(krb5_context, krb5_keyblock *, krb5_kdc_req *, void *), void *pacb_data, krb5_data *request_data, krb5_timestamp *timestamp, krb5_int32 *nonce, krb5_keyblock **subkey, krb5_kdc_req **retreq) argument
|
H A D | gic_pwd.c | 502 If addrs is non-NULL, it is used for the addresses requested. If it is 516 krb5_address *const *addrs, krb5_enctype *ktypes, 539 options, addrs, ktypes, 515 krb5_get_in_tkt_with_password(krb5_context context, krb5_flags options, krb5_address *const *addrs, krb5_enctype *ktypes, krb5_preauthtype *pre_auth_types, const char *password, krb5_ccache ccache, krb5_creds *creds, krb5_kdc_rep **ret_as_reply) argument
|
H A D | get_in_tkt.c | 74 If addrs is non-NULL, it is used for the addresses requested. If it is 426 /* XXX || (!krb5_addresses_compare(context, addrs, as_reply->enc_part2->caddrs)) */ 696 krb5_address * const * addrs, 768 if (addrs) 769 request.addresses = (krb5_address **) addrs; 977 if (!addrs && request.addresses) 2369 krb5_flags options, krb5_address *const *addrs, 2383 if (addrs) 2384 krb5_get_init_creds_opt_set_address_list(opt, (krb5_address **) addrs); 694 krb5_get_in_tkt(krb5_context context, krb5_flags options, krb5_address * const * addrs, krb5_enctype * ktypes, krb5_preauthtype * ptypes, git_key_proc key_proc, krb5_const_pointer keyseed, git_decrypt_proc decrypt_proc, krb5_const_pointer decryptarg, krb5_creds * creds, krb5_ccache ccache, krb5_kdc_rep ** ret_as_reply) argument 2368 krb5int_populate_gic_opt(krb5_context context, krb5_get_init_creds_opt **out, krb5_flags options, krb5_address *const *addrs, krb5_enctype *ktypes, krb5_preauthtype *pre_auth_types, krb5_creds *creds) argument
|
/osnet-11/usr/src/lib/krb5/kadm5/ |
H A D | kadm_host_srv_names.c | 32 struct sockaddr *addrs; local 88 struct sockaddr *addrs; local 194 strlen(al.addrs[i].hostname) + 2); 201 al.addrs[i].hostname); 242 strlen(al.addrs[i].hostname) + 2); 249 al.addrs[i].hostname); 293 strlen(al.addrs[i].hostname) + 2); 300 al.addrs[i].hostname); 341 if (ret = krb5_os_hostaddr(context, al.addrs[i].hostname, &master_addr)) 349 *master_hostname = strdup(al.addrs[ [all...] |
/osnet-11/usr/src/lib/libresolv2/common/resolv/ |
H A D | res_findzonecut.c | 60 rrset_a addrs; member in struct:rr_ns 108 *\li addrs - found server addresses 109 *\li naddrs - max number of addrs 113 *\li = 0 - zname is now valid, but addrs[] wasn't changed 114 *\li > 0 - zname is now valid, and return value is number of addrs[] found 155 char *zname, size_t zsize, struct in_addr *addrs, int naddrs) 172 addrs[i] = u[i].sin.sin_addr; 180 char *zname, size_t zsize, union res_sockaddr_union *addrs, 200 (n = satisfy(statp, mname, &nsrrs, addrs, naddrs)) > 0)) 206 (n = satisfy(statp, mname, &nsrrs, addrs, naddr 154 res_findzonecut(res_state statp, const char *dname, ns_class class, int opts, char *zname, size_t zsize, struct in_addr *addrs, int naddrs) argument 179 res_findzonecut2(res_state statp, const char *dname, ns_class class, int opts, char *zname, size_t zsize, union res_sockaddr_union *addrs, int naddrs) argument 223 satisfy(res_state statp, const char *mname, rrset_ns *nsrrsp, union res_sockaddr_union *addrs, int naddrs) argument 251 add_addrs(res_state statp, rr_ns *nsrr, union res_sockaddr_union *addrs, int naddrs) argument [all...] |
/osnet-11/usr/src/lib/libldap4/common/ |
H A D | cldap.c | 313 struct sockaddr *newsap, **addrs; local 322 addrs = (struct sockaddr **)malloc( sizeof(struct sockaddr *)); 324 addrs = (struct sockaddr **)realloc( ld->ld_sb.sb_addrs, 328 if ( addrs == NULL ) { 335 addrs[ ld->ld_sb.sb_naddr++ ] = newsap; 336 ld->ld_sb.sb_addrs = (void **)addrs;
|
/osnet-11/usr/src/lib/libnsl/netdir/ |
H A D | netdir.c | 161 struct nd_addrlist **addrs) 182 nssout.nd_alist = addrs; 195 nssout.nd_alist = addrs; 198 return (__classic_netdir_getbyname(tp, serv, addrs)); 212 struct nd_addrlist **addrs) 226 *addrs = nn; 244 *addrs = nn; 160 netdir_getbyname(struct netconfig *tp, struct nd_hostserv *serv, struct nd_addrlist **addrs) argument 211 __classic_netdir_getbyname(struct netconfig *tp, struct nd_hostserv *serv, struct nd_addrlist **addrs) argument
|
/osnet-11/usr/src/lib/libnsl/rpc/ |
H A D | auth_time.c | 129 struct nd_addrlist *addrs; local 139 if (! netdir_getbyname(nc, &hs, &addrs)) { 140 for (i = 0; (i < (addrs->n_cnt)) && (num_ep < maxep); 143 taddr2uaddr(nc, &(addrs->n_addrs[i])); 146 netdir_free((char *)addrs, ND_ADDRLIST);
|
/osnet-11/usr/src/lib/krb5/kadm5/srv/ |
H A D | chgpwd.c | 251 krb5_address **addrs; local 253 krb5_os_localaddr(context, &addrs); 255 local_kaddr.magic = addrs[0]->magic; 256 local_kaddr.addrtype = addrs[0]->addrtype; 257 local_kaddr.length = addrs[0]->length; 258 if ((local_kaddr.contents = malloc(addrs[0]->length)) == 0) { 267 (void) memcpy(local_kaddr.contents, addrs[0]->contents, 268 addrs[0]->length); 271 krb5_free_addresses(context, addrs);
|
/osnet-11/usr/src/lib/libsctp/common/ |
H A D | sctp.c | 63 sctp_bindx(int sock, void *addrs, int addrcnt, int flags) argument 67 if (addrs == NULL || addrcnt == 0) { 73 switch (((struct sockaddr *)addrs)->sa_family) { 87 return (setsockopt(sock, IPPROTO_SCTP, SCTP_ADD_ADDR, addrs, 90 return (setsockopt(sock, IPPROTO_SCTP, SCTP_REM_ADDR, addrs, 102 sctp_getpaddrs(int sock, sctp_assoc_t id, void **addrs) argument 108 if (addrs == NULL) { 114 *addrs = NULL; 132 if ((*addrs = malloc(bufsz)) == NULL) { 136 opt.sopt_val = *addrs; 157 sctp_freepaddrs(void *addrs) argument 163 sctp_getladdrs(int sock, sctp_assoc_t id, void **addrs) argument 218 sctp_freeladdrs(void *addrs) argument 374 sctp_connectx(int sd, struct sockaddr *addrs, int addrcnt, sctp_assoc_t *aid) argument 537 sctp_sendv(int sd, const struct iovec *iov, int iovcnt, struct sockaddr *addrs, int addrcnt, void *info, socklen_t infolen, unsigned int infotype, int flags) argument [all...] |
/osnet-11/usr/src/lib/libresolv2/common/irs/ |
H A D | gethostent.c | 64 char * addrs[2]; member in struct:pvt 1056 pvt->addrs[0] = (char *)pvt->addr; 1057 pvt->addrs[1] = NULL; 1058 pvt->host.h_addr_list = pvt->addrs;
|
/osnet-11/usr/src/lib/libipmp/common/ |
H A D | ipmp_query.c | 680 const char *bcifname, uint_t naddr, struct sockaddr_storage *addrs) 692 grinfop->gr_adlistp = ipmp_addrlist_create(naddr, addrs); 727 ipmp_addrlist_create(uint_t naddr, struct sockaddr_storage *addrs) argument 738 adlistp->al_addrs[i] = addrs[i]; 677 ipmp_groupinfo_create(const char *name, uint64_t sig, uint_t fdt, ipmp_group_state_t state, uint_t nif, char (*ifs)[LIFNAMSIZ], const char *grifname, const char *m4ifname, const char *m6ifname, const char *bcifname, uint_t naddr, struct sockaddr_storage *addrs) argument
|
/osnet-11/usr/src/lib/fm/topo/modules/common/disk/common/ |
H A D | disk_common.c | 636 char **addrs, uint_t naddr) 642 if (addrs[i]) { 644 addrs[i]); 635 disk_declare_addr(topo_mod_t *mod, tnode_t *parent, topo_list_t *listp, char **addrs, uint_t naddr) argument
|
/osnet-11/usr/src/lib/libipadm/common/ |
H A D | ipadm_if.c | 2867 ipadm_addr_info_t *addrs) 2895 for (u_ptr = addrs; u_ptr != NULL; u_ptr = IA_NEXT(u_ptr)) { 2866 ipadm_migrate_dataaddrs(ipadm_handle_t iph, const char *underif, ipadm_addr_info_t *addrs) argument
|
/osnet-11/usr/src/lib/gss_mechs/mech_krb5/krb5/ccache/ |
H A D | cc_file.c | 552 krb5_fcc_read_addrs(krb5_context context, krb5_ccache id, krb5_address ***addrs) argument 561 *addrs = 0; 567 /* Make *addrs able to hold length pointers to krb5_address structs 574 *addrs = ALLOC (msize, krb5_address *); 575 if (*addrs == NULL) 579 (*addrs)[i] = (krb5_address *) malloc(sizeof(krb5_address)); 580 if ((*addrs)[i] == NULL) { 581 krb5_free_addresses(context, *addrs); 582 *addrs = 0; 585 (*addrs)[ 1000 krb5_fcc_store_addrs(krb5_context context, krb5_ccache id, krb5_address **addrs) argument [all...] |
/osnet-11/usr/src/lib/libnsl/nss/ |
H A D | netdir_inet.c | 731 struct nd_addrlist *addrs; local 739 &service, &addrs)) != ND_OK) { 746 ret = ndaddr2hent(AF_INET, service.h_host, addrs, 751 netdir_free((char *)addrs, ND_ADDRLIST); 787 &service, &addrs)) != ND_OK) { 795 ((struct sockaddr_in *)addrs->n_addrs->buf)->sin_port, 798 netdir_free((char *)addrs, ND_ADDRLIST); 1140 struct nd_hostservlist *addrs; local 1153 &addrs, &nbuf)) != 0) { 1160 _nderror = ndhostserv2hent(&nbuf, addrs, re 2230 ndaddr2hent(int af, const char *nam, struct nd_addrlist *addrs, struct hostent *result, char *buffer, int buflen) argument 2334 ndhostserv2hent(struct netbuf *nbuf, struct nd_hostservlist *addrs, struct hostent *result, char *buffer, int buflen) argument 2406 ndhostserv2srent(int port, const char *proto, struct nd_hostservlist *addrs, struct servent *result, char *buffer, int buflen) argument 2883 in_list(struct in_addr *addrs, int n, struct in_addr a) argument 2895 getbroadcastnets(struct netconfig *tp, struct in_addr **addrs) argument [all...] |