Searched refs:getnameinfo (Results 26 - 50 of 130) sorted by relevance

123456

/freebsd-head/lib/libc/net/
H A Drcmd.c187 getnameinfo(ai->ai_addr, ai->ai_addrlen, paddr,
206 getnameinfo(ai->ai_addr, ai->ai_addrlen, paddr,
584 if (getnameinfo(raddr, salen, hname, sizeof(hname), NULL, 0,
708 if (getnameinfo(raddr, salen, h1, sizeof(h1), NULL, 0,
723 if (getnameinfo(r->ai_addr, r->ai_addrlen, h2, sizeof(h2),
/freebsd-head/usr.sbin/traceroute6/
H A Dtraceroute6.c625 if (getnameinfo(res->ai_addr, res->ai_addrlen, hbuf,
847 if (getnameinfo((struct sockaddr *)&Src, Src.sin6_len,
849 fprintf(stderr, "getnameinfo failed for source\n");
887 if (getnameinfo((struct sockaddr *)&Dst, Dst.sin6_len, hbuf,
1278 if (getnameinfo((struct sockaddr *)from, from->sin6_len,
1291 if (getnameinfo((struct sockaddr *)from, from->sin6_len,
1413 if (getnameinfo((struct sockaddr *)from, from->sin6_len,
1492 if (getnameinfo((struct sockaddr *)from, from->sin6_len,
1539 if (getnameinfo(sa, sa->sa_len, line, sizeof(line), NULL, 0,
1550 if (getnameinfo(s
[all...]
/freebsd-head/lib/libipsec/
H A Dpfkey_dump.c443 if (getnameinfo(sa, sa->sa_len, NULL, 0,
463 if (getnameinfo(sa, sa->sa_len, NULL, 0,
548 if (getnameinfo(sa, sa->sa_len, buf, sizeof(buf), NULL, 0, niflag) == 0)
H A Dipsec_dump_policy.c307 if (getnameinfo(sa, sa->sa_len, buf, len, NULL, 0, niflags) != 0)
/freebsd-head/contrib/ldns/compat/
H A Dfake-rfc2553.c48 int getnameinfo(const struct sockaddr *sa, size_t ATTR_UNUSED(salen), char *host, function
/freebsd-head/contrib/sendmail/src/
H A Dsasl.c266 if (getnameinfo((struct sockaddr *) addr, addrlen,
/freebsd-head/contrib/netbsd-tests/lib/libc/net/getaddrinfo/
H A Dh_gai.c69 error = getnameinfo(res->ai_addr, res->ai_addr->sa_len,
/freebsd-head/contrib/unbound/compat/
H A Dfake-rfc2553.c46 int getnameinfo(const struct sockaddr *sa, size_t ATTR_UNUSED(salen), char *host, function
/freebsd-head/crypto/openssh/openbsd-compat/
H A Dfake-rfc2553.c47 int getnameinfo(const struct sockaddr *sa, size_t salen, char *host, function
/freebsd-head/usr.bin/finger/
H A Dnet.c225 if (getnameinfo(ai->ai_addr, ai->ai_addrlen, buf, sizeof buf,
/freebsd-head/usr.sbin/rip6query/
H A Drip6query.c180 /* getnameinfo() is preferred as we may be able to show ifindex as ifname */
186 if (getnameinfo(sa, sa->sa_len, buf, sizeof(buf),
/freebsd-head/contrib/wpa/src/common/
H A Dctrl_iface_common.c88 getnameinfo((struct sockaddr *) sock, socklen,
/freebsd-head/include/
H A Dnetdb.h206 * Constants for getnameinfo()
212 * Flag values for getnameinfo()
251 int getnameinfo(const struct sockaddr *, socklen_t, char *,
/freebsd-head/sbin/ifconfig/
H A Daf_inet6.c76 static char addr_buf[NI_MAXHOST]; /*for getnameinfo()*/
218 error = getnameinfo((struct sockaddr *)sin, sin->sin6_len,
235 error = getnameinfo((struct sockaddr *)sin,
448 if (getnameinfo(sa, sa->sa_len, src, sizeof(src), 0, 0,
456 if (getnameinfo(sa, sa->sa_len, dst, sizeof(dst), 0, 0,
H A Difvxlan.c123 if (getnameinfo(lsa, lsa->sa_len, src, sizeof(src),
126 if (getnameinfo(rsa, rsa->sa_len, dst, sizeof(dst),
/freebsd-head/usr.sbin/ifmcstat/
H A Difmcstat.c406 getnameinfo((struct sockaddr *)&sdl, sdl.sdl_len,
429 getnameinfo((struct sockaddr *)&sdl,
780 if (getnameinfo((struct sockaddr *)&sin6, sin6.sin6_len,
1121 error = getnameinfo(&pifasa->sa,
1126 perror("getnameinfo");
1206 error = getnameinfo(&pgsa->sa, pgsa->sa.sa_len,
1209 perror("getnameinfo");
1236 error = getnameinfo(&pllsa->sa, pllsa->sa.sa_len,
/freebsd-head/usr.sbin/ndp/
H A Dndp.c127 static char host_buf[NI_MAXHOST]; /* getnameinfo() */
480 getnameinfo((struct sockaddr *)sin, sin->sin6_len, host_buf,
542 getnameinfo((struct sockaddr *)sin,
645 getnameinfo((struct sockaddr *)sin, sin->sin6_len, host_buf,
1089 if (getnameinfo((struct sockaddr *)&p->rtaddr,
1147 if (getnameinfo((struct sockaddr *)&p->prefix,
1200 if (getnameinfo((struct sockaddr *)sin6,
/freebsd-head/usr.bin/netstat/
H A Droute.c554 error = getnameinfo(sa, sa->sa_len, line, sizeof(line),
745 getnameinfo((struct sockaddr *)sa6, sa6->sin6_len, nline, sizeof(nline),
750 getnameinfo((struct sockaddr *)sa6, sa6->sin6_len, line,
/freebsd-head/sbin/setkey/
H A Dsetkey.c555 getnameinfo(s, s->sa_len, buf, sizeof(buf),
571 getnameinfo(s, s->sa_len, buf, sizeof(buf),
/freebsd-head/sbin/pfctl/
H A Dpf_print_state.c152 getnameinfo((struct sockaddr *)&sin, sin.sin_len,
163 getnameinfo((struct sockaddr *)&sin6, sin6.sin6_len,
/freebsd-head/contrib/dma/
H A Ddns.c115 getnameinfo((struct sockaddr *)&p->sa, p->ai.ai_addrlen,
/freebsd-head/usr.sbin/rpcbind/
H A Dsecurity.c218 getnameinfo(addr, addr->sa_len, fromname,
/freebsd-head/contrib/libpcap/
H A Dpcap-rpcap.c1079 if (getnameinfo((struct sockaddr *) &saddr, saddrlen, host,
1082 sock_geterror("getnameinfo()", fp->errbuf, PCAP_ERRBUF_SIZE);
1125 if (getnameinfo((struct sockaddr *) &saddr, saddrlen, NULL,
1128 sock_geterror("getnameinfo()", fp->errbuf, PCAP_ERRBUF_SIZE);
1625 if (getnameinfo((struct sockaddr *) &saddr, saddrlen, peeraddress,
1628 sock_geterror("getnameinfo()", fp->errbuf, PCAP_ERRBUF_SIZE);
1641 if (getnameinfo((struct sockaddr *) &saddr, saddrlen, myaddress,
1644 sock_geterror("getnameinfo()", fp->errbuf, PCAP_ERRBUF_SIZE);
1656 if (getnameinfo((struct sockaddr *) &saddr, saddrlen, NULL, 0, mydataport, sizeof(mydataport), NI_NUMERICSERV))
1658 sock_geterror("getnameinfo()", f
[all...]
/freebsd-head/tools/regression/netinet/ipmulticast/
H A Dipmulticast.c672 error = getnameinfo(&group->sa, group->sa.sa_len, groupname,
675 fprintf(stderr, "getnameinfo: %s\n", gai_strerror(error));
679 error = getnameinfo(&source->sa, source->sa.sa_len, sourcename,
682 fprintf(stderr, "getnameinfo: %s\n", gai_strerror(error));
/freebsd-head/libexec/tftpd/
H A Dtftpd.c237 getnameinfo((struct sockaddr *)&peer_sock, peer_sock.ss_len,
356 getnameinfo((struct sockaddr *)&ss, ss.ss_len,

Completed in 87 milliseconds

123456