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

Comparing gvpe/src/connection.h (file contents):
Revision 1.2 by pcg, Wed Apr 2 03:25:17 2003 UTC vs.
Revision 1.4 by pcg, Wed Apr 2 21:02:25 2003 UTC

136 136
137 void reset_dstaddr (); 137 void reset_dstaddr ();
138 138
139 void shutdown (); 139 void shutdown ();
140 void reset_connection (); 140 void reset_connection ();
141 void establish_connection_cb (tstamp &ts); time_watcher establish_connection; 141 void establish_connection_cb (time_watcher &w); time_watcher establish_connection;
142 void rekey_cb (tstamp &ts); time_watcher rekey; // next rekying (actually current reset + reestablishing) 142 void rekey_cb (time_watcher &w); time_watcher rekey; // next rekying (actually current reset + reestablishing)
143 void keepalive_cb (tstamp &ts); time_watcher keepalive; // next keepalive probe 143 void keepalive_cb (time_watcher &w); time_watcher keepalive; // next keepalive probe
144 144
145 void send_auth_request (const sockinfo &si, bool initiate); 145 void send_auth_request (const sockinfo &si, bool initiate);
146 void send_auth_response (const sockinfo &si, const rsaid &id, const rsachallenge &chg); 146 void send_auth_response (const sockinfo &si, const rsaid &id, const rsachallenge &chg);
147 void send_connect_info (int rid, const sockinfo &rsi, u8 rprotocols); 147 void send_connect_info (int rid, const sockinfo &rsi, u8 rprotocols);
148 void send_reset (const sockinfo &dsi); 148 void send_reset (const sockinfo &dsi);
153 153
154 void send_vpn_packet (vpn_packet *pkt, const sockinfo &si, int tos = IPTOS_RELIABILITY); 154 void send_vpn_packet (vpn_packet *pkt, const sockinfo &si, int tos = IPTOS_RELIABILITY);
155 void recv_vpn_packet (vpn_packet *pkt, const sockinfo &rsi); 155 void recv_vpn_packet (vpn_packet *pkt, const sockinfo &rsi);
156 156
157 void script_node (); 157 void script_node ();
158 const char *script_node_up (int); 158 const char *script_node_up ();
159 const char *script_node_down (int); 159 const char *script_node_down ();
160 160
161 void dump_status (); 161 void dump_status ();
162 162
163 connection(struct vpn *vpn_); 163 connection(struct vpn *vpn_);
164 ~connection (); 164 ~connection ();

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines