Lines Matching refs:host_buf
125 static char host_buf[NI_MAXHOST]; /* getnameinfo() */
478 getnameinfo((struct sockaddr *)sin, sin->sin6_len, host_buf,
479 sizeof(host_buf), NULL ,0,
481 printf("%s (%s) -- no entry\n", host, host_buf);
541 sin->sin6_len, host_buf,
542 sizeof(host_buf), NULL, 0,
544 printf("%s (%s) deleted\n", host, host_buf);
644 getnameinfo((struct sockaddr *)sin, sin->sin6_len, host_buf,
645 sizeof(host_buf), NULL, 0, (nflag ? NI_NUMERICHOST : 0));
649 delete(host_buf);
652 delete(host_buf);
656 delete(host_buf);
664 addrwidth = strlen(host_buf);
677 printf("%-*.*s %-*.*s %*.*s", addrwidth, addrwidth, host_buf,
1086 p->rtaddr.sin6_len, host_buf, sizeof(host_buf), NULL, 0,
1088 strlcpy(host_buf, "?", sizeof(host_buf));
1090 printf("%s if=%s", host_buf,