blob: e1386b24b9e9658ff519d8c7c37fce6a8f4343f5 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
#include "openvpn/tun.h"
class TunDevice
{
public:
TunDevice(string dev_name);
~TunDevice();
int read(uint8_t *buf, int len);
int write(uint8_t *buf, int len);
private:
void operator=(const TunDevice &src);
TunDevice(const TunDevice &src);
struct tuntap *dev_;
}
|