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-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. |
… | |
… | |
42 | #include "gettext.h" |
43 | #include "gettext.h" |
43 | |
44 | |
44 | #include "conf.h" |
45 | #include "conf.h" |
45 | |
46 | |
46 | #if TEST_ETHEREMU |
47 | #if TEST_ETHEREMU |
|
|
48 | # define IF_istun |
47 | # include "ether_emu.C" |
49 | # include "ether_emu.C" |
48 | #endif |
50 | #endif |
49 | |
51 | |
50 | const char * |
52 | const char * |
51 | tap_device::info () |
53 | tap_device::info () |