Searched refs:ai_addr (Results 1 - 25 of 28) sorted by relevance

12

/osnet-11/usr/src/lib/gss_mechs/mech_krb5/krb5/os/
H A Dhostaddr.c63 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 Dchangepw.c84 sa2sin (a->ai_addr)->sin_port = kpasswd_port;
86 sa2sin6 (a->ai_addr)->sin6_port = kpasswd_port;
H A Dsendto_kdc.c256 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 Dlocate_kdc.c387 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 Dgetaddrinfo.c40 #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 Drcmd.c203 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 Drexec.c97 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 Dsmbfs_vc.c77 bcopy(ai->ai_addr, &ssn->ssn_srvaddr, ai->ai_addrlen);
161 bcopy(ai->ai_addr, &ssn->ssn_srvaddr, ai->ai_addrlen);
H A Dsmbfs_util.c529 smbfs_dump_sockaddr(ai->ai_addr);
H A Dsmbfs_nbns_rq.c160 nai->ai_addr = sap;
/osnet-11/usr/src/lib/libresolv2/common/irs/
H A Dgetaddrinfo.c296 /* 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 Ddns_ho.c1034 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 Dfake-addrinfo.c467 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 Dfake-addrinfo.h117 struct sockaddr *ai_addr; /* pointer to variable-size address */ member in struct:addrinfo
/osnet-11/usr/src/lib/libsuri/common/
H A Dsuri_iscsi.c169 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 Dgeneric.c176 p = &((struct sockaddr_in *)ai->ai_addr)->sin_addr,
183 p = &((struct sockaddr_in6 *)ai->ai_addr)->sin6_addr,
H A Dadt.c718 &((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 Ddapl_ia_open.c547 * hca_address is defined as a DAT_SOCK_ADDR6 whereas ai_addr
551 (void *)(addr->ai_addr), sizeof (DAT_SOCK_ADDR6));
H A Ddapl_name_service.c154 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 Dlibdliptun.c136 (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 Dio.c118 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 Dres_init.c509 ai->ai_addr, ai->ai_addrlen);
514 ai->ai_addr, ai->ai_addrlen);
/osnet-11/usr/src/lib/libsmbns/common/
H A Dsmbns_dyndns.c1177 &res->ai_addr[0], salen);
1186 &res->ai_addr[0], salen);
/osnet-11/usr/src/lib/libsasl/plugin/
H A Dplugin_common.c223 memcpy(&ss, ai->ai_addr, len);
/osnet-11/usr/src/lib/libinetsvc/common/
H A Dinetsvc.c544 void *p = res->ai_addr;

Completed in 103 milliseconds

12