Lines Matching refs:port

167                     int port, char *ptr, size_t buflen)  in create_hostcache_id()  argument
175 return msnprintf(&ptr[len], 7, ":%u", port) + len; in create_hostcache_id()
278 int port) in fetch_addr() argument
284 size_t entry_len = create_hostcache_id(hostname, 0, port, in fetch_addr()
292 entry_len = create_hostcache_id("*", 1, port, entry_id, sizeof(entry_id)); in fetch_addr()
358 int port) in Curl_fetch_addr() argument
365 dns = fetch_addr(data, hostname, port); in Curl_fetch_addr()
472 int port, in Curl_cache_addr() argument
498 entry_len = create_hostcache_id(hostname, hostlen, port, in Curl_cache_addr()
510 dns->hostport = port; in Curl_cache_addr()
529 static struct Curl_addrinfo *get_localhost6(int port, const char *name) in get_localhost6() argument
536 unsigned short port16 = (unsigned short)(port & 0xffff); in get_localhost6()
566 static struct Curl_addrinfo *get_localhost(int port, const char *name) in get_localhost() argument
574 unsigned short port16 = (unsigned short)(port & 0xffff); in get_localhost()
597 ca6 = get_localhost6(port, name); in get_localhost()
687 int port, in Curl_resolv() argument
713 dns = fetch_addr(data, hostname, port); in Curl_resolv()
760 addr = Curl_ip2addr(AF_INET, &in, hostname, port); in Curl_resolv()
770 addr = Curl_ip2addr(AF_INET6, &in6, hostname, port); in Curl_resolv()
802 addr = get_localhost(port, hostname); in Curl_resolv()
805 addr = Curl_doh(data, hostname, port, &respwait); in Curl_resolv()
815 addr = Curl_getaddrinfo(data, hostname, port, &respwait); in Curl_resolv()
837 dns = Curl_cache_addr(data, addr, hostname, 0, port, FALSE); in Curl_resolv()
895 int port, in Curl_resolv_timeout() argument
929 return Curl_resolv(data, hostname, port, TRUE, entry); in Curl_resolv_timeout()
993 rc = Curl_resolv(data, hostname, port, TRUE, entry); in Curl_resolv_timeout()
1178 int port = 0; in Curl_loadhostpairs() local
1200 port = (int)tmp_port; in Curl_loadhostpairs()
1241 ai = Curl_str2addr(address, port); in Curl_loadhostpairs()
1269 entry_len = create_hostcache_id(host_begin, hlen, port, in Curl_loadhostpairs()
1280 (int)hlen, host_begin, port); in Curl_loadhostpairs()
1296 dns = Curl_cache_addr(data, head, host_begin, hlen, port, permanent); in Curl_loadhostpairs()
1312 (int)hlen, host_begin, port, addresses, in Curl_loadhostpairs()
1318 infof(data, "RESOLVE *:%d using wildcard", port); in Curl_loadhostpairs()