Lines Matching defs:type
56 enum service_type type;
77 for(i = 0; service_names[i].type != SERVICE_NONE; i++) {
79 return service_names[i].type;
137 gethostbyname2(const char *name, int type)
150 hp = _gethostbyhtname(name, type);
153 hp = _gethostbydnsname(name, type);
156 hp = _gethostbynisname(name, type);
165 gethostbyaddr(const char *addr, socklen_t len, int type)
178 hp = _gethostbyhtaddr(addr, len, type);
181 hp = _gethostbydnsaddr(addr, len, type);
184 hp = _gethostbynisaddr(addr, len, type);
198 int gethostbyaddr_r(const char *addr, int len, int type,
203 if ((hp = gethostbyaddr(addr, len, type)) == NULL) {