Lines Matching refs:ai_addr
44 * size_t ai_addrlen; // length of ai_addr
46 * struct sockaddr *ai_addr; // binary address
110 * structure in the list, the ai_addr member points to a filled-in socket
193 hints->ai_addr || hints->ai_next) {
315 SIN(ai->ai_addr)->sin_port = port;
328 SIN6(ai->ai_addr)->sin6_port = port;
429 SIN(ai->ai_addr)->sin_port = port;
430 memmove((char *)ai->ai_addr + addroff, abuf, addrsize);
434 SIN6(ai->ai_addr)->sin6_scope_id =
437 if (lwres_getnameinfo(ai->ai_addr,
581 SIN(ai->ai_addr)->sin_port = port;
582 memmove(&SIN(ai->ai_addr)->sin_addr, v4_loop, 4);
599 SIN(ai->ai_addr)->sin_port = port;
600 memmove(&SIN(ai->ai_addr)->sin_addr,
645 SIN6(ai->ai_addr)->sin6_port = port;
646 memmove(&SIN6(ai->ai_addr)->sin6_addr, v6_loop, 16);
663 SIN6(ai->ai_addr)->sin6_port = port;
664 memmove(&SIN6(ai->ai_addr)->sin6_addr,
691 if (ai->ai_addr != NULL)
692 free(ai->ai_addr);
713 slocal = SLOCAL(ai->ai_addr);
732 * ai_addr
733 * ai_addr->sa_family
734 * ai_addr->sa_len (LWRES_PLATFORM_HAVESALEN)
745 ai->ai_addr = SA(calloc(1, addrlen));
746 if (ai->ai_addr == NULL) {
752 ai->ai_addr->sa_family = family;
754 ai->ai_addr->sa_len = addrlen;