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 | |
|
|
26 | extern struct vpn network; |
25 | |
27 | |
26 | struct ether_emu : map<u32, int> { |
28 | struct 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 | |