Home
last modified time | relevance | path

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

/freebsd-14.2/sbin/ping/
H A Dping6.c2141 if (inet_ntop(AF_INET6, cp, ntop_buf, sizeof(ntop_buf)) == in pr_nodeaddr()
2143 strlcpy(ntop_buf, "?", sizeof(ntop_buf)); in pr_nodeaddr()
2390 sizeof(ntop_buf))) in pr_icmph()
2391 strlcpy(ntop_buf, "?", sizeof(ntop_buf)); in pr_icmph()
2394 sizeof(ntop_buf))) in pr_icmph()
2395 strlcpy(ntop_buf, "?", sizeof(ntop_buf)); in pr_icmph()
2526 if (!inet_ntop(AF_INET6, &ip6->ip6_src, ntop_buf, sizeof(ntop_buf))) in pr_iph()
2527 strlcpy(ntop_buf, "?", sizeof(ntop_buf)); in pr_iph()
2528 printf("%s->", ntop_buf); in pr_iph()
2529 if (!inet_ntop(AF_INET6, &ip6->ip6_dst, ntop_buf, sizeof(ntop_buf))) in pr_iph()
[all …]
/freebsd-14.2/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-14.2/usr.sbin/mld6query/
H A Dmld6.c297 char ntop_buf[256]; in dump() local
312 ntop_buf, sizeof(ntop_buf))); in dump()
326 ntop_buf, sizeof(ntop_buf))); in dump()
/freebsd-14.2/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-14.2/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-14.2/usr.bin/netstat/
H A Dinet6.c73 static char ntop_buf[INET6_ADDRSTRLEN]; variable
1361 inet_ntop(AF_INET6, (void *)&sin6.sin6_addr, ntop_buf, in inet6name()
1362 sizeof(ntop_buf))); in inet6name()