Searched refs:ntop_buf (Results 1 – 8 of 8) sorted by relevance
| /freebsd-13.1/sbin/ping/ |
| H A D | ping6.c | 2177 if (inet_ntop(AF_INET6, cp, ntop_buf, sizeof(ntop_buf)) == in pr_nodeaddr() 2179 strlcpy(ntop_buf, "?", sizeof(ntop_buf)); in pr_nodeaddr() 2479 sizeof(ntop_buf))) in pr_icmph() 2480 strlcpy(ntop_buf, "?", sizeof(ntop_buf)); in pr_icmph() 2483 sizeof(ntop_buf))) in pr_icmph() 2484 strlcpy(ntop_buf, "?", sizeof(ntop_buf)); in pr_icmph() 2615 if (!inet_ntop(AF_INET6, &ip6->ip6_src, ntop_buf, sizeof(ntop_buf))) in pr_iph() 2616 strlcpy(ntop_buf, "?", sizeof(ntop_buf)); in pr_iph() 2617 printf("%s->", ntop_buf); in pr_iph() 2618 if (!inet_ntop(AF_INET6, &ip6->ip6_dst, ntop_buf, sizeof(ntop_buf))) in pr_iph() [all …]
|
| /freebsd-13.1/contrib/pf/tftp-proxy/ |
| H A D | tftp-proxy.c | 67 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-13.1/usr.sbin/mld6query/ |
| H A D | mld6.c | 299 char ntop_buf[256]; in dump() local 314 ntop_buf, sizeof(ntop_buf))); in dump() 328 ntop_buf, sizeof(ntop_buf))); in dump()
|
| /freebsd-13.1/usr.sbin/trpt/ |
| H A D | trpt.c | 316 char ntop_buf[INET6_ADDRSTRLEN]; in tcp_trace() local 357 ntop_buf, sizeof(ntop_buf)) : in tcp_trace() 363 ntop_buf, sizeof(ntop_buf)) : in tcp_trace()
|
| /freebsd-13.1/contrib/tcpdump/ |
| H A D | print-domain.c | 489 char ntop_buf[INET6_ADDRSTRLEN]; in ns_rprint() local 494 addrtostr6(cp, ntop_buf, sizeof(ntop_buf)))); in ns_rprint() 503 char ntop_buf[INET6_ADDRSTRLEN]; in ns_rprint() local 518 addrtostr6(&a, ntop_buf, sizeof(ntop_buf)))); in ns_rprint()
|
| H A D | addrtoname.c | 309 char ntop_buf[INET6_ADDRSTRLEN]; in getname6() local 348 cp = addrtostr6(ap, ntop_buf, sizeof(ntop_buf)); in getname6()
|
| /freebsd-13.1/contrib/pf/ftp-proxy/ |
| H A D | ftp-proxy.c | 124 char ntop_buf[NTOP_BUFS][INET6_ADDRSTRLEN]; variable 1115 ntop_buf[n][0] = '\0'; in sock_ntop() 1120 return (inet_ntop(AF_INET, &sin->sin_addr, ntop_buf[n], in sock_ntop() 1121 sizeof ntop_buf[0])); in sock_ntop() 1127 return (inet_ntop(AF_INET6, &sin6->sin6_addr, ntop_buf[n], in sock_ntop() 1128 sizeof ntop_buf[0])); in sock_ntop()
|
| /freebsd-13.1/usr.bin/netstat/ |
| H A D | inet6.c | 75 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()
|