Lines Matching refs:addr

212 addr_first_match(const struct Curl_addrinfo *addr, int family)  in addr_first_match()  argument
214 while(addr) { in addr_first_match()
215 if(addr->ai_family == family) in addr_first_match()
216 return addr; in addr_first_match()
217 addr = addr->ai_next; in addr_first_match()
223 addr_next_match(const struct Curl_addrinfo *addr, int family) in addr_next_match() argument
225 while(addr && addr->ai_next) { in addr_next_match()
226 addr = addr->ai_next; in addr_next_match()
227 if(addr->ai_family == family) in addr_next_match()
228 return addr; in addr_next_match()
236 char *addr, int *port) in Curl_addr2string() argument
252 addr, MAX_IPADR_LEN)) { in Curl_addr2string()
262 addr, MAX_IPADR_LEN)) { in Curl_addr2string()
273 msnprintf(addr, MAX_IPADR_LEN, "%s", su->sun_path); in Curl_addr2string()
276 addr[0] = 0; /* socket with no name */ in Curl_addr2string()
284 addr[0] = '\0'; in Curl_addr2string()
359 const struct Curl_addrinfo *addr; /* List of addresses to try, not owned */ member
403 const struct Curl_addrinfo *addr, in eyeballer_new() argument
423 baller->first = baller->addr = addr; in eyeballer_new()
427 baller->timeoutms = addr_next_match(baller->addr, baller->ai_family) ? in eyeballer_new()
456 baller->addr = baller->first; in baller_rewind()
462 baller->addr = addr_next_match(baller->addr, baller->ai_family); in baller_next_addr()
485 result = baller->cf_create(&baller->cf, data, cf->conn, baller->addr, in baller_initiate()
496 if(addr_next_match(baller->addr, baller->ai_family)) { in baller_initiate()
525 while(baller->addr) { in baller_start()
527 baller->timeoutms = addr_next_match(baller->addr, baller->ai_family) ? in baller_start()
534 if(!baller->addr) { in baller_start()
554 if(!baller->addr && baller->inconclusive) in baller_start_next()
796 addr0 = addr_first_match(remotehost->addr, ai_family0); in start_connect()
801 addr0 = addr_first_match(remotehost->addr, ai_family0); in start_connect()
807 addr0 = addr_first_match(remotehost->addr, ai_family0); in start_connect()
811 addr1 = addr_first_match(remotehost->addr, ai_family1); in start_connect()
814 if(!addr1 && !addr0 && remotehost->addr) { in start_connect()
815 ai_family0 = remotehost->addr->ai_family; in start_connect()
816 addr0 = addr_first_match(remotehost->addr, ai_family0); in start_connect()