Lines Matching defs:addr
164 addr_first_match(const struct Curl_addrinfo *addr, int family)
166 while(addr) {
167 if(addr->ai_family == family)
168 return addr;
169 addr = addr->ai_next;
175 addr_next_match(const struct Curl_addrinfo *addr, int family)
177 while(addr && addr->ai_next) {
178 addr = addr->ai_next;
179 if(addr->ai_family == family)
180 return addr;
188 char *addr, int *port)
204 addr, MAX_IPADR_LEN)) {
214 addr, MAX_IPADR_LEN)) {
225 msnprintf(addr, MAX_IPADR_LEN, "%s", su->sun_path);
228 addr[0] = 0; /* socket with no name */
236 addr[0] = '\0';
333 * job walking the matching addr infos, creating a sub-cfilter with the
339 const struct Curl_addrinfo *addr; /* List of addresses to try, not owned */
350 BIT(rewinded); /* if we rewinded the addr list */
382 const struct Curl_addrinfo *addr,
402 baller->first = baller->addr = addr;
406 baller->timeoutms = addr_next_match(baller->addr, baller->ai_family)?
435 baller->addr = baller->first;
441 baller->addr = addr_next_match(baller->addr, baller->ai_family);
464 result = baller->cf_create(&baller->cf, data, cf->conn, baller->addr,
475 if(addr_next_match(baller->addr, baller->ai_family)) {
504 while(baller->addr) {
506 baller->timeoutms = addr_next_match(baller->addr, baller->ai_family) ?
513 if(!baller->addr) {
531 if(!baller->addr && baller->inconclusive && !baller->rewinded)
762 /* remotehost->addr is the list of addresses from the resolver, each
773 ai_family0 = remotehost->addr?
774 remotehost->addr->ai_family : 0;
796 addr0 = addr_first_match(remotehost->addr, ai_family0);
797 addr1 = addr_first_match(remotehost->addr, ai_family1);