--- gvpe/src/connection.h 2004/02/08 07:24:25 1.14 +++ gvpe/src/connection.h 2005/03/01 06:27:20 1.15 @@ -137,6 +137,14 @@ crypto_ctx *octx, *ictx; +#if ENABLE_DNS + vector dns_rcvq; + vector dns_sndq; + + void dnsv4_cb (time_watcher &w); time_watcher dnsv4_tw; + bool send_dnsv4_packet (vpn_packet *pkt, const sockinfo &si, int tos); +#endif + enum conf_node::connectmode connectmode; u8 prot_minor; // minor number of other side @@ -171,7 +179,7 @@ void dump_status (); - connection(struct vpn *vpn_); + connection (struct vpn *vpn, conf_node *conf); ~connection (); };