summaryrefslogtreecommitdiff
path: root/tunDevice.h
diff options
context:
space:
mode:
authorChristian Pointner <equinox@anytun.org>2007-06-20 18:56:52 +0000
committerChristian Pointner <equinox@anytun.org>2007-06-20 18:56:52 +0000
commitd5a4ad9dddf7b057f9ccbbb0c349d37ec425fc26 (patch)
tree960a83fee909f14ff235b515f75d5cc20411d85f /tunDevice.h
parentbegin multi threading (diff)
added syslog class
added threads for receiving und sending
Diffstat (limited to 'tunDevice.h')
-rw-r--r--tunDevice.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/tunDevice.h b/tunDevice.h
index 6fdcc2d..ee8b45d 100644
--- a/tunDevice.h
+++ b/tunDevice.h
@@ -32,6 +32,7 @@
#define _TUNDEVICE_H_
#include "buffer.h"
+#include "threadUtils.hpp"
class TunDevice
{
@@ -53,6 +54,7 @@ private:
void operator=(const TunDevice &src);
TunDevice(const TunDevice &src);
+ Mutex io_mutex_;
struct tuntap *dev_;
};