mirror of https://github.com/Chizi123/dnscomp.git

Joel Grunbaum
2022-06-01 96cf02139c7a0a344f194c95c8d3a64168e45c6b
dns.h
@@ -8,6 +8,7 @@
#define T_TXT 16  // Text record
#define T_AAAA 28 // IPv6 address
int reachable(unsigned char* buf, char* dns_ip);
struct timespec resolve(unsigned char* buf, char* hostname, char* dns_ip,
                        int query_type);
void print_packet(unsigned char* buf);