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.9 by pcg, Tue Oct 14 03:22:09 2003 UTC vs.
Revision 1.13 by pcg, Sat Jan 17 01:18:36 2004 UTC

1/* 1/*
2 vpn.h -- header for vpn.C 2 vpn.h -- header for vpn.C
3 Copyright (C) 2003-2004 Marc Lehmann <pcg@goof.com>
3 4
4 This program is free software; you can redistribute it and/or modify 5 This program is free software; you can redistribute it and/or modify
5 it under the terms of the GNU General Public License as published by 6 it under the terms of the GNU General Public License as published by
6 the Free Software Foundation; either version 2 of the License, or 7 the Free Software Foundation; either version 2 of the License, or
7 (at your option) any later version. 8 (at your option) any later version.
47 48
48 void reconnect_all (); 49 void reconnect_all ();
49 void shutdown_all (); 50 void shutdown_all ();
50 51
51 void tap_ev (io_watcher &w, short revents); io_watcher tap_ev_watcher; 52 void tap_ev (io_watcher &w, short revents); io_watcher tap_ev_watcher;
53 void inject_data_packet (tap_packet *pkt, int dst);
52 54
53 void send_connect_request (int id); 55 void send_connect_request (int id);
54 56
55 void recv_vpn_packet (vpn_packet *pkt, const sockinfo &rsi); 57 void recv_vpn_packet (vpn_packet *pkt, const sockinfo &rsi);
56 bool send_vpn_packet (vpn_packet *pkt, const sockinfo &si, int tos); 58 bool send_vpn_packet (vpn_packet *pkt, const sockinfo &si, int tos);
79 void dump_status (); 81 void dump_status ();
80 82
81 const char *script_if_up (); 83 const char *script_if_up ();
82 }; 84 };
83 85
86extern vpn network; // THE vpn
87
84#endif 88#endif
85 89

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines