| 110 | } |
| 111 | |
| 112 | static char *get_canon_name_from_addr(struct in_addr ip, |
| 113 | int *perr) |
| 114 | { |
| 115 | return canon_name_from_hostent( |
| 116 | gethostbyaddr((void *)&ip, sizeof ip, AF_INET), |
| 117 | perr); |
| 118 | } |
| 119 | |
| 120 | static struct addrinfo *alloc_entry(const struct addrinfo *hints, |
| 121 | struct in_addr ip, |
no test coverage detected