30 while (numanswers--) {
int dns_name6(stralloc *out, const char ip[16])
int dns_name_packet(stralloc *out, const char *buf, unsigned int len)
int dns_name4(stralloc *out, const char ip[4])
int dns_name(stralloc *out, const char ip[16])
additional types and pack routines
void uint16_unpack_big(char[16], uint16 *)
#define ip6_isv4mapped(ip)
#define byte_equal(s, n, t)
void dns_transmit_free(struct dns_transmit *)
unsigned int dns_packet_copy(const char *, unsigned int, unsigned int, char *, unsigned int)
int dns_domain_todot_cat(stralloc *, const char *)
int dns_resolve(const char *, const char *)
unsigned int dns_packet_skipname(const char *, unsigned int, unsigned int)
int dns_name4_domain(char *, const char *)
void dns_domain_free(char **)
int dns_name6_domain(char *, const char *)
unsigned int dns_packet_getname(const char *, unsigned int, unsigned int, char **)
struct dns_transmit dns_resolve_tx
int stralloc_copys(stralloc *, const char *)