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

1234567891011>>

/freebsd-13-stable/lib/libc/tests/resolv/
H A Dresolv_test.c112 error = getaddrinfo(host, portstr, &hints, &res);
/freebsd-13-stable/contrib/tcp_wrappers/
H A Dtcpdchk.c424 if ((ret = getaddrinfo(pat + 1, NULL, &hints, &res)) == 0)
/freebsd-13-stable/lib/libpam/modules/pam_radius/
H A Dpam_radius.c116 if (getaddrinfo(nas_ipaddr, NULL, &hints, &res) == 0 &&
/freebsd-13-stable/lib/libpam/modules/pam_unix/
H A Dpam_unix.c243 if (getaddrinfo(rhost, NULL, &hints, &res) == 0) {
/freebsd-13-stable/contrib/lib9p/transport/
H A Dsocket.c81 err = getaddrinfo(host, port, &hints, &res0);
/freebsd-13-stable/contrib/ntp/libntp/
H A Dntp_rfc2553.c281 getaddrinfo (const char *nodename, const char *servname, function
/freebsd-13-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-13-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-13-stable/contrib/netcat/
H A Dsocks.c72 r = getaddrinfo(h, p, &hints, &res);
76 errx(1, "getaddrinfo(\"%.64s\", \"%.64s\"): %s", h, p,
H A Dnetcat.c668 if ((error = getaddrinfo(host, port, &hints, &res)))
669 errx(1, "getaddrinfo: %s", gai_strerror(error));
692 if ((error = getaddrinfo(sflag, pflag, &ahints, &ares)))
693 errx(1, "getaddrinfo: %s", gai_strerror(error));
777 if ((error = getaddrinfo(host, port, &hints, &res)))
778 errx(1, "getaddrinfo: %s", gai_strerror(error));
/freebsd-13-stable/crypto/heimdal/lib/roken/
H A Dgetaddrinfo.c369 getaddrinfo(const char *nodename, function
/freebsd-13-stable/crypto/openssh/
H A Daddrmatch.c214 if (p == NULL || getaddrinfo(p, NULL, &hints, &ai) != 0)
463 /* Stop junk from reaching getaddrinfo. +3 is for masklen */
H A Daudit-bsm.c142 if ((r = getaddrinfo(host, NULL, NULL, &ai)) != 0) {
143 error("BSM audit: getaddrinfo failed for %.100s: %.100s", host,
/freebsd-13-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));
1395 r = getaddrinfo(h, p, &hints, &res);
1399 errx(1, "getaddrinfo(\"%.64s\", \"%.64s\"): %s", h, p,
/freebsd-13-stable/usr.sbin/ip6addrctl/
H A Dip6addrctl.c277 if ((e = getaddrinfo(prefix, NULL, &hints, &res)) != 0) {
278 warnx("getaddrinfo failed for %s: %s", prefix,
/freebsd-13-stable/tools/tools/netrate/netsend/
H A Dnetsend.c297 if (getaddrinfo(argv[1], NULL, &hints, &res) != 0) {
/freebsd-13-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-13-stable/usr.sbin/ndp/
H A Dndp.c403 gai_error = getaddrinfo(host, NULL, &hints, &res);
469 gai_error = getaddrinfo(host, NULL, &hints, &res);
506 gai_error = getaddrinfo(host, NULL, &hints, &res);
/freebsd-13-stable/sbin/pfctl/
H A Dpfctl.c511 if ((ret_ga = getaddrinfo(addr, NULL, &hints, &res))) {
512 errx(1, "getaddrinfo: %s", gai_strerror(ret_ga));
560 if ((ret_ga = getaddrinfo(src_node_kill[0], NULL, NULL, &res[0]))) {
561 errx(1, "getaddrinfo: %s", gai_strerror(ret_ga));
592 if ((ret_ga = getaddrinfo(src_node_kill[1], NULL, NULL,
594 errx(1, "getaddrinfo: %s",
670 if ((ret_ga = getaddrinfo(state_kill[0], NULL, NULL, &res[0]))) {
671 errx(1, "getaddrinfo: %s", gai_strerror(ret_ga));
702 if ((ret_ga = getaddrinfo(state_kill[1], NULL, NULL,
704 errx(1, "getaddrinfo
[all...]
/freebsd-13-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-13-stable/crypto/heimdal/kdc/
H A Dhprop.c64 error = getaddrinfo (hostname, port, &hints, &ai);
/freebsd-13-stable/lib/libc/tests/nss/
H A Dgetaddrinfo_test.c390 rv = getaddrinfo(line, NULL, &hints, &result);
/freebsd-13-stable/sbin/dumpon/
H A Ddumpon.c534 error = getaddrinfo(server, NULL, &hints, &res);
/freebsd-13-stable/sbin/setkey/
H A Dtest-pfkey.c499 if (getaddrinfo(str, serv, &hints, &res) != 0 || res->ai_next) {
/freebsd-13-stable/libexec/phttpget/
H A Dphttpget.c295 struct addrinfo hints; /* Hints to getaddrinfo */
345 error = getaddrinfo(env_HTTP_PROXY ? env_HTTP_PROXY : servername,

Completed in 361 milliseconds

1234567891011>>