gethostbyname, gethostbyaddr follow simple implementations: they internally call getaddrinfo and getnameinfo respectively, and fill out the minimum details. remaining functions are stubs.