summaryrefslogtreecommitdiff
path: root/tunDevice.h
diff options
context:
space:
mode:
authorChristian Pointner <equinox@anytun.org>2008-02-24 00:07:01 +0000
committerChristian Pointner <equinox@anytun.org>2008-02-24 00:07:01 +0000
commit97d40fa80b08194c043a64d2352ca2cbc9be2873 (patch)
tree1819295d33262b386e2c333258bc9f6fd1c07a0b /tunDevice.h
parent- keyderivation and cipher should work now (diff)
bugfix@ sender and receiver reset packet size at begin of loop
bugfix@ keyDerivation key_derivation_rate
Diffstat (limited to 'tunDevice.h')
-rw-r--r--tunDevice.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/tunDevice.h b/tunDevice.h
index 7e4493c..af08132 100644
--- a/tunDevice.h
+++ b/tunDevice.h
@@ -48,8 +48,8 @@ public:
void close();
bool isOpen();
- short read(Buffer& buf);
- int write(Buffer& buf);
+ short read(u_int8_t* buf, u_int32_t len);
+ int write(u_int8_t* buf, u_int32_t len);
char* getActualName();
u_int32_t getType();