Lines Matching refs:ai_addr
165 (ai)->ai_addr = (struct sockaddr *)((ai) + 1);\
166 memset((ai)->ai_addr, 0, (afd)->a_socklen);\
167 (ai)->ai_addr->sa_len = (ai)->ai_addrlen = (afd)->a_socklen;\
168 (ai)->ai_addr->sa_family = (ai)->ai_family = (afd)->a_af;\
169 ((struct sockinet *)(ai)->ai_addr)->si_port = port;\
170 p = (char *)((ai)->ai_addr);\
195 /* no need to free(ai->ai_addr) */
252 pai->ai_addr = NULL;
261 hints->ai_addr || hints->ai_next)
646 in6 = &((struct sockaddr_in6 *)cur->ai_next->ai_addr)->sin6_addr;