projects
/
tinc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Use a mutex to allow the TAP reader to process packets faster on Windows.
[tinc]
/
src
/
net.h
diff --git
a/src/net.h
b/src/net.h
index
0f70a4b
..
ff32b73
100644
(file)
--- a/
src/net.h
+++ b/
src/net.h
@@
-143,6
+143,8
@@
extern void send_mtu_probe(struct node_t *);
#ifndef HAVE_MINGW
#define closesocket(s) close(s)
+#else
+extern CRITICAL_SECTION mutex;
#endif
#endif /* __TINC_NET_H__ */