| unsigned char proto, socktype; |
| struct address ns[MAXNS]; |
| unsigned nns, attempts, ndots; |
| /* The limit of 48 results is a non-sharp bound on the number of addresses |
| * that can fit in one 512-byte DNS packet full of v4 results and a second |
| * packet full of v6 results. Due to headers, the actual limit is lower. */ |
| int __lookup_serv(struct service buf[static MAXSERVS], |
| int __lookup_name(struct address buf[static MAXADDRS], |
| int __lookup_ipliteral(struct address buf[static 1], |
| int __get_resolv_conf(struct resolvconf*, char*, size_t); |