--- gvpe/src/vpn.h 2003/04/13 16:53:36 1.8 +++ gvpe/src/vpn.h 2003/10/16 14:12:00 1.12 @@ -1,5 +1,6 @@ /* vpn.h -- header for vpn.C + Copyright (C) 2003 Marc Lehmann This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -19,8 +20,6 @@ #ifndef VPE_VPN_H__ #define VPE_VPN_H__ -#include - #include "global.h" #include "conf.h" #include "device.h" @@ -51,6 +50,7 @@ void shutdown_all (); void tap_ev (io_watcher &w, short revents); io_watcher tap_ev_watcher; + void inject_data_packet (tap_packet *pkt, int dst); void send_connect_request (int id); @@ -83,5 +83,7 @@ const char *script_if_up (); }; +extern vpn network; // THE vpn + #endif