Lines Matching refs:hostbuf
2954 char hostbuf[NI_MAXHOST];
2971 if (getnameinfo(from, sysdep_sa_len((struct sockaddr *)from), hostbuf, sizeof(hostbuf),
2974 strlcpy(hostbuf, "?", sizeof(hostbuf));
2977 printf("%s:%s", hostbuf, portbuf);
2982 if (getnameinfo(my, sysdep_sa_len((struct sockaddr *)my), hostbuf, sizeof(hostbuf),
2985 strlcpy(hostbuf, "?", sizeof(hostbuf));
2988 printf("%s:%s", hostbuf, portbuf);