aboutsummaryrefslogtreecommitdiffstats
path: root/src/vnet/dns/dns.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/vnet/dns/dns.h')
-rw-r--r--src/vnet/dns/dns.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/vnet/dns/dns.h b/src/vnet/dns/dns.h
index 1272e756d7c..f0edd8cf4ba 100644
--- a/src/vnet/dns/dns.h
+++ b/src/vnet/dns/dns.h
@@ -66,6 +66,7 @@ typedef struct
int retry_count;
int server_rotor;
int server_af;
+ int server_fails;
f64 retry_timer;
/** Cached dns response */
@@ -163,6 +164,13 @@ int
vnet_dns_resolve_name (dns_main_t * dm, u8 * name, dns_pending_request_t * t,
dns_cache_entry_t ** retp);
+void
+vnet_dns_send_dns6_request (dns_main_t * dm,
+ dns_cache_entry_t * ep, ip6_address_t * server);
+void
+vnet_dns_send_dns4_request (dns_main_t * dm,
+ dns_cache_entry_t * ep, ip4_address_t * server);
+
void vnet_send_dns4_reply (dns_main_t * dm, dns_pending_request_t * t,
dns_cache_entry_t * ep, vlib_buffer_t * b0);