/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/oj-libjdwp/src/share/classes/com/sun/tools/jdi/ |
D | SocketTransportService.java | 93 String hostaddr = address.getHostAddress(); in address() local 94 if (hostname.equals(hostaddr)) { in address() 96 result = "[" + hostaddr + "]"; in address() 98 result = hostaddr; in address()
|
/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/scheduler/ |
D | auth.c | 394 con->http->hostaddr->addr.sa_family == AF_LOCAL && con->best) in cupsdAuthorize() 835 if (httpAddrFamily(con->http->hostaddr) == AF_LOCAL) in cupsdAuthorize() 1534 http_addr_t *hostaddr = httpGetAddress(con->http); in cupsdIsAuthorized() local 1595 if (httpAddrFamily(hostaddr) == AF_INET6) in cupsdIsAuthorized() 1601 address[0] = ntohl(hostaddr->ipv6.sin6_addr.s6_addr32[0]); in cupsdIsAuthorized() 1602 address[1] = ntohl(hostaddr->ipv6.sin6_addr.s6_addr32[1]); in cupsdIsAuthorized() 1603 address[2] = ntohl(hostaddr->ipv6.sin6_addr.s6_addr32[2]); in cupsdIsAuthorized() 1604 address[3] = ntohl(hostaddr->ipv6.sin6_addr.s6_addr32[3]); in cupsdIsAuthorized() 1608 if (con->http->hostaddr->addr.sa_family == AF_INET) in cupsdIsAuthorized() 1617 address[3] = ntohl(hostaddr->ipv4.sin_addr.s_addr); in cupsdIsAuthorized() [all …]
|
D | cups-lpd.c | 91 http_addr_t hostaddr; /* Address of client */ in main() local 172 hostlen = sizeof(hostaddr); in main() 174 if (getpeername(0, (struct sockaddr *)&hostaddr, &hostlen)) in main() 181 httpAddrString(&hostaddr, hostip, sizeof(hostip)); in main() 184 httpAddrLookup(&hostaddr, hostname, sizeof(hostname)); in main() 189 if (hostaddr.addr.sa_family == AF_INET6) in main()
|
D | ipp.c | 1283 !httpAddrLocalhost(con->http->hostaddr)) in add_job() 11374 !httpAddrLocalhost(con->http->hostaddr)) in validate_job()
|
/external/libcups/cups/ |
D | request.c | 639 !httpAddrLocalhost(http->hostaddr) && !http->tls && in cupsSendRequest() 1003 …(httpAddrFamily(cg->http->hostaddr) != AF_LOCAL && cg->ipp_port != httpAddrPort(cg->http->hostaddr… in _cupsConnect() 1005 cg->ipp_port != httpAddrPort(cg->http->hostaddr) || in _cupsConnect()
|
D | auth.c | 955 …p=%p) hostaddr=%s, hostname=\"%s\"", (void *)http, httpAddrString(http->hostaddr, filename, sizeof… in cups_local_auth() 961 if (!httpAddrLocalhost(http->hostaddr) && _cups_strcasecmp(http->hostname, "localhost") != 0) in cups_local_auth() 1047 if (http->hostaddr->addr.sa_family == AF_LOCAL && in cups_local_auth()
|
D | http-private.h | 254 http_addr_t *hostaddr; /* Current host address and port */ member
|
D | http-addr.c | 662 return (http->hostaddr); in httpGetAddress() 915 if (httpAddrLookup(http->hostaddr, temp, sizeof(temp))) in httpResolveHostname()
|
D | http.c | 164 http->hostaddr = &(http->addrlist->addr); in httpAcceptConnection() 166 if (httpAddrLocalhost(http->hostaddr)) in httpAcceptConnection() 169 httpAddrString(http->hostaddr, http->hostname, sizeof(http->hostname)); in httpAcceptConnection() 2373 http->hostaddr = NULL; in httpReconnect2() 2411 http->hostaddr = &(addr->addr); in httpReconnect2() 2433 httpAddrString(http->hostaddr, temp, sizeof(temp)), in httpReconnect2() 2434 httpAddrPort(http->hostaddr))); in httpReconnect2() 4409 httpAddrPort(http->hostaddr)) < 1) in http_send()
|
D | tls-boringssl.c | 377 if (httpAddrLocalhost(http->hostaddr)) in _httpTLSStart()
|
D | ppd-util.c | 366 http_port = httpAddrPort(http->hostaddr); in cupsGetPPD3()
|
D | dest-localization.c | 378 port == httpAddrPort(http->hostaddr)) in cups_create_localizations()
|
D | tls-sspi.c | 949 if (httpAddrLocalhost(http->hostaddr)) in _httpTLSStart() 1238 if (httpAddrLocalhost(http->hostaddr))
|
D | adminutil.c | 132 cg->ipp_port != httpAddrPort(cg->http->hostaddr) || in cupsAdminGetServerSettings()
|
D | dest-options.c | 712 else if (httpAddrFamily(http->hostaddr) == AF_LOCAL) in cupsCopyDestInfo() 718 …tp->hostname, cg->server) && cg->server[0] != '/') || cg->ipp_port != httpAddrPort(http->hostaddr)) in cupsCopyDestInfo()
|
D | tls-gnutls.c | 1344 if (httpAddrLocalhost(http->hostaddr)) in _httpTLSStart()
|
D | tls-darwin.c | 1577 if (httpAddrLocalhost(http->hostaddr)) in _httpTLSStart()
|
/external/curl/lib/ |
D | url.c | 3131 struct Curl_dns_entry *hostaddr = NULL; local 3140 hostaddr = calloc(1, sizeof(struct Curl_dns_entry)); 3141 if(!hostaddr) 3144 hostaddr->addr = Curl_unix2addr(unix_path, &longpath, 3146 if(!hostaddr->addr) { 3150 free(hostaddr); 3154 hostaddr->inuse++; 3155 conn->dns_entry = hostaddr; 3165 struct Curl_dns_entry *hostaddr = NULL; local 3180 &hostaddr, timeout_ms); [all …]
|
/external/python/cpython2/Demo/threads/ |
D | telnet.py | 36 hostaddr = gethostbyname(host)
|
/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/libcups/backend/ |
D | ipp.c | 867 httpAddrString(http->hostaddr, addrname, sizeof(addrname)), in main() 868 httpAddrPort(http->hostaddr)); in main() 903 backendCheckSideChannel(snmp_fd, http->hostaddr); in main() 1577 backendCheckSideChannel(snmp_fd, http->hostaddr); in main() 1647 backendCheckSideChannel(snmp_fd, http->hostaddr); in main() 1785 backendCheckSideChannel(snmp_fd, http->hostaddr); in main() 1856 backendCheckSideChannel(snmp_fd, http->hostaddr); in main() 2017 backendCheckSideChannel(snmp_fd, http->hostaddr); in main()
|