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.29 by pcg, Sun Aug 10 01:34:36 2008 UTC vs.
Revision 1.31 by pcg, Mon Mar 23 15:22:00 2009 UTC

67 void shutdown_all (); 67 void shutdown_all ();
68 68
69 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;
70 void inject_data_packet (tap_packet *pkt, int dst); 70 void inject_data_packet (tap_packet *pkt, int dst);
71 71
72 void send_connect_request (int id); 72 void send_connect_request (connection *c);
73 73
74 void recv_vpn_packet (vpn_packet *pkt, const sockinfo &rsi); 74 void recv_vpn_packet (vpn_packet *pkt, const sockinfo &rsi);
75 bool send_vpn_packet (vpn_packet *pkt, const sockinfo &si, int tos = 0); 75 bool send_vpn_packet (vpn_packet *pkt, const sockinfo &si, int tos = 0);
76 76
77#if ENABLE_TCP 77#if ENABLE_TCP
102 bool send_ipv4_packet (vpn_packet *pkt, const sockinfo &si, int tos); 102 bool send_ipv4_packet (vpn_packet *pkt, const sockinfo &si, int tos);
103 103
104 vpn (); 104 vpn ();
105 ~vpn (); 105 ~vpn ();
106 106
107 int setup_socket (u8 prot, int family, int type, int proto);
107 int setup (); 108 int setup ();
108 109
109 void dump_status (); 110 void dump_status ();
110 111
111 void script_init_env (); 112 void script_init_env ();

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines