Lines Matching refs:addrinfo
145 struct addrinfo {
151 struct addrinfo *ai_next;
154 fake_getaddrinfo(const char *hostname, struct addrinfo *ai)
182 fake_freeaddrinfo(struct addrinfo *ai)
200 static int bind_socket_ai(struct addrinfo *, int reuse);
2622 static struct addrinfo *
2626 struct addrinfo ai, *aitop;
2682 bind_socket_ai(struct addrinfo *ai, int reuse)
2725 static struct addrinfo *
2728 struct addrinfo *aitop = NULL;
2731 struct addrinfo ai;
2749 static struct addrinfo ai[2]; /* We will be returning the address of some of this memory so it has to last even after this call. */
2767 struct addrinfo *aitop = NULL;
2792 struct addrinfo *ai = make_addrinfo(address, port);