Home | History | Annotate | Download | only in BsdSocketLib

Lines Matching defs:host

137 static struct hostent host;

213 host.h_name = NULL;
257 host.h_name = bp;
261 qname = host.h_name;
265 host.h_aliases = host_aliases;
268 host.h_addr_list = h_addr_ptrs;
325 host.h_name = bp;
385 host.h_name = bp;
401 host.h_name = bp;
410 _map_v4v6_hostent(&host, &bp, &buflen);
413 return (&host);
417 if (strcasecmp(host.h_name, bp) != 0) {
420 AskedForGot, host.h_name, bp);
425 if (n != host.h_length) {
432 host.h_name = bp;
476 * Note: we sort even if host can take only one address
483 if (!host.h_name) {
488 host.h_name = bp;
493 _map_v4v6_hostent(&host, &bp, &buflen);
495 return (&host);
507 host.h_addrtype = AF_INET6;
508 host.h_length = IN6ADDRSZ;
512 host.h_addrtype = AF_INET;
513 host.h_length = INADDRSZ;
548 host.h_addrtype = af;
549 host.h_length = size;
554 * function that looks up host names.
581 host.h_name = hostbuf;
582 host.h_aliases = host_aliases;
586 host.h_addr_list = h_addr_ptrs;
588 _map_v4v6_hostent(&host, &bp, &len);
590 return (&host);
614 host.h_name = hostbuf;
615 host.h_aliases = host_aliases;
619 host.h_addr_list = h_addr_ptrs;
621 return (&host);