… | |
… | |
136 | pkt_queue data_queue, vpn_queue; |
136 | pkt_queue data_queue, vpn_queue; |
137 | |
137 | |
138 | crypto_ctx *octx, *ictx; |
138 | crypto_ctx *octx, *ictx; |
139 | |
139 | |
140 | #if ENABLE_DNS |
140 | #if ENABLE_DNS |
141 | vector<struct dns_rep *> dns_rcvq; |
141 | sockinfo dns_si; |
142 | vector<struct dns_req *> dns_sndq; |
142 | |
|
|
143 | struct byte_stream *dns_rcvdq; int dns_rcvseq; |
|
|
144 | struct byte_stream *dns_snddq; int dns_sndseq; |
143 | |
145 | |
144 | void dnsv4_cb (time_watcher &w); time_watcher dnsv4_tw; |
146 | void dnsv4_cb (time_watcher &w); time_watcher dnsv4_tw; |
145 | bool send_dnsv4_packet (vpn_packet *pkt, const sockinfo &si, int tos); |
147 | bool send_dnsv4_packet (vpn_packet *pkt, const sockinfo &si, int tos); |
146 | #endif |
148 | #endif |
147 | |
149 | |