/external/mdnsresponder/mDNSPosix/ |
D | Identify.c | 70 static mDNSAddr lastsrc, hostaddr, target; variable 132 hostaddr.type = mDNSAddrType_IPv4; // Prefer v4 target to v6 target, for now in InfoCallback() 133 hostaddr.ip.v4 = answer->rdata->u.ipv4; in InfoCallback() 141 if (!hostaddr.type) // Prefer v4 target to v6 target, for now in InfoCallback() 143 hostaddr.type = mDNSAddrType_IPv6; in InfoCallback() 144 hostaddr.ip.v6 = answer->rdata->u.ipv6; in InfoCallback() 303 hostaddr = target = zeroAddr; in main() 366 if (target.type == 0) target = hostaddr; // Make sure the services query is targeted in main()
|
/external/python/cpython2/Demo/sockets/ |
D | ftp.py | 92 hostaddr = gethostbyname(hostname) 93 hbytes = string.splitfields(hostaddr, '.')
|
D | telnet.py | 32 hostaddr = gethostbyname(host)
|
/external/libcups/cups/ |
D | request.c | 644 !httpAddrLocalhost(http->hostaddr) && !http->tls && in cupsSendRequest() 1008 …(httpAddrFamily(cg->http->hostaddr) != AF_LOCAL && cg->ipp_port != httpAddrPort(cg->http->hostaddr… in _cupsConnect() 1010 cg->ipp_port != httpAddrPort(cg->http->hostaddr) || in _cupsConnect()
|
D | auth.c | 929 …p=%p) hostaddr=%s, hostname=\"%s\"", (void *)http, httpAddrString(http->hostaddr, filename, sizeof… in cups_local_auth() 935 if (!httpAddrLocalhost(http->hostaddr) && _cups_strcasecmp(http->hostname, "localhost") != 0) in cups_local_auth() 1022 if (http->hostaddr->addr.sa_family == AF_LOCAL && in cups_local_auth()
|
D | http-addr.c | 664 return (http->hostaddr); in httpGetAddress() 917 if (httpAddrLookup(http->hostaddr, temp, sizeof(temp))) in httpResolveHostname()
|
D | http.c | 168 http->hostaddr = &(http->addrlist->addr); in httpAcceptConnection() 170 if (httpAddrLocalhost(http->hostaddr)) in httpAcceptConnection() 173 httpAddrString(http->hostaddr, http->hostname, sizeof(http->hostname)); in httpAcceptConnection() 2413 http->hostaddr = NULL; in httpReconnect2() 2451 http->hostaddr = &(addr->addr); in httpReconnect2() 2473 httpAddrString(http->hostaddr, temp, sizeof(temp)), in httpReconnect2() 2474 httpAddrPort(http->hostaddr))); in httpReconnect2() 4453 httpAddrPort(http->hostaddr)) < 1) in http_send()
|
D | tls-boringssl.c | 376 if (httpAddrLocalhost(http->hostaddr)) in _httpTLSStart()
|
D | http-private.h | 320 http_addr_t *hostaddr; /* Current host address and port */ member
|
D | ppd-util.c | 346 http_port = httpAddrPort(http->hostaddr); in cupsGetPPD3()
|
D | dest-localization.c | 378 port == httpAddrPort(http->hostaddr)) in cups_create_localizations()
|
D | tls-sspi.c | 955 if (httpAddrLocalhost(http->hostaddr)) in _httpTLSStart() 1244 if (httpAddrLocalhost(http->hostaddr))
|
D | tls-gnutls.c | 1327 if (httpAddrLocalhost(http->hostaddr)) in _httpTLSStart()
|
D | tls-darwin.c | 1520 if (httpAddrLocalhost(http->hostaddr)) in _httpTLSStart()
|
D | adminutil.c | 873 cg->ipp_port != httpAddrPort(cg->http->hostaddr) || in cupsAdminGetServerSettings()
|
/external/mdnsresponder/Clients/ |
D | dns-sd.c | 965 struct sockaddr_storage hostaddr; in RegisterProxyAddressRecord() local 966 getip(ip, &hostaddr); in RegisterProxyAddressRecord() 968 if (hostaddr.ss_family == AF_INET) in RegisterProxyAddressRecord() 970 …kDNSServiceType_A, kDNSServiceClass_IN, 4, &((struct sockaddr_in *)&hostaddr)->sin_addr, 240,… in RegisterProxyAddressRecord() 971 else if (hostaddr.ss_family == AF_INET6) in RegisterProxyAddressRecord() 973 …kDNSServiceType_AAAA, kDNSServiceClass_IN, 16, &((struct sockaddr_in6*)&hostaddr)->sin6_addr, 240,… in RegisterProxyAddressRecord()
|
/external/python/cpython2/Demo/threads/ |
D | telnet.py | 36 hostaddr = gethostbyname(host)
|
/external/curl/lib/ |
D | url.c | 3820 struct Curl_dns_entry *hostaddr; in resolve_server() local 3829 hostaddr = calloc(1, sizeof(struct Curl_dns_entry)); in resolve_server() 3830 if(!hostaddr) in resolve_server() 3834 hostaddr->addr = Curl_unix2addr(path, &longpath, in resolve_server() 3836 if(hostaddr->addr) in resolve_server() 3837 hostaddr->inuse++; in resolve_server() 3846 free(hostaddr); in resolve_server() 3847 hostaddr = NULL; in resolve_server() 3869 &hostaddr, timeout_ms); in resolve_server() 3876 else if(!hostaddr) { in resolve_server() [all …]
|
/external/fio/ |
D | init.c | 2591 char hostaddr[PATH_MAX] = {0}; in parse_cmd_line() local 2605 while (fscanf(hostf, formatstr, hostaddr) == 1) { in parse_cmd_line() 2607 if (fio_client_add(&fio_client_ops, hostaddr, &cur_client)) { in parse_cmd_line() 2608 log_err("fio: failed adding client %s from file %s\n", hostaddr, optarg); in parse_cmd_line()
|