From 809b470ce90e53c532dfebc44c2e7c169c33402f Mon Sep 17 00:00:00 2001 From: Erwin Nindl Date: Fri, 7 Dec 2007 17:46:13 +0000 Subject: removed doxygen folders from svn --- doc/html/tunDevice_8h-source.html | 90 --------------------------------------- 1 file changed, 90 deletions(-) delete mode 100644 doc/html/tunDevice_8h-source.html (limited to 'doc/html/tunDevice_8h-source.html') diff --git a/doc/html/tunDevice_8h-source.html b/doc/html/tunDevice_8h-source.html deleted file mode 100644 index 076134d..0000000 --- a/doc/html/tunDevice_8h-source.html +++ /dev/null @@ -1,90 +0,0 @@ - - -anytun: tunDevice.h Source File - - - - -
-
-
-
-

tunDevice.h

Go to the documentation of this file.
00001 /*
-00002  *  anytun
-00003  *
-00004  *  The secure anycast tunneling protocol (satp) defines a protocol used
-00005  *  for communication between any combination of unicast and anycast
-00006  *  tunnel endpoints.  It has less protocol overhead than IPSec in Tunnel
-00007  *  mode and allows tunneling of every ETHER TYPE protocol (e.g.
-00008  *  ethernet, ip, arp ...). satp directly includes cryptography and
-00009  *  message authentication based on the methodes used by SRTP.  It is
-00010  *  intended to deliver a generic, scaleable and secure solution for
-00011  *  tunneling and relaying of packets of any protocol.
-00012  *
-00013  *
-00014  *  Copyright (C) 2007 anytun.org <satp@wirdorange.org>
-00015  *
-00016  *  This program is free software; you can redistribute it and/or modify
-00017  *  it under the terms of the GNU General Public License version 2
-00018  *  as published by the Free Software Foundation.
-00019  *
-00020  *  This program is distributed in the hope that it will be useful,
-00021  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
-00022  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-00023  *  GNU General Public License for more details.
-00024  *
-00025  *  You should have received a copy of the GNU General Public License
-00026  *  along with this program (see the file COPYING included with this
-00027  *  distribution); if not, write to the Free Software Foundation, Inc.,
-00028  *  59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
-00029  */
-00030 
-00031 #ifndef _TUNDEVICE_H_
-00032 #define _TUNDEVICE_H_
-00033 
-00034 #include "buffer.h"
-00035 #include "threadUtils.hpp"
-00036 
-00037 class TunDevice
-00038 {
-00039 public:
-00040   static const u_int32_t TYPE_UNDEF = 0;
-00041   static const u_int32_t TYPE_TUN = 1;
-00042   static const u_int32_t TYPE_TAP = 2;
-00043 
-00044   TunDevice(const char* dev,const char* dev_type, const char* ifcfg_lp, const char* ifcfg_rnmp);
-00045   ~TunDevice();
-00046   
-00047   void open();
-00048   void close();
-00049   bool isOpen();
-00050 
-00051   short read(Buffer& buf);
-00052   int write(Buffer& buf);
-00053 
-00054   char* getActualName();
-00055   u_int32_t getType();
-00056   const char* getTypeString();
-00057 
-00058 private:
-00059   void operator=(const TunDevice &src);
-00060   TunDevice(const TunDevice &src);
-00061 
-00062   Mutex io_mutex_;
-00063   struct tuntap *dev_;
-00064 };
-00065 
-00066 #endif
-

Generated on Mon Dec 3 11:49:24 2007 for anytun by  - -doxygen 1.5.1
- - -- cgit v1.2.3