Searched refs:getaddrinfo (Results 126 - 150 of 234) sorted by relevance

12345678910

/netbsd-current/crypto/dist/ipsec-tools/src/libipsec/
H A Dpolicy_parse.y407 error = getaddrinfo(addr, serv, &hints, &res);
/netbsd-current/usr.sbin/traceroute6/
H A Dtraceroute6.c498 error = getaddrinfo(*argv, NULL, &hints, &res);
605 error0 = getaddrinfo(source, "0", &hints0, &res0);
/netbsd-current/libexec/identd/
H A Didentd.c227 error = getaddrinfo(proxy, NULL, &hints, &ai);
592 error = getaddrinfo(address, port, &hints, &res0);
594 die("getaddrinfo: %s", gai_strerror(error));
/netbsd-current/external/bsd/fetch/dist/libfetch/
H A Dcommon.c265 if (getaddrinfo(addr, NULL, &hints, &res0))
296 if ((error = getaddrinfo(url->host, pbuf, &hints, &res0)) != 0) {
/netbsd-current/external/gpl3/gcc/dist/libphobos/libdruntime/core/sys/posix/
H A Dnetdb.d128 int getaddrinfo(const(char)*, const(char)*, const(addrinfo)*, addrinfo**);
1048 int getaddrinfo(const(char)*, const(char)*, const(addrinfo)*, addrinfo**);
/netbsd-current/external/gpl3/gcc/dist/libphobos/libdruntime/core/sys/windows/
H A Dwinsock2.d88 int getaddrinfo(const(char)* nodename, const(char)* servname, const(addrinfo)* hints, addrinfo** res);
/netbsd-current/dist/pf/sbin/pfctl/
H A Dpfctl.c406 if ((ret_ga = getaddrinfo(addr, NULL, &hints, &res))) {
407 errx(1, "getaddrinfo: %s", gai_strerror(ret_ga));
455 if ((ret_ga = getaddrinfo(src_node_kill[0], NULL, NULL, &res[0]))) {
456 errx(1, "getaddrinfo: %s", gai_strerror(ret_ga));
487 if ((ret_ga = getaddrinfo(src_node_kill[1], NULL, NULL,
489 errx(1, "getaddrinfo: %s",
565 if ((ret_ga = getaddrinfo(state_kill[0], NULL, NULL, &res[0]))) {
566 errx(1, "getaddrinfo: %s", gai_strerror(ret_ga));
597 if ((ret_ga = getaddrinfo(state_kill[1], NULL, NULL,
599 errx(1, "getaddrinfo
[all...]
/netbsd-current/lib/libc/net/
H A Dgetaddrinfo.c1 /* $NetBSD: getaddrinfo.c,v 1.127 2024/01/21 12:58:10 kre Exp $ */
2 /* $KAME: getaddrinfo.c,v 1.29 2000/08/31 17:26:57 itojun Exp $ */
58 __RCSID("$NetBSD: getaddrinfo.c,v 1.127 2024/01/21 12:58:10 kre Exp $");
100 __weak_alias(getaddrinfo,_getaddrinfo)
454 getaddrinfo(const char *hostname, const char *servname, function
1181 switch (nsdispatch(&result, dtab, NSDB_HOSTS, "getaddrinfo",
1318 * RFC3493 section 6.1, requires getaddrinfo() to accept
2345 error = getaddrinfo(addr, NULL, &hints, &res0);
2450 error = getaddrinfo(addr, NULL, &hints, &res0);
2866 if ((e = getaddrinfo(arg
[all...]
/netbsd-current/external/bsd/ntp/dist/sntp/libevent/
H A Devutil.c788 * inside libevent. Otherwise, the built-in getaddrinfo() function allocated
956 * getaddrinfo: we return 0 or an appropriate EVUTIL_EAI_* error, and
957 * set *res as getaddrinfo would.
1082 * the native getaddrinfo */
1133 /* Helper for systems with no getaddrinfo(): make one or more addrinfos out of
1229 servname=NULL when calling getaddrinfo, and post-process the
1256 r = getaddrinfo("1.2.3.4", "80", &hints, &ai);
1258 r2 = getaddrinfo("1.2.3.4", "80", &hints, &ai2);
1388 /* If we make it here, the system getaddrinfo can
1419 err = getaddrinfo(nodenam
[all...]
/netbsd-current/sbin/ping6/
H A Dping6.c484 ret_ga = getaddrinfo(optarg, NULL, &hints, &res);
576 /* getaddrinfo */
583 ret_ga = getaddrinfo(target, NULL, &hints, &res);
592 errx(1, "getaddrinfo failed");
616 error = getaddrinfo(gateway, NULL, &hints, &gres);
618 errx(1, "getaddrinfo for the gateway %s: %s",
/netbsd-current/external/bsd/nsd/dist/
H A Dnsd.c253 if((ret = getaddrinfo(host, service, hints, &addr)) == 0) {
257 error("cannot parse address '%s': getaddrinfo: %s %s",
365 if((r = getaddrinfo(node, udp_port, &ai[0], &addrs[0])) == 0 &&
366 (r = getaddrinfo(node, tcp_port, &ai[1], &addrs[1])) == 0)
378 log_msg(LOG_WARNING, "No IPv6, fallback to IPv4. getaddrinfo: %s",
/netbsd-current/external/bsd/libbind/dist/resolv/
H A Dres_init.c395 if (getaddrinfo(cp, sbuf, &hints, &ai) == 0 &&
/netbsd-current/libexec/rlogind/
H A Drlogind.c301 gaierror = getaddrinfo(hostnamebuf, "0", &hints, &res0);
/netbsd-current/usr.bin/tftp/
H A Dmain.c256 error = getaddrinfo(host, port, &hints, &res0);
/netbsd-current/usr.sbin/faithd/
H A Dfaithd.c277 error = getaddrinfo(NULL, service, &hints, &res);
279 exit_failure("getaddrinfo: %s", gai_strerror(error));
/netbsd-current/crypto/external/cpl/trousers/dist/src/tspi/rpc/tcstp/
H A Drpc.c481 rv = getaddrinfo((char *)hte->hostname, port_str,
/netbsd-current/external/apache2/mDNSResponder/dist/mDNSPosix/
H A DmDNSUNP.c139 err = getaddrinfo(addr6, NULL, &hints, &res0);
/netbsd-current/sbin/iscsid/
H A Discsid_discover.c508 retval = getaddrinfo((char *)isns->address, port, &hints, &ai);
510 DEB(10,("getaddrinfo failed with code %d (%s)",
/netbsd-current/libexec/rshd/
H A Drshd.c409 gaierror = getaddrinfo(remotehost, pbuf, &hints, &res0);
/netbsd-current/external/bsd/ntp/dist/ntpq/
H A Dntpq.c699 a_info = getaddrinfo(hname, svc, &hints, &ai);
709 a_info = getaddrinfo(hname, svc, &hints, &ai);
715 a_info = getaddrinfo(hname, svc, &hints, &ai);
1951 * that getaddrinfo doesn't: [2001::1]:1234
1958 } else if (getaddrinfo(hname, "ntp", &hints, &ai) == 0) {
/netbsd-current/crypto/external/bsd/openssl.old/dist/crypto/bio/
H A Db_addr.c31 * getnameinfo() and getaddrinfo(). If that macro doesn't exist,
560 * It should ONLY be called when getaddrinfo() and friends
706 switch ((gai_ret = getaddrinfo(host, service, &hints, res))) {
808 * anyway [above getaddrinfo/gai_strerror is]. We just let
/netbsd-current/crypto/external/bsd/openssl/dist/crypto/bio/
H A Dbio_addr.c41 * getnameinfo() and getaddrinfo(). If that macro doesn't exist,
569 * It should ONLY be called when getaddrinfo() and friends
713 switch ((gai_ret = getaddrinfo(host, service, &hints, res))) {
717 "calling getaddrinfo()");
819 * anyway [above getaddrinfo/gai_strerror is]. We just let
/netbsd-current/crypto/external/bsd/heimdal/dist/lib/kadm5/
H A Dinit_c.c449 error = getaddrinfo (hostname, portstr, &hints, &ai);
/netbsd-current/external/gpl3/gcc/dist/c++tools/
H A Dserver.cc52 /* sockaddr_in6, getaddrinfo, freeaddrinfo, gai_sterror, ntohs, htons. */
363 /* getaddrinfo requires either hostname or servname to be non-null, so that we must
367 if (int e = getaddrinfo (slash == arg ? NULL : arg, "1", &hints, &addrs))
/netbsd-current/libexec/telnetd/
H A Dtelnetd.c372 error = getaddrinfo(NULL, service, &hints, &res);

Completed in 510 milliseconds

12345678910