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

Comparing gvpe/src/device.h (file contents):
Revision 1.17 by pcg, Thu Mar 3 16:54:34 2005 UTC vs.
Revision 1.20 by pcg, Tue Apr 26 00:55:56 2005 UTC

14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 GNU General Public License for more details. 15 GNU General Public License for more details.
16 16
17 You should have received a copy of the GNU General Public License 17 You should have received a copy of the GNU General Public License
18 along with gvpe; if not, write to the Free Software 18 along with gvpe; if not, write to the Free Software
19 Foundation, Inc. 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 19 Foundation, Inc. 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
20*/ 20*/
21 21
22#ifndef VPE_DEVICE_H__ 22#ifndef GVPE_DEVICE_H__
23#define VPE_DEVICE_H__ 23#define GVPE_DEVICE_H__
24
25#include "config.h"
24 26
25#define IFNAMESIZE 256 // be conservative 27#define IFNAMESIZE 256 // be conservative
26
27#include "gettext.h"
28 28
29#include "global.h" 29#include "global.h"
30#include "util.h" 30#include "util.h"
31 31
32struct net_packet { 32struct net_packet {
117 //bool open (); 117 //bool open ();
118 //void close (); 118 //void close ();
119 119
120 const char *interface () { return ifrname; } 120 const char *interface () { return ifrname; }
121 const char *info (); 121 const char *info ();
122 const char *if_up ();
122 123
123 tap_packet *recv (); 124 tap_packet *recv ();
124 void send (tap_packet *pkt); 125 void send (tap_packet *pkt);
125}; 126};
126 127

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines