Lines Matching defs:hbuf
362 char hbuf[NI_MAXHOST], src0[NI_MAXHOST], *ep;
508 if (getnameinfo(res->ai_addr, res->ai_addrlen, hbuf,
509 sizeof(hbuf), NULL, 0, NI_NUMERICHOST) != 0)
510 strlcpy(hbuf, "?", sizeof(hbuf));
512 hostname, hbuf);
661 if (getnameinfo((struct sockaddr *)&Dst, Dst.sin6_len, hbuf,
662 sizeof(hbuf), NULL, 0, NI_NUMERICHOST))
663 strlcpy(hbuf, "(invalid)", sizeof(hbuf));
665 fprintf(stderr, " to %s (%s)", hostname, hbuf);
930 char hbuf[NI_MAXHOST];
935 hbuf, sizeof(hbuf), NULL, 0, NI_NUMERICHOST) != 0)
936 strlcpy(hbuf, "invalid", sizeof(hbuf));
938 hbuf);
1075 char hbuf[NI_MAXHOST];
1078 hbuf, sizeof(hbuf), NULL, 0, NI_NUMERICHOST) != 0)
1079 strlcpy(hbuf, "invalid", sizeof(hbuf));
1081 printf(" [AS%u]", as_lookup(asn, hbuf, AF_INET6));
1083 printf(" %s", hbuf);
1085 printf(" %s (%s)", inetname((struct sockaddr *)from), hbuf);
1092 hbuf, sizeof(hbuf)) : "?");