summaryrefslogtreecommitdiff
path: root/tunDevice.h
diff options
context:
space:
mode:
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();