ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/gvpe/src/vpn.h
(Generate patch)

Comparing gvpe/src/vpn.h (file contents):
Revision 1.28 by pcg, Thu Aug 7 17:54:27 2008 UTC vs.
Revision 1.29 by pcg, Sun Aug 10 01:34:36 2008 UTC

54 tap_device *tap; 54 tap_device *tap;
55 55
56 typedef vector<connection *> conns_vector; 56 typedef vector<connection *> conns_vector;
57 conns_vector conns; 57 conns_vector conns;
58 58
59 connection *find_router (); 59 // called when any conenction has been established
60 connection *find_forwarder (); 60 void connection_established (connection *c);
61
62 // return true if src can connect directly to dst
63 bool can_direct (conf_node *src, conf_node *dst) const;
64 connection *find_router_for (const connection *dst);
61 65
62 void reconnect_all (); 66 void reconnect_all ();
63 void shutdown_all (); 67 void shutdown_all ();
64 68
65 void tap_ev (ev::io &w, int revents); ev::io tap_ev_watcher; 69 void tap_ev (ev::io &w, int revents); ev::io tap_ev_watcher;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines