Lines Matching defs:ainfo
168 /* Try to connect to the host represented by AINFO. If the connection
174 try_connect (const struct addrinfo *ainfo, unsigned int *polls,
177 int sock = gdb_socket_cloexec (ainfo->ai_family, ainfo->ai_socktype,
178 ainfo->ai_protocol);
197 if (connect (sock, ainfo->ai_addr, ainfo->ai_addrlen) < 0)
285 struct addrinfo *ainfo;
301 &hint, &ainfo);
306 scoped_free_addrinfo free_ainfo (ainfo);
324 for (addrinfo *iter = ainfo; iter != NULL; iter = iter->ai_next)