Lines Matching defs:host

200 		if (strcmp(args->arg.nss.host.name, LOCALHOST) == 0) {
204 _nderror = ndaddr2hent(AF_INET, args->arg.nss.host.name,
205 &nd_conaddrlist, res->nss.host.hent,
206 args->arg.nss.host.buf,
207 args->arg.nss.host.buflen);
210 *(res->nss.host.herrno_p) =
219 if (inet_aton(args->arg.nss.host.name,
225 _nderror = ndaddr2hent(AF_INET, args->arg.nss.host.name,
226 &nd_conaddrlist, res->nss.host.hent,
227 args->arg.nss.host.buf,
228 args->arg.nss.host.buflen);
231 *(res->nss.host.herrno_p) =
253 &nd6_conaddrlist, res->nss.host.hent,
258 *(res->nss.host.herrno_p) = nd2herrno(ret);
260 res->nss.host.hent->h_aliases = NULL;
297 * a service without a host. And finally if we specify
422 * without a host.
499 he = DOOR_GETHOSTBYNAME_R(args->arg.nss.host.name,
500 res->nss.host.hent, args->arg.nss.host.buf,
501 args->arg.nss.host.buflen,
502 res->nss.host.herrno_p);
504 _nderror = (*res->nss.host.herrno_p == 0) ? ND_NOHOST :
505 __herrno2netdir(*res->nss.host.herrno_p);
513 res->nss.host.hent, args->arg.nss.host.buf,
517 res->nss.host.herrno_p);
520 _nderror = (*res->nss.host.herrno_p == 0) ? ND_NOHOST :
521 __herrno2netdir(*res->nss.host.herrno_p);
736 service.h_host = (char *)args->arg.nss.host.name;
740 *(res->nss.host.herrno_p) = nd2herrno(_nderror);
747 res->nss.host.hent, args->arg.nss.host.buf,
748 args->arg.nss.host.buflen);
750 *(res->nss.host.herrno_p) = nd2herrno(ret);
836 if (*(uint32_t *)(args->arg.nss.host.addr) ==
841 &nd_conaddrlist, res->nss.host.hent,
842 args->arg.nss.host.buf,
843 args->arg.nss.host.buflen);
846 *(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);
931 _nderror = (*res->nss.host.herrno_p == 0) ? ND_NOHOST :
932 __herrno2netdir(*res->nss.host.herrno_p);
939 he = DOOR_GETIPNODEBYADDR_R(args->arg.nss.host.addr,
940 args->arg.nss.host.len, args->arg.nss.host.type,
941 res->nss.host.hent, args->arg.nss.host.buf,
942 args->arg.nss.host.buflen,
943 res->nss.host.herrno_p);
946 _nderror = (*res->nss.host.herrno_p == 0) ? ND_NOHOST :
947 __herrno2netdir(*res->nss.host.herrno_p);
997 * when we cannot get a host name. See below.
1039 * Convert host names and service names into hostserv
1047 * Convert host names and service names into hostserv
1091 * when we cannot get a host name. See below.
1116 * Convert host names and service names into hostserv
1146 sa.sin_addr.s_addr = *(uint32_t *)args->arg.nss.host.addr;
1154 *(res->nss.host.herrno_p) = nd2herrno(_nderror);
1158 * convert the host-serv pairs into h_aliases and hent.
1160 _nderror = ndhostserv2hent(&nbuf, addrs, res->nss.host.hent,
1161 args->arg.nss.host.buf, args->arg.nss.host.buflen);
1163 *(res->nss.host.herrno_p) = nd2herrno(_nderror);
1196 * higher priority to service lookups (over host lookups).
1212 * convert the host-serv pairs into s_aliases and servent.
2153 * a new nd_hostservlist with host and service names.
2380 * sort the vector of (host, serv) pairs in such a way that
2381 * all pairs with the same host name are contiguous.
2447 * do a host aliases first and serv aliases next
3016 * Formulate an Internet address from network + host. Used in
3020 _inet_makeaddr(in_addr_t net, in_addr_t host)
3026 addr = (net << IN_CLASSA_NSHIFT) | (host & IN_CLASSA_HOST);
3028 addr = (net << IN_CLASSB_NSHIFT) | (host & IN_CLASSB_HOST);
3030 addr = (net << IN_CLASSC_NSHIFT) | (host & IN_CLASSC_HOST);
3032 addr = net | host;