Searched refs:hostbyname (Results 1 – 1 of 1) sorted by relevance
80 struct hostent *hostbyname; in lookup_name() local82 hostbyname = gethostbyname(name); // getaddrinfo in lookup_name()83 if (!hostbyname) error_exit("no host '%s'", name); in lookup_name()84 *result = *(uint32_t *)*hostbyname->h_addr_list; in lookup_name()