summaryrefslogtreecommitdiffstats
path: root/src/openvpn/openvpn.h
diff options
context:
space:
mode:
authorArne Schwabe <arne@rfc2549.org>2014-03-23 13:13:06 +0100
committerGert Doering <gert@greenie.muc.de>2014-03-23 19:51:52 +0100
commite719a0535345db8f0781c0b80408ca5417597469 (patch)
tree82080da0cedbd3e52b11816b759f0294c64452f3 /src/openvpn/openvpn.h
parentfb69bfd05eef20547848f901bb66d394f64308a2 (diff)
downloadopenvpn-e719a0535345db8f0781c0b80408ca5417597469.tar.gz
openvpn-e719a0535345db8f0781c0b80408ca5417597469.tar.xz
openvpn-e719a0535345db8f0781c0b80408ca5417597469.zip
Introduce an option to resolve dns names in advance for --remote, --local and --http-proxy
Also introduce x_gc_addspeical function that allows to add objects with a custom free function to the gc. Some additional addrinfo cleanup Acked-by: Gert Doering <gert@greenie.muc.de> Message-Id: <1395576786-17507-1-git-send-email-arne@rfc2549.org> URL: http://article.gmane.org/gmane.network.openvpn.devel/8386 Signed-off-by: Gert Doering <gert@greenie.muc.de>
Diffstat (limited to 'src/openvpn/openvpn.h')
-rw-r--r--src/openvpn/openvpn.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/openvpn/openvpn.h b/src/openvpn/openvpn.h
index 606a4f5..7ad6c55 100644
--- a/src/openvpn/openvpn.h
+++ b/src/openvpn/openvpn.h
@@ -166,6 +166,9 @@ struct context_1
/* tunnel session keys */
struct key_schedule ks;
+ /* preresolved and cached host names */
+ struct cached_dns_entry *dns_cache;
+
/* persist crypto sequence number to/from file */
struct packet_id_persist pid_persist;