Allow linking with multiple device drivers.
authorGuus Sliepen <guus@tinc-vpn.org>
Sun, 4 Dec 2011 00:20:59 +0000 (01:20 +0100)
committerGuus Sliepen <guus@tinc-vpn.org>
Sun, 4 Dec 2011 00:20:59 +0000 (01:20 +0100)
commit178e52f76ef4ba40748c13ea7e518837394d6dbc
tree002ea9f205594e5288f08ba4a1efb005f6e613d7
parent5672863e59e6a114ac6b66de98254b14266c0e61
Allow linking with multiple device drivers.

Apart from the platform specific tun/tap driver, link with the dummy and
raw_socket devices, and optionally with support for UML and VDE devices.
At runtime, the DeviceType option can be used to select which driver to
use.
19 files changed:
configure.in
doc/tinc.conf.5.in
doc/tinc.texi
src/Makefile.am
src/bsd/device.c
src/cygwin/device.c
src/device.h
src/dummy_device.c [moved from src/dummy/device.c with 74% similarity]
src/linux/device.c
src/mingw/device.c
src/net.c
src/net_packet.c
src/net_setup.c
src/process.c
src/raw_socket_device.c [moved from src/raw_socket/device.c with 87% similarity]
src/solaris/device.c
src/tincd.c
src/uml_device.c [moved from src/uml_socket/device.c with 94% similarity]
src/vde_device.c [moved from src/vde/device.c with 89% similarity]