diff options
author | Christian Pointner <equinox@anytun.org> | 2009-01-21 01:47:19 +0000 |
---|---|---|
committer | Christian Pointner <equinox@anytun.org> | 2009-01-21 01:47:19 +0000 |
commit | 8c548fa566d2c19f2f31f8ed5f5c0917a232441d (patch) | |
tree | 49092cd318d8354bbb3de5a3dd65a2689f93c4f2 /src/tunDevice.h | |
parent | tun mode works now on windows (diff) |
Windows tunDevice cleanup
Diffstat (limited to 'src/tunDevice.h')
-rw-r--r-- | src/tunDevice.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/tunDevice.h b/src/tunDevice.h index d680662..85f6a35 100644 --- a/src/tunDevice.h +++ b/src/tunDevice.h @@ -82,6 +82,9 @@ private: #ifndef _MSC_VER int fd_; #else + bool getAdapter(std::string const& dev_name); + DWORD performIoControl(DWORD controlCode, LPVOID inBuffer, DWORD inBufferSize, + LPVOID outBuffer, DWORD outBufferSize); HANDLE handle_; OVERLAPPED roverlapped_, woverlapped_; #endif |