Searched refs:getaddrinfo (Results 101 - 125 of 265) sorted by relevance

1234567891011

/freebsd-11-stable/crypto/openssh/regress/
H A Dnetcat.c612 if ((error = getaddrinfo(host, port, &hints, &res)))
613 errx(1, "getaddrinfo: %s", gai_strerror(error));
639 if ((error = getaddrinfo(sflag, pflag, &ahints, &ares)))
640 errx(1, "getaddrinfo: %s", gai_strerror(error));
724 if ((error = getaddrinfo(host, port, &hints, &res)))
725 errx(1, "getaddrinfo: %s", gai_strerror(error));
1390 r = getaddrinfo(h, p, &hints, &res);
1394 errx(1, "getaddrinfo(\"%.64s\", \"%.64s\"): %s", h, p,
/freebsd-11-stable/crypto/openssh/
H A Daudit-bsm.c143 if ((r = getaddrinfo(host, NULL, NULL, &ai)) != 0) {
144 error("BSM audit: getaddrinfo failed for %.100s: %.100s", host,
H A Daddrmatch.c213 if (p == NULL || getaddrinfo(p, NULL, &hints, &ai) != 0)
464 /* Stop junk from reaching getaddrinfo. +3 is for masklen */
/freebsd-11-stable/lib/libpam/modules/pam_unix/
H A Dpam_unix.c241 if (getaddrinfo(rhost, NULL, &hints, &res) == 0) {
/freebsd-11-stable/usr.sbin/ip6addrctl/
H A Dip6addrctl.c275 if ((e = getaddrinfo(prefix, NULL, &hints, &res)) != 0) {
276 warnx("getaddrinfo failed for %s: %s", prefix,
/freebsd-11-stable/contrib/tcp_wrappers/
H A Dtcpdchk.c424 if ((ret = getaddrinfo(pat + 1, NULL, &hints, &res)) == 0)
/freebsd-11-stable/contrib/ntp/ntpdc/
H A Dntpdc.c444 a_info = getaddrinfo(hname, service, &hints, &ai);
454 a_info = getaddrinfo(hname, service, &hints, &ai);
459 a_info = getaddrinfo(hname, service, &hints, &ai);
469 * getaddrinfo() has returned without error so ai should not
1458 * that getaddrinfo doesn't: [2001::1]:1234
1465 } else if (getaddrinfo(hname, "ntp", &hints, &ai) == 0) {
/freebsd-11-stable/contrib/ntp/ntpdate/
H A Dntpdate.c1351 /* Address infos structure to store result of getaddrinfo */
1353 /* Address infos structure to store hints for getaddrinfo */
1355 /* Error variable for getaddrinfo */
1373 error = getaddrinfo(serv, service, &hints, &addrResult);
1376 error = getaddrinfo(serv, service, &hints, &addrResult);
1714 rc = getaddrinfo(NULL, service, &hints, &res);
1717 rc = getaddrinfo(NULL, service, &hints, &res);
1720 msyslog(LOG_ERR, "getaddrinfo() failed: %m");
/freebsd-11-stable/contrib/pf/ftp-proxy/
H A Dftp-proxy.c711 error = getaddrinfo(fixed_proxy, NULL, &hints, &res);
713 errx(1, "getaddrinfo fixed proxy address failed: %s",
725 error = getaddrinfo(fixed_server, fixed_server_port, &hints,
728 errx(1, "getaddrinfo fixed server address failed: %s",
741 error = getaddrinfo(listen_ip, listen_port, &hints, &res);
743 errx(1, "getaddrinfo listen address failed: %s",
/freebsd-11-stable/contrib/netcat/
H A Dnetcat.c637 if ((error = getaddrinfo(host, port, &hints, &res)))
638 errx(1, "getaddrinfo: %s", gai_strerror(error));
661 if ((error = getaddrinfo(sflag, pflag, &ahints, &ares)))
662 errx(1, "getaddrinfo: %s", gai_strerror(error));
746 if ((error = getaddrinfo(host, port, &hints, &res)))
747 errx(1, "getaddrinfo: %s", gai_strerror(error));
/freebsd-11-stable/usr.sbin/ndp/
H A Dndp.c401 gai_error = getaddrinfo(host, NULL, &hints, &res);
467 gai_error = getaddrinfo(host, NULL, &hints, &res);
504 gai_error = getaddrinfo(host, NULL, &hints, &res);
/freebsd-11-stable/crypto/heimdal/appl/test/
H A Dhttp_client.c60 error = getaddrinfo (hostname, port, &hints, &ai);
62 errx (1, "getaddrinfo(%s): %s", hostname, gai_strerror(error));
/freebsd-11-stable/crypto/heimdal/kdc/
H A Dhprop.c64 error = getaddrinfo (hostname, port, &hints, &ai);
/freebsd-11-stable/sbin/setkey/
H A Dtest-pfkey.c497 if (getaddrinfo(str, serv, &hints, &res) != 0 || res->ai_next) {
/freebsd-11-stable/crypto/heimdal/lib/krb5/
H A Dget_for_creds.c235 ret = getaddrinfo (hostname, NULL, NULL, &ai);
/freebsd-11-stable/usr.bin/whois/
H A Dwhois.c267 error = getaddrinfo(host, port, &hints, &res);
/freebsd-11-stable/contrib/netbsd-tests/net/mcast/
H A Dmcast.c198 e = getaddrinfo(host, port, &hints, &ai0);
/freebsd-11-stable/contrib/ofed/librdmacm/examples/
H A Dmckey.c451 ret = getaddrinfo(dst, NULL, NULL, &res);
453 printf("getaddrinfo failed (%s) - invalid hostname or IP address\n", gai_strerror(ret));
/freebsd-11-stable/targets/pseudo/tests/
H A DMakefile.depend143 lib/libc/tests/net/getaddrinfo \
362 DIRDEPS:= ${DIRDEPS:Nlib/libc/tests/net/getaddrinfo}
/freebsd-11-stable/lib/libc/tests/nss/
H A Dgetaddrinfo_test.c390 rv = getaddrinfo(line, NULL, &hints, &result);
/freebsd-11-stable/usr.sbin/portsnap/phttpget/
H A Dphttpget.c295 struct addrinfo hints; /* Hints to getaddrinfo */
345 error = getaddrinfo(env_HTTP_PROXY ? env_HTTP_PROXY : servername,
/freebsd-11-stable/usr.sbin/iscsid/
H A Discsid.c146 error = getaddrinfo(addr, port, &hints, ai);
149 log_errx(1, "getaddrinfo for %s failed: %s",
/freebsd-11-stable/usr.bin/w/
H A Dw.c395 if (getaddrinfo(p, NULL, &hints, &res) == 0) {
/freebsd-11-stable/usr.sbin/rrenumd/
H A Dparser.y194 error = getaddrinfo($1.cp, 0, &hints, &res);
/freebsd-11-stable/release/picobsd/tinyware/login/
H A Dpico-login.c223 ga_err = getaddrinfo(optarg, NULL, &hints,
470 ga_err = getaddrinfo(full_hostname, NULL, &hints,

Completed in 164 milliseconds

1234567891011