… | |
… | |
52 | |
52 | |
53 | void recv_vpn_packet (vpn_packet *pkt, const sockinfo &rsi); |
53 | void recv_vpn_packet (vpn_packet *pkt, const sockinfo &rsi); |
54 | |
54 | |
55 | void tap_ev (io_watcher &w, short revents); io_watcher tap_ev_watcher; |
55 | void tap_ev (io_watcher &w, short revents); io_watcher tap_ev_watcher; |
56 | |
56 | |
57 | void send_vpn_packet (vpn_packet *pkt, const sockinfo &si, int tos = IPTOS_RELIABILITY); |
57 | void send_vpn_packet (vpn_packet *pkt, const sockinfo &si, int tos = 0); |
58 | |
58 | |
59 | #if ENABLE_TCP |
59 | #if ENABLE_TCP |
60 | void tcpv4_ev (io_watcher &w, short revents); io_watcher tcpv4_ev_watcher; |
60 | void tcpv4_ev (io_watcher &w, short revents); io_watcher tcpv4_ev_watcher; |
61 | void send_tcpv4_packet (vpn_packet *pkt, const sockinfo &si, int tos); |
61 | void send_tcpv4_packet (vpn_packet *pkt, const sockinfo &si, int tos); |
62 | #endif |
62 | #endif |