Lines Matching refs:hostbuf
2944 char hostbuf[NI_MAXHOST];
2961 if (getnameinfo(from, sysdep_sa_len((struct sockaddr *)from), hostbuf, sizeof(hostbuf),
2964 strlcpy(hostbuf, "?", sizeof(hostbuf));
2967 printf("%s:%s", hostbuf, portbuf);
2972 if (getnameinfo(my, sysdep_sa_len((struct sockaddr *)my), hostbuf, sizeof(hostbuf),
2975 strlcpy(hostbuf, "?", sizeof(hostbuf));
2978 printf("%s:%s", hostbuf, portbuf);