/external/openssh/ |
D | sshconnect.c | 427 struct sockaddr_storage *hostaddr, u_short port, int family, in ssh_connect_direct() argument 471 memcpy(hostaddr, ai->ai_addr, ai->ai_addrlen); in ssh_connect_direct() 507 struct sockaddr_storage *hostaddr, u_short port, int family, in ssh_connect() argument 511 return ssh_connect_direct(host, addrs, hostaddr, port, family, in ssh_connect() 727 sockaddr_is_local(struct sockaddr *hostaddr) in sockaddr_is_local() argument 729 switch (hostaddr->sa_family) { in sockaddr_is_local() 731 return (ntohl(((struct sockaddr_in *)hostaddr)-> in sockaddr_is_local() 735 &(((struct sockaddr_in6 *)hostaddr)->sin6_addr)); in sockaddr_is_local() 746 get_hostfile_hostname_ipaddr(char *hostname, struct sockaddr *hostaddr, in get_hostfile_hostname_ipaddr() argument 752 switch (hostaddr == NULL ? -1 : hostaddr->sa_family) { in get_hostfile_hostname_ipaddr() [all …]
|
D | loginrec.c | 424 if (sizeof(li->hostaddr) < sa_size) in login_set_addr() 425 bufsize = sizeof(li->hostaddr); in login_set_addr() 427 memcpy(&li->hostaddr.sa, sa, bufsize); in login_set_addr() 704 if (li->hostaddr.sa.sa_family == AF_INET) in construct_utmp() 705 ut->ut_addr = li->hostaddr.sa_in.sin_addr.s_addr; in construct_utmp() 709 if (li->hostaddr.sa.sa_family == AF_INET6) { in construct_utmp() 710 sa6 = ((struct sockaddr_in6 *)&li->hostaddr.sa); in construct_utmp() 786 if (li->hostaddr.sa.sa_family == AF_INET) in construct_utmpx() 787 utx->ut_addr = li->hostaddr.sa_in.sin_addr.s_addr; in construct_utmpx() 791 if (li->hostaddr.sa.sa_family == AF_INET6) { in construct_utmpx() [all …]
|
D | loginrec.h | 79 union login_netinfo hostaddr; /* caller's host address(es) */ member
|
D | logintest.c | 79 li->hostaddr.sa.sa_family); in dump_logininfo()
|
D | sshconnect1.c | 501 ssh_kex(char *host, struct sockaddr *hostaddr) in ssh_kex() argument 560 if (verify_host_key(host, hostaddr, host_key) == -1) in ssh_kex()
|
D | sshconnect2.c | 104 order_hostkeyalgs(char *host, struct sockaddr *hostaddr, u_short port) in order_hostkeyalgs() argument 113 get_hostfile_hostname_ipaddr(host, hostaddr, port, &hostname, NULL); in order_hostkeyalgs() 158 ssh_kex2(char *host, struct sockaddr *hostaddr, u_short port) in ssh_kex2() argument 166 xxx_hostaddr = hostaddr; in ssh_kex2() 192 order_hostkeyalgs(host, hostaddr, port)); in ssh_kex2()
|
D | ssh.c | 173 struct sockaddr_storage hostaddr; variable 1267 if (ssh_connect(host, addrs, &hostaddr, options.port, in main() 1419 ssh_login(&sensitive_data, host, (struct sockaddr *)&hostaddr, in main()
|
D | clientloop.c | 2429 extern struct sockaddr_storage hostaddr; /* XXX from ssh.c */ in client_input_hostkeys() 2498 options.check_host_ip ? (struct sockaddr *)&hostaddr : NULL, in client_input_hostkeys()
|
/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/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 | http-private.h | 320 http_addr_t *hostaddr; /* Current host address and port */ member
|
D | tls-boringssl.c | 376 if (httpAddrLocalhost(http->hostaddr)) in _httpTLSStart()
|
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()
|
/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 | 3438 struct Curl_dns_entry *hostaddr; in resolve_server() local 3447 hostaddr = calloc(1, sizeof(struct Curl_dns_entry)); in resolve_server() 3448 if(!hostaddr) in resolve_server() 3452 hostaddr->addr = Curl_unix2addr(path, &longpath, in resolve_server() 3454 if(hostaddr->addr) in resolve_server() 3455 hostaddr->inuse++; in resolve_server() 3464 free(hostaddr); in resolve_server() 3465 hostaddr = NULL; in resolve_server() 3490 &hostaddr, timeout_ms); in resolve_server() 3497 else if(!hostaddr) { in resolve_server() [all …]
|