… | |
… | |
39 | |
39 | |
40 | struct vpn |
40 | struct vpn |
41 | { |
41 | { |
42 | int udpv4_fd , tcpv4_fd, ipv4_fd , icmpv4_fd , dnsv4_fd; |
42 | int udpv4_fd , tcpv4_fd, ipv4_fd , icmpv4_fd , dnsv4_fd; |
43 | int udpv4_tos, ipv4_tos, icmpv4_tos, dnsv4_tos; |
43 | int udpv4_tos, ipv4_tos, icmpv4_tos, dnsv4_tos; |
|
|
44 | |
|
|
45 | #if 1 //D |
|
|
46 | int ipv42_fd, ipv42_tos; |
|
|
47 | void ipv42_ev (ev::io &w, int revents); ev::io ipv42_ev_watcher; |
|
|
48 | bool send_ipv42_packet (vpn_packet *pkt, const sockinfo &si, int tos); |
|
|
49 | #endif |
44 | |
50 | |
45 | int events; |
51 | int events; |
46 | |
52 | |
47 | enum { |
53 | enum { |
48 | EVENT_RECONNECT = 1, |
54 | EVENT_RECONNECT = 1, |