|
OpenVPN 3 Core Library
|
#include <windows.h>#include <string>#include <type_traits>#include <openvpn/buffer/bufhex.hpp>#include <openvpn/common/rc.hpp>#include <openvpn/win/scoped_handle.hpp>#include <openvpn/win/event.hpp>Go to the source code of this file.
Classes | |
| struct | openvpn::TunWin::TUN_RING |
| struct | openvpn::TunWin::TUN_REGISTER_RINGS |
| class | openvpn::TunWin::RingBuffer |
Namespaces | |
| namespace | openvpn |
| namespace | openvpn::TunWin |
| DNS utilities for Windows. | |
Macros | |
| #define | TUN_IOCTL_REGISTER_RINGS CTL_CODE(51820U, 0x970U, METHOD_BUFFERED, FILE_READ_DATA | FILE_WRITE_DATA) |
| #define | TUN_IOCTL_FORCE_CLOSE_HANDLES CTL_CODE(51820U, 0x971U, METHOD_NEITHER, FILE_READ_DATA | FILE_WRITE_DATA) |
| #define | WINTUN_RING_CAPACITY 0x800000 |
| #define | WINTUN_RING_TRAILING_BYTES 0x10000 |
| #define | WINTUN_RING_FRAMING_SIZE 12 |
| #define | WINTUN_MAX_PACKET_SIZE 0xffff |
| #define | WINTUN_PACKET_ALIGN 4 |
Typedefs | |
| typedef openvpn_io::windows::object_handle | openvpn::TunWin::AsioEvent |
| #define TUN_IOCTL_FORCE_CLOSE_HANDLES CTL_CODE(51820U, 0x971U, METHOD_NEITHER, FILE_READ_DATA | FILE_WRITE_DATA) |
Definition at line 26 of file ringbuffer.hpp.
| #define TUN_IOCTL_REGISTER_RINGS CTL_CODE(51820U, 0x970U, METHOD_BUFFERED, FILE_READ_DATA | FILE_WRITE_DATA) |
Definition at line 25 of file ringbuffer.hpp.
| #define WINTUN_MAX_PACKET_SIZE 0xffff |
Definition at line 31 of file ringbuffer.hpp.
| #define WINTUN_PACKET_ALIGN 4 |
Definition at line 32 of file ringbuffer.hpp.
| #define WINTUN_RING_CAPACITY 0x800000 |
Definition at line 28 of file ringbuffer.hpp.
| #define WINTUN_RING_FRAMING_SIZE 12 |
Definition at line 30 of file ringbuffer.hpp.
| #define WINTUN_RING_TRAILING_BYTES 0x10000 |
Definition at line 29 of file ringbuffer.hpp.