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.19 by pcg, Fri Mar 4 04:52:38 2005 UTC vs.
Revision 1.21 by pcg, Sat Mar 5 19:13:15 2005 UTC

140 crypto_ctx *octx, *ictx; 140 crypto_ctx *octx, *ictx;
141 141
142#if ENABLE_DNS 142#if ENABLE_DNS
143 struct dns_connection *dns; 143 struct dns_connection *dns;
144 144
145 bool send_dnsv4_packet (vpn_packet *pkt, const sockinfo &si, int tos); 145 void dnsv4_reset_connection ();
146#endif 146#endif
147 147
148 enum conf_node::connectmode connectmode; 148 enum conf_node::connectmode connectmode;
149 u8 prot_minor; // minor number of other side 149 u8 prot_minor; // minor number of other side
150 150
168 void send_data_packet (tap_packet *pkt); 168 void send_data_packet (tap_packet *pkt);
169 169
170 void inject_data_packet (tap_packet *pkt, bool broadcast = false); 170 void inject_data_packet (tap_packet *pkt, bool broadcast = false);
171 void inject_vpn_packet (vpn_packet *pkt, int tos = 0); // for forwarding 171 void inject_vpn_packet (vpn_packet *pkt, int tos = 0); // for forwarding
172 172
173 void recv_vpn_packet (vpn_packet *pkt, const sockinfo &rsi);
173 void send_vpn_packet (vpn_packet *pkt, const sockinfo &si, int tos = 0); 174 void send_vpn_packet (vpn_packet *pkt, const sockinfo &si, int tos = 0);
174 void recv_vpn_packet (vpn_packet *pkt, const sockinfo &rsi);
175 175
176 void script_node (); 176 void script_node ();
177 const char *script_node_up (); 177 const char *script_node_up ();
178 const char *script_node_down (); 178 const char *script_node_down ();
179 179

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines