tinc/src
Guus Sliepen b47c17bcde Use a mutex to allow the TAP reader to process packets faster on Windows.
The TAP-Win32 device is not a socket, and select() under Windows only works
with sockets.  Tinc used a separate thread to read from the TAP-Win32 device,
and passed this via a local socket to the main thread which could then select()
from it. We now use a global mutex, which is only unlocked when the main thread
is waiting for select(), to allow the TAP reader thread to process packets
directly.
2009-09-15 22:59:01 +02:00
..
bsd Add support for iPhones and recent iPods. 2009-09-10 19:32:54 +02:00
cygwin Update THANKS and copyright information. 2009-03-05 14:12:36 +01:00
linux src/linux/device.c: Fix segfault when running without `--net'. 2009-05-27 10:55:09 +02:00
mingw Use a mutex to allow the TAP reader to process packets faster on Windows. 2009-09-15 22:59:01 +02:00
raw_socket Update THANKS and copyright information. 2009-03-05 14:12:36 +01:00
solaris Replace asprintf() by xasprintf(). 2009-09-08 18:18:36 +02:00
uml_socket Replace asprintf() by xasprintf(). 2009-09-08 18:18:36 +02:00
conf.c Replace asprintf() by xasprintf(). 2009-09-08 18:18:36 +02:00
conf.h Update THANKS and copyright information. 2009-03-05 14:12:36 +01:00
connection.c Apparently it's impolite to ask GCC to subtract two pointers. 2009-09-13 14:08:59 +02:00
connection.h Ensure tinc compiles with gcc -std=c99. 2009-09-08 21:45:24 +02:00
device.h Update copyright notices, remove Ivo's email address. 2006-04-26 13:52:58 +00:00
edge.c Update copyright notices, remove Ivo's email address. 2006-04-26 13:52:58 +00:00
edge.h Update copyright notices, remove Ivo's email address. 2006-04-26 13:52:58 +00:00
event.c Update THANKS and copyright information. 2009-03-05 14:12:36 +01:00
event.h Update THANKS and copyright information. 2009-03-05 14:12:36 +01:00
graph.c Replace asprintf() by xasprintf(). 2009-09-08 18:18:36 +02:00
graph.h Added graph dumping ability based on Markus Goetz's patch. 2006-11-11 14:11:16 +00:00
logger.c Update copyright notices, remove Ivo's email address. 2006-04-26 13:52:58 +00:00
logger.h Use the event log under Windows. 2003-08-17 09:04:00 +00:00
Makefile.am Add support for iPhones and recent iPods. 2009-09-10 19:32:54 +02:00
meta.c Don't try to send MTU probes to unreachable nodes. 2009-06-11 18:36:08 +02:00
meta.h Update copyright notices, remove Ivo's email address. 2006-04-26 13:52:58 +00:00
net.c Use a mutex to allow the TAP reader to process packets faster on Windows. 2009-09-15 22:59:01 +02:00
net.h Use a mutex to allow the TAP reader to process packets faster on Windows. 2009-09-15 22:59:01 +02:00
net_packet.c Use only rand(), not random(). 2009-09-14 23:06:00 +02:00
net_setup.c Raise default crypto algorithms to AES256 and SHA256. 2009-09-15 12:08:05 +02:00
net_socket.c Replace asprintf() by xasprintf(). 2009-09-08 18:18:36 +02:00
netutl.c Replace asprintf() by xasprintf(). 2009-09-08 18:18:36 +02:00
netutl.h Add declaration for sockaddrcmp_noport(). 2009-05-25 12:19:08 +02:00
node.c Remove superfluous call to avl_delete(). 2009-09-13 14:07:40 +02:00
node.h Ensure tinc compiles with gcc -std=c99. 2009-09-08 21:45:24 +02:00
process.c Use access() instead of stat() for checking whether scripts exist. 2009-09-15 00:36:07 +02:00
process.h Update copyright notices, remove Ivo's email address. 2006-04-26 13:52:58 +00:00
protocol.c Replace asprintf() by xasprintf(). 2009-09-08 18:18:36 +02:00
protocol.h Handle UDP packets from different and ports than advertised. 2009-04-03 01:05:23 +02:00
protocol_auth.c Use xrealloc instead of if(ptr) ptr = xmalloc(). 2009-05-24 19:35:51 +02:00
protocol_edge.c Use only rand(), not random(). 2009-09-14 23:06:00 +02:00
protocol_key.c Use only rand(), not random(). 2009-09-14 23:06:00 +02:00
protocol_misc.c Also do not use drand48(), it is not available on Windows. 2009-09-14 23:28:28 +02:00
protocol_subnet.c Use only rand(), not random(). 2009-09-14 23:06:00 +02:00
route.c Handle unicast packets larger than PMTU in switch mode. 2009-09-12 14:19:36 +02:00
route.h Update copyright notices, remove Ivo's email address. 2006-04-26 13:52:58 +00:00
subnet.c Put Subnet weight in a separate environment variable. 2009-09-12 13:34:11 +02:00
subnet.h Update THANKS and copyright information. 2009-03-05 14:12:36 +01:00
tincd.c Use a mutex to allow the TAP reader to process packets faster on Windows. 2009-09-15 22:59:01 +02:00