Lines Matching refs:addrinfo_ptr
148 struct addrinfo *addrinfo_ptr = (struct addrinfo *)alloc_ptr; in uv__getaddrinfo_done() local
156 addrinfo_ptr->ai_family = addrinfow_ptr->ai_family; in uv__getaddrinfo_done()
157 addrinfo_ptr->ai_socktype = addrinfow_ptr->ai_socktype; in uv__getaddrinfo_done()
158 addrinfo_ptr->ai_protocol = addrinfow_ptr->ai_protocol; in uv__getaddrinfo_done()
159 addrinfo_ptr->ai_flags = addrinfow_ptr->ai_flags; in uv__getaddrinfo_done()
160 addrinfo_ptr->ai_addrlen = addrinfow_ptr->ai_addrlen; in uv__getaddrinfo_done()
161 addrinfo_ptr->ai_canonname = NULL; in uv__getaddrinfo_done()
162 addrinfo_ptr->ai_addr = NULL; in uv__getaddrinfo_done()
163 addrinfo_ptr->ai_next = NULL; in uv__getaddrinfo_done()
166 if (addrinfo_ptr->ai_addrlen > 0) { in uv__getaddrinfo_done()
168 addrinfo_ptr->ai_addr = (struct sockaddr *)(alloc_ptr + cur_off); in uv__getaddrinfo_done()
169 cur_off += addrinfo_ptr->ai_addrlen; in uv__getaddrinfo_done()
171 memcpy(addrinfo_ptr->ai_addr, in uv__getaddrinfo_done()
173 addrinfo_ptr->ai_addrlen); in uv__getaddrinfo_done()
179 addrinfo_ptr->ai_canonname = alloc_ptr + cur_off; in uv__getaddrinfo_done()
182 addrinfo_ptr->ai_canonname, in uv__getaddrinfo_done()
195 addrinfo_ptr->ai_next = next_addrinfo_ptr; in uv__getaddrinfo_done()
196 addrinfo_ptr = next_addrinfo_ptr; in uv__getaddrinfo_done()