Tobias Brunner
|
bf32cdfbf6
|
tun_device: Add warning if TUN devices are not supported by platform
|
2013-09-12 01:44:49 +02:00 |
|
Tobias Brunner
|
66aaabf342
|
tun-device: Packets sent over utun devices on Mac OS X have the protocol family prepended
|
2013-06-21 17:03:21 +02:00 |
|
Tobias Brunner
|
c8a56512a6
|
tun-device: Avoid opening /dev/tunX multiple times (e.g. on FreeBSD)
|
2013-06-21 17:03:21 +02:00 |
|
Martin Willi
|
2af65b26d9
|
tun_device: add a getter for the address previously passed to set_address()
|
2013-05-06 16:10:11 +02:00 |
|
Martin Willi
|
60babe0236
|
tun_device: add a getter for the underlying file descriptor
|
2013-05-06 16:10:11 +02:00 |
|
Martin Willi
|
d947d0d61a
|
tun-device: use host_create_netmask() to calculate interface netmask
|
2013-05-06 16:10:11 +02:00 |
|
Martin Willi
|
82c884c015
|
Set sockaddr family on ifreq instead of casted familiy specific sockaddr
Fixes a strict-aliasing rule compiler warning with older gcc.
|
2013-02-06 15:20:32 +01:00 |
|
Tobias Brunner
|
f05b427265
|
Moved debug.[ch] to utils folder
|
2012-10-24 16:00:51 +02:00 |
|
Tobias Brunner
|
fdee6b5f5a
|
Moved packet_t and tun_device_t to networking folder
|
2012-10-24 15:06:18 +02:00 |
|