1 | /* |
1 | /* |
2 | device-linux.C -- Interaction with Linux tun/tap device |
2 | device-linux.C -- Interaction with Linux tun/tap device |
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. |
… | |
… | |
43 | #include "gettext.h" |
43 | #include "gettext.h" |
44 | |
44 | |
45 | #include "conf.h" |
45 | #include "conf.h" |
46 | |
46 | |
47 | #if TEST_ETHEREMU |
47 | #if TEST_ETHEREMU |
|
|
48 | # define IF_istun |
48 | # include "ether_emu.C" |
49 | # include "ether_emu.C" |
49 | #endif |
50 | #endif |
50 | |
51 | |
51 | const char * |
52 | const char * |
52 | tap_device::info () |
53 | tap_device::info () |