Lines Matching defs:host

212 		if (strcmp(args->arg.nss.host.name, LOCALHOST) == 0) {
216 _nderror = ndaddr2hent(AF_INET, args->arg.nss.host.name,
217 &nd_conaddrlist, res->nss.host.hent,
218 args->arg.nss.host.buf,
219 args->arg.nss.host.buflen);
222 *(res->nss.host.herrno_p) =
231 if (inet_aton(args->arg.nss.host.name,
237 _nderror = ndaddr2hent(AF_INET, args->arg.nss.host.name,
238 &nd_conaddrlist, res->nss.host.hent,
239 args->arg.nss.host.buf,
240 args->arg.nss.host.buflen);
243 *(res->nss.host.herrno_p) =
265 &nd6_conaddrlist, res->nss.host.hent,
270 *(res->nss.host.herrno_p) = nd2herrno(ret);
272 res->nss.host.hent->h_aliases = NULL;
309 * a service without a host. And finally if we specify
425 * without a host.
502 he = DOOR_GETHOSTBYNAME_R(args->arg.nss.host.name,
503 res->nss.host.hent, args->arg.nss.host.buf,
504 args->arg.nss.host.buflen,
505 res->nss.host.herrno_p);
513 res->nss.host.hent, args->arg.nss.host.buf,
517 res->nss.host.herrno_p);
733 service.h_host = (char *)args->arg.nss.host.name;
737 *(res->nss.host.herrno_p) = nd2herrno(_nderror);
744 res->nss.host.hent, args->arg.nss.host.buf,
745 args->arg.nss.host.buflen);
747 *(res->nss.host.herrno_p) = nd2herrno(ret);
834 if (*(uint32_t *)(args->arg.nss.host.addr) ==
839 &nd_conaddrlist, res->nss.host.hent,
840 args->arg.nss.host.buf,
841 args->arg.nss.host.buflen);
844 *(res->nss.host.herrno_p) =
925 he = DOOR_GETHOSTBYADDR_R(args->arg.nss.host.addr,
926 args->arg.nss.host.len, args->arg.nss.host.type,
927 res->nss.host.hent, args->arg.nss.host.buf,
928 args->arg.nss.host.buflen,
929 res->nss.host.herrno_p);
938 he = DOOR_GETIPNODEBYADDR_R(args->arg.nss.host.addr,
939 args->arg.nss.host.len, args->arg.nss.host.type,
940 res->nss.host.hent, args->arg.nss.host.buf,
941 args->arg.nss.host.buflen,
942 res->nss.host.herrno_p);
994 * when we cannot get a host name. See below.
1035 * Convert host names and service names into hostserv
1043 * Convert host names and service names into hostserv
1088 * when we cannot get a host name. See below.
1113 * Convert host names and service names into hostserv
1143 sa.sin_addr.s_addr = *(uint32_t *)args->arg.nss.host.addr;
1151 *(res->nss.host.herrno_p) = nd2herrno(_nderror);
1155 * convert the host-serv pairs into h_aliases and hent.
1157 _nderror = ndhostserv2hent(&nbuf, addrs, res->nss.host.hent,
1158 args->arg.nss.host.buf, args->arg.nss.host.buflen);
1160 *(res->nss.host.herrno_p) = nd2herrno(_nderror);
1193 * higher priority to service lookups (over host lookups).
1209 * convert the host-serv pairs into s_aliases and servent.
2161 * a new nd_hostservlist with host and service names.
2391 * sort the vector of (host, serv) pairs in such a way that
2392 * all pairs with the same host name are contiguous.
2458 * do a host aliases first and serv aliases next
3030 * Formulate an Internet address from network + host. Used in
3034 _inet_makeaddr(in_addr_t net, in_addr_t host)
3040 addr = (net << IN_CLASSA_NSHIFT) | (host & IN_CLASSA_HOST);
3042 addr = (net << IN_CLASSB_NSHIFT) | (host & IN_CLASSB_HOST);
3044 addr = (net << IN_CLASSC_NSHIFT) | (host & IN_CLASSC_HOST);
3046 addr = net | host;