Lines Matching refs:ntop
369 char ntop[NI_MAXHOST + NI_MAXSERV];
372 print_addr(ntop, sizeof (ntop),
461 print_addr(char *ntop, size_t ntlen, struct sockaddr *addr, int len, int flags)
467 if ((e = getnameinfo(addr, len, ntop, ntlen,
472 (void) snprintf(ntop, ntlen, "%s port %s", ntop, port);
474 return (ntop);
597 char ntop[NI_MAXHOST + NI_MAXSERV];
599 print_addr(ntop, sizeof (ntop),