Lines Matching refs:addrs
375 struct addrinfo *addrs; in resolve_canonicalize() local
391 if ((addrs = resolve_addr(*hostp, port, in resolve_canonicalize()
400 return addrs; in resolve_canonicalize()
407 if ((addrs = resolve_host(fullhost, port, 0, in resolve_canonicalize()
432 if ((addrs = resolve_host(fullhost, port, 0, in resolve_canonicalize()
447 return addrs; in resolve_canonicalize()
489 set_addrinfo_port(struct addrinfo *addrs, int port) in set_addrinfo_port() argument
493 for (addr = addrs; addr != NULL; addr = addr->ai_next) { in set_addrinfo_port()
524 struct addrinfo *addrs = NULL; in main() local
1042 addrs = resolve_canonicalize(&host, options.port); in main()
1059 if (addrs == NULL && options.num_permitted_cnames != 0 && (direct || in main()
1061 if ((addrs = resolve_host(host, options.port, in main()
1086 if (addrs != NULL && options.port > 0) in main()
1087 set_addrinfo_port(addrs, options.port); in main()
1257 if (addrs == NULL && options.proxy_command == NULL) { in main()
1259 if ((addrs = resolve_host(host, options.port, 1, in main()
1267 if (ssh_connect(host, addrs, &hostaddr, options.port, in main()
1273 if (addrs != NULL) in main()
1274 freeaddrinfo(addrs); in main()