… | |
… | |
67 | void icmpv4_ev (io_watcher &w, short revents); io_watcher icmpv4_ev_watcher; |
67 | void icmpv4_ev (io_watcher &w, short revents); io_watcher icmpv4_ev_watcher; |
68 | bool send_icmpv4_packet (vpn_packet *pkt, const sockinfo &si, int tos); |
68 | bool send_icmpv4_packet (vpn_packet *pkt, const sockinfo &si, int tos); |
69 | #endif |
69 | #endif |
70 | |
70 | |
71 | #if ENABLE_DNS |
71 | #if ENABLE_DNS |
72 | vector<struct dns_req *> dns_sndpq; |
72 | vector<struct dns_snd *> dns_sndpq; |
|
|
73 | sockinfo dns_forwarder; |
73 | |
74 | |
74 | void dnsv4_ev (io_watcher &w, short revents); io_watcher dnsv4_ev_watcher; |
75 | void dnsv4_ev (io_watcher &w, short revents); io_watcher dnsv4_ev_watcher; |
75 | struct dns_packet *dnsv4_server (struct dns_packet *pkt); |
76 | void dnsv4_server (struct dns_packet &pkt); |
76 | void dnsv4_client (struct dns_packet *pkt); |
77 | void dnsv4_client (struct dns_packet &pkt); |
77 | #endif |
78 | #endif |
78 | |
79 | |
79 | void udpv4_ev (io_watcher &w, short revents); io_watcher udpv4_ev_watcher; |
80 | void udpv4_ev (io_watcher &w, short revents); io_watcher udpv4_ev_watcher; |
80 | bool send_udpv4_packet (vpn_packet *pkt, const sockinfo &si, int tos); |
81 | bool send_udpv4_packet (vpn_packet *pkt, const sockinfo &si, int tos); |
81 | |
82 | |