From e76468266a677537f1dbbe76e81aa87be60c67e3 Mon Sep 17 00:00:00 2001 From: Joel Grunbaum <joelgrun@gmail.com> Date: Tue, 31 May 2022 09:40:08 +0000 Subject: [PATCH] Initial support for reachability --- dns.h | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/dns.h b/dns.h index e2d3f88..67cd7c6 100644 --- a/dns.h +++ b/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); -- Gitblit v1.10.0