Home
last modified time | relevance | path

Searched refs:ntop_buf (Results 1 – 7 of 7) sorted by relevance

/freebsd/sbin/ping/
H A Dping6.c2087 char ntop_buf[INET6_ADDRSTRLEN]; in pr_nodeaddr() local
2128 if (inet_ntop(AF_INET6, cp, ntop_buf, sizeof(ntop_buf)) == in pr_nodeaddr()
2130 strlcpy(ntop_buf, "?", sizeof(ntop_buf)); in pr_nodeaddr()
2131 printf(" %s", ntop_buf); in pr_nodeaddr()
2270 char ntop_buf[INET6_ADDRSTRLEN]; in pr_icmph() local
2376 if (!inet_ntop(AF_INET6, &red->nd_rd_dst, ntop_buf, in pr_icmph()
2377 sizeof(ntop_buf))) in pr_icmph()
2378 strlcpy(ntop_buf, "?", sizeof(ntop_buf)); in pr_icmph()
2379 (void)printf("Destination: %s", ntop_buf); in pr_icmph()
2380 if (!inet_ntop(AF_INET6, &red->nd_rd_target, ntop_buf, in pr_icmph()
[all …]
/freebsd/contrib/pf/tftp-proxy/
H A Dtftp-proxy.c67 char ntop_buf[NTOP_BUFS][INET6_ADDRSTRLEN]; variable
362 ntop_buf[n][0] = '\0'; in sock_ntop()
367 return (inet_ntop(AF_INET, &sin->sin_addr, ntop_buf[n], in sock_ntop()
368 sizeof ntop_buf[0])); in sock_ntop()
374 return (inet_ntop(AF_INET6, &sin6->sin6_addr, ntop_buf[n], in sock_ntop()
375 sizeof ntop_buf[0])); in sock_ntop()
/freebsd/usr.sbin/mld6query/
H A Dmld6.c296 char ntop_buf[256]; in dump() local
311 ntop_buf, sizeof(ntop_buf))); in dump()
325 ntop_buf, sizeof(ntop_buf))); in dump()
/freebsd/contrib/tcpdump/
H A Dprint-domain.c800 char ntop_buf[INET6_ADDRSTRLEN]; in ns_rprint() local
805 addrtostr6(cp, ntop_buf, sizeof(ntop_buf))); in ns_rprint()
814 char ntop_buf[INET6_ADDRSTRLEN]; in ns_rprint() local
827 addrtostr6(&a, ntop_buf, sizeof(ntop_buf))); in ns_rprint()
H A Daddrtoname.c345 char ntop_buf[INET6_ADDRSTRLEN]; in ip6addr_string() local
384 cp = addrtostr6(ap, ntop_buf, sizeof(ntop_buf)); in ip6addr_string()
/freebsd/contrib/pf/ftp-proxy/
H A Dftp-proxy.c121 char ntop_buf[NTOP_BUFS][INET6_ADDRSTRLEN]; variable
1112 ntop_buf[n][0] = '\0'; in sock_ntop()
1117 return (inet_ntop(AF_INET, &sin->sin_addr, ntop_buf[n], in sock_ntop()
1118 sizeof ntop_buf[0])); in sock_ntop()
1124 return (inet_ntop(AF_INET6, &sin6->sin6_addr, ntop_buf[n], in sock_ntop()
1125 sizeof ntop_buf[0])); in sock_ntop()
/freebsd/usr.bin/netstat/
H A Dinet6.c66 static char ntop_buf[INET6_ADDRSTRLEN]; variable
1354 inet_ntop(AF_INET6, (void *)&sin6.sin6_addr, ntop_buf, in inet6name()
1355 sizeof(ntop_buf))); in inet6name()