summaryrefslogtreecommitdiffstats
path: root/src/vnet/dns/dns.h
diff options
context:
space:
mode:
authorDave Barach <dave@barachs.net>2019-05-29 13:46:35 -0400
committerDamjan Marion <dmarion@me.com>2019-05-30 08:55:50 +0000
commit2466f5068f044ddfcb1f300f1f20122030b52221 (patch)
tree89525f6895f8e372b538250b63c1e6ce140a1c0b /src/vnet/dns/dns.h
parent2a2e5938a3a019f94b4acf53191bf4a42d72c68a (diff)
Start the dns resolver process on demand
Change-Id: Iab27b405fb3ca7aed94ae974d57c286c41298c3a Signed-off-by: Dave Barach <dave@barachs.net>
Diffstat (limited to 'src/vnet/dns/dns.h')
-rw-r--r--src/vnet/dns/dns.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/vnet/dns/dns.h b/src/vnet/dns/dns.h
index c747e2ecd38..b2e3e9b90cb 100644
--- a/src/vnet/dns/dns.h
+++ b/src/vnet/dns/dns.h
@@ -108,6 +108,9 @@ typedef struct
ip4_address_t *ip4_name_servers;
ip6_address_t *ip6_name_servers;
+ /** resolver process node index */
+ u32 resolver_process_node_index;
+
/** config parameters */
u32 name_cache_size;
u32 max_ttl_in_seconds;
@@ -183,6 +186,8 @@ void vnet_send_dns6_reply (dns_main_t * dm, dns_pending_request_t * t,
u8 *vnet_dns_labels_to_name (u8 * label, u8 * full_text,
u8 ** parse_from_here);
+void vnet_dns_create_resolver_process (dns_main_t * dm);
+
format_function_t format_dns_reply;
static inline void