H A D | sm_gethost.c | 46 sm_getipnodebyname(name, family, flags, err) in sm_getipnodebyname() argument 48 int family; 55 h = gethostbyname2(name, family); 64 if (family == AF_INET6) 78 /* the function is supposed to return only the requested family */ 79 if (h != NULL && h->h_addrtype != family) 109 mi_gethostbyname(name, family) in mi_gethostbyname() argument 111 int family; 141 h = sm_getipnodebyname(name, family, flags, &err); 149 /* the function is supposed to return only the requested family */ [all …]
|