Home
last modified time | relevance | path

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

/openssh-portable/
H A Dsshconnect.c498 memcpy(hostaddr, ai->ai_addr, ai->ai_addrlen); in ssh_connect_direct()
543 return ssh_connect_direct(ssh, host, addrs, hostaddr, port, in ssh_connect()
623 sockaddr_is_local(struct sockaddr *hostaddr) in sockaddr_is_local() argument
625 switch (hostaddr->sa_family) { in sockaddr_is_local()
627 return (ntohl(((struct sockaddr_in *)hostaddr)-> in sockaddr_is_local()
631 &(((struct sockaddr_in6 *)hostaddr)->sin6_addr)); in sockaddr_is_local()
648 switch (hostaddr == NULL ? -1 : hostaddr->sa_family) { in get_hostfile_hostname_ipaddr()
669 if (getnameinfo(hostaddr, addrlen, in get_hostfile_hostname_ipaddr()
889 int local = sockaddr_is_local(hostaddr); in check_host_key()
1022 if (check_host_key(hostname, hostaddr, 0, host_key, in check_host_key()
[all …]
H A Dloginrec.c427 if (sizeof(li->hostaddr) < sa_size) in login_set_addr()
428 bufsize = sizeof(li->hostaddr); in login_set_addr()
430 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()
782 utx->ut_ss = li->hostaddr.sa_storage; in construct_utmpx()
786 if (li->hostaddr.sa.sa_family == AF_INET) in construct_utmpx()
791 if (li->hostaddr.sa.sa_family == AF_INET6) { in construct_utmpx()
[all …]
H A Dloginrec.h81 union login_netinfo hostaddr; /* caller's host address(es) */ member
H A Dlogintest.c79 li->hostaddr.sa.sa_family); in dump_logininfo()
H A Dsshconnect2.c119 order_hostkeyalgs(char *host, struct sockaddr *hostaddr, u_short port) in order_hostkeyalgs() argument
129 get_hostfile_hostname_ipaddr(host, hostaddr, port, &hostname, NULL); in order_hostkeyalgs()
210 ssh_kex2(struct ssh *ssh, char *host, struct sockaddr *hostaddr, u_short port) in ssh_kex2() argument
217 xxx_hostaddr = hostaddr; in ssh_kex2()
252 order_hostkeyalgs(host, hostaddr, port)); in ssh_kex2()
H A Dssh.c182 struct sockaddr_storage hostaddr; variable
1532 if (ssh_connect(ssh, host, host_arg, addrs, &hostaddr, options.port, in main()
1637 ssh_login(ssh, &sensitive_data, host, (struct sockaddr *)&hostaddr, in main()
H A Dclientloop.c2218 extern struct sockaddr_storage hostaddr; /* XXX from ssh.c */ in client_input_hostkeys()
2290 options.check_host_ip ? (struct sockaddr *)&hostaddr : NULL, in client_input_hostkeys()

Completed in 16 milliseconds