… | |
… | |
43 | |
43 | |
44 | typedef vector<connection *> conns_vector; |
44 | typedef vector<connection *> conns_vector; |
45 | conns_vector conns; |
45 | conns_vector conns; |
46 | |
46 | |
47 | connection *find_router (); |
47 | connection *find_router (); |
|
|
48 | connection *find_forwarder (); |
48 | |
49 | |
49 | void reconnect_all (); |
50 | void reconnect_all (); |
50 | void shutdown_all (); |
51 | void shutdown_all (); |
51 | |
52 | |
52 | void tap_ev (io_watcher &w, short revents); io_watcher tap_ev_watcher; |
53 | void tap_ev (io_watcher &w, short revents); io_watcher tap_ev_watcher; |