From 7763f07327f3abce839a690df46ced3bfd1d3d09 Mon Sep 17 00:00:00 2001 From: Erwin Nindl Date: Sun, 7 Oct 2007 22:07:03 +0000 Subject: added doxygen generatet documentation --- doc/html/classTunDevice.html | 402 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 402 insertions(+) create mode 100644 doc/html/classTunDevice.html (limited to 'doc/html/classTunDevice.html') diff --git a/doc/html/classTunDevice.html b/doc/html/classTunDevice.html new file mode 100644 index 0000000..5b88069 --- /dev/null +++ b/doc/html/classTunDevice.html @@ -0,0 +1,402 @@ + + +anytun: TunDevice Class Reference + + + + +
+
+
+
+

TunDevice Class Reference

#include <tunDevice.h> +

+List of all members. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

Public Member Functions

 TunDevice (const char *dev, const char *dev_type, const char *ifcfg_lp, const char *ifcfg_rnmp)
 ~TunDevice ()
void open ()
void close ()
bool isOpen ()
short read (Buffer &buf)
int write (Buffer &buf)
char * getActualName ()
u_int32_t getType ()
char * getTypeString ()

Static Public Attributes

static const u_int32_t TYPE_UNDEF = 0
static const u_int32_t TYPE_TUN = 1
static const u_int32_t TYPE_TAP = 2

Private Member Functions

void operator= (const TunDevice &src)
 TunDevice (const TunDevice &src)

Private Attributes

Mutex io_mutex_
tuntap * dev_
+


Constructor & Destructor Documentation

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
TunDevice::TunDevice (const char *  dev,
const char *  dev_type,
const char *  ifcfg_lp,
const char *  ifcfg_rnmp 
)
+
+
+ +

+ +

+

+ +

+
+ + + + + + + + +
TunDevice::~TunDevice (  ) 
+
+
+ +

+ +

+

+ +

+
+ + + + + + + + + +
TunDevice::TunDevice (const TunDevice src  )  [private]
+
+
+ +

+ +

+

+


Member Function Documentation

+ +
+
+ + + + + + + + +
void TunDevice::open (  ) 
+
+
+ +

+ +

+

+ +

+
+ + + + + + + + +
void TunDevice::close (  ) 
+
+
+ +

+ +

+

+ +

+
+ + + + + + + + +
bool TunDevice::isOpen (  ) 
+
+
+ +

+ +

+

+ +

+
+ + + + + + + + + +
short TunDevice::read (Buffer buf  ) 
+
+
+ +

+ +

+

+ +

+
+ + + + + + + + + +
int TunDevice::write (Buffer buf  ) 
+
+
+ +

+ +

+

+ +

+
+ + + + + + + + +
char * TunDevice::getActualName (  ) 
+
+
+ +

+ +

+

+ +

+
+ + + + + + + + +
u_int32_t TunDevice::getType (  ) 
+
+
+ +

+ +

+

+ +

+
+ + + + + + + + +
char * TunDevice::getTypeString (  ) 
+
+
+ +

+ +

+

+ +

+
+ + + + + + + + + +
void TunDevice::operator= (const TunDevice src  )  [private]
+
+
+ +

+ +

+

+


Member Data Documentation

+ +
+
+ + + + +
const u_int32_t TunDevice::TYPE_UNDEF = 0 [static]
+
+
+ +

+ +

+

+ +

+
+ + + + +
const u_int32_t TunDevice::TYPE_TUN = 1 [static]
+
+
+ +

+ +

+

+ +

+
+ + + + +
const u_int32_t TunDevice::TYPE_TAP = 2 [static]
+
+
+ +

+ +

+

+ +

+
+ + + + +
Mutex TunDevice::io_mutex_ [private]
+
+
+ +

+ +

+

+ +

+
+ + + + +
struct tuntap* TunDevice::dev_ [private]
+
+
+ +

+ +

+

+


The documentation for this class was generated from the following files: +
Generated on Sun Oct 7 23:43:50 2007 for anytun by  + +doxygen 1.5.1
+ + -- cgit v1.2.3