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

Comparing gvpe/src/ether_emu.C (file contents):
Revision 1.1 by pcg, Thu Oct 16 02:29:25 2003 UTC vs.
Revision 1.4 by pcg, Sat Jan 17 01:18:36 2004 UTC

1/* 1/*
2 ether_emu.C -- ethernet "emulator" library 2 ether_emu.C -- ethernet "emulator" library
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.
19#include "config.h" 20#include "config.h"
20 21
21#include <map> 22#include <map>
22 23
23#include "vpn.h" 24#include "vpn.h"
25
26extern struct vpn network;
24 27
25struct ether_emu : map<u32, int> { 28struct ether_emu : map<u32, int> {
26 typedef map<u32, int> ipv4map; 29 typedef map<u32, int> ipv4map;
27 ipv4map ipv4; 30 ipv4map ipv4;
28 31

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines