/* posix */ #include #include /* bsd extensions */ #include #include #include #include int h_errno; struct hostent* gethostbyaddr(void *addr, int len, int af) { char name[64]; USED(len); return gethostbyname(inet_ntop(af, addr, name, sizeof name)); }