Home
last modified time | relevance | path

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

/netbsd-src/sbin/ping6/
H A Dping6.c1803 char ntop_buf[INET6_ADDRSTRLEN]; in pr_nodeaddr() local
1842 if (inet_ntop(AF_INET6, cp, ntop_buf, sizeof(ntop_buf)) == in pr_nodeaddr()
1844 strlcpy(ntop_buf, "?", sizeof(ntop_buf)); in pr_nodeaddr()
1845 printf(" %s", ntop_buf); in pr_nodeaddr()
2049 char ntop_buf[INET6_ADDRSTRLEN]; in pr_icmph() local
2158 if (!inet_ntop(AF_INET6, &red->nd_rd_dst, ntop_buf, in pr_icmph()
2159 sizeof(ntop_buf))) in pr_icmph()
2160 strlcpy(ntop_buf, "?", sizeof(ntop_buf)); in pr_icmph()
2161 printf("Destination: %s", ntop_buf); in pr_icmph()
2162 if (!inet_ntop(AF_INET6, &red->nd_rd_target, ntop_buf, in pr_icmph()
[all …]
/netbsd-src/dist/pf/libexec/tftp-proxy/
H A Dtftp-proxy.c78 char ntop_buf[NTOP_BUFS][INET6_ADDRSTRLEN]; variable
389 ntop_buf[n][0] = '\0'; in sock_ntop()
394 return (inet_ntop(AF_INET, &sin->sin_addr, ntop_buf[n], in sock_ntop()
395 sizeof ntop_buf[0])); in sock_ntop()
401 return (inet_ntop(AF_INET6, &sin6->sin6_addr, ntop_buf[n], in sock_ntop()
402 sizeof ntop_buf[0])); in sock_ntop()
/netbsd-src/usr.sbin/mld6query/
H A Dmld6.c255 char ntop_buf[256]; in dump() local
270 ntop_buf, sizeof(ntop_buf))); in dump()
284 ntop_buf, sizeof(ntop_buf))); in dump()
/netbsd-src/crypto/dist/ipsec-tools/src/racoon/
H A Disakmp.c2774 static char ntop_buf[NI_MAXHOST]; local
2783 ntop_buf, sizeof(ntop_buf), NULL, 0,
2785 strlcpy(ntop_buf, "?", sizeof(ntop_buf));
2787 return ntop_buf;
2800 static char ntop_buf[NI_MAXHOST]; local
2807 ntop_buf, sizeof(ntop_buf), NULL, 0,
2809 strlcpy(ntop_buf, "?", sizeof(ntop_buf));
2811 return ntop_buf;
/netbsd-src/sbin/route/
H A Droute.c1717 char ntop_buf[NI_MAXHOST]; in sodump() local
1739 ntop_buf, sizeof(ntop_buf))); in sodump()