• Home
  • Raw
  • Download

Lines Matching refs:hostaddr

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()
773 if (getnameinfo(hostaddr, addrlen, in get_hostfile_hostname_ipaddr()
807 check_host_key(char *hostname, struct sockaddr *hostaddr, u_short port, in check_host_key() argument
821 int local = sockaddr_is_local(hostaddr); in check_host_key()
846 get_hostfile_hostname_ipaddr(hostname, hostaddr, port, &host, &ip); in check_host_key()
940 if (check_host_key(hostname, hostaddr, 0, host_key, in check_host_key()
1239 verify_host_key(char *host, struct sockaddr *hostaddr, Key *host_key) in verify_host_key() argument
1316 if (verify_host_key_dns(host, hostaddr, plain, &flags) == 0) { in verify_host_key()
1335 r = check_host_key(host, hostaddr, options.port, host_key, RDRW, in verify_host_key()
1360 struct sockaddr *hostaddr, u_short port, struct passwd *pw, int timeout_ms) in ssh_login() argument
1382 ssh_kex2(host, hostaddr, port); in ssh_login()
1386 ssh_kex(host, hostaddr); in ssh_login()