/osnet-11/usr/src/lib/gss_mechs/mech_krb5/krb5/os/ |
H A D | hostaddr.c | 63 switch (aip->ai_addr->sa_family) { 87 switch (aip->ai_addr->sa_family) { 90 ptr = &((struct sockaddr_in *)aip->ai_addr)->sin_addr; 96 ptr = &((struct sockaddr_in6 *)aip->ai_addr)->sin6_addr;
|
H A D | changepw.c | 84 sa2sin (a->ai_addr)->sin_port = kpasswd_port; 86 sa2sin6 (a->ai_addr)->sin6_port = kpasswd_port;
|
H A D | sendto_kdc.c | 256 if (0 != getnameinfo (ai->ai_addr, ai->ai_addrlen, 260 if (ai->ai_addr->sa_family == AF_UNSPEC) 263 krb5int_buf_add_fmt(&buf, " af%d", ai->ai_addr->sa_family); 337 && !memcmp(thisaddr->ai_addr, list->addrs[i].ai->ai_addr, 491 sa = addrs.addrs[addr_used].ai->ai_addr; 744 e = connect(fd, ai->ai_addr, ai->ai_addrlen); 825 hack_ai.ai_addr = (struct sockaddr *) &ss;
|
H A D | locate_kdc.c | 387 x->ai.ai_addr = (struct sockaddr *) &x->u; 972 ((struct sockaddr_in *)a->ai_addr)->sin_port = 977 ((struct sockaddr_in6 *)a->ai_addr)->sin6_port =
|
/osnet-11/usr/src/lib/libsocket/inet/ |
H A D | getaddrinfo.c | 40 #define ai2sin(x) ((struct sockaddr_in *)((x)->ai_addr)) 41 #define ai2sin6(x) ((struct sockaddr_in6 *)((x)->ai_addr)) 150 * socket() function. In each addrinfo structure the ai_addr 206 aip->ai_addr = NULL; 448 nai->ai_addr = malloc(addrlen); 449 if (nai->ai_addr == NULL) { 453 bzero(nai->ai_addr, addrlen); 490 nai->ai_addr = malloc(addrlen); 491 if (nai->ai_addr == NULL) { 495 bzero(nai->ai_addr, addrle [all...] |
H A D | rcmd.c | 203 bcopy(res->ai_addr, &caddr, res->ai_addrlen); 205 if (af == AF_INET6 && res->ai_addr->sa_family == AF_INET) { 210 res->ai_addr)->sin_addr, &ia6); 231 if (res->ai_addr->sa_family == AF_INET6) 234 res->ai_addr)->sin6_addr; 238 res->ai_addr)->sin_addr; 241 inet_ntop(res->ai_addr->sa_family, addr, 246 if (res->ai_addr->sa_family == AF_INET6) 249 res->ai_addr)->sin6_addr; 253 res->ai_addr) [all...] |
H A D | rexec.c | 97 s = socket(res->ai_addr->sa_family, res->ai_socktype, res->ai_protocol); 103 if (connect(s, res->ai_addr, res->ai_addrlen) != 0) {
|
/osnet-11/usr/src/lib/libsmbfs/common/ |
H A D | smbfs_vc.c | 77 bcopy(ai->ai_addr, &ssn->ssn_srvaddr, ai->ai_addrlen); 161 bcopy(ai->ai_addr, &ssn->ssn_srvaddr, ai->ai_addrlen);
|
H A D | smbfs_util.c | 529 smbfs_dump_sockaddr(ai->ai_addr);
|
H A D | smbfs_nbns_rq.c | 160 nai->ai_addr = sap;
|
/osnet-11/usr/src/lib/libresolv2/common/irs/ |
H A D | getaddrinfo.c | 296 /* no need to free(ai->ai_addr) */ 350 pai->ai_addr = NULL; 358 hints->ai_addr || hints->ai_next) 886 sin6 = (struct sockaddr_in6 *)(void *)cur->ai_addr; 933 ai->ai_addr = (struct sockaddr *)(void *)(ai + 1); 934 memset(ai->ai_addr, 0, (size_t)afd->a_socklen); 936 ai->ai_addr->sa_len = afd->a_socklen; 939 ai->ai_addr->sa_family = ai->ai_family = afd->a_af; 940 p = (char *)(void *)(ai->ai_addr); 958 ai->ai_addr [all...] |
H A D | dns_ho.c | 1034 switch(ai->ai_addr->sa_family) { 1037 addrp = (char *)&((struct sockaddr_in6 *)ai->ai_addr)->sin6_addr; 1041 addrp = (char *)&((struct sockaddr_in *)ai->ai_addr)->sin_addr;
|
/osnet-11/usr/src/lib/gss_mechs/mech_krb5/support/ |
H A D | fake-addrinfo.c | 467 if (ai->ai_family != ai->ai_addr->sa_family) 469 familyname(ai->ai_addr->sa_family, buf, sizeof(buf))); 567 n->ai_addr = (struct sockaddr *) sin4; 582 n->ai_addr = (struct sockaddr *) sin6; 768 ce->addrs4[i4++] = ((struct sockaddr_in *)ai2->ai_addr)->sin_addr; 771 ce->addrs6[i6++] = ((struct sockaddr_in6 *)ai2->ai_addr)->sin6_addr; 836 if (ai->ai_addr) 837 free (ai->ai_addr); 910 template.ai_addr = 0; 1290 ((struct sockaddr_in *)ai->ai_addr) [all...] |
/osnet-11/usr/src/lib/gss_mechs/mech_krb5/include/ |
H A D | fake-addrinfo.h | 117 struct sockaddr *ai_addr; /* pointer to variable-size address */ member in struct:addrinfo
|
/osnet-11/usr/src/lib/libsuri/common/ |
H A D | suri_iscsi.c | 169 in = (struct sockaddr_in *)(tgt->ai_addr); 178 in6 = (struct sockaddr_in6 *)(tgt->ai_addr); 322 in = (struct sockaddr_in *)(rh->ai_addr); 337 in6 = (struct sockaddr_in6 *)(rh->ai_addr); 627 if ((err = getnameinfo(resolved->ai_addr, resolved->ai_addrlen,
|
/osnet-11/usr/src/lib/libbsm/common/ |
H A D | generic.c | 176 p = &((struct sockaddr_in *)ai->ai_addr)->sin_addr, 183 p = &((struct sockaddr_in6 *)ai->ai_addr)->sin6_addr,
|
H A D | adt.c | 718 &((struct sockaddr_in *)ai->ai_addr)->sin_addr, 724 &((struct sockaddr_in6 *)ai->ai_addr)->sin6_addr,
|
/osnet-11/usr/src/lib/udapl/udapl_tavor/common/ |
H A D | dapl_ia_open.c | 547 * hca_address is defined as a DAT_SOCK_ADDR6 whereas ai_addr 551 (void *)(addr->ai_addr), sizeof (DAT_SOCK_ADDR6));
|
H A D | dapl_name_service.c | 154 si = (struct sockaddr_in *)addr->ai_addr; 155 if (AF_INET == addr->ai_addr->sa_family) {
|
/osnet-11/usr/src/lib/libdladm/common/ |
H A D | libdliptun.c | 136 (void) memcpy(&ik->iptun_kparam_laddr, ai->ai_addr, 150 (void) memcpy(&ik->iptun_kparam_raddr, ai->ai_addr,
|
/osnet-11/usr/src/lib/libshell/common/sh/ |
H A D | io.c | 118 struct sockaddr* ai_addr; member in struct:addrinfo 185 ap->ai_addr = (struct sockaddr *)(ap+1); 186 ip = (struct sockaddr_in *)ap->ai_addr; 295 if (server && !bind(fd, p->ai_addr, p->ai_addrlen) && !listen(fd, 5) || !server && !connect(fd, p->ai_addr, p->ai_addrlen))
|
/osnet-11/usr/src/lib/libresolv2/common/resolv/ |
H A D | res_init.c | 509 ai->ai_addr, ai->ai_addrlen); 514 ai->ai_addr, ai->ai_addrlen);
|
/osnet-11/usr/src/lib/libsmbns/common/ |
H A D | smbns_dyndns.c | 1177 &res->ai_addr[0], salen); 1186 &res->ai_addr[0], salen);
|
/osnet-11/usr/src/lib/libsasl/plugin/ |
H A D | plugin_common.c | 223 memcpy(&ss, ai->ai_addr, len);
|
/osnet-11/usr/src/lib/libinetsvc/common/ |
H A D | inetsvc.c | 544 void *p = res->ai_addr;
|