Lines Matching refs:hbuf
370 char hbuf[NI_MAXHOST], src0[NI_MAXHOST], *ep;
633 if (getnameinfo(res->ai_addr, res->ai_addrlen, hbuf,
634 sizeof(hbuf), NULL, 0, NI_NUMERICHOST) != 0)
635 strlcpy(hbuf, "?", sizeof(hbuf));
637 "addresses; using %s\n", hostname, hbuf);
892 if (getnameinfo((struct sockaddr *)&Dst, Dst.sin6_len, hbuf,
893 sizeof(hbuf), NULL, 0, NI_NUMERICHOST))
894 strlcpy(hbuf, "(invalid)", sizeof(hbuf));
896 fprintf(stderr, " to %s (%s)", hostname, hbuf);
1196 char hbuf[NI_MAXHOST];
1209 hbuf, sizeof(hbuf), NULL, 0, NI_NUMERICHOST) != 0)
1210 strlcpy(hbuf, "invalid", sizeof(hbuf));
1212 hbuf);
1222 hbuf, sizeof(hbuf), NULL, 0, NI_NUMERICHOST) != 0)
1223 strlcpy(hbuf, "invalid", sizeof(hbuf));
1224 printf("data too short (%d bytes) from %s\n", cc, hbuf);
1379 char hbuf[NI_MAXHOST];
1382 hbuf, sizeof(hbuf), NULL, 0, NI_NUMERICHOST) != 0)
1383 strlcpy(hbuf, "invalid", sizeof(hbuf));
1385 printf(" [AS%u]", as_lookup(asn, hbuf, AF_INET6));
1387 printf(" %s", hbuf);
1389 printf(" %s (%s)", inetname((struct sockaddr *)from), hbuf);
1397 hbuf, sizeof(hbuf)) : "?");
1401 hbuf, sizeof(hbuf)) : "?");