Lines Matching refs:nhosts
655 int parsestat, i, nhosts = 0, buflen;
708 if (nhosts == 0 && strcasestr(instr, filter) == 0) {
728 if (nhosts && strcasestr(instr, h_name) == 0) {
736 (void *)&taddr[nhosts] : (void *)&taddr6[nhosts];
750 if (nhosts == 1 && hp) {
794 if (++nhosts == 1) {
811 if (nhosts >= ntaddr) {
860 ((nhosts + 1) * sizeof (char *) +
861 (nhosts * sizeof (*addrp))), sizeof (char *)));
862 for (i = 0, --addrp; i < nhosts; i++, --addrp) {
871 ((nhosts + 1) * sizeof (char *) +
872 (nhosts * sizeof (*addrp6))), sizeof (char *)));
873 for (i = 0, --addrp6; i < nhosts; i++, --addrp6) {
880 hp->h_addr_list[nhosts] = 0;