Home
last modified time | relevance | path

Searched refs:hostaddr (Results 1 – 19 of 19) sorted by relevance

/external/mdnsresponder/mDNSPosix/
DIdentify.c70 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/
Dftp.py92 hostaddr = gethostbyname(hostname)
93 hbytes = string.splitfields(hostaddr, '.')
Dtelnet.py32 hostaddr = gethostbyname(host)
/external/libcups/cups/
Drequest.c644 !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()
Dauth.c929 …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()
Dhttp-addr.c664 return (http->hostaddr); in httpGetAddress()
917 if (httpAddrLookup(http->hostaddr, temp, sizeof(temp))) in httpResolveHostname()
Dhttp.c168 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()
Dtls-boringssl.c376 if (httpAddrLocalhost(http->hostaddr)) in _httpTLSStart()
Dhttp-private.h320 http_addr_t *hostaddr; /* Current host address and port */ member
Dppd-util.c346 http_port = httpAddrPort(http->hostaddr); in cupsGetPPD3()
Ddest-localization.c378 port == httpAddrPort(http->hostaddr)) in cups_create_localizations()
Dtls-sspi.c955 if (httpAddrLocalhost(http->hostaddr)) in _httpTLSStart()
1244 if (httpAddrLocalhost(http->hostaddr))
Dtls-gnutls.c1327 if (httpAddrLocalhost(http->hostaddr)) in _httpTLSStart()
Dtls-darwin.c1520 if (httpAddrLocalhost(http->hostaddr)) in _httpTLSStart()
Dadminutil.c873 cg->ipp_port != httpAddrPort(cg->http->hostaddr) || in cupsAdminGetServerSettings()
/external/mdnsresponder/Clients/
Ddns-sd.c965 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/
Dtelnet.py36 hostaddr = gethostbyname(host)
/external/curl/lib/
Durl.c3820 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/
Dinit.c2591 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()