Searched refs:ntop_buf (Results 1 – 7 of 7) sorted by relevance
/freebsd/sbin/ping/ |
H A D | ping6.c | 2087 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 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/usr.sbin/mld6query/ |
H A D | mld6.c | 296 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 D | print-domain.c | 800 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 D | addrtoname.c | 345 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 D | ftp-proxy.c | 121 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 D | inet6.c | 66 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()
|