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.2 by pcg, Thu Oct 16 02:41:21 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 Marc Lehmann <pcg@goof.com> 3 Copyright (C) 2003-2004 Marc Lehmann <pcg@goof.com>
4 4
5 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
6 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
7 the Free Software Foundation; either version 2 of the License, or 7 the Free Software Foundation; either version 2 of the License, or
8 (at your option) any later version. 8 (at your option) any later version.
20#include "config.h" 20#include "config.h"
21 21
22#include <map> 22#include <map>
23 23
24#include "vpn.h" 24#include "vpn.h"
25
26extern struct vpn network;
25 27
26struct ether_emu : map<u32, int> { 28struct ether_emu : map<u32, int> {
27 typedef map<u32, int> ipv4map; 29 typedef map<u32, int> ipv4map;
28 ipv4map ipv4; 30 ipv4map ipv4;
29 31

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines