Lines Matching refs:service
379 get_servtuples (const struct gaih_service *service, const struct addrinfo *req, in get_servtuples() argument
405 if (service != NULL && (tp->protoflag & GAI_PROTO_NOSERVICE) != 0) in get_servtuples()
408 if (service == NULL || service->num >= 0) in get_servtuples()
410 int port = service != NULL ? htons (service->num) : 0; in get_servtuples()
438 return gaih_inet_serv (service->name, tp, req, st, tmpbuf); in get_servtuples()
453 if (gaih_inet_serv (service->name, in get_servtuples()
1115 gaih_inet (const char *name, const struct gaih_service *service, in gaih_inet() argument
1125 if ((rc = get_servtuples (service, req, st, tmpbuf)) != 0) in gaih_inet()
2281 getaddrinfo (const char *name, const char *service, in getaddrinfo() argument
2293 if (service != NULL && service[0] == '*' && service[1] == 0) in getaddrinfo()
2294 service = NULL; in getaddrinfo()
2296 if (name == NULL && service == NULL) in getaddrinfo()
2351 if (service && service[0]) in getaddrinfo()
2354 gaih_service.name = service; in getaddrinfo()