/external/openssh/ |
H A D | sshconnect.c | 327 * The address of the remote host will be returned in hostaddr. 337 ssh_connect(const char *host, struct sockaddr_storage * hostaddr, argument 394 memcpy(hostaddr, ai->ai_addr, ai->ai_addrlen); 612 sockaddr_is_local(struct sockaddr *hostaddr) argument 614 switch (hostaddr->sa_family) { 616 return (ntohl(((struct sockaddr_in *)hostaddr)-> 620 &(((struct sockaddr_in6 *)hostaddr)->sin6_addr)); 631 get_hostfile_hostname_ipaddr(char *hostname, struct sockaddr *hostaddr, argument 637 switch (hostaddr == NULL ? -1 : hostaddr 692 check_host_key(char *hostname, struct sockaddr *hostaddr, u_short port, Key *host_key, int readonly, char **user_hostfiles, u_int num_user_hostfiles, char **system_hostfiles, u_int num_system_hostfiles) argument 1109 verify_host_key(char *host, struct sockaddr *hostaddr, Key *host_key) argument 1151 ssh_login(Sensitive *sensitive, const char *orighost, struct sockaddr *hostaddr, u_short port, struct passwd *pw, int timeout_ms) argument [all...] |
H A D | loginrec.h | 79 union login_netinfo hostaddr; /* caller's host address(es) */ member in struct:logininfo
|
H A D | loginrec.c | 422 if (sizeof(li->hostaddr) < sa_size) 423 bufsize = sizeof(li->hostaddr); 425 memcpy(&li->hostaddr.sa, sa, bufsize); 702 if (li->hostaddr.sa.sa_family == AF_INET) 703 ut->ut_addr = li->hostaddr.sa_in.sin_addr.s_addr; 707 if (li->hostaddr.sa.sa_family == AF_INET6) { 708 sa6 = ((struct sockaddr_in6 *)&li->hostaddr.sa); 784 if (li->hostaddr.sa.sa_family == AF_INET) 785 utx->ut_addr = li->hostaddr.sa_in.sin_addr.s_addr; 789 if (li->hostaddr [all...] |
H A D | roaming_client.c | 55 extern struct sockaddr_storage hostaddr; 263 if (ssh_connect(host, &hostaddr, options.port,
|
H A D | logintest.c | 70 "struct login_netinfo hostaddr {\n\t\t" 79 li->hostaddr.sa.sa_family);
|
H A D | sshconnect1.c | 480 ssh_kex(char *host, struct sockaddr *hostaddr) argument 538 if (verify_host_key(host, hostaddr, host_key) == -1)
|
H A D | ssh.c | 171 struct sockaddr_storage hostaddr; variable in typeref:struct:sockaddr_storage 793 if (ssh_connect(host, &hostaddr, options.port, 911 ssh_login(&sensitive_data, host, (struct sockaddr *)&hostaddr,
|
H A D | sshconnect2.c | 106 order_hostkeyalgs(char *host, struct sockaddr *hostaddr, u_short port) argument 115 get_hostfile_hostname_ipaddr(host, hostaddr, port, &hostname, NULL); 159 ssh_kex2(char *host, struct sockaddr *hostaddr, u_short port) argument 164 xxx_hostaddr = hostaddr; 195 order_hostkeyalgs(host, hostaddr, port);
|
/external/mdnsresponder/mDNSPosix/ |
H A D | Identify.c | 70 static mDNSAddr lastsrc, hostaddr, target; variable 132 hostaddr.type = mDNSAddrType_IPv4; // Prefer v4 target to v6 target, for now 133 hostaddr.ip.v4 = answer->rdata->u.ipv4; 141 if (!hostaddr.type) // Prefer v4 target to v6 target, for now 143 hostaddr.type = mDNSAddrType_IPv6; 144 hostaddr.ip.v6 = answer->rdata->u.ipv6; 303 hostaddr = target = zeroAddr; 366 if (target.type == 0) target = hostaddr; // Make sure the services query is targeted
|
/external/dropbear/ |
H A D | loginrec.h | 144 union login_netinfo hostaddr; /* caller's host address(es) */ member in struct:logininfo
|
H A D | loginrec.c | 316 if (sizeof(li->hostaddr) < sa_size) 317 bufsize = sizeof(li->hostaddr); 319 memcpy((void *)&(li->hostaddr.sa), (const void *)sa, bufsize); 545 if (li->hostaddr.sa.sa_family == AF_INET) 546 ut->ut_addr = li->hostaddr.sa_in.sin_addr.s_addr; 550 if (li->hostaddr.sa.sa_family == AF_INET6) { 551 sa6 = ((struct sockaddr_in6 *)&li->hostaddr.sa); 625 if (li->hostaddr.sa.sa_family == AF_INET) 626 utx->ut_addr = li->hostaddr.sa_in.sin_addr.s_addr; 630 if (li->hostaddr [all...] |
/external/chromium_org/third_party/npapi/npspy/extern/nspr/ |
H A D | prnetdb.h | 156 ** char *hostaddr IP address of host in question 172 const PRNetAddr *hostaddr, char *buf, PRIntn bufsize, PRHostEnt *hostentry);
|
/external/qemu/slirp-android/ |
H A D | misc.c | 53 SockAddress hostaddr; local 57 if (sock_address_init_resolve( &hostaddr, hostname, 0, 0 ) < 0) 60 our_addr_ip = sock_address_get_ip(&hostaddr);
|
/external/libppp/src/ |
H A D | radius.c | 903 struct in_addr hostaddr; local 1027 hostaddr.s_addr = *(u_long *)hp->h_addr; 1028 if (rad_put_addr(r->cx.rad, RAD_NAS_IP_ADDRESS, hostaddr) != 0) { 1104 struct in_addr hostaddr; local 1212 hostaddr.s_addr = *(u_long *)hp->h_addr; 1213 if (rad_put_addr(r->cx.rad, RAD_NAS_IP_ADDRESS, hostaddr) != 0) {
|
/external/mdnsresponder/Clients/ |
H A D | dns-sd.c | 965 struct sockaddr_storage hostaddr; local 966 getip(ip, &hostaddr); 968 if (hostaddr.ss_family == AF_INET) 970 kDNSServiceType_A, kDNSServiceClass_IN, 4, &((struct sockaddr_in *)&hostaddr)->sin_addr, 240, MyRegisterRecordCallback, (void*)host)); 971 else if (hostaddr.ss_family == AF_INET6) 973 kDNSServiceType_AAAA, kDNSServiceClass_IN, 16, &((struct sockaddr_in6*)&hostaddr)->sin6_addr, 240, MyRegisterRecordCallback, (void*)host));
|