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.
23 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 [deleted file]
src/dummy_device.c [new file with mode: 0644]
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 [deleted file]
src/raw_socket_device.c [new file with mode: 0644]
src/solaris/device.c
src/tincd.c
src/uml_device.c [new file with mode: 0644]
src/uml_socket/device.c [deleted file]
src/vde/device.c [deleted file]
src/vde_device.c [new file with mode: 0644]