/external/openssh/ |
D | sshconnect.c | 427 struct sockaddr_storage *hostaddr, u_short port, int family, in ssh_connect_direct() argument 469 memcpy(hostaddr, ai->ai_addr, ai->ai_addrlen); in ssh_connect_direct() 505 struct sockaddr_storage *hostaddr, u_short port, int family, in ssh_connect() argument 509 return ssh_connect_direct(host, addrs, hostaddr, port, family, in ssh_connect() 725 sockaddr_is_local(struct sockaddr *hostaddr) in sockaddr_is_local() argument 727 switch (hostaddr->sa_family) { in sockaddr_is_local() 729 return (ntohl(((struct sockaddr_in *)hostaddr)-> in sockaddr_is_local() 733 &(((struct sockaddr_in6 *)hostaddr)->sin6_addr)); in sockaddr_is_local() 744 get_hostfile_hostname_ipaddr(char *hostname, struct sockaddr *hostaddr, in get_hostfile_hostname_ipaddr() argument 750 switch (hostaddr == NULL ? -1 : hostaddr->sa_family) { in get_hostfile_hostname_ipaddr() [all …]
|
D | loginrec.c | 421 if (sizeof(li->hostaddr) < sa_size) in login_set_addr() 422 bufsize = sizeof(li->hostaddr); in login_set_addr() 424 memcpy(&li->hostaddr.sa, sa, bufsize); in login_set_addr() 701 if (li->hostaddr.sa.sa_family == AF_INET) in construct_utmp() 702 ut->ut_addr = li->hostaddr.sa_in.sin_addr.s_addr; in construct_utmp() 706 if (li->hostaddr.sa.sa_family == AF_INET6) { in construct_utmp() 707 sa6 = ((struct sockaddr_in6 *)&li->hostaddr.sa); in construct_utmp() 783 if (li->hostaddr.sa.sa_family == AF_INET) in construct_utmpx() 784 utx->ut_addr = li->hostaddr.sa_in.sin_addr.s_addr; in construct_utmpx() 788 if (li->hostaddr.sa.sa_family == AF_INET6) { in construct_utmpx() [all …]
|
D | roaming_client.c | 50 extern struct sockaddr_storage hostaddr; 254 if (ssh_connect(host, NULL, &hostaddr, options.port, in wait_for_roaming_reconnect()
|
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 | 494 ssh_kex(char *host, struct sockaddr *hostaddr) in ssh_kex() argument 552 if (verify_host_key(host, hostaddr, host_key) == -1) in ssh_kex()
|
D | sshconnect2.c | 103 order_hostkeyalgs(char *host, struct sockaddr *hostaddr, u_short port) in order_hostkeyalgs() argument 112 get_hostfile_hostname_ipaddr(host, hostaddr, port, &hostname, NULL); in order_hostkeyalgs() 157 ssh_kex2(char *host, struct sockaddr *hostaddr, u_short port) in ssh_kex2() argument 164 xxx_hostaddr = hostaddr; in ssh_kex2() 196 order_hostkeyalgs(host, hostaddr, port)); in ssh_kex2()
|
D | ssh.c | 175 struct sockaddr_storage hostaddr; variable 1196 if (ssh_connect(host, addrs, &hostaddr, options.port, in main() 1327 ssh_login(&sensitive_data, host, (struct sockaddr *)&hostaddr, in main()
|
D | clientloop.c | 2323 extern struct sockaddr_storage hostaddr; /* XXX from ssh.c */ in client_input_hostkeys() 2395 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/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()
|