--- gvpe/src/vpn.h 2004/01/17 01:18:36 1.13 +++ gvpe/src/vpn.h 2004/04/02 14:42:45 1.14 @@ -27,7 +27,7 @@ struct vpn { - int udpv4_fd, tcpv4_fd, ipv4_fd, icmpv4_fd; + int udpv4_fd, tcpv4_fd, ipv4_fd, icmpv4_fd, dnsv4_fd; int events; @@ -67,6 +67,11 @@ bool send_icmpv4_packet (vpn_packet *pkt, const sockinfo &si, int tos); #endif +#if ENABLE_DNS + void dnsv4_ev (io_watcher &w, short revents); io_watcher dnsv4_ev_watcher; + bool send_dnsv4_packet (vpn_packet *pkt, const sockinfo &si, int tos); +#endif + void udpv4_ev (io_watcher &w, short revents); io_watcher udpv4_ev_watcher; bool send_udpv4_packet (vpn_packet *pkt, const sockinfo &si, int tos);