diff options
324 files changed, 28612 insertions, 0 deletions
diff --git a/doc/html/PracticalSocket_8cpp.html b/doc/html/PracticalSocket_8cpp.html new file mode 100644 index 0000000..389ebd3 --- /dev/null +++ b/doc/html/PracticalSocket_8cpp.html @@ -0,0 +1,96 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> +<title>anytun: PracticalSocket.cpp File Reference</title> +<link href="doxygen.css" rel="stylesheet" type="text/css"> +<link href="tabs.css" rel="stylesheet" type="text/css"> +</head><body> +<!-- Generated by Doxygen 1.5.1 --> +<div class="tabs"> + <ul> + <li><a href="main.html"><span>Main Page</span></a></li> + <li><a href="namespaces.html"><span>Namespaces</span></a></li> + <li><a href="annotated.html"><span>Classes</span></a></li> + <li id="current"><a href="files.html"><span>Files</span></a></li> + </ul></div> +<div class="tabs"> + <ul> + <li><a href="files.html"><span>File List</span></a></li> + <li><a href="globals.html"><span>File Members</span></a></li> + </ul></div> +<h1>PracticalSocket.cpp File Reference</h1><code>#include "<a class="el" href="PracticalSocket_8h-source.html">PracticalSocket.h</a>"</code><br> +<code>#include <sys/types.h></code><br> +<code>#include <sys/socket.h></code><br> +<code>#include <netdb.h></code><br> +<code>#include <arpa/inet.h></code><br> +<code>#include <unistd.h></code><br> +<code>#include <netinet/in.h></code><br> +<code>#include <errno.h></code><br> +<table border="0" cellpadding="0" cellspacing="0"> +<tr><td></td></tr> +<tr><td colspan="2"><br><h2>Namespaces</h2></td></tr> +<tr><td class="memItemLeft" nowrap align="right" valign="top">namespace </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacestd.html">std</a></td></tr> + +<tr><td colspan="2"><br><h2>Typedefs</h2></td></tr> +<tr><td class="memItemLeft" nowrap align="right" valign="top">typedef void </td><td class="memItemRight" valign="bottom"><a class="el" href="PracticalSocket_8cpp.html#ba7a57aadc5c75eaab8ee698d0fa6608">raw_type</a></td></tr> + +<tr><td colspan="2"><br><h2>Functions</h2></td></tr> +<tr><td class="memItemLeft" nowrap align="right" valign="top">static void </td><td class="memItemRight" valign="bottom"><a class="el" href="PracticalSocket_8cpp.html#155e03535e1d5c1f5df7ceafe63dbdb0">fillAddr</a> (const string &address, unsigned short port, sockaddr_in &addr)</td></tr> + +</table> +<hr><h2>Typedef Documentation</h2> +<a class="anchor" name="ba7a57aadc5c75eaab8ee698d0fa6608"></a><!-- doxytag: member="PracticalSocket.cpp::raw_type" ref="ba7a57aadc5c75eaab8ee698d0fa6608" args="" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">typedef void <a class="el" href="PracticalSocket_8cpp.html#ba7a57aadc5c75eaab8ee698d0fa6608">raw_type</a> </td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<hr><h2>Function Documentation</h2> +<a class="anchor" name="155e03535e1d5c1f5df7ceafe63dbdb0"></a><!-- doxytag: member="PracticalSocket.cpp::fillAddr" ref="155e03535e1d5c1f5df7ceafe63dbdb0" args="(const string &address, unsigned short port, sockaddr_in &addr)" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">static void fillAddr </td> + <td>(</td> + <td class="paramtype">const string & </td> + <td class="paramname"> <em>address</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype">unsigned short </td> + <td class="paramname"> <em>port</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype">sockaddr_in & </td> + <td class="paramname"> <em>addr</em></td><td> </td> + </tr> + <tr> + <td></td> + <td>)</td> + <td></td><td></td><td width="100%"><code> [static]</code></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<hr size="1"><address style="align: right;"><small>Generated on Sun Oct 7 23:43:49 2007 for anytun by +<a href="http://www.doxygen.org/index.html"> +<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address> +</body> +</html> diff --git a/doc/html/PracticalSocket_8h-source.html b/doc/html/PracticalSocket_8h-source.html new file mode 100644 index 0000000..6bb2a03 --- /dev/null +++ b/doc/html/PracticalSocket_8h-source.html @@ -0,0 +1,197 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> +<title>anytun: PracticalSocket.h Source File</title> +<link href="doxygen.css" rel="stylesheet" type="text/css"> +<link href="tabs.css" rel="stylesheet" type="text/css"> +</head><body> +<!-- Generated by Doxygen 1.5.1 --> +<div class="tabs"> + <ul> + <li><a href="main.html"><span>Main Page</span></a></li> + <li><a href="namespaces.html"><span>Namespaces</span></a></li> + <li><a href="annotated.html"><span>Classes</span></a></li> + <li id="current"><a href="files.html"><span>Files</span></a></li> + </ul></div> +<div class="tabs"> + <ul> + <li><a href="files.html"><span>File List</span></a></li> + <li><a href="globals.html"><span>File Members</span></a></li> + </ul></div> +<h1>PracticalSocket.h</h1><a href="PracticalSocket_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">/*</span> +<a name="l00002"></a>00002 <span class="comment"> * anytun</span> +<a name="l00003"></a>00003 <span class="comment"> *</span> +<a name="l00004"></a>00004 <span class="comment"> * The secure anycast tunneling protocol (satp) defines a protocol used</span> +<a name="l00005"></a>00005 <span class="comment"> * for communication between any combination of unicast and anycast</span> +<a name="l00006"></a>00006 <span class="comment"> * tunnel endpoints. It has less protocol overhead than IPSec in Tunnel</span> +<a name="l00007"></a>00007 <span class="comment"> * mode and allows tunneling of every ETHER TYPE protocol (e.g.</span> +<a name="l00008"></a>00008 <span class="comment"> * ethernet, ip, arp ...). satp directly includes cryptography and</span> +<a name="l00009"></a>00009 <span class="comment"> * message authentication based on the methodes used by SRTP. It is</span> +<a name="l00010"></a>00010 <span class="comment"> * intended to deliver a generic, scaleable and secure solution for</span> +<a name="l00011"></a>00011 <span class="comment"> * tunneling and relaying of packets of any protocol.</span> +<a name="l00012"></a>00012 <span class="comment"> *</span> +<a name="l00013"></a>00013 <span class="comment"> *</span> +<a name="l00014"></a>00014 <span class="comment"> * Copyright (C) 2007 anytun.org <satp@wirdorange.org></span> +<a name="l00015"></a>00015 <span class="comment"> *</span> +<a name="l00016"></a>00016 <span class="comment"> * This program is free software; you can redistribute it and/or modify</span> +<a name="l00017"></a>00017 <span class="comment"> * it under the terms of the GNU General Public License version 2</span> +<a name="l00018"></a>00018 <span class="comment"> * as published by the Free Software Foundation.</span> +<a name="l00019"></a>00019 <span class="comment"> *</span> +<a name="l00020"></a>00020 <span class="comment"> * This program is distributed in the hope that it will be useful,</span> +<a name="l00021"></a>00021 <span class="comment"> * but WITHOUT ANY WARRANTY; without even the implied warranty of</span> +<a name="l00022"></a>00022 <span class="comment"> * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the</span> +<a name="l00023"></a>00023 <span class="comment"> * GNU General Public License for more details.</span> +<a name="l00024"></a>00024 <span class="comment"> *</span> +<a name="l00025"></a>00025 <span class="comment"> * You should have received a copy of the GNU General Public License</span> +<a name="l00026"></a>00026 <span class="comment"> * along with this program (see the file COPYING included with this</span> +<a name="l00027"></a>00027 <span class="comment"> * distribution); if not, write to the Free Software Foundation, Inc.,</span> +<a name="l00028"></a>00028 <span class="comment"> * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA</span> +<a name="l00029"></a>00029 <span class="comment"> */</span> +<a name="l00030"></a>00030 +<a name="l00031"></a>00031 <span class="comment">// this is from: http://cs.ecs.baylor.edu/~donahoo/practical/CSockets/practical/</span> +<a name="l00032"></a>00032 <span class="comment">// and this is their header:</span> +<a name="l00033"></a>00033 <span class="comment">/*</span> +<a name="l00034"></a>00034 <span class="comment"> * C++ sockets on Unix and Windows</span> +<a name="l00035"></a>00035 <span class="comment"> * Copyright (C) 2002</span> +<a name="l00036"></a>00036 <span class="comment"> *</span> +<a name="l00037"></a>00037 <span class="comment"> * This program is free software; you can redistribute it and/or modify</span> +<a name="l00038"></a>00038 <span class="comment"> * it under the terms of the GNU General Public License as published by</span> +<a name="l00039"></a>00039 <span class="comment"> * the Free Software Foundation; either version 2 of the License, or</span> +<a name="l00040"></a>00040 <span class="comment"> * (at your option) any later version.</span> +<a name="l00041"></a>00041 <span class="comment"> *</span> +<a name="l00042"></a>00042 <span class="comment"> * This program is distributed in the hope that it will be useful,</span> +<a name="l00043"></a>00043 <span class="comment"> * but WITHOUT ANY WARRANTY; without even the implied warranty of</span> +<a name="l00044"></a>00044 <span class="comment"> * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the</span> +<a name="l00045"></a>00045 <span class="comment"> * GNU General Public License for more details.</span> +<a name="l00046"></a>00046 <span class="comment"> *</span> +<a name="l00047"></a>00047 <span class="comment"> * You should have received a copy of the GNU General Public License</span> +<a name="l00048"></a>00048 <span class="comment"> * along with this program; if not, write to the Free Software</span> +<a name="l00049"></a>00049 <span class="comment"> * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA</span> +<a name="l00050"></a>00050 <span class="comment"> */</span> +<a name="l00051"></a>00051 +<a name="l00052"></a>00052 <span class="preprocessor">#ifndef __PRACTICALSOCKET_INCLUDED__</span> +<a name="l00053"></a>00053 <span class="preprocessor"></span><span class="preprocessor">#define __PRACTICALSOCKET_INCLUDED__</span> +<a name="l00054"></a>00054 <span class="preprocessor"></span> +<a name="l00055"></a>00055 <span class="preprocessor">#include <string></span> <span class="comment">// For string</span> +<a name="l00056"></a>00056 <span class="preprocessor">#include <exception></span> <span class="comment">// For exception class</span> +<a name="l00057"></a>00057 +<a name="l00058"></a>00058 <span class="keyword">using namespace </span>std; +<a name="l00059"></a>00059 +<a name="l00063"></a><a class="code" href="classSocketException.html">00063</a> <span class="keyword">class </span><a class="code" href="classSocketException.html">SocketException</a> : <span class="keyword">public</span> exception { +<a name="l00064"></a>00064 <span class="keyword">public</span>: +<a name="l00071"></a>00071 <a class="code" href="classSocketException.html#bb5bcecd9d9e20868c237ec5a82cf5c3">SocketException</a>(<span class="keyword">const</span> string &message, <span class="keywordtype">bool</span> inclSysMsg = <span class="keyword">false</span>) <span class="keywordflow">throw</span>(); +<a name="l00072"></a>00072 +<a name="l00076"></a>00076 <a class="code" href="classSocketException.html#659557c899329aea01977c980c4db9b9">~SocketException</a>() <span class="keywordflow">throw</span>(); +<a name="l00077"></a>00077 +<a name="l00082"></a>00082 <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="classSocketException.html#534b0625abe62cad2bae94758aa6eb42">what</a>() <span class="keyword">const</span> <span class="keywordflow">throw</span>(); +<a name="l00083"></a>00083 +<a name="l00084"></a>00084 <span class="keyword">private</span>: +<a name="l00085"></a><a class="code" href="classSocketException.html#dcfeba6d4ce5754b48ae9d37b07a7e87">00085</a> string <a class="code" href="classSocketException.html#dcfeba6d4ce5754b48ae9d37b07a7e87">userMessage</a>; <span class="comment">// Exception message</span> +<a name="l00086"></a>00086 }; +<a name="l00087"></a>00087 +<a name="l00091"></a><a class="code" href="classSocket.html">00091</a> <span class="keyword">class </span><a class="code" href="classSocket.html">Socket</a> { +<a name="l00092"></a>00092 <span class="keyword">public</span>: +<a name="l00096"></a>00096 <a class="code" href="classSocket.html#eac4eb6379a543d38ed88977d3b6630a">~Socket</a>(); +<a name="l00097"></a>00097 +<a name="l00103"></a>00103 string <a class="code" href="classSocket.html#0fca07bdfa97874fba1a17995ed7cda3">getLocalAddress</a>() <span class="keywordflow">throw</span>(<a class="code" href="classSocketException.html">SocketException</a>); +<a name="l00104"></a>00104 +<a name="l00110"></a>00110 <span class="keywordtype">unsigned</span> <span class="keywordtype">short</span> <a class="code" href="classSocket.html#e01143b667d69483a2f53d0f4ce7eeed">getLocalPort</a>() <span class="keywordflow">throw</span>(<a class="code" href="classSocketException.html">SocketException</a>); +<a name="l00111"></a>00111 +<a name="l00118"></a>00118 <span class="keywordtype">void</span> <a class="code" href="classSocket.html#773fe4a35146002de76952e16fdebcfa">setLocalPort</a>(<span class="keywordtype">unsigned</span> <span class="keywordtype">short</span> localPort) <span class="keywordflow">throw</span>(<a class="code" href="classSocketException.html">SocketException</a>); +<a name="l00119"></a>00119 +<a name="l00128"></a>00128 <span class="keywordtype">void</span> <a class="code" href="classSocket.html#a6b986410bc2e606ba27d01fa7cb8836">setLocalAddressAndPort</a>(<span class="keyword">const</span> string &localAddress, +<a name="l00129"></a>00129 <span class="keywordtype">unsigned</span> <span class="keywordtype">short</span> localPort = 0) <span class="keywordflow">throw</span>(<a class="code" href="classSocketException.html">SocketException</a>); +<a name="l00130"></a>00130 +<a name="l00144"></a>00144 <span class="keyword">static</span> <span class="keywordtype">void</span> <a class="code" href="classSocket.html#c5060aeb501044044351d5a85b3fc95f">cleanUp</a>() <span class="keywordflow">throw</span>(<a class="code" href="classSocketException.html">SocketException</a>); +<a name="l00145"></a>00145 +<a name="l00152"></a>00152 <span class="keyword">static</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">short</span> <a class="code" href="classSocket.html#982c63b25c5b756321a74074a275adbc">resolveService</a>(<span class="keyword">const</span> string &service, +<a name="l00153"></a>00153 <span class="keyword">const</span> string &protocol = <span class="stringliteral">"tcp"</span>); +<a name="l00154"></a>00154 +<a name="l00155"></a>00155 <span class="keyword">private</span>: +<a name="l00156"></a>00156 <span class="comment">// Prevent the user from trying to use value semantics on this object</span> +<a name="l00157"></a>00157 <a class="code" href="classSocket.html#656389d58fa00729ff70c4e159623f5c">Socket</a>(<span class="keyword">const</span> <a class="code" href="classSocket.html">Socket</a> &sock); +<a name="l00158"></a>00158 <span class="keywordtype">void</span> <a class="code" href="classSocket.html#1ef8f4c222c32756c8b1537323702df8">operator=</a>(<span class="keyword">const</span> <a class="code" href="classSocket.html">Socket</a> &sock); +<a name="l00159"></a>00159 +<a name="l00160"></a>00160 <span class="keyword">protected</span>: +<a name="l00161"></a><a class="code" href="classSocket.html#d5704d2fdfb062139e1f88831617bbfb">00161</a> <span class="keywordtype">int</span> <a class="code" href="classSocket.html#d5704d2fdfb062139e1f88831617bbfb">sockDesc</a>; <span class="comment">// Socket descriptor</span> +<a name="l00162"></a>00162 <a class="code" href="classSocket.html#656389d58fa00729ff70c4e159623f5c">Socket</a>(<span class="keywordtype">int</span> type, <span class="keywordtype">int</span> protocol) <span class="keywordflow">throw</span>(<a class="code" href="classSocketException.html">SocketException</a>); +<a name="l00163"></a>00163 <a class="code" href="classSocket.html#656389d58fa00729ff70c4e159623f5c">Socket</a>(<span class="keywordtype">int</span> <a class="code" href="classSocket.html#d5704d2fdfb062139e1f88831617bbfb">sockDesc</a>); +<a name="l00164"></a>00164 }; +<a name="l00165"></a>00165 +<a name="l00169"></a><a class="code" href="classCommunicatingSocket.html">00169</a> <span class="keyword">class </span><a class="code" href="classCommunicatingSocket.html">CommunicatingSocket</a> : <span class="keyword">public</span> <a class="code" href="classSocket.html">Socket</a> { +<a name="l00170"></a>00170 <span class="keyword">public</span>: +<a name="l00178"></a>00178 <span class="keywordtype">void</span> <a class="code" href="classCommunicatingSocket.html#9192374d9baab8e189860aa8d913683c">connect</a>(<span class="keyword">const</span> string &foreignAddress, <span class="keywordtype">unsigned</span> <span class="keywordtype">short</span> foreignPort) +<a name="l00179"></a>00179 <span class="keywordflow">throw</span>(<a class="code" href="classSocketException.html">SocketException</a>); +<a name="l00180"></a>00180 +<a name="l00188"></a>00188 <span class="keywordtype">void</span> <a class="code" href="classCommunicatingSocket.html#ca4e86085c064641e86ae24ea29bbb94">send</a>(<span class="keyword">const</span> <span class="keywordtype">void</span> *buffer, <span class="keywordtype">int</span> bufferLen) <span class="keywordflow">throw</span>(<a class="code" href="classSocketException.html">SocketException</a>); +<a name="l00189"></a>00189 +<a name="l00198"></a>00198 <span class="keywordtype">int</span> <a class="code" href="classCommunicatingSocket.html#7cf1fd470c0060171b68df9f68c7bd01">recv</a>(<span class="keywordtype">void</span> *buffer, <span class="keywordtype">int</span> bufferLen) <span class="keywordflow">throw</span>(<a class="code" href="classSocketException.html">SocketException</a>); +<a name="l00199"></a>00199 +<a name="l00205"></a>00205 string <a class="code" href="classCommunicatingSocket.html#13f9eca30ef56836cf23c163c848c09e">getForeignAddress</a>() <span class="keywordflow">throw</span>(<a class="code" href="classSocketException.html">SocketException</a>); +<a name="l00206"></a>00206 +<a name="l00212"></a>00212 <span class="keywordtype">unsigned</span> <span class="keywordtype">short</span> <a class="code" href="classCommunicatingSocket.html#184fbb4775184b87ebd886a5587eb1a3">getForeignPort</a>() <span class="keywordflow">throw</span>(<a class="code" href="classSocketException.html">SocketException</a>); +<a name="l00213"></a>00213 +<a name="l00214"></a>00214 <span class="keyword">protected</span>: +<a name="l00215"></a>00215 <a class="code" href="classCommunicatingSocket.html#0017517b8d6e761fde0c40475af3b2ab">CommunicatingSocket</a>(<span class="keywordtype">int</span> type, <span class="keywordtype">int</span> protocol) <span class="keywordflow">throw</span>(<a class="code" href="classSocketException.html">SocketException</a>); +<a name="l00216"></a>00216 <a class="code" href="classCommunicatingSocket.html#0017517b8d6e761fde0c40475af3b2ab">CommunicatingSocket</a>(<span class="keywordtype">int</span> newConnSD); +<a name="l00217"></a>00217 }; +<a name="l00218"></a>00218 +<a name="l00222"></a><a class="code" href="classTCPSocket.html">00222</a> <span class="keyword">class </span><a class="code" href="classTCPSocket.html">TCPSocket</a> : <span class="keyword">public</span> <a class="code" href="classCommunicatingSocket.html">CommunicatingSocket</a> { +<a name="l00223"></a>00223 <span class="keyword">public</span>: +<a name="l00228"></a>00228 <a class="code" href="classTCPSocket.html#7a50427a401d1a6f3209d51818bad901">TCPSocket</a>() <span class="keywordflow">throw</span>(<a class="code" href="classSocketException.html">SocketException</a>); +<a name="l00229"></a>00229 +<a name="l00237"></a>00237 <a class="code" href="classTCPSocket.html#7a50427a401d1a6f3209d51818bad901">TCPSocket</a>(<span class="keyword">const</span> string &foreignAddress, <span class="keywordtype">unsigned</span> <span class="keywordtype">short</span> foreignPort) +<a name="l00238"></a>00238 <span class="keywordflow">throw</span>(<a class="code" href="classSocketException.html">SocketException</a>); +<a name="l00239"></a>00239 +<a name="l00240"></a>00240 <span class="keyword">private</span>: +<a name="l00241"></a>00241 <span class="comment">// Access for TCPServerSocket::accept() connection creation</span> +<a name="l00242"></a><a class="code" href="classTCPSocket.html#e8bcdc0d25881a17b23e557296236fa9">00242</a> <span class="keyword">friend</span> <span class="keyword">class </span><a class="code" href="classTCPServerSocket.html">TCPServerSocket</a>; +<a name="l00243"></a>00243 <a class="code" href="classTCPSocket.html#7a50427a401d1a6f3209d51818bad901">TCPSocket</a>(<span class="keywordtype">int</span> newConnSD); +<a name="l00244"></a>00244 }; +<a name="l00245"></a>00245 +<a name="l00249"></a><a class="code" href="classTCPServerSocket.html">00249</a> <span class="keyword">class </span><a class="code" href="classTCPServerSocket.html">TCPServerSocket</a> : <span class="keyword">public</span> <a class="code" href="classSocket.html">Socket</a> { +<a name="l00250"></a>00250 <span class="keyword">public</span>: +<a name="l00260"></a>00260 <a class="code" href="classTCPServerSocket.html#e559a3154527d09fe14a8e5ee1f53d7a">TCPServerSocket</a>(<span class="keywordtype">unsigned</span> <span class="keywordtype">short</span> localPort, <span class="keywordtype">int</span> queueLen = 5) +<a name="l00261"></a>00261 <span class="keywordflow">throw</span>(<a class="code" href="classSocketException.html">SocketException</a>); +<a name="l00262"></a>00262 +<a name="l00272"></a>00272 <a class="code" href="classTCPServerSocket.html#e559a3154527d09fe14a8e5ee1f53d7a">TCPServerSocket</a>(<span class="keyword">const</span> string &localAddress, <span class="keywordtype">unsigned</span> <span class="keywordtype">short</span> localPort, +<a name="l00273"></a>00273 <span class="keywordtype">int</span> queueLen = 5) <span class="keywordflow">throw</span>(<a class="code" href="classSocketException.html">SocketException</a>); +<a name="l00274"></a>00274 +<a name="l00280"></a>00280 <a class="code" href="classTCPSocket.html">TCPSocket</a> *<a class="code" href="classTCPServerSocket.html#1d161137e1b069de7a7bfc14d3f8212c">accept</a>() <span class="keywordflow">throw</span>(<a class="code" href="classSocketException.html">SocketException</a>); +<a name="l00281"></a>00281 +<a name="l00282"></a>00282 <span class="keyword">private</span>: +<a name="l00283"></a>00283 <span class="keywordtype">void</span> <a class="code" href="classTCPServerSocket.html#1f39a2e6721ab62d8875a234eb300bab">setListen</a>(<span class="keywordtype">int</span> queueLen) <span class="keywordflow">throw</span>(<a class="code" href="classSocketException.html">SocketException</a>); +<a name="l00284"></a>00284 }; +<a name="l00285"></a>00285 +<a name="l00289"></a><a class="code" href="classUDPSocket.html">00289</a> <span class="keyword">class </span><a class="code" href="classUDPSocket.html">UDPSocket</a> : <span class="keyword">public</span> <a class="code" href="classCommunicatingSocket.html">CommunicatingSocket</a> { +<a name="l00290"></a>00290 <span class="keyword">public</span>: +<a name="l00295"></a>00295 <a class="code" href="classUDPSocket.html#4f86f3023f5a08f6355802599a10e100">UDPSocket</a>() <span class="keywordflow">throw</span>(<a class="code" href="classSocketException.html">SocketException</a>); +<a name="l00296"></a>00296 +<a name="l00302"></a>00302 <a class="code" href="classUDPSocket.html#4f86f3023f5a08f6355802599a10e100">UDPSocket</a>(<span class="keywordtype">unsigned</span> <span class="keywordtype">short</span> localPort) <span class="keywordflow">throw</span>(<a class="code" href="classSocketException.html">SocketException</a>); +<a name="l00303"></a>00303 +<a name="l00310"></a>00310 <a class="code" href="classUDPSocket.html#4f86f3023f5a08f6355802599a10e100">UDPSocket</a>(<span class="keyword">const</span> string &localAddress, <span class="keywordtype">unsigned</span> <span class="keywordtype">short</span> localPort) +<a name="l00311"></a>00311 <span class="keywordflow">throw</span>(<a class="code" href="classSocketException.html">SocketException</a>); +<a name="l00312"></a>00312 +<a name="l00318"></a>00318 <span class="keywordtype">void</span> <a class="code" href="classUDPSocket.html#7482e8e61cef160e1a7c0d6ac15c01be">disconnect</a>() <span class="keywordflow">throw</span>(<a class="code" href="classSocketException.html">SocketException</a>); +<a name="l00319"></a>00319 +<a name="l00330"></a>00330 <span class="keywordtype">void</span> <a class="code" href="classUDPSocket.html#41a3595e226f273953cbd38618af5d5b">sendTo</a>(<span class="keyword">const</span> <span class="keywordtype">void</span> *buffer, <span class="keywordtype">int</span> bufferLen, <span class="keyword">const</span> string &foreignAddress, +<a name="l00331"></a>00331 <span class="keywordtype">unsigned</span> <span class="keywordtype">short</span> foreignPort) <span class="keywordflow">throw</span>(<a class="code" href="classSocketException.html">SocketException</a>); +<a name="l00332"></a>00332 +<a name="l00343"></a>00343 <span class="keywordtype">int</span> <a class="code" href="classUDPSocket.html#bcd5c064e2496bd8b1888fd4e1b68949">recvFrom</a>(<span class="keywordtype">void</span> *buffer, <span class="keywordtype">int</span> bufferLen, string &sourceAddress, +<a name="l00344"></a>00344 <span class="keywordtype">unsigned</span> <span class="keywordtype">short</span> &sourcePort) <span class="keywordflow">throw</span>(<a class="code" href="classSocketException.html">SocketException</a>); +<a name="l00345"></a>00345 +<a name="l00351"></a>00351 <span class="keywordtype">void</span> <a class="code" href="classUDPSocket.html#4dcfff33b45d1b84b5a602fc6f4a27f8">setMulticastTTL</a>(<span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> multicastTTL) <span class="keywordflow">throw</span>(<a class="code" href="classSocketException.html">SocketException</a>); +<a name="l00352"></a>00352 +<a name="l00358"></a>00358 <span class="keywordtype">void</span> <a class="code" href="classUDPSocket.html#1b20c1e8bd49a9bd9b53dd4f1c8d4c11">joinGroup</a>(<span class="keyword">const</span> string &multicastGroup) <span class="keywordflow">throw</span>(<a class="code" href="classSocketException.html">SocketException</a>); +<a name="l00359"></a>00359 +<a name="l00365"></a>00365 <span class="keywordtype">void</span> <a class="code" href="classUDPSocket.html#78835eaeca8a5ac039b4579c795e3640">leaveGroup</a>(<span class="keyword">const</span> string &multicastGroup) <span class="keywordflow">throw</span>(<a class="code" href="classSocketException.html">SocketException</a>); +<a name="l00366"></a>00366 +<a name="l00367"></a>00367 <span class="keyword">private</span>: +<a name="l00368"></a>00368 <span class="keywordtype">void</span> <a class="code" href="classUDPSocket.html#316f08a017aa160643812f3c08734d27">setBroadcast</a>(); +<a name="l00369"></a>00369 }; +<a name="l00370"></a>00370 +<a name="l00371"></a>00371 <span class="preprocessor">#endif</span> +</pre></div><hr size="1"><address style="align: right;"><small>Generated on Sun Oct 7 23:43:49 2007 for anytun by +<a href="http://www.doxygen.org/index.html"> +<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address> +</body> +</html> diff --git a/doc/html/PracticalSocket_8h.html b/doc/html/PracticalSocket_8h.html new file mode 100644 index 0000000..3cde231 --- /dev/null +++ b/doc/html/PracticalSocket_8h.html @@ -0,0 +1,44 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> +<title>anytun: PracticalSocket.h File Reference</title> +<link href="doxygen.css" rel="stylesheet" type="text/css"> +<link href="tabs.css" rel="stylesheet" type="text/css"> +</head><body> +<!-- Generated by Doxygen 1.5.1 --> +<div class="tabs"> + <ul> + <li><a href="main.html"><span>Main Page</span></a></li> + <li><a href="namespaces.html"><span>Namespaces</span></a></li> + <li><a href="annotated.html"><span>Classes</span></a></li> + <li id="current"><a href="files.html"><span>Files</span></a></li> + </ul></div> +<div class="tabs"> + <ul> + <li><a href="files.html"><span>File List</span></a></li> + <li><a href="globals.html"><span>File Members</span></a></li> + </ul></div> +<h1>PracticalSocket.h File Reference</h1><code>#include <string></code><br> +<code>#include <exception></code><br> + +<p> +<a href="PracticalSocket_8h-source.html">Go to the source code of this file.</a><table border="0" cellpadding="0" cellspacing="0"> +<tr><td></td></tr> +<tr><td colspan="2"><br><h2>Classes</h2></td></tr> +<tr><td class="memItemLeft" nowrap align="right" valign="top">class </td><td class="memItemRight" valign="bottom"><a class="el" href="classSocketException.html">SocketException</a></td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top">class </td><td class="memItemRight" valign="bottom"><a class="el" href="classSocket.html">Socket</a></td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top">class </td><td class="memItemRight" valign="bottom"><a class="el" href="classCommunicatingSocket.html">CommunicatingSocket</a></td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top">class </td><td class="memItemRight" valign="bottom"><a class="el" href="classTCPSocket.html">TCPSocket</a></td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top">class </td><td class="memItemRight" valign="bottom"><a class="el" href="classTCPServerSocket.html">TCPServerSocket</a></td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top">class </td><td class="memItemRight" valign="bottom"><a class="el" href="classUDPSocket.html">UDPSocket</a></td></tr> + +</table> +<hr size="1"><address style="align: right;"><small>Generated on Sun Oct 7 23:43:49 2007 for anytun by +<a href="http://www.doxygen.org/index.html"> +<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address> +</body> +</html> diff --git a/doc/html/annotated.html b/doc/html/annotated.html new file mode 100644 index 0000000..98dbd0b --- /dev/null +++ b/doc/html/annotated.html @@ -0,0 +1,65 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> +<title>anytun: Class List</title> +<link href="doxygen.css" rel="stylesheet" type="text/css"> +<link href="tabs.css" rel="stylesheet" type="text/css"> +</head><body> +<!-- Generated by Doxygen 1.5.1 --> +<div class="tabs"> + <ul> + <li><a href="main.html"><span>Main Page</span></a></li> + <li><a href="namespaces.html"><span>Namespaces</span></a></li> + <li id="current"><a href="annotated.html"><span>Classes</span></a></li> + <li><a href="files.html"><span>Files</span></a></li> + </ul></div> +<div class="tabs"> + <ul> + <li id="current"><a href="annotated.html"><span>Class List</span></a></li> + <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> + <li><a href="functions.html"><span>Class Members</span></a></li> + </ul></div> +<h1>anytun Class List</h1>Here are the classes, structs, unions and interfaces with brief descriptions:<table> + <tr><td class="indexkey"><a class="el" href="classAesIcmCypher.html">AesIcmCypher</a></td><td class="indexvalue"></td></tr> + <tr><td class="indexkey"><a class="el" href="classAuthAlgo.html">AuthAlgo</a></td><td class="indexvalue"></td></tr> + <tr><td class="indexkey"><a class="el" href="classBuffer.html">Buffer</a></td><td class="indexvalue"></td></tr> + <tr><td class="indexkey"><a class="el" href="classCommunicatingSocket.html">CommunicatingSocket</a></td><td class="indexvalue"></td></tr> + <tr><td class="indexkey"><a class="el" href="classCondition.html">Condition</a></td><td class="indexvalue"></td></tr> + <tr><td class="indexkey"><a class="el" href="classCypher.html">Cypher</a></td><td class="indexvalue"></td></tr> + <tr><td class="indexkey"><a class="el" href="classHmacAuthAlgo.html">HmacAuthAlgo</a></td><td class="indexvalue"></td></tr> + <tr><td class="indexkey"><a class="el" href="classKeyDerivation.html">KeyDerivation</a></td><td class="indexvalue"></td></tr> + <tr><td class="indexkey"><a class="el" href="classLock.html">Lock</a></td><td class="indexvalue"></td></tr> + <tr><td class="indexkey"><a class="el" href="classLog.html">Log</a></td><td class="indexvalue"></td></tr> + <tr><td class="indexkey"><a class="el" href="classLog_1_1instanceCleaner.html">Log::instanceCleaner</a></td><td class="indexvalue"></td></tr> + <tr><td class="indexkey"><a class="el" href="classLogStringBuilder.html">LogStringBuilder</a></td><td class="indexvalue"></td></tr> + <tr><td class="indexkey"><a class="el" href="classMutex.html">Mutex</a></td><td class="indexvalue"></td></tr> + <tr><td class="indexkey"><a class="el" href="classNullAuthAlgo.html">NullAuthAlgo</a></td><td class="indexvalue"></td></tr> + <tr><td class="indexkey"><a class="el" href="classNullCypher.html">NullCypher</a></td><td class="indexvalue"></td></tr> + <tr><td class="indexkey"><a class="el" href="classOptions.html">Options</a></td><td class="indexvalue"></td></tr> + <tr><td class="indexkey"><a class="el" href="classPacket.html">Packet</a></td><td class="indexvalue"></td></tr> + <tr><td class="indexkey"><a class="el" href="structPacket_1_1HeaderStruct.html">Packet::HeaderStruct</a></td><td class="indexvalue"></td></tr> + <tr><td class="indexkey"><a class="el" href="classPacketSource.html">PacketSource</a></td><td class="indexvalue"></td></tr> + <tr><td class="indexkey"><a class="el" href="structParam.html">Param</a></td><td class="indexvalue"></td></tr> + <tr><td class="indexkey"><a class="el" href="classsatp_1_1SATP.html">satp::SATP</a></td><td class="indexvalue"></td></tr> + <tr><td class="indexkey"><a class="el" href="classSemaphore.html">Semaphore</a></td><td class="indexvalue"></td></tr> + <tr><td class="indexkey"><a class="el" href="classSeqWindow.html">SeqWindow</a></td><td class="indexvalue"></td></tr> + <tr><td class="indexkey"><a class="el" href="classSigHupHandler.html">SigHupHandler</a></td><td class="indexvalue"></td></tr> + <tr><td class="indexkey"><a class="el" href="classSigIntHandler.html">SigIntHandler</a></td><td class="indexvalue"></td></tr> + <tr><td class="indexkey"><a class="el" href="classSignalController.html">SignalController</a></td><td class="indexvalue"></td></tr> + <tr><td class="indexkey"><a class="el" href="classSignalHandler.html">SignalHandler</a></td><td class="indexvalue"></td></tr> + <tr><td class="indexkey"><a class="el" href="classSigQuitHandler.html">SigQuitHandler</a></td><td class="indexvalue"></td></tr> + <tr><td class="indexkey"><a class="el" href="classSigTermHandler.html">SigTermHandler</a></td><td class="indexvalue"></td></tr> + <tr><td class="indexkey"><a class="el" href="classSigUsr1Handler.html">SigUsr1Handler</a></td><td class="indexvalue"></td></tr> + <tr><td class="indexkey"><a class="el" href="classSigUsr2Handler.html">SigUsr2Handler</a></td><td class="indexvalue"></td></tr> + <tr><td class="indexkey"><a class="el" href="classSocket.html">Socket</a></td><td class="indexvalue"></td></tr> + <tr><td class="indexkey"><a class="el" href="classSocketException.html">SocketException</a></td><td class="indexvalue"></td></tr> + <tr><td class="indexkey"><a class="el" href="classTCPServerSocket.html">TCPServerSocket</a></td><td class="indexvalue"></td></tr> + <tr><td class="indexkey"><a class="el" href="classTCPSocket.html">TCPSocket</a></td><td class="indexvalue"></td></tr> + <tr><td class="indexkey"><a class="el" href="classTunDevice.html">TunDevice</a></td><td class="indexvalue"></td></tr> + <tr><td class="indexkey"><a class="el" href="classUDPPacketSource.html">UDPPacketSource</a></td><td class="indexvalue"></td></tr> + <tr><td class="indexkey"><a class="el" href="classUDPSocket.html">UDPSocket</a></td><td class="indexvalue"></td></tr> +</table> +<hr size="1"><address style="align: right;"><small>Generated on Sun Oct 7 23:43:49 2007 for anytun by +<a href="http://www.doxygen.org/index.html"> +<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address> +</body> +</html> diff --git a/doc/html/anytun_8cpp.html b/doc/html/anytun_8cpp.html new file mode 100644 index 0000000..0904dd9 --- /dev/null +++ b/doc/html/anytun_8cpp.html @@ -0,0 +1,157 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> +<title>anytun: anytun.cpp File Reference</title> +<link href="doxygen.css" rel="stylesheet" type="text/css"> +<link href="tabs.css" rel="stylesheet" type="text/css"> +</head><body> +<!-- Generated by Doxygen 1.5.1 --> +<div class="tabs"> + <ul> + <li><a href="main.html"><span>Main Page</span></a></li> + <li><a href="namespaces.html"><span>Namespaces</span></a></li> + <li><a href="annotated.html"><span>Classes</span></a></li> + <li id="current"><a href="files.html"><span>Files</span></a></li> + </ul></div> +<div class="tabs"> + <ul> + <li><a href="files.html"><span>File List</span></a></li> + <li><a href="globals.html"><span>File Members</span></a></li> + </ul></div> +<h1>anytun.cpp File Reference</h1><code>#include <iostream></code><br> +<code>#include <poll.h></code><br> +<code>#include "<a class="el" href="datatypes_8h-source.html">datatypes.h</a>"</code><br> +<code>#include "<a class="el" href="log_8h-source.html">log.h</a>"</code><br> +<code>#include "<a class="el" href="buffer_8h-source.html">buffer.h</a>"</code><br> +<code>#include "<a class="el" href="packet_8h-source.html">packet.h</a>"</code><br> +<code>#include "<a class="el" href="cypher_8h-source.html">cypher.h</a>"</code><br> +<code>#include "<a class="el" href="keyDerivation_8h-source.html">keyDerivation.h</a>"</code><br> +<code>#include "<a class="el" href="authAlgo_8h-source.html">authAlgo.h</a>"</code><br> +<code>#include "<a class="el" href="signalController_8h-source.html">signalController.h</a>"</code><br> +<code>#include "<a class="el" href="packetSource_8h-source.html">packetSource.h</a>"</code><br> +<code>#include "<a class="el" href="tunDevice_8h-source.html">tunDevice.h</a>"</code><br> +<code>#include "<a class="el" href="options_8h-source.html">options.h</a>"</code><br> +<code>#include "<a class="el" href="seqWindow_8h-source.html">seqWindow.h</a>"</code><br> +<table border="0" cellpadding="0" cellspacing="0"> +<tr><td></td></tr> +<tr><td colspan="2"><br><h2>Classes</h2></td></tr> +<tr><td class="memItemLeft" nowrap align="right" valign="top">struct </td><td class="memItemRight" valign="bottom"><a class="el" href="structParam.html">Param</a></td></tr> + +<tr><td colspan="2"><br><h2>Defines</h2></td></tr> +<tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="anytun_8cpp.html#f591627e223468579b78887ef91cb0ac">PAYLOAD_TYPE_TAP</a> 0x6558</td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="anytun_8cpp.html#21c6078872dcc3914076daa2c1ec841a">PAYLOAD_TYPE_TUN</a> 0x0800</td></tr> + +<tr><td colspan="2"><br><h2>Functions</h2></td></tr> +<tr><td class="memItemLeft" nowrap align="right" valign="top">void * </td><td class="memItemRight" valign="bottom"><a class="el" href="anytun_8cpp.html#0f2bdeb94d90f5229b9e904e592b24fd">sender</a> (void *p)</td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top">void * </td><td class="memItemRight" valign="bottom"><a class="el" href="anytun_8cpp.html#1a93139691e3d8cf8a996c973c5ca0ac">receiver</a> (void *p)</td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="anytun_8cpp.html#0ddf1224851353fc92bfbff6f499fa97">main</a> (int argc, char *argv[])</td></tr> + +</table> +<hr><h2>Define Documentation</h2> +<a class="anchor" name="f591627e223468579b78887ef91cb0ac"></a><!-- doxytag: member="anytun.cpp::PAYLOAD_TYPE_TAP" ref="f591627e223468579b78887ef91cb0ac" args="" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">#define PAYLOAD_TYPE_TAP 0x6558 </td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<a class="anchor" name="21c6078872dcc3914076daa2c1ec841a"></a><!-- doxytag: member="anytun.cpp::PAYLOAD_TYPE_TUN" ref="21c6078872dcc3914076daa2c1ec841a" args="" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">#define PAYLOAD_TYPE_TUN 0x0800 </td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<hr><h2>Function Documentation</h2> +<a class="anchor" name="0ddf1224851353fc92bfbff6f499fa97"></a><!-- doxytag: member="anytun.cpp::main" ref="0ddf1224851353fc92bfbff6f499fa97" args="(int argc, char *argv[])" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">int main </td> + <td>(</td> + <td class="paramtype">int </td> + <td class="paramname"> <em>argc</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype">char * </td> + <td class="paramname"> <em>argv</em>[]</td><td> </td> + </tr> + <tr> + <td></td> + <td>)</td> + <td></td><td></td><td width="100%"></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<a class="anchor" name="1a93139691e3d8cf8a996c973c5ca0ac"></a><!-- doxytag: member="anytun.cpp::receiver" ref="1a93139691e3d8cf8a996c973c5ca0ac" args="(void *p)" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">void* receiver </td> + <td>(</td> + <td class="paramtype">void * </td> + <td class="paramname"> <em>p</em> </td> + <td> ) </td> + <td width="100%"></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<a class="anchor" name="0f2bdeb94d90f5229b9e904e592b24fd"></a><!-- doxytag: member="anytun.cpp::sender" ref="0f2bdeb94d90f5229b9e904e592b24fd" args="(void *p)" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">void* sender </td> + <td>(</td> + <td class="paramtype">void * </td> + <td class="paramname"> <em>p</em> </td> + <td> ) </td> + <td width="100%"></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<hr size="1"><address style="align: right;"><small>Generated on Sun Oct 7 23:43:49 2007 for anytun by +<a href="http://www.doxygen.org/index.html"> +<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address> +</body> +</html> diff --git a/doc/html/authAlgo_8cpp.html b/doc/html/authAlgo_8cpp.html new file mode 100644 index 0000000..fe4c1ec --- /dev/null +++ b/doc/html/authAlgo_8cpp.html @@ -0,0 +1,29 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> +<title>anytun: authAlgo.cpp File Reference</title> +<link href="doxygen.css" rel="stylesheet" type="text/css"> +<link href="tabs.css" rel="stylesheet" type="text/css"> +</head><body> +<!-- Generated by Doxygen 1.5.1 --> +<div class="tabs"> + <ul> + <li><a href="main.html"><span>Main Page</span></a></li> + <li><a href="namespaces.html"><span>Namespaces</span></a></li> + <li><a href="annotated.html"><span>Classes</span></a></li> + <li id="current"><a href="files.html"><span>Files</span></a></li> + </ul></div> +<div class="tabs"> + <ul> + <li><a href="files.html"><span>File List</span></a></li> + <li><a href="globals.html"><span>File Members</span></a></li> + </ul></div> +<h1>authAlgo.cpp File Reference</h1><code>#include "<a class="el" href="authAlgo_8h-source.html">authAlgo.h</a>"</code><br> +<code>#include <srtp/crypto_kernel.h></code><br> +<table border="0" cellpadding="0" cellspacing="0"> +<tr><td></td></tr> +</table> +<hr size="1"><address style="align: right;"><small>Generated on Sun Oct 7 23:43:49 2007 for anytun by +<a href="http://www.doxygen.org/index.html"> +<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address> +</body> +</html> diff --git a/doc/html/authAlgo_8h-source.html b/doc/html/authAlgo_8h-source.html new file mode 100644 index 0000000..2a5e595 --- /dev/null +++ b/doc/html/authAlgo_8h-source.html @@ -0,0 +1,84 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> +<title>anytun: authAlgo.h Source File</title> +<link href="doxygen.css" rel="stylesheet" type="text/css"> +<link href="tabs.css" rel="stylesheet" type="text/css"> +</head><body> +<!-- Generated by Doxygen 1.5.1 --> +<div class="tabs"> + <ul> + <li><a href="main.html"><span>Main Page</span></a></li> + <li><a href="namespaces.html"><span>Namespaces</span></a></li> + <li><a href="annotated.html"><span>Classes</span></a></li> + <li id="current"><a href="files.html"><span>Files</span></a></li> + </ul></div> +<div class="tabs"> + <ul> + <li><a href="files.html"><span>File List</span></a></li> + <li><a href="globals.html"><span>File Members</span></a></li> + </ul></div> +<h1>authAlgo.h</h1><a href="authAlgo_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">/*</span> +<a name="l00002"></a>00002 <span class="comment"> * anytun</span> +<a name="l00003"></a>00003 <span class="comment"> *</span> +<a name="l00004"></a>00004 <span class="comment"> * The secure anycast tunneling protocol (satp) defines a protocol used</span> +<a name="l00005"></a>00005 <span class="comment"> * for communication between any combination of unicast and anycast</span> +<a name="l00006"></a>00006 <span class="comment"> * tunnel endpoints. It has less protocol overhead than IPSec in Tunnel</span> +<a name="l00007"></a>00007 <span class="comment"> * mode and allows tunneling of every ETHER TYPE protocol (e.g.</span> +<a name="l00008"></a>00008 <span class="comment"> * ethernet, ip, arp ...). satp directly includes cryptography and</span> +<a name="l00009"></a>00009 <span class="comment"> * message authentication based on the methodes used by SRTP. It is</span> +<a name="l00010"></a>00010 <span class="comment"> * intended to deliver a generic, scaleable and secure solution for</span> +<a name="l00011"></a>00011 <span class="comment"> * tunneling and relaying of packets of any protocol.</span> +<a name="l00012"></a>00012 <span class="comment"> *</span> +<a name="l00013"></a>00013 <span class="comment"> *</span> +<a name="l00014"></a>00014 <span class="comment"> * Copyright (C) 2007 anytun.org <satp@wirdorange.org></span> +<a name="l00015"></a>00015 <span class="comment"> *</span> +<a name="l00016"></a>00016 <span class="comment"> * This program is free software; you can redistribute it and/or modify</span> +<a name="l00017"></a>00017 <span class="comment"> * it under the terms of the GNU General Public License version 2</span> +<a name="l00018"></a>00018 <span class="comment"> * as published by the Free Software Foundation.</span> +<a name="l00019"></a>00019 <span class="comment"> *</span> +<a name="l00020"></a>00020 <span class="comment"> * This program is distributed in the hope that it will be useful,</span> +<a name="l00021"></a>00021 <span class="comment"> * but WITHOUT ANY WARRANTY; without even the implied warranty of</span> +<a name="l00022"></a>00022 <span class="comment"> * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the</span> +<a name="l00023"></a>00023 <span class="comment"> * GNU General Public License for more details.</span> +<a name="l00024"></a>00024 <span class="comment"> *</span> +<a name="l00025"></a>00025 <span class="comment"> * You should have received a copy of the GNU General Public License</span> +<a name="l00026"></a>00026 <span class="comment"> * along with this program (see the file COPYING included with this</span> +<a name="l00027"></a>00027 <span class="comment"> * distribution); if not, write to the Free Software Foundation, Inc.,</span> +<a name="l00028"></a>00028 <span class="comment"> * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA</span> +<a name="l00029"></a>00029 <span class="comment"> */</span> +<a name="l00030"></a>00030 +<a name="l00031"></a>00031 <span class="preprocessor">#ifndef _AUTHALGO_H_</span> +<a name="l00032"></a>00032 <span class="preprocessor"></span><span class="preprocessor">#define _AUTHALGO_H_</span> +<a name="l00033"></a>00033 <span class="preprocessor"></span> +<a name="l00034"></a>00034 <span class="preprocessor">#include "<a class="code" href="datatypes_8h.html">datatypes.h</a>"</span> +<a name="l00035"></a>00035 <span class="preprocessor">#include "<a class="code" href="buffer_8h.html">buffer.h</a>"</span> +<a name="l00036"></a>00036 +<a name="l00037"></a><a class="code" href="classAuthAlgo.html">00037</a> <span class="keyword">class </span><a class="code" href="classAuthAlgo.html">AuthAlgo</a> +<a name="l00038"></a>00038 { +<a name="l00039"></a>00039 <span class="keyword">public</span>: +<a name="l00040"></a><a class="code" href="classAuthAlgo.html#22a200c372d9aeb73a4cbdd95ba30a0e">00040</a> <a class="code" href="classAuthAlgo.html#22a200c372d9aeb73a4cbdd95ba30a0e">AuthAlgo</a>() {}; +<a name="l00041"></a><a class="code" href="classAuthAlgo.html#e3428186b4e005e879e26c2b8e04fa4a">00041</a> <span class="keyword">virtual</span> <a class="code" href="classAuthAlgo.html#e3428186b4e005e879e26c2b8e04fa4a">~AuthAlgo</a>() {}; +<a name="l00042"></a>00042 +<a name="l00043"></a>00043 <span class="keyword">virtual</span> <a class="code" href="datatypes_8h.html#3618ec768f7f5b8ed61f2ad534e1882d">auth_tag_t</a> <a class="code" href="classAuthAlgo.html#f53b44f90c33eb049da260947a75c916">calc</a>(<span class="keyword">const</span> <a class="code" href="classBuffer.html">Buffer</a>& buf) = 0; +<a name="l00044"></a>00044 }; +<a name="l00045"></a>00045 +<a name="l00046"></a><a class="code" href="classNullAuthAlgo.html">00046</a> <span class="keyword">class </span><a class="code" href="classNullAuthAlgo.html">NullAuthAlgo</a> : <span class="keyword">public</span> <a class="code" href="classAuthAlgo.html">AuthAlgo</a> +<a name="l00047"></a>00047 { +<a name="l00048"></a>00048 <span class="keyword">public</span>: +<a name="l00049"></a>00049 <a class="code" href="datatypes_8h.html#3618ec768f7f5b8ed61f2ad534e1882d">auth_tag_t</a> <a class="code" href="classNullAuthAlgo.html#60eead12d6b32a576ad40d999a6151cf">calc</a>(<span class="keyword">const</span> <a class="code" href="classBuffer.html">Buffer</a>& buf); +<a name="l00050"></a>00050 }; +<a name="l00051"></a>00051 +<a name="l00052"></a>00052 +<a name="l00053"></a>00053 <span class="comment">// HMAC_SHA1</span> +<a name="l00054"></a><a class="code" href="classHmacAuthAlgo.html">00054</a> <span class="keyword">class </span><a class="code" href="classHmacAuthAlgo.html">HmacAuthAlgo</a> : <span class="keyword">public</span> <a class="code" href="classAuthAlgo.html">AuthAlgo</a> +<a name="l00055"></a>00055 { +<a name="l00056"></a>00056 <span class="keyword">public</span>: +<a name="l00057"></a>00057 <a class="code" href="datatypes_8h.html#3618ec768f7f5b8ed61f2ad534e1882d">auth_tag_t</a> <a class="code" href="classHmacAuthAlgo.html#af50c9aa6b61ff6f4631e3f78f77dc97">calc</a>(<span class="keyword">const</span> <a class="code" href="classBuffer.html">Buffer</a>& buf); +<a name="l00058"></a>00058 }; +<a name="l00059"></a>00059 +<a name="l00060"></a>00060 <span class="preprocessor">#endif</span> +</pre></div><hr size="1"><address style="align: right;"><small>Generated on Sun Oct 7 23:43:49 2007 for anytun by +<a href="http://www.doxygen.org/index.html"> +<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address> +</body> +</html> diff --git a/doc/html/authAlgo_8h.html b/doc/html/authAlgo_8h.html new file mode 100644 index 0000000..5f625a2 --- /dev/null +++ b/doc/html/authAlgo_8h.html @@ -0,0 +1,38 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> +<title>anytun: authAlgo.h File Reference</title> +<link href="doxygen.css" rel="stylesheet" type="text/css"> +<link href="tabs.css" rel="stylesheet" type="text/css"> +</head><body> +<!-- Generated by Doxygen 1.5.1 --> +<div class="tabs"> + <ul> + <li><a href="main.html"><span>Main Page</span></a></li> + <li><a href="namespaces.html"><span>Namespaces</span></a></li> + <li><a href="annotated.html"><span>Classes</span></a></li> + <li id="current"><a href="files.html"><span>Files</span></a></li> + </ul></div> +<div class="tabs"> + <ul> + <li><a href="files.html"><span>File List</span></a></li> + <li><a href="globals.html"><span>File Members</span></a></li> + </ul></div> +<h1>authAlgo.h File Reference</h1><code>#include "<a class="el" href="datatypes_8h-source.html">datatypes.h</a>"</code><br> +<code>#include "<a class="el" href="buffer_8h-source.html">buffer.h</a>"</code><br> + +<p> +<a href="authAlgo_8h-source.html">Go to the source code of this file.</a><table border="0" cellpadding="0" cellspacing="0"> +<tr><td></td></tr> +<tr><td colspan="2"><br><h2>Classes</h2></td></tr> +<tr><td class="memItemLeft" nowrap align="right" valign="top">class </td><td class="memItemRight" valign="bottom"><a class="el" href="classAuthAlgo.html">AuthAlgo</a></td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top">class </td><td class="memItemRight" valign="bottom"><a class="el" href="classNullAuthAlgo.html">NullAuthAlgo</a></td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top">class </td><td class="memItemRight" valign="bottom"><a class="el" href="classHmacAuthAlgo.html">HmacAuthAlgo</a></td></tr> + +</table> +<hr size="1"><address style="align: right;"><small>Generated on Sun Oct 7 23:43:49 2007 for anytun by +<a href="http://www.doxygen.org/index.html"> +<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address> +</body> +</html> diff --git a/doc/html/buffer_8cpp.html b/doc/html/buffer_8cpp.html new file mode 100644 index 0000000..5602104 --- /dev/null +++ b/doc/html/buffer_8cpp.html @@ -0,0 +1,33 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> +<title>anytun: buffer.cpp File Reference</title> +<link href="doxygen.css" rel="stylesheet" type="text/css"> +<link href="tabs.css" rel="stylesheet" type="text/css"> +</head><body> +<!-- Generated by Doxygen 1.5.1 --> +<div class="tabs"> + <ul> + <li><a href="main.html"><span>Main Page</span></a></li> + <li><a href="namespaces.html"><span>Namespaces</span></a></li> + <li><a href="annotated.html"><span>Classes</span></a></li> + <li id="current"><a href="files.html"><span>Files</span></a></li> + </ul></div> +<div class="tabs"> + <ul> + <li><a href="files.html"><span>File List</span></a></li> + <li><a href="globals.html"><span>File Members</span></a></li> + </ul></div> +<h1>buffer.cpp File Reference</h1><code>#include <stdexcept></code><br> +<code>#include <string></code><br> +<code>#include <cstdio></code><br> +<code>#include <iostream></code><br> +<code>#include "<a class="el" href="datatypes_8h-source.html">datatypes.h</a>"</code><br> +<code>#include "<a class="el" href="buffer_8h-source.html">buffer.h</a>"</code><br> +<table border="0" cellpadding="0" cellspacing="0"> +<tr><td></td></tr> +</table> +<hr size="1"><address style="align: right;"><small>Generated on Sun Oct 7 23:43:49 2007 for anytun by +<a href="http://www.doxygen.org/index.html"> +<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address> +</body> +</html> diff --git a/doc/html/buffer_8h-source.html b/doc/html/buffer_8h-source.html new file mode 100644 index 0000000..ab43969 --- /dev/null +++ b/doc/html/buffer_8h-source.html @@ -0,0 +1,98 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> +<title>anytun: buffer.h Source File</title> +<link href="doxygen.css" rel="stylesheet" type="text/css"> +<link href="tabs.css" rel="stylesheet" type="text/css"> +</head><body> +<!-- Generated by Doxygen 1.5.1 --> +<div class="tabs"> + <ul> + <li><a href="main.html"><span>Main Page</span></a></li> + <li><a href="namespaces.html"><span>Namespaces</span></a></li> + <li><a href="annotated.html"><span>Classes</span></a></li> + <li id="current"><a href="files.html"><span>Files</span></a></li> + </ul></div> +<div class="tabs"> + <ul> + <li><a href="files.html"><span>File List</span></a></li> + <li><a href="globals.html"><span>File Members</span></a></li> + </ul></div> +<h1>buffer.h</h1><a href="buffer_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">/*</span> +<a name="l00002"></a>00002 <span class="comment"> * anytun</span> +<a name="l00003"></a>00003 <span class="comment"> *</span> +<a name="l00004"></a>00004 <span class="comment"> * The secure anycast tunneling protocol (satp) defines a protocol used</span> +<a name="l00005"></a>00005 <span class="comment"> * for communication between any combination of unicast and anycast</span> +<a name="l00006"></a>00006 <span class="comment"> * tunnel endpoints. It has less protocol overhead than IPSec in Tunnel</span> +<a name="l00007"></a>00007 <span class="comment"> * mode and allows tunneling of every ETHER TYPE protocol (e.g.</span> +<a name="l00008"></a>00008 <span class="comment"> * ethernet, ip, arp ...). satp directly includes cryptography and</span> +<a name="l00009"></a>00009 <span class="comment"> * message authentication based on the methodes used by SRTP. It is</span> +<a name="l00010"></a>00010 <span class="comment"> * intended to deliver a generic, scaleable and secure solution for</span> +<a name="l00011"></a>00011 <span class="comment"> * tunneling and relaying of packets of any protocol.</span> +<a name="l00012"></a>00012 <span class="comment"> *</span> +<a name="l00013"></a>00013 <span class="comment"> *</span> +<a name="l00014"></a>00014 <span class="comment"> * Copyright (C) 2007 anytun.org <satp@wirdorange.org></span> +<a name="l00015"></a>00015 <span class="comment"> *</span> +<a name="l00016"></a>00016 <span class="comment"> * This program is free software; you can redistribute it and/or modify</span> +<a name="l00017"></a>00017 <span class="comment"> * it under the terms of the GNU General Public License version 2</span> +<a name="l00018"></a>00018 <span class="comment"> * as published by the Free Software Foundation.</span> +<a name="l00019"></a>00019 <span class="comment"> *</span> +<a name="l00020"></a>00020 <span class="comment"> * This program is distributed in the hope that it will be useful,</span> +<a name="l00021"></a>00021 <span class="comment"> * but WITHOUT ANY WARRANTY; without even the implied warranty of</span> +<a name="l00022"></a>00022 <span class="comment"> * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the</span> +<a name="l00023"></a>00023 <span class="comment"> * GNU General Public License for more details.</span> +<a name="l00024"></a>00024 <span class="comment"> *</span> +<a name="l00025"></a>00025 <span class="comment"> * You should have received a copy of the GNU General Public License</span> +<a name="l00026"></a>00026 <span class="comment"> * along with this program (see the file COPYING included with this</span> +<a name="l00027"></a>00027 <span class="comment"> * distribution); if not, write to the Free Software Foundation, Inc.,</span> +<a name="l00028"></a>00028 <span class="comment"> * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA</span> +<a name="l00029"></a>00029 <span class="comment"> */</span> +<a name="l00030"></a>00030 +<a name="l00031"></a>00031 <span class="preprocessor">#ifndef _BUFFER_H_</span> +<a name="l00032"></a>00032 <span class="preprocessor"></span><span class="preprocessor">#define _BUFFER_H_</span> +<a name="l00033"></a>00033 <span class="preprocessor"></span> +<a name="l00034"></a>00034 <span class="preprocessor">#include "<a class="code" href="datatypes_8h.html">datatypes.h</a>"</span> +<a name="l00035"></a>00035 +<a name="l00036"></a>00036 <span class="keyword">class </span><a class="code" href="classTunDevice.html">TunDevice</a>; +<a name="l00037"></a>00037 <span class="keyword">class </span><a class="code" href="classUDPPacketSource.html">UDPPacketSource</a>; +<a name="l00038"></a>00038 +<a name="l00039"></a><a class="code" href="classBuffer.html">00039</a> <span class="keyword">class </span><a class="code" href="classBuffer.html">Buffer</a> +<a name="l00040"></a>00040 { +<a name="l00041"></a>00041 <span class="keyword">public</span>: +<a name="l00042"></a>00042 <a class="code" href="classBuffer.html#e7ef2cd201190fde551dcb902627112b">Buffer</a>(); +<a name="l00043"></a>00043 <a class="code" href="classBuffer.html#e7ef2cd201190fde551dcb902627112b">Buffer</a>(<a class="code" href="datatypes_8h.html#1382fcaa92d837ce7c0961788c8243d7">u_int32_t</a> length); +<a name="l00044"></a>00044 <a class="code" href="classBuffer.html#e7ef2cd201190fde551dcb902627112b">Buffer</a>(<a class="code" href="datatypes_8h.html#40a40c6e9649a4e3806e76fef247d241">u_int8_t</a>* data, <a class="code" href="datatypes_8h.html#1382fcaa92d837ce7c0961788c8243d7">u_int32_t</a> length); +<a name="l00045"></a>00045 <span class="keyword">virtual</span> <a class="code" href="classBuffer.html#59b8743e4a5f731bdd0c4185c9ef263b">~Buffer</a>(); +<a name="l00046"></a>00046 <a class="code" href="classBuffer.html#e7ef2cd201190fde551dcb902627112b">Buffer</a>(<span class="keyword">const</span> <a class="code" href="classBuffer.html">Buffer</a> &src); +<a name="l00047"></a>00047 <span class="keywordtype">void</span> <a class="code" href="classBuffer.html#14cec0d3bf4f3f1a4a9930a8c53eb43a">operator=</a>(<span class="keyword">const</span> <a class="code" href="classBuffer.html">Buffer</a> &src); +<a name="l00048"></a>00048 +<a name="l00049"></a>00049 <span class="comment">// math operations to calculate IVs and keys</span> +<a name="l00050"></a>00050 <span class="keyword">virtual</span> <a class="code" href="classBuffer.html">Buffer</a> <a class="code" href="classBuffer.html#d56159a415541fcff34ef8aed1eb7183">operator^</a>(<span class="keyword">const</span> <a class="code" href="classBuffer.html">Buffer</a> &xor_by) <span class="keyword">const</span>; +<a name="l00051"></a>00051 <span class="keyword">virtual</span> <a class="code" href="classBuffer.html">Buffer</a> <a class="code" href="classBuffer.html#13200a4925b1b3c08f99e09ccb6854a1">leftByteShift</a>(<a class="code" href="datatypes_8h.html#1382fcaa92d837ce7c0961788c8243d7">u_int32_t</a> width) <span class="keyword">const</span>; +<a name="l00052"></a>00052 <span class="keyword">virtual</span> <a class="code" href="classBuffer.html">Buffer</a> <a class="code" href="classBuffer.html#298949899f3f78e4a8b3df7fa5ec532d">rightByteShift</a>(<a class="code" href="datatypes_8h.html#1382fcaa92d837ce7c0961788c8243d7">u_int32_t</a> width) <span class="keyword">const</span>; +<a name="l00053"></a>00053 +<a name="l00054"></a>00054 <a class="code" href="datatypes_8h.html#1382fcaa92d837ce7c0961788c8243d7">u_int32_t</a> <a class="code" href="classBuffer.html#fe4b10487b4930e0407bdf61857629d6">resizeFront</a>(<a class="code" href="datatypes_8h.html#1382fcaa92d837ce7c0961788c8243d7">u_int32_t</a> new_length); +<a name="l00055"></a>00055 <a class="code" href="datatypes_8h.html#1382fcaa92d837ce7c0961788c8243d7">u_int32_t</a> <a class="code" href="classBuffer.html#5698b2d64238f1f38578dc8e9e2b1bc9">resizeBack</a>(<a class="code" href="datatypes_8h.html#1382fcaa92d837ce7c0961788c8243d7">u_int32_t</a> new_length); +<a name="l00056"></a>00056 <a class="code" href="datatypes_8h.html#1382fcaa92d837ce7c0961788c8243d7">u_int32_t</a> <a class="code" href="classBuffer.html#09ced241e4d0a46c52f0f20398076435">getLength</a>() <span class="keyword">const</span>; +<a name="l00057"></a>00057 <a class="code" href="datatypes_8h.html#40a40c6e9649a4e3806e76fef247d241">u_int8_t</a>* <a class="code" href="classBuffer.html#7890e20c6c77eb631c39728ea08b35b8">getBuf</a>(); +<a name="l00058"></a>00058 <a class="code" href="datatypes_8h.html#40a40c6e9649a4e3806e76fef247d241">u_int8_t</a>& <a class="code" href="classBuffer.html#763882c627db10206f78b090556b00fa">operator[]</a>(<a class="code" href="datatypes_8h.html#1382fcaa92d837ce7c0961788c8243d7">u_int32_t</a> index); +<a name="l00059"></a>00059 <a class="code" href="datatypes_8h.html#40a40c6e9649a4e3806e76fef247d241">u_int8_t</a> <a class="code" href="classBuffer.html#763882c627db10206f78b090556b00fa">operator[]</a>(<a class="code" href="datatypes_8h.html#1382fcaa92d837ce7c0961788c8243d7">u_int32_t</a> index) <span class="keyword">const</span>; +<a name="l00060"></a>00060 <span class="keywordtype">void</span> <a class="code" href="classBuffer.html#13d927c471a7516b37bc9ad8fc1741ce">printHexDump</a>() <span class="keyword">const</span>; +<a name="l00061"></a>00061 +<a name="l00062"></a>00062 <a class="code" href="classBuffer.html#dcf367d5f1b7fced7aa61bb919af7943">operator u_int8_t*</a>(); <span class="comment">// just for write/read tun and packetSource</span> +<a name="l00063"></a>00063 <span class="keyword">protected</span>: +<a name="l00064"></a><a class="code" href="classBuffer.html#51b494563d277beb4740f86c519f30fb">00064</a> <span class="keyword">friend</span> <span class="keyword">class </span><a class="code" href="classTunDevice.html">TunDevice</a>; +<a name="l00065"></a><a class="code" href="classBuffer.html#940a382a5e3a8622e6689e13dc453481">00065</a> <span class="keyword">friend</span> <span class="keyword">class </span><a class="code" href="classUDPPacketSource.html">UDPPacketSource</a>; +<a name="l00066"></a><a class="code" href="classBuffer.html#41d791e5b640813dea34c24c11056581">00066</a> <span class="keyword">friend</span> <span class="keyword">class </span><a class="code" href="classAesIcmCypher.html">AesIcmCypher</a>; +<a name="l00067"></a><a class="code" href="classBuffer.html#1d039eb05e29b8eeadca9b474bb6d49f">00067</a> <span class="keyword">friend</span> <span class="keyword">class </span><a class="code" href="classKeyDerivation.html">KeyDerivation</a>; <span class="comment">// </span> +<a name="l00068"></a>00068 +<a name="l00069"></a><a class="code" href="classBuffer.html#e60240b77a315e6b3c2bf88592d0be48">00069</a> <a class="code" href="datatypes_8h.html#40a40c6e9649a4e3806e76fef247d241">u_int8_t</a> *<a class="code" href="classBuffer.html#e60240b77a315e6b3c2bf88592d0be48">buf_</a>; +<a name="l00070"></a><a class="code" href="classBuffer.html#d3a779d2403b5183427f12554e2f51c3">00070</a> <a class="code" href="datatypes_8h.html#1382fcaa92d837ce7c0961788c8243d7">u_int32_t</a> <a class="code" href="classBuffer.html#d3a779d2403b5183427f12554e2f51c3">length_</a>; +<a name="l00071"></a>00071 +<a name="l00072"></a>00072 }; +<a name="l00073"></a>00073 +<a name="l00074"></a>00074 <span class="preprocessor">#endif</span> +</pre></div><hr size="1"><address style="align: right;"><small>Generated on Sun Oct 7 23:43:49 2007 for anytun by +<a href="http://www.doxygen.org/index.html"> +<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address> +</body> +</html> diff --git a/doc/html/buffer_8h.html b/doc/html/buffer_8h.html new file mode 100644 index 0000000..c67f812 --- /dev/null +++ b/doc/html/buffer_8h.html @@ -0,0 +1,33 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> +<title>anytun: buffer.h File Reference</title> +<link href="doxygen.css" rel="stylesheet" type="text/css"> +<link href="tabs.css" rel="stylesheet" type="text/css"> +</head><body> +<!-- Generated by Doxygen 1.5.1 --> +<div class="tabs"> + <ul> + <li><a href="main.html"><span>Main Page</span></a></li> + <li><a href="namespaces.html"><span>Namespaces</span></a></li> + <li><a href="annotated.html"><span>Classes</span></a></li> + <li id="current"><a href="files.html"><span>Files</span></a></li> + </ul></div> +<div class="tabs"> + <ul> + <li><a href="files.html"><span>File List</span></a></li> + <li><a href="globals.html"><span>File Members</span></a></li> + </ul></div> +<h1>buffer.h File Reference</h1><code>#include "<a class="el" href="datatypes_8h-source.html">datatypes.h</a>"</code><br> + +<p> +<a href="buffer_8h-source.html">Go to the source code of this file.</a><table border="0" cellpadding="0" cellspacing="0"> +<tr><td></td></tr> +<tr><td colspan="2"><br><h2>Classes</h2></td></tr> +<tr><td class="memItemLeft" nowrap align="right" valign="top">class </td><td class="memItemRight" valign="bottom"><a class="el" href="classBuffer.html">Buffer</a></td></tr> + +</table> +<hr size="1"><address style="align: right;"><small>Generated on Sun Oct 7 23:43:49 2007 for anytun by +<a href="http://www.doxygen.org/index.html"> +<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address> +</body> +</html> diff --git a/doc/html/classAesIcmCypher-members.html b/doc/html/classAesIcmCypher-members.html new file mode 100644 index 0000000..e33b178 --- /dev/null +++ b/doc/html/classAesIcmCypher-members.html @@ -0,0 +1,40 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> +<title>anytun: Member List</title> +<link href="doxygen.css" rel="stylesheet" type="text/css"> +<link href="tabs.css" rel="stylesheet" type="text/css"> +</head><body> +<!-- Generated by Doxygen 1.5.1 --> +<div class="tabs"> + <ul> + <li><a href="main.html"><span>Main Page</span></a></li> + <li><a href="namespaces.html"><span>Namespaces</span></a></li> + <li id="current"><a href="annotated.html"><span>Classes</span></a></li> + <li><a href="files.html"><span>Files</span></a></li> + </ul></div> +<div class="tabs"> + <ul> + <li><a href="annotated.html"><span>Class List</span></a></li> + <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> + <li><a href="functions.html"><span>Class Members</span></a></li> + </ul></div> +<h1>AesIcmCypher Member List</h1>This is the complete list of members for <a class="el" href="classAesIcmCypher.html">AesIcmCypher</a>, including all inherited members.<p><table> + <tr class="memlist"><td><a class="el" href="classAesIcmCypher.html#628abe54d9f3ac715dcaa0ae9ebf44bc">AesIcmCypher</a>()</td><td><a class="el" href="classAesIcmCypher.html">AesIcmCypher</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classAesIcmCypher.html#d74a46baaee2e0755902d134274eac9a">cipher_</a></td><td><a class="el" href="classAesIcmCypher.html">AesIcmCypher</a></td><td><code> [protected]</code></td></tr> + <tr class="memlist"><td><a class="el" href="classCypher.html#5228228b0b2d83251ecce4516e87ddb1">Cypher</a>()</td><td><a class="el" href="classCypher.html">Cypher</a></td><td><code> [inline]</code></td></tr> + <tr class="memlist"><td><a class="el" href="classCypher.html#1d51ce2235d38bded45f5e897be4435c">cypher</a>(Buffer &buf, seq_nr_t seq_nr, sender_id_t sender_id)</td><td><a class="el" href="classCypher.html">Cypher</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classCypher.html#bf33a7a59ed1cdf711030236de6635b0">exor</a>(Buffer &buf, const Buffer &bit_stream)</td><td><a class="el" href="classCypher.html">Cypher</a></td><td><code> [protected]</code></td></tr> + <tr class="memlist"><td><a class="el" href="classAesIcmCypher.html#04da5690d9102c6b3fe5bf78a8827ac1">gcrypt_initialized_</a></td><td><a class="el" href="classAesIcmCypher.html">AesIcmCypher</a></td><td><code> [private, static]</code></td></tr> + <tr class="memlist"><td><a class="el" href="classAesIcmCypher.html#4d1dea41b9745bca5a2d84fcefe3558c">GCRYPT_SEC_MEM</a></td><td><a class="el" href="classAesIcmCypher.html">AesIcmCypher</a></td><td><code> [static]</code></td></tr> + <tr class="memlist"><td><a class="el" href="classAesIcmCypher.html#ebac1fbb9a4cb56411fcd45ca63f47a1">getBitStream</a>(u_int32_t length, seq_nr_t seq_nr, sender_id_t sender_id)</td><td><a class="el" href="classAesIcmCypher.html">AesIcmCypher</a></td><td><code> [protected, virtual]</code></td></tr> + <tr class="memlist"><td><a class="el" href="classAesIcmCypher.html#605842d12379711d74401d0923b5d76e">MIN_GCRYPT_VERSION</a></td><td><a class="el" href="classAesIcmCypher.html">AesIcmCypher</a></td><td><code> [static]</code></td></tr> + <tr class="memlist"><td><a class="el" href="classAesIcmCypher.html#a62620f7280574b142a0eb29880f5083">salt_</a></td><td><a class="el" href="classAesIcmCypher.html">AesIcmCypher</a></td><td><code> [protected]</code></td></tr> + <tr class="memlist"><td><a class="el" href="classAesIcmCypher.html#605a38676ef12ad0b69628c5d53ef007">setKey</a>(Buffer key)</td><td><a class="el" href="classAesIcmCypher.html">AesIcmCypher</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classAesIcmCypher.html#6741487a9d6dfe3ae76bb168ed711259">setSalt</a>(Buffer salt)</td><td><a class="el" href="classAesIcmCypher.html">AesIcmCypher</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classAesIcmCypher.html#fdf9ab22374ffdad856f172eefacbd17">~AesIcmCypher</a>()</td><td><a class="el" href="classAesIcmCypher.html">AesIcmCypher</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classCypher.html#70c94525f7bacb956cdd940fba7fb4c8">~Cypher</a>()</td><td><a class="el" href="classCypher.html">Cypher</a></td><td><code> [inline, virtual]</code></td></tr> +</table><hr size="1"><address style="align: right;"><small>Generated on Sun Oct 7 23:43:49 2007 for anytun by +<a href="http://www.doxygen.org/index.html"> +<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address> +</body> +</html> diff --git a/doc/html/classAesIcmCypher.html b/doc/html/classAesIcmCypher.html new file mode 100644 index 0000000..e340a98 --- /dev/null +++ b/doc/html/classAesIcmCypher.html @@ -0,0 +1,259 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> +<title>anytun: AesIcmCypher Class Reference</title> +<link href="doxygen.css" rel="stylesheet" type="text/css"> +<link href="tabs.css" rel="stylesheet" type="text/css"> +</head><body> +<!-- Generated by Doxygen 1.5.1 --> +<div class="tabs"> + <ul> + <li><a href="main.html"><span>Main Page</span></a></li> + <li><a href="namespaces.html"><span>Namespaces</span></a></li> + <li id="current"><a href="annotated.html"><span>Classes</span></a></li> + <li><a href="files.html"><span>Files</span></a></li> + </ul></div> +<div class="tabs"> + <ul> + <li><a href="annotated.html"><span>Class List</span></a></li> + <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> + <li><a href="functions.html"><span>Class Members</span></a></li> + </ul></div> +<h1>AesIcmCypher Class Reference</h1><!-- doxytag: class="AesIcmCypher" --><!-- doxytag: inherits="Cypher" --><code>#include <<a class="el" href="cypher_8h-source.html">cypher.h</a>></code> +<p> +<p>Inheritance diagram for AesIcmCypher: +<p><center><img src="classAesIcmCypher.png" usemap="#AesIcmCypher_map" border="0" alt=""></center> +<map name="AesIcmCypher_map"> +<area href="classCypher.html" alt="Cypher" shape="rect" coords="0,0,95,24"> +</map> +<a href="classAesIcmCypher-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0"> +<tr><td></td></tr> +<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr> +<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classAesIcmCypher.html#628abe54d9f3ac715dcaa0ae9ebf44bc">AesIcmCypher</a> ()</td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classAesIcmCypher.html#fdf9ab22374ffdad856f172eefacbd17">~AesIcmCypher</a> ()</td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classAesIcmCypher.html#605a38676ef12ad0b69628c5d53ef007">setKey</a> (<a class="el" href="classBuffer.html">Buffer</a> key)</td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classAesIcmCypher.html#6741487a9d6dfe3ae76bb168ed711259">setSalt</a> (<a class="el" href="classBuffer.html">Buffer</a> salt)</td></tr> + +<tr><td colspan="2"><br><h2>Static Public Attributes</h2></td></tr> +<tr><td class="memItemLeft" nowrap align="right" valign="top">static const std::string </td><td class="memItemRight" valign="bottom"><a class="el" href="classAesIcmCypher.html#605842d12379711d74401d0923b5d76e">MIN_GCRYPT_VERSION</a></td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top">static const <a class="el" href="datatypes_8h.html#1382fcaa92d837ce7c0961788c8243d7">u_int32_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classAesIcmCypher.html#4d1dea41b9745bca5a2d84fcefe3558c">GCRYPT_SEC_MEM</a></td></tr> + +<tr><td colspan="2"><br><h2>Protected Member Functions</h2></td></tr> +<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classBuffer.html">Buffer</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classAesIcmCypher.html#ebac1fbb9a4cb56411fcd45ca63f47a1">getBitStream</a> (<a class="el" href="datatypes_8h.html#1382fcaa92d837ce7c0961788c8243d7">u_int32_t</a> length, <a class="el" href="datatypes_8h.html#317be74a3176b4149a817241bd69f9b2">seq_nr_t</a> seq_nr, <a class="el" href="datatypes_8h.html#c8be006c348a522ae126f67f7b2aaf4e">sender_id_t</a> sender_id)</td></tr> + +<tr><td colspan="2"><br><h2>Protected Attributes</h2></td></tr> +<tr><td class="memItemLeft" nowrap align="right" valign="top">gcry_cipher_hd_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classAesIcmCypher.html#d74a46baaee2e0755902d134274eac9a">cipher_</a></td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classBuffer.html">Buffer</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classAesIcmCypher.html#a62620f7280574b142a0eb29880f5083">salt_</a></td></tr> + +<tr><td colspan="2"><br><h2>Static Private Attributes</h2></td></tr> +<tr><td class="memItemLeft" nowrap align="right" valign="top">static bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classAesIcmCypher.html#04da5690d9102c6b3fe5bf78a8827ac1">gcrypt_initialized_</a></td></tr> + +</table> +<hr><h2>Constructor & Destructor Documentation</h2> +<a class="anchor" name="628abe54d9f3ac715dcaa0ae9ebf44bc"></a><!-- doxytag: member="AesIcmCypher::AesIcmCypher" ref="628abe54d9f3ac715dcaa0ae9ebf44bc" args="()" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">AesIcmCypher::AesIcmCypher </td> + <td>(</td> + <td class="paramname"> </td> + <td> ) </td> + <td width="100%"></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<a class="anchor" name="fdf9ab22374ffdad856f172eefacbd17"></a><!-- doxytag: member="AesIcmCypher::~AesIcmCypher" ref="fdf9ab22374ffdad856f172eefacbd17" args="()" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">AesIcmCypher::~AesIcmCypher </td> + <td>(</td> + <td class="paramname"> </td> + <td> ) </td> + <td width="100%"></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<hr><h2>Member Function Documentation</h2> +<a class="anchor" name="605a38676ef12ad0b69628c5d53ef007"></a><!-- doxytag: member="AesIcmCypher::setKey" ref="605a38676ef12ad0b69628c5d53ef007" args="(Buffer key)" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">void AesIcmCypher::setKey </td> + <td>(</td> + <td class="paramtype"><a class="el" href="classBuffer.html">Buffer</a> </td> + <td class="paramname"> <em>key</em> </td> + <td> ) </td> + <td width="100%"></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +<p> +Reimplemented from <a class="el" href="classCypher.html#7320b82d14391ab7d25271aa5114e190">Cypher</a>. +</div> +</div><p> +<a class="anchor" name="6741487a9d6dfe3ae76bb168ed711259"></a><!-- doxytag: member="AesIcmCypher::setSalt" ref="6741487a9d6dfe3ae76bb168ed711259" args="(Buffer salt)" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">void AesIcmCypher::setSalt </td> + <td>(</td> + <td class="paramtype"><a class="el" href="classBuffer.html">Buffer</a> </td> + <td class="paramname"> <em>salt</em> </td> + <td> ) </td> + <td width="100%"></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +<p> +Reimplemented from <a class="el" href="classCypher.html#2546ef49e5ce8abe8062186d5f6b2ef8">Cypher</a>. +</div> +</div><p> +<a class="anchor" name="ebac1fbb9a4cb56411fcd45ca63f47a1"></a><!-- doxytag: member="AesIcmCypher::getBitStream" ref="ebac1fbb9a4cb56411fcd45ca63f47a1" args="(u_int32_t length, seq_nr_t seq_nr, sender_id_t sender_id)" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname"><a class="el" href="classBuffer.html">Buffer</a> AesIcmCypher::getBitStream </td> + <td>(</td> + <td class="paramtype"><a class="el" href="datatypes_8h.html#1382fcaa92d837ce7c0961788c8243d7">u_int32_t</a> </td> + <td class="paramname"> <em>length</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype"><a class="el" href="datatypes_8h.html#317be74a3176b4149a817241bd69f9b2">seq_nr_t</a> </td> + <td class="paramname"> <em>seq_nr</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype"><a class="el" href="datatypes_8h.html#c8be006c348a522ae126f67f7b2aaf4e">sender_id_t</a> </td> + <td class="paramname"> <em>sender_id</em></td><td> </td> + </tr> + <tr> + <td></td> + <td>)</td> + <td></td><td></td><td width="100%"><code> [protected, virtual]</code></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +<p> +Implements <a class="el" href="classCypher.html#7ddf1bcd476978daa97148ec406d6483">Cypher</a>. +</div> +</div><p> +<hr><h2>Member Data Documentation</h2> +<a class="anchor" name="605842d12379711d74401d0923b5d76e"></a><!-- doxytag: member="AesIcmCypher::MIN_GCRYPT_VERSION" ref="605842d12379711d74401d0923b5d76e" args="" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">const std::string <a class="el" href="classAesIcmCypher.html#605842d12379711d74401d0923b5d76e">AesIcmCypher::MIN_GCRYPT_VERSION</a><code> [static]</code> </td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<a class="anchor" name="4d1dea41b9745bca5a2d84fcefe3558c"></a><!-- doxytag: member="AesIcmCypher::GCRYPT_SEC_MEM" ref="4d1dea41b9745bca5a2d84fcefe3558c" args="" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">const <a class="el" href="datatypes_8h.html#1382fcaa92d837ce7c0961788c8243d7">u_int32_t</a> <a class="el" href="classAesIcmCypher.html#4d1dea41b9745bca5a2d84fcefe3558c">AesIcmCypher::GCRYPT_SEC_MEM</a><code> [static]</code> </td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<a class="anchor" name="d74a46baaee2e0755902d134274eac9a"></a><!-- doxytag: member="AesIcmCypher::cipher_" ref="d74a46baaee2e0755902d134274eac9a" args="" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">gcry_cipher_hd_t <a class="el" href="classAesIcmCypher.html#d74a46baaee2e0755902d134274eac9a">AesIcmCypher::cipher_</a><code> [protected]</code> </td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<a class="anchor" name="a62620f7280574b142a0eb29880f5083"></a><!-- doxytag: member="AesIcmCypher::salt_" ref="a62620f7280574b142a0eb29880f5083" args="" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname"><a class="el" href="classBuffer.html">Buffer</a> <a class="el" href="classAesIcmCypher.html#a62620f7280574b142a0eb29880f5083">AesIcmCypher::salt_</a><code> [protected]</code> </td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<a class="anchor" name="04da5690d9102c6b3fe5bf78a8827ac1"></a><!-- doxytag: member="AesIcmCypher::gcrypt_initialized_" ref="04da5690d9102c6b3fe5bf78a8827ac1" args="" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">bool <a class="el" href="classAesIcmCypher.html#04da5690d9102c6b3fe5bf78a8827ac1">AesIcmCypher::gcrypt_initialized_</a><code> [static, private]</code> </td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<hr>The documentation for this class was generated from the following files:<ul> +<li><a class="el" href="cypher_8h-source.html">cypher.h</a><li><a class="el" href="cypher_8cpp.html">cypher.cpp</a></ul> +<hr size="1"><address style="align: right;"><small>Generated on Sun Oct 7 23:43:49 2007 for anytun by +<a href="http://www.doxygen.org/index.html"> +<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address> +</body> +</html> diff --git a/doc/html/classAesIcmCypher.png b/doc/html/classAesIcmCypher.png Binary files differnew file mode 100644 index 0000000..cb9166f --- /dev/null +++ b/doc/html/classAesIcmCypher.png diff --git a/doc/html/classAuthAlgo-members.html b/doc/html/classAuthAlgo-members.html new file mode 100644 index 0000000..cd757c5 --- /dev/null +++ b/doc/html/classAuthAlgo-members.html @@ -0,0 +1,29 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> +<title>anytun: Member List</title> +<link href="doxygen.css" rel="stylesheet" type="text/css"> +<link href="tabs.css" rel="stylesheet" type="text/css"> +</head><body> +<!-- Generated by Doxygen 1.5.1 --> +<div class="tabs"> + <ul> + <li><a href="main.html"><span>Main Page</span></a></li> + <li><a href="namespaces.html"><span>Namespaces</span></a></li> + <li id="current"><a href="annotated.html"><span>Classes</span></a></li> + <li><a href="files.html"><span>Files</span></a></li> + </ul></div> +<div class="tabs"> + <ul> + <li><a href="annotated.html"><span>Class List</span></a></li> + <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> + <li><a href="functions.html"><span>Class Members</span></a></li> + </ul></div> +<h1>AuthAlgo Member List</h1>This is the complete list of members for <a class="el" href="classAuthAlgo.html">AuthAlgo</a>, including all inherited members.<p><table> + <tr class="memlist"><td><a class="el" href="classAuthAlgo.html#22a200c372d9aeb73a4cbdd95ba30a0e">AuthAlgo</a>()</td><td><a class="el" href="classAuthAlgo.html">AuthAlgo</a></td><td><code> [inline]</code></td></tr> + <tr class="memlist"><td><a class="el" href="classAuthAlgo.html#f53b44f90c33eb049da260947a75c916">calc</a>(const Buffer &buf)=0</td><td><a class="el" href="classAuthAlgo.html">AuthAlgo</a></td><td><code> [pure virtual]</code></td></tr> + <tr class="memlist"><td><a class="el" href="classAuthAlgo.html#e3428186b4e005e879e26c2b8e04fa4a">~AuthAlgo</a>()</td><td><a class="el" href="classAuthAlgo.html">AuthAlgo</a></td><td><code> [inline, virtual]</code></td></tr> +</table><hr size="1"><address style="align: right;"><small>Generated on Sun Oct 7 23:43:49 2007 for anytun by +<a href="http://www.doxygen.org/index.html"> +<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address> +</body> +</html> diff --git a/doc/html/classAuthAlgo.html b/doc/html/classAuthAlgo.html new file mode 100644 index 0000000..c840aad --- /dev/null +++ b/doc/html/classAuthAlgo.html @@ -0,0 +1,107 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> +<title>anytun: AuthAlgo Class Reference</title> +<link href="doxygen.css" rel="stylesheet" type="text/css"> +<link href="tabs.css" rel="stylesheet" type="text/css"> +</head><body> +<!-- Generated by Doxygen 1.5.1 --> +<div class="tabs"> + <ul> + <li><a href="main.html"><span>Main Page</span></a></li> + <li><a href="namespaces.html"><span>Namespaces</span></a></li> + <li id="current"><a href="annotated.html"><span>Classes</span></a></li> + <li><a href="files.html"><span>Files</span></a></li> + </ul></div> +<div class="tabs"> + <ul> + <li><a href="annotated.html"><span>Class List</span></a></li> + <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> + <li><a href="functions.html"><span>Class Members</span></a></li> + </ul></div> +<h1>AuthAlgo Class Reference</h1><!-- doxytag: class="AuthAlgo" --><code>#include <<a class="el" href="authAlgo_8h-source.html">authAlgo.h</a>></code> +<p> +<p>Inheritance diagram for AuthAlgo: +<p><center><img src="classAuthAlgo.png" usemap="#AuthAlgo_map" border="0" alt=""></center> +<map name="AuthAlgo_map"> +<area href="classHmacAuthAlgo.html" alt="HmacAuthAlgo" shape="rect" coords="0,56,96,80"> +<area href="classNullAuthAlgo.html" alt="NullAuthAlgo" shape="rect" coords="106,56,202,80"> +</map> +<a href="classAuthAlgo-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0"> +<tr><td></td></tr> +<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr> +<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classAuthAlgo.html#22a200c372d9aeb73a4cbdd95ba30a0e">AuthAlgo</a> ()</td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="classAuthAlgo.html#e3428186b4e005e879e26c2b8e04fa4a">~AuthAlgo</a> ()</td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="datatypes_8h.html#3618ec768f7f5b8ed61f2ad534e1882d">auth_tag_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classAuthAlgo.html#f53b44f90c33eb049da260947a75c916">calc</a> (const <a class="el" href="classBuffer.html">Buffer</a> &buf)=0</td></tr> + +</table> +<hr><h2>Constructor & Destructor Documentation</h2> +<a class="anchor" name="22a200c372d9aeb73a4cbdd95ba30a0e"></a><!-- doxytag: member="AuthAlgo::AuthAlgo" ref="22a200c372d9aeb73a4cbdd95ba30a0e" args="()" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">AuthAlgo::AuthAlgo </td> + <td>(</td> + <td class="paramname"> </td> + <td> ) </td> + <td width="100%"><code> [inline]</code></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<a class="anchor" name="e3428186b4e005e879e26c2b8e04fa4a"></a><!-- doxytag: member="AuthAlgo::~AuthAlgo" ref="e3428186b4e005e879e26c2b8e04fa4a" args="()" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">virtual AuthAlgo::~AuthAlgo </td> + <td>(</td> + <td class="paramname"> </td> + <td> ) </td> + <td width="100%"><code> [inline, virtual]</code></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<hr><h2>Member Function Documentation</h2> +<a class="anchor" name="f53b44f90c33eb049da260947a75c916"></a><!-- doxytag: member="AuthAlgo::calc" ref="f53b44f90c33eb049da260947a75c916" args="(const Buffer &buf)=0" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">virtual <a class="el" href="datatypes_8h.html#3618ec768f7f5b8ed61f2ad534e1882d">auth_tag_t</a> AuthAlgo::calc </td> + <td>(</td> + <td class="paramtype">const <a class="el" href="classBuffer.html">Buffer</a> & </td> + <td class="paramname"> <em>buf</em> </td> + <td> ) </td> + <td width="100%"><code> [pure virtual]</code></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +<p> +Implemented in <a class="el" href="classNullAuthAlgo.html#60eead12d6b32a576ad40d999a6151cf">NullAuthAlgo</a>, and <a class="el" href="classHmacAuthAlgo.html#af50c9aa6b61ff6f4631e3f78f77dc97">HmacAuthAlgo</a>. +</div> +</div><p> +<hr>The documentation for this class was generated from the following file:<ul> +<li><a class="el" href="authAlgo_8h-source.html">authAlgo.h</a></ul> +<hr size="1"><address style="align: right;"><small>Generated on Sun Oct 7 23:43:49 2007 for anytun by +<a href="http://www.doxygen.org/index.html"> +<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address> +</body> +</html> diff --git a/doc/html/classAuthAlgo.png b/doc/html/classAuthAlgo.png Binary files differnew file mode 100644 index 0000000..eb8532f --- /dev/null +++ b/doc/html/classAuthAlgo.png diff --git a/doc/html/classBuffer-members.html b/doc/html/classBuffer-members.html new file mode 100644 index 0000000..cb3f162 --- /dev/null +++ b/doc/html/classBuffer-members.html @@ -0,0 +1,49 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> +<title>anytun: Member List</title> +<link href="doxygen.css" rel="stylesheet" type="text/css"> +<link href="tabs.css" rel="stylesheet" type="text/css"> +</head><body> +<!-- Generated by Doxygen 1.5.1 --> +<div class="tabs"> + <ul> + <li><a href="main.html"><span>Main Page</span></a></li> + <li><a href="namespaces.html"><span>Namespaces</span></a></li> + <li id="current"><a href="annotated.html"><span>Classes</span></a></li> + <li><a href="files.html"><span>Files</span></a></li> + </ul></div> +<div class="tabs"> + <ul> + <li><a href="annotated.html"><span>Class List</span></a></li> + <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> + <li><a href="functions.html"><span>Class Members</span></a></li> + </ul></div> +<h1>Buffer Member List</h1>This is the complete list of members for <a class="el" href="classBuffer.html">Buffer</a>, including all inherited members.<p><table> + <tr class="memlist"><td><a class="el" href="classBuffer.html#41d791e5b640813dea34c24c11056581">AesIcmCypher</a> class</td><td><a class="el" href="classBuffer.html">Buffer</a></td><td><code> [friend]</code></td></tr> + <tr class="memlist"><td><a class="el" href="classBuffer.html#e60240b77a315e6b3c2bf88592d0be48">buf_</a></td><td><a class="el" href="classBuffer.html">Buffer</a></td><td><code> [protected]</code></td></tr> + <tr class="memlist"><td><a class="el" href="classBuffer.html#e7ef2cd201190fde551dcb902627112b">Buffer</a>()</td><td><a class="el" href="classBuffer.html">Buffer</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classBuffer.html#5c58aa9e491f709011408ee7837d57d0">Buffer</a>(u_int32_t length)</td><td><a class="el" href="classBuffer.html">Buffer</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classBuffer.html#5bc2edccfb7c1a33354c895ab25c4816">Buffer</a>(u_int8_t *data, u_int32_t length)</td><td><a class="el" href="classBuffer.html">Buffer</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classBuffer.html#042fe5bc1f8d0c25d5707d6955d1654c">Buffer</a>(const Buffer &src)</td><td><a class="el" href="classBuffer.html">Buffer</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classBuffer.html#7890e20c6c77eb631c39728ea08b35b8">getBuf</a>()</td><td><a class="el" href="classBuffer.html">Buffer</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classBuffer.html#09ced241e4d0a46c52f0f20398076435">getLength</a>() const</td><td><a class="el" href="classBuffer.html">Buffer</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classBuffer.html#1d039eb05e29b8eeadca9b474bb6d49f">KeyDerivation</a> class</td><td><a class="el" href="classBuffer.html">Buffer</a></td><td><code> [friend]</code></td></tr> + <tr class="memlist"><td><a class="el" href="classBuffer.html#13200a4925b1b3c08f99e09ccb6854a1">leftByteShift</a>(u_int32_t width) const</td><td><a class="el" href="classBuffer.html">Buffer</a></td><td><code> [virtual]</code></td></tr> + <tr class="memlist"><td><a class="el" href="classBuffer.html#d3a779d2403b5183427f12554e2f51c3">length_</a></td><td><a class="el" href="classBuffer.html">Buffer</a></td><td><code> [protected]</code></td></tr> + <tr class="memlist"><td><a class="el" href="classBuffer.html#dcf367d5f1b7fced7aa61bb919af7943">operator u_int8_t *</a>()</td><td><a class="el" href="classBuffer.html">Buffer</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classBuffer.html#14cec0d3bf4f3f1a4a9930a8c53eb43a">operator=</a>(const Buffer &src)</td><td><a class="el" href="classBuffer.html">Buffer</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classBuffer.html#763882c627db10206f78b090556b00fa">operator[]</a>(u_int32_t index)</td><td><a class="el" href="classBuffer.html">Buffer</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classBuffer.html#e5a9559862374ebd9dfcfc1204890497">operator[]</a>(u_int32_t index) const</td><td><a class="el" href="classBuffer.html">Buffer</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classBuffer.html#d56159a415541fcff34ef8aed1eb7183">operator^</a>(const Buffer &xor_by) const </td><td><a class="el" href="classBuffer.html">Buffer</a></td><td><code> [virtual]</code></td></tr> + <tr class="memlist"><td><a class="el" href="classBuffer.html#13d927c471a7516b37bc9ad8fc1741ce">printHexDump</a>() const</td><td><a class="el" href="classBuffer.html">Buffer</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classBuffer.html#5698b2d64238f1f38578dc8e9e2b1bc9">resizeBack</a>(u_int32_t new_length)</td><td><a class="el" href="classBuffer.html">Buffer</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classBuffer.html#fe4b10487b4930e0407bdf61857629d6">resizeFront</a>(u_int32_t new_length)</td><td><a class="el" href="classBuffer.html">Buffer</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classBuffer.html#298949899f3f78e4a8b3df7fa5ec532d">rightByteShift</a>(u_int32_t width) const</td><td><a class="el" href="classBuffer.html">Buffer</a></td><td><code> [virtual]</code></td></tr> + <tr class="memlist"><td><a class="el" href="classBuffer.html#51b494563d277beb4740f86c519f30fb">TunDevice</a> class</td><td><a class="el" href="classBuffer.html">Buffer</a></td><td><code> [friend]</code></td></tr> + <tr class="memlist"><td><a class="el" href="classBuffer.html#940a382a5e3a8622e6689e13dc453481">UDPPacketSource</a> class</td><td><a class="el" href="classBuffer.html">Buffer</a></td><td><code> [friend]</code></td></tr> + <tr class="memlist"><td><a class="el" href="classBuffer.html#59b8743e4a5f731bdd0c4185c9ef263b">~Buffer</a>()</td><td><a class="el" href="classBuffer.html">Buffer</a></td><td><code> [virtual]</code></td></tr> +</table><hr size="1"><address style="align: right;"><small>Generated on Sun Oct 7 23:43:50 2007 for anytun by +<a href="http://www.doxygen.org/index.html"> +<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address> +</body> +</html> diff --git a/doc/html/classBuffer.html b/doc/html/classBuffer.html new file mode 100644 index 0000000..8131f7b --- /dev/null +++ b/doc/html/classBuffer.html @@ -0,0 +1,524 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> +<title>anytun: Buffer Class Reference</title> +<link href="doxygen.css" rel="stylesheet" type="text/css"> +<link href="tabs.css" rel="stylesheet" type="text/css"> +</head><body> +<!-- Generated by Doxygen 1.5.1 --> +<div class="tabs"> + <ul> + <li><a href="main.html"><span>Main Page</span></a></li> + <li><a href="namespaces.html"><span>Namespaces</span></a></li> + <li id="current"><a href="annotated.html"><span>Classes</span></a></li> + <li><a href="files.html"><span>Files</span></a></li> + </ul></div> +<div class="tabs"> + <ul> + <li><a href="annotated.html"><span>Class List</span></a></li> + <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> + <li><a href="functions.html"><span>Class Members</span></a></li> + </ul></div> +<h1>Buffer Class Reference</h1><!-- doxytag: class="Buffer" --><code>#include <<a class="el" href="buffer_8h-source.html">buffer.h</a>></code> +<p> +<p>Inheritance diagram for Buffer: +<p><center><img src="classBuffer.png" usemap="#Buffer_map" border="0" alt=""></center> +<map name="Buffer_map"> +<area href="classPacket.html" alt="Packet" shape="rect" coords="0,56,73,80"> +<area href="classsatp_1_1SATP.html" alt="satp::SATP" shape="rect" coords="0,112,73,136"> +</map> +<a href="classBuffer-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0"> +<tr><td></td></tr> +<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr> +<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classBuffer.html#e7ef2cd201190fde551dcb902627112b">Buffer</a> ()</td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classBuffer.html#5c58aa9e491f709011408ee7837d57d0">Buffer</a> (<a class="el" href="datatypes_8h.html#1382fcaa92d837ce7c0961788c8243d7">u_int32_t</a> length)</td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classBuffer.html#5bc2edccfb7c1a33354c895ab25c4816">Buffer</a> (<a class="el" href="datatypes_8h.html#40a40c6e9649a4e3806e76fef247d241">u_int8_t</a> *data, <a class="el" href="datatypes_8h.html#1382fcaa92d837ce7c0961788c8243d7">u_int32_t</a> length)</td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="classBuffer.html#59b8743e4a5f731bdd0c4185c9ef263b">~Buffer</a> ()</td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classBuffer.html#042fe5bc1f8d0c25d5707d6955d1654c">Buffer</a> (const <a class="el" href="classBuffer.html">Buffer</a> &src)</td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classBuffer.html#14cec0d3bf4f3f1a4a9930a8c53eb43a">operator=</a> (const <a class="el" href="classBuffer.html">Buffer</a> &src)</td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="classBuffer.html">Buffer</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classBuffer.html#d56159a415541fcff34ef8aed1eb7183">operator^</a> (const <a class="el" href="classBuffer.html">Buffer</a> &xor_by) const </td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="classBuffer.html">Buffer</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classBuffer.html#13200a4925b1b3c08f99e09ccb6854a1">leftByteShift</a> (<a class="el" href="datatypes_8h.html#1382fcaa92d837ce7c0961788c8243d7">u_int32_t</a> width) const</td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="classBuffer.html">Buffer</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classBuffer.html#298949899f3f78e4a8b3df7fa5ec532d">rightByteShift</a> (<a class="el" href="datatypes_8h.html#1382fcaa92d837ce7c0961788c8243d7">u_int32_t</a> width) const</td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="datatypes_8h.html#1382fcaa92d837ce7c0961788c8243d7">u_int32_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classBuffer.html#fe4b10487b4930e0407bdf61857629d6">resizeFront</a> (<a class="el" href="datatypes_8h.html#1382fcaa92d837ce7c0961788c8243d7">u_int32_t</a> new_length)</td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="datatypes_8h.html#1382fcaa92d837ce7c0961788c8243d7">u_int32_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classBuffer.html#5698b2d64238f1f38578dc8e9e2b1bc9">resizeBack</a> (<a class="el" href="datatypes_8h.html#1382fcaa92d837ce7c0961788c8243d7">u_int32_t</a> new_length)</td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="datatypes_8h.html#1382fcaa92d837ce7c0961788c8243d7">u_int32_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classBuffer.html#09ced241e4d0a46c52f0f20398076435">getLength</a> () const</td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="datatypes_8h.html#40a40c6e9649a4e3806e76fef247d241">u_int8_t</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classBuffer.html#7890e20c6c77eb631c39728ea08b35b8">getBuf</a> ()</td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="datatypes_8h.html#40a40c6e9649a4e3806e76fef247d241">u_int8_t</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classBuffer.html#763882c627db10206f78b090556b00fa">operator[]</a> (<a class="el" href="datatypes_8h.html#1382fcaa92d837ce7c0961788c8243d7">u_int32_t</a> index)</td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="datatypes_8h.html#40a40c6e9649a4e3806e76fef247d241">u_int8_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classBuffer.html#e5a9559862374ebd9dfcfc1204890497">operator[]</a> (<a class="el" href="datatypes_8h.html#1382fcaa92d837ce7c0961788c8243d7">u_int32_t</a> index) const</td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classBuffer.html#13d927c471a7516b37bc9ad8fc1741ce">printHexDump</a> () const</td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classBuffer.html#dcf367d5f1b7fced7aa61bb919af7943">operator u_int8_t *</a> ()</td></tr> + +<tr><td colspan="2"><br><h2>Protected Attributes</h2></td></tr> +<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="datatypes_8h.html#40a40c6e9649a4e3806e76fef247d241">u_int8_t</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classBuffer.html#e60240b77a315e6b3c2bf88592d0be48">buf_</a></td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="datatypes_8h.html#1382fcaa92d837ce7c0961788c8243d7">u_int32_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classBuffer.html#d3a779d2403b5183427f12554e2f51c3">length_</a></td></tr> + +<tr><td colspan="2"><br><h2>Friends</h2></td></tr> +<tr><td class="memItemLeft" nowrap align="right" valign="top">class </td><td class="memItemRight" valign="bottom"><a class="el" href="classBuffer.html#51b494563d277beb4740f86c519f30fb">TunDevice</a></td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top">class </td><td class="memItemRight" valign="bottom"><a class="el" href="classBuffer.html#940a382a5e3a8622e6689e13dc453481">UDPPacketSource</a></td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top">class </td><td class="memItemRight" valign="bottom"><a class="el" href="classBuffer.html#41d791e5b640813dea34c24c11056581">AesIcmCypher</a></td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top">class </td><td class="memItemRight" valign="bottom"><a class="el" href="classBuffer.html#1d039eb05e29b8eeadca9b474bb6d49f">KeyDerivation</a></td></tr> + +</table> +<hr><h2>Constructor & Destructor Documentation</h2> +<a class="anchor" name="e7ef2cd201190fde551dcb902627112b"></a><!-- doxytag: member="Buffer::Buffer" ref="e7ef2cd201190fde551dcb902627112b" args="()" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">Buffer::Buffer </td> + <td>(</td> + <td class="paramname"> </td> + <td> ) </td> + <td width="100%"></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<a class="anchor" name="5c58aa9e491f709011408ee7837d57d0"></a><!-- doxytag: member="Buffer::Buffer" ref="5c58aa9e491f709011408ee7837d57d0" args="(u_int32_t length)" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">Buffer::Buffer </td> + <td>(</td> + <td class="paramtype"><a class="el" href="datatypes_8h.html#1382fcaa92d837ce7c0961788c8243d7">u_int32_t</a> </td> + <td class="paramname"> <em>length</em> </td> + <td> ) </td> + <td width="100%"></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<a class="anchor" name="5bc2edccfb7c1a33354c895ab25c4816"></a><!-- doxytag: member="Buffer::Buffer" ref="5bc2edccfb7c1a33354c895ab25c4816" args="(u_int8_t *data, u_int32_t length)" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">Buffer::Buffer </td> + <td>(</td> + <td class="paramtype"><a class="el" href="datatypes_8h.html#40a40c6e9649a4e3806e76fef247d241">u_int8_t</a> * </td> + <td class="paramname"> <em>data</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype"><a class="el" href="datatypes_8h.html#1382fcaa92d837ce7c0961788c8243d7">u_int32_t</a> </td> + <td class="paramname"> <em>length</em></td><td> </td> + </tr> + <tr> + <td></td> + <td>)</td> + <td></td><td></td><td width="100%"></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<a class="anchor" name="59b8743e4a5f731bdd0c4185c9ef263b"></a><!-- doxytag: member="Buffer::~Buffer" ref="59b8743e4a5f731bdd0c4185c9ef263b" args="()" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">Buffer::~Buffer </td> + <td>(</td> + <td class="paramname"> </td> + <td> ) </td> + <td width="100%"><code> [virtual]</code></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<a class="anchor" name="042fe5bc1f8d0c25d5707d6955d1654c"></a><!-- doxytag: member="Buffer::Buffer" ref="042fe5bc1f8d0c25d5707d6955d1654c" args="(const Buffer &src)" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">Buffer::Buffer </td> + <td>(</td> + <td class="paramtype">const <a class="el" href="classBuffer.html">Buffer</a> & </td> + <td class="paramname"> <em>src</em> </td> + <td> ) </td> + <td width="100%"></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<hr><h2>Member Function Documentation</h2> +<a class="anchor" name="14cec0d3bf4f3f1a4a9930a8c53eb43a"></a><!-- doxytag: member="Buffer::operator=" ref="14cec0d3bf4f3f1a4a9930a8c53eb43a" args="(const Buffer &src)" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">void Buffer::operator= </td> + <td>(</td> + <td class="paramtype">const <a class="el" href="classBuffer.html">Buffer</a> & </td> + <td class="paramname"> <em>src</em> </td> + <td> ) </td> + <td width="100%"></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<a class="anchor" name="d56159a415541fcff34ef8aed1eb7183"></a><!-- doxytag: member="Buffer::operator^" ref="d56159a415541fcff34ef8aed1eb7183" args="(const Buffer &xor_by) const " --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname"><a class="el" href="classBuffer.html">Buffer</a> Buffer::operator^ </td> + <td>(</td> + <td class="paramtype">const <a class="el" href="classBuffer.html">Buffer</a> & </td> + <td class="paramname"> <em>xor_by</em> </td> + <td> ) </td> + <td width="100%"> const<code> [virtual]</code></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<a class="anchor" name="13200a4925b1b3c08f99e09ccb6854a1"></a><!-- doxytag: member="Buffer::leftByteShift" ref="13200a4925b1b3c08f99e09ccb6854a1" args="(u_int32_t width) const" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname"><a class="el" href="classBuffer.html">Buffer</a> Buffer::leftByteShift </td> + <td>(</td> + <td class="paramtype"><a class="el" href="datatypes_8h.html#1382fcaa92d837ce7c0961788c8243d7">u_int32_t</a> </td> + <td class="paramname"> <em>width</em> </td> + <td> ) </td> + <td width="100%"> const<code> [virtual]</code></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<a class="anchor" name="298949899f3f78e4a8b3df7fa5ec532d"></a><!-- doxytag: member="Buffer::rightByteShift" ref="298949899f3f78e4a8b3df7fa5ec532d" args="(u_int32_t width) const" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname"><a class="el" href="classBuffer.html">Buffer</a> Buffer::rightByteShift </td> + <td>(</td> + <td class="paramtype"><a class="el" href="datatypes_8h.html#1382fcaa92d837ce7c0961788c8243d7">u_int32_t</a> </td> + <td class="paramname"> <em>width</em> </td> + <td> ) </td> + <td width="100%"> const<code> [virtual]</code></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<a class="anchor" name="fe4b10487b4930e0407bdf61857629d6"></a><!-- doxytag: member="Buffer::resizeFront" ref="fe4b10487b4930e0407bdf61857629d6" args="(u_int32_t new_length)" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname"><a class="el" href="datatypes_8h.html#1382fcaa92d837ce7c0961788c8243d7">u_int32_t</a> Buffer::resizeFront </td> + <td>(</td> + <td class="paramtype"><a class="el" href="datatypes_8h.html#1382fcaa92d837ce7c0961788c8243d7">u_int32_t</a> </td> + <td class="paramname"> <em>new_length</em> </td> + <td> ) </td> + <td width="100%"></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<a class="anchor" name="5698b2d64238f1f38578dc8e9e2b1bc9"></a><!-- doxytag: member="Buffer::resizeBack" ref="5698b2d64238f1f38578dc8e9e2b1bc9" args="(u_int32_t new_length)" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname"><a class="el" href="datatypes_8h.html#1382fcaa92d837ce7c0961788c8243d7">u_int32_t</a> Buffer::resizeBack </td> + <td>(</td> + <td class="paramtype"><a class="el" href="datatypes_8h.html#1382fcaa92d837ce7c0961788c8243d7">u_int32_t</a> </td> + <td class="paramname"> <em>new_length</em> </td> + <td> ) </td> + <td width="100%"></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<a class="anchor" name="09ced241e4d0a46c52f0f20398076435"></a><!-- doxytag: member="Buffer::getLength" ref="09ced241e4d0a46c52f0f20398076435" args="() const" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname"><a class="el" href="datatypes_8h.html#1382fcaa92d837ce7c0961788c8243d7">u_int32_t</a> Buffer::getLength </td> + <td>(</td> + <td class="paramname"> </td> + <td> ) </td> + <td width="100%"> const</td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<a class="anchor" name="7890e20c6c77eb631c39728ea08b35b8"></a><!-- doxytag: member="Buffer::getBuf" ref="7890e20c6c77eb631c39728ea08b35b8" args="()" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname"><a class="el" href="datatypes_8h.html#40a40c6e9649a4e3806e76fef247d241">u_int8_t</a> * Buffer::getBuf </td> + <td>(</td> + <td class="paramname"> </td> + <td> ) </td> + <td width="100%"></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<a class="anchor" name="763882c627db10206f78b090556b00fa"></a><!-- doxytag: member="Buffer::operator[]" ref="763882c627db10206f78b090556b00fa" args="(u_int32_t index)" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname"><a class="el" href="datatypes_8h.html#40a40c6e9649a4e3806e76fef247d241">u_int8_t</a> & Buffer::operator[] </td> + <td>(</td> + <td class="paramtype"><a class="el" href="datatypes_8h.html#1382fcaa92d837ce7c0961788c8243d7">u_int32_t</a> </td> + <td class="paramname"> <em>index</em> </td> + <td> ) </td> + <td width="100%"></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<a class="anchor" name="e5a9559862374ebd9dfcfc1204890497"></a><!-- doxytag: member="Buffer::operator[]" ref="e5a9559862374ebd9dfcfc1204890497" args="(u_int32_t index) const" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname"><a class="el" href="datatypes_8h.html#40a40c6e9649a4e3806e76fef247d241">u_int8_t</a> Buffer::operator[] </td> + <td>(</td> + <td class="paramtype"><a class="el" href="datatypes_8h.html#1382fcaa92d837ce7c0961788c8243d7">u_int32_t</a> </td> + <td class="paramname"> <em>index</em> </td> + <td> ) </td> + <td width="100%"> const</td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<a class="anchor" name="13d927c471a7516b37bc9ad8fc1741ce"></a><!-- doxytag: member="Buffer::printHexDump" ref="13d927c471a7516b37bc9ad8fc1741ce" args="() const" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">void Buffer::printHexDump </td> + <td>(</td> + <td class="paramname"> </td> + <td> ) </td> + <td width="100%"> const</td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<a class="anchor" name="dcf367d5f1b7fced7aa61bb919af7943"></a><!-- doxytag: member="Buffer::operator u_int8_t *" ref="dcf367d5f1b7fced7aa61bb919af7943" args="()" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">Buffer::operator <a class="el" href="datatypes_8h.html#40a40c6e9649a4e3806e76fef247d241">u_int8_t</a> * </td> + <td>(</td> + <td class="paramname"> </td> + <td> ) </td> + <td width="100%"></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<hr><h2>Friends And Related Function Documentation</h2> +<a class="anchor" name="51b494563d277beb4740f86c519f30fb"></a><!-- doxytag: member="Buffer::TunDevice" ref="51b494563d277beb4740f86c519f30fb" args="" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">friend class <a class="el" href="classTunDevice.html">TunDevice</a><code> [friend]</code> </td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<a class="anchor" name="940a382a5e3a8622e6689e13dc453481"></a><!-- doxytag: member="Buffer::UDPPacketSource" ref="940a382a5e3a8622e6689e13dc453481" args="" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">friend class <a class="el" href="classUDPPacketSource.html">UDPPacketSource</a><code> [friend]</code> </td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<a class="anchor" name="41d791e5b640813dea34c24c11056581"></a><!-- doxytag: member="Buffer::AesIcmCypher" ref="41d791e5b640813dea34c24c11056581" args="" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">friend class <a class="el" href="classAesIcmCypher.html">AesIcmCypher</a><code> [friend]</code> </td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<a class="anchor" name="1d039eb05e29b8eeadca9b474bb6d49f"></a><!-- doxytag: member="Buffer::KeyDerivation" ref="1d039eb05e29b8eeadca9b474bb6d49f" args="" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">friend class <a class="el" href="classKeyDerivation.html">KeyDerivation</a><code> [friend]</code> </td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<hr><h2>Member Data Documentation</h2> +<a class="anchor" name="e60240b77a315e6b3c2bf88592d0be48"></a><!-- doxytag: member="Buffer::buf_" ref="e60240b77a315e6b3c2bf88592d0be48" args="" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname"><a class="el" href="datatypes_8h.html#40a40c6e9649a4e3806e76fef247d241">u_int8_t</a>* <a class="el" href="classBuffer.html#e60240b77a315e6b3c2bf88592d0be48">Buffer::buf_</a><code> [protected]</code> </td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<a class="anchor" name="d3a779d2403b5183427f12554e2f51c3"></a><!-- doxytag: member="Buffer::length_" ref="d3a779d2403b5183427f12554e2f51c3" args="" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname"><a class="el" href="datatypes_8h.html#1382fcaa92d837ce7c0961788c8243d7">u_int32_t</a> <a class="el" href="classBuffer.html#d3a779d2403b5183427f12554e2f51c3">Buffer::length_</a><code> [protected]</code> </td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<hr>The documentation for this class was generated from the following files:<ul> +<li><a class="el" href="buffer_8h-source.html">buffer.h</a><li><a class="el" href="buffer_8cpp.html">buffer.cpp</a></ul> +<hr size="1"><address style="align: right;"><small>Generated on Sun Oct 7 23:43:50 2007 for anytun by +<a href="http://www.doxygen.org/index.html"> +<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address> +</body> +</html> diff --git a/doc/html/classBuffer.png b/doc/html/classBuffer.png Binary files differnew file mode 100644 index 0000000..e6dbf20 --- /dev/null +++ b/doc/html/classBuffer.png diff --git a/doc/html/classCommunicatingSocket-members.html b/doc/html/classCommunicatingSocket-members.html new file mode 100644 index 0000000..5a05f41 --- /dev/null +++ b/doc/html/classCommunicatingSocket-members.html @@ -0,0 +1,43 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> +<title>anytun: Member List</title> +<link href="doxygen.css" rel="stylesheet" type="text/css"> +<link href="tabs.css" rel="stylesheet" type="text/css"> +</head><body> +<!-- Generated by Doxygen 1.5.1 --> +<div class="tabs"> + <ul> + <li><a href="main.html"><span>Main Page</span></a></li> + <li><a href="namespaces.html"><span>Namespaces</span></a></li> + <li id="current"><a href="annotated.html"><span>Classes</span></a></li> + <li><a href="files.html"><span>Files</span></a></li> + </ul></div> +<div class="tabs"> + <ul> + <li><a href="annotated.html"><span>Class List</span></a></li> + <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> + <li><a href="functions.html"><span>Class Members</span></a></li> + </ul></div> +<h1>CommunicatingSocket Member List</h1>This is the complete list of members for <a class="el" href="classCommunicatingSocket.html">CommunicatingSocket</a>, including all inherited members.<p><table> + <tr class="memlist"><td><a class="el" href="classSocket.html#c5060aeb501044044351d5a85b3fc95f">cleanUp</a>()</td><td><a class="el" href="classSocket.html">Socket</a></td><td><code> [static]</code></td></tr> + <tr class="memlist"><td><a class="el" href="classCommunicatingSocket.html#0017517b8d6e761fde0c40475af3b2ab">CommunicatingSocket</a>(int type, int protocol)</td><td><a class="el" href="classCommunicatingSocket.html">CommunicatingSocket</a></td><td><code> [protected]</code></td></tr> + <tr class="memlist"><td><a class="el" href="classCommunicatingSocket.html#27d758db782b3be7d28741e92cb613d1">CommunicatingSocket</a>(int newConnSD)</td><td><a class="el" href="classCommunicatingSocket.html">CommunicatingSocket</a></td><td><code> [protected]</code></td></tr> + <tr class="memlist"><td><a class="el" href="classCommunicatingSocket.html#9192374d9baab8e189860aa8d913683c">connect</a>(const string &foreignAddress, unsigned short foreignPort)</td><td><a class="el" href="classCommunicatingSocket.html">CommunicatingSocket</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classCommunicatingSocket.html#13f9eca30ef56836cf23c163c848c09e">getForeignAddress</a>()</td><td><a class="el" href="classCommunicatingSocket.html">CommunicatingSocket</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classCommunicatingSocket.html#184fbb4775184b87ebd886a5587eb1a3">getForeignPort</a>()</td><td><a class="el" href="classCommunicatingSocket.html">CommunicatingSocket</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classSocket.html#0fca07bdfa97874fba1a17995ed7cda3">getLocalAddress</a>()</td><td><a class="el" href="classSocket.html">Socket</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classSocket.html#e01143b667d69483a2f53d0f4ce7eeed">getLocalPort</a>()</td><td><a class="el" href="classSocket.html">Socket</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classCommunicatingSocket.html#7cf1fd470c0060171b68df9f68c7bd01">recv</a>(void *buffer, int bufferLen)</td><td><a class="el" href="classCommunicatingSocket.html">CommunicatingSocket</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classSocket.html#982c63b25c5b756321a74074a275adbc">resolveService</a>(const string &service, const string &protocol="tcp")</td><td><a class="el" href="classSocket.html">Socket</a></td><td><code> [static]</code></td></tr> + <tr class="memlist"><td><a class="el" href="classCommunicatingSocket.html#ca4e86085c064641e86ae24ea29bbb94">send</a>(const void *buffer, int bufferLen)</td><td><a class="el" href="classCommunicatingSocket.html">CommunicatingSocket</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classSocket.html#a6b986410bc2e606ba27d01fa7cb8836">setLocalAddressAndPort</a>(const string &localAddress, unsigned short localPort=0)</td><td><a class="el" href="classSocket.html">Socket</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classSocket.html#773fe4a35146002de76952e16fdebcfa">setLocalPort</a>(unsigned short localPort)</td><td><a class="el" href="classSocket.html">Socket</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classSocket.html#d5704d2fdfb062139e1f88831617bbfb">sockDesc</a></td><td><a class="el" href="classSocket.html">Socket</a></td><td><code> [protected]</code></td></tr> + <tr class="memlist"><td><a class="el" href="classSocket.html#53e00027bab2125a2b407914c6148589">Socket</a>(int type, int protocol)</td><td><a class="el" href="classSocket.html">Socket</a></td><td><code> [protected]</code></td></tr> + <tr class="memlist"><td><a class="el" href="classSocket.html#6a2609eef6559336a595a336f138d395">Socket</a>(int sockDesc)</td><td><a class="el" href="classSocket.html">Socket</a></td><td><code> [protected]</code></td></tr> + <tr class="memlist"><td><a class="el" href="classSocket.html#eac4eb6379a543d38ed88977d3b6630a">~Socket</a>()</td><td><a class="el" href="classSocket.html">Socket</a></td><td></td></tr> +</table><hr size="1"><address style="align: right;"><small>Generated on Sun Oct 7 23:43:50 2007 for anytun by +<a href="http://www.doxygen.org/index.html"> +<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address> +</body> +</html> diff --git a/doc/html/classCommunicatingSocket.html b/doc/html/classCommunicatingSocket.html new file mode 100644 index 0000000..614d314 --- /dev/null +++ b/doc/html/classCommunicatingSocket.html @@ -0,0 +1,281 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> +<title>anytun: CommunicatingSocket Class Reference</title> +<link href="doxygen.css" rel="stylesheet" type="text/css"> +<link href="tabs.css" rel="stylesheet" type="text/css"> +</head><body> +<!-- Generated by Doxygen 1.5.1 --> +<div class="tabs"> + <ul> + <li><a href="main.html"><span>Main Page</span></a></li> + <li><a href="namespaces.html"><span>Namespaces</span></a></li> + <li id="current"><a href="annotated.html"><span>Classes</span></a></li> + <li><a href="files.html"><span>Files</span></a></li> + </ul></div> +<div class="tabs"> + <ul> + <li><a href="annotated.html"><span>Class List</span></a></li> + <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> + <li><a href="functions.html"><span>Class Members</span></a></li> + </ul></div> +<h1>CommunicatingSocket Class Reference</h1><!-- doxytag: class="CommunicatingSocket" --><!-- doxytag: inherits="Socket" --><code>#include <<a class="el" href="PracticalSocket_8h-source.html">PracticalSocket.h</a>></code> +<p> +<p>Inheritance diagram for CommunicatingSocket: +<p><center><img src="classCommunicatingSocket.png" usemap="#CommunicatingSocket_map" border="0" alt=""></center> +<map name="CommunicatingSocket_map"> +<area href="classSocket.html" alt="Socket" shape="rect" coords="72,0,207,24"> +<area href="classTCPSocket.html" alt="TCPSocket" shape="rect" coords="0,112,135,136"> +<area href="classUDPSocket.html" alt="UDPSocket" shape="rect" coords="145,112,280,136"> +<area href="classUDPPacketSource.html" alt="UDPPacketSource" shape="rect" coords="145,168,280,192"> +</map> +<a href="classCommunicatingSocket-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0"> +<tr><td></td></tr> +<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr> +<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classCommunicatingSocket.html#9192374d9baab8e189860aa8d913683c">connect</a> (const string &foreignAddress, unsigned short foreignPort) throw (SocketException)</td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classCommunicatingSocket.html#ca4e86085c064641e86ae24ea29bbb94">send</a> (const void *buffer, int bufferLen) throw (SocketException)</td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classCommunicatingSocket.html#7cf1fd470c0060171b68df9f68c7bd01">recv</a> (void *buffer, int bufferLen) throw (SocketException)</td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top">string </td><td class="memItemRight" valign="bottom"><a class="el" href="classCommunicatingSocket.html#13f9eca30ef56836cf23c163c848c09e">getForeignAddress</a> () throw (SocketException)</td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top">unsigned short </td><td class="memItemRight" valign="bottom"><a class="el" href="classCommunicatingSocket.html#184fbb4775184b87ebd886a5587eb1a3">getForeignPort</a> () throw (SocketException)</td></tr> + +<tr><td colspan="2"><br><h2>Protected Member Functions</h2></td></tr> +<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classCommunicatingSocket.html#0017517b8d6e761fde0c40475af3b2ab">CommunicatingSocket</a> (int type, int protocol) throw (SocketException)</td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classCommunicatingSocket.html#27d758db782b3be7d28741e92cb613d1">CommunicatingSocket</a> (int newConnSD)</td></tr> + +</table> +<hr><a name="_details"></a><h2>Detailed Description</h2> +<a class="el" href="classSocket.html">Socket</a> which is able to connect, send, and receive +<p> +<hr><h2>Constructor & Destructor Documentation</h2> +<a class="anchor" name="0017517b8d6e761fde0c40475af3b2ab"></a><!-- doxytag: member="CommunicatingSocket::CommunicatingSocket" ref="0017517b8d6e761fde0c40475af3b2ab" args="(int type, int protocol)" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">CommunicatingSocket::CommunicatingSocket </td> + <td>(</td> + <td class="paramtype">int </td> + <td class="paramname"> <em>type</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype">int </td> + <td class="paramname"> <em>protocol</em></td><td> </td> + </tr> + <tr> + <td></td> + <td>)</td> + <td></td><td></td><td width="100%"> throw (<a class="el" href="classSocketException.html">SocketException</a>)<code> [protected]</code></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<a class="anchor" name="27d758db782b3be7d28741e92cb613d1"></a><!-- doxytag: member="CommunicatingSocket::CommunicatingSocket" ref="27d758db782b3be7d28741e92cb613d1" args="(int newConnSD)" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">CommunicatingSocket::CommunicatingSocket </td> + <td>(</td> + <td class="paramtype">int </td> + <td class="paramname"> <em>newConnSD</em> </td> + <td> ) </td> + <td width="100%"><code> [protected]</code></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<hr><h2>Member Function Documentation</h2> +<a class="anchor" name="9192374d9baab8e189860aa8d913683c"></a><!-- doxytag: member="CommunicatingSocket::connect" ref="9192374d9baab8e189860aa8d913683c" args="(const string &foreignAddress, unsigned short foreignPort)" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">void CommunicatingSocket::connect </td> + <td>(</td> + <td class="paramtype">const string & </td> + <td class="paramname"> <em>foreignAddress</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype">unsigned short </td> + <td class="paramname"> <em>foreignPort</em></td><td> </td> + </tr> + <tr> + <td></td> + <td>)</td> + <td></td><td></td><td width="100%"> throw (<a class="el" href="classSocketException.html">SocketException</a>)</td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> +Establish a socket connection with the given foreign address and port <dl compact><dt><b>Parameters:</b></dt><dd> + <table border="0" cellspacing="2" cellpadding="0"> + <tr><td valign="top"></td><td valign="top"><em>foreignAddress</em> </td><td>foreign address (IP address or name) </td></tr> + <tr><td valign="top"></td><td valign="top"><em>foreignPort</em> </td><td>foreign port </td></tr> + </table> +</dl> +<dl compact><dt><b>Exceptions:</b></dt><dd> + <table border="0" cellspacing="2" cellpadding="0"> + <tr><td valign="top"></td><td valign="top"><em><a class="el" href="classSocketException.html">SocketException</a></em> </td><td>thrown if unable to establish connection </td></tr> + </table> +</dl> + +</div> +</div><p> +<a class="anchor" name="ca4e86085c064641e86ae24ea29bbb94"></a><!-- doxytag: member="CommunicatingSocket::send" ref="ca4e86085c064641e86ae24ea29bbb94" args="(const void *buffer, int bufferLen)" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">void CommunicatingSocket::send </td> + <td>(</td> + <td class="paramtype">const void * </td> + <td class="paramname"> <em>buffer</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype">int </td> + <td class="paramname"> <em>bufferLen</em></td><td> </td> + </tr> + <tr> + <td></td> + <td>)</td> + <td></td><td></td><td width="100%"> throw (<a class="el" href="classSocketException.html">SocketException</a>)</td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> +Write the given buffer to this socket. Call <a class="el" href="classCommunicatingSocket.html#9192374d9baab8e189860aa8d913683c">connect()</a> before calling <a class="el" href="classCommunicatingSocket.html#ca4e86085c064641e86ae24ea29bbb94">send()</a> <dl compact><dt><b>Parameters:</b></dt><dd> + <table border="0" cellspacing="2" cellpadding="0"> + <tr><td valign="top"></td><td valign="top"><em>buffer</em> </td><td>buffer to be written </td></tr> + <tr><td valign="top"></td><td valign="top"><em>bufferLen</em> </td><td>number of bytes from buffer to be written </td></tr> + </table> +</dl> +<dl compact><dt><b>Exceptions:</b></dt><dd> + <table border="0" cellspacing="2" cellpadding="0"> + <tr><td valign="top"></td><td valign="top"><em><a class="el" href="classSocketException.html">SocketException</a></em> </td><td>thrown if unable to send data </td></tr> + </table> +</dl> + +</div> +</div><p> +<a class="anchor" name="7cf1fd470c0060171b68df9f68c7bd01"></a><!-- doxytag: member="CommunicatingSocket::recv" ref="7cf1fd470c0060171b68df9f68c7bd01" args="(void *buffer, int bufferLen)" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">int CommunicatingSocket::recv </td> + <td>(</td> + <td class="paramtype">void * </td> + <td class="paramname"> <em>buffer</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype">int </td> + <td class="paramname"> <em>bufferLen</em></td><td> </td> + </tr> + <tr> + <td></td> + <td>)</td> + <td></td><td></td><td width="100%"> throw (<a class="el" href="classSocketException.html">SocketException</a>)</td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> +Read into the given buffer up to bufferLen bytes data from this socket. Call <a class="el" href="classCommunicatingSocket.html#9192374d9baab8e189860aa8d913683c">connect()</a> before calling <a class="el" href="classCommunicatingSocket.html#7cf1fd470c0060171b68df9f68c7bd01">recv()</a> <dl compact><dt><b>Parameters:</b></dt><dd> + <table border="0" cellspacing="2" cellpadding="0"> + <tr><td valign="top"></td><td valign="top"><em>buffer</em> </td><td>buffer to receive the data </td></tr> + <tr><td valign="top"></td><td valign="top"><em>bufferLen</em> </td><td>maximum number of bytes to read into buffer </td></tr> + </table> +</dl> +<dl class="return" compact><dt><b>Returns:</b></dt><dd>number of bytes read, 0 for EOF, and -1 for error </dd></dl> +<dl compact><dt><b>Exceptions:</b></dt><dd> + <table border="0" cellspacing="2" cellpadding="0"> + <tr><td valign="top"></td><td valign="top"><em><a class="el" href="classSocketException.html">SocketException</a></em> </td><td>thrown if unable to receive data </td></tr> + </table> +</dl> + +</div> +</div><p> +<a class="anchor" name="13f9eca30ef56836cf23c163c848c09e"></a><!-- doxytag: member="CommunicatingSocket::getForeignAddress" ref="13f9eca30ef56836cf23c163c848c09e" args="()" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">string CommunicatingSocket::getForeignAddress </td> + <td>(</td> + <td class="paramname"> </td> + <td> ) </td> + <td width="100%"> throw (<a class="el" href="classSocketException.html">SocketException</a>)</td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> +Get the foreign address. Call <a class="el" href="classCommunicatingSocket.html#9192374d9baab8e189860aa8d913683c">connect()</a> before calling <a class="el" href="classCommunicatingSocket.html#7cf1fd470c0060171b68df9f68c7bd01">recv()</a> <dl class="return" compact><dt><b>Returns:</b></dt><dd>foreign address </dd></dl> +<dl compact><dt><b>Exceptions:</b></dt><dd> + <table border="0" cellspacing="2" cellpadding="0"> + <tr><td valign="top"></td><td valign="top"><em><a class="el" href="classSocketException.html">SocketException</a></em> </td><td>thrown if unable to fetch foreign address </td></tr> + </table> +</dl> + +</div> +</div><p> +<a class="anchor" name="184fbb4775184b87ebd886a5587eb1a3"></a><!-- doxytag: member="CommunicatingSocket::getForeignPort" ref="184fbb4775184b87ebd886a5587eb1a3" args="()" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">unsigned short CommunicatingSocket::getForeignPort </td> + <td>(</td> + <td class="paramname"> </td> + <td> ) </td> + <td width="100%"> throw (<a class="el" href="classSocketException.html">SocketException</a>)</td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> +Get the foreign port. Call <a class="el" href="classCommunicatingSocket.html#9192374d9baab8e189860aa8d913683c">connect()</a> before calling <a class="el" href="classCommunicatingSocket.html#7cf1fd470c0060171b68df9f68c7bd01">recv()</a> <dl class="return" compact><dt><b>Returns:</b></dt><dd>foreign port </dd></dl> +<dl compact><dt><b>Exceptions:</b></dt><dd> + <table border="0" cellspacing="2" cellpadding="0"> + <tr><td valign="top"></td><td valign="top"><em><a class="el" href="classSocketException.html">SocketException</a></em> </td><td>thrown if unable to fetch foreign port </td></tr> + </table> +</dl> + +</div> +</div><p> +<hr>The documentation for this class was generated from the following files:<ul> +<li><a class="el" href="PracticalSocket_8h-source.html">PracticalSocket.h</a><li><a class="el" href="PracticalSocket_8cpp.html">PracticalSocket.cpp</a></ul> +<hr size="1"><address style="align: right;"><small>Generated on Sun Oct 7 23:43:50 2007 for anytun by +<a href="http://www.doxygen.org/index.html"> +<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address> +</body> +</html> diff --git a/doc/html/classCommunicatingSocket.png b/doc/html/classCommunicatingSocket.png Binary files differnew file mode 100644 index 0000000..75605ec --- /dev/null +++ b/doc/html/classCommunicatingSocket.png diff --git a/doc/html/classCondition-members.html b/doc/html/classCondition-members.html new file mode 100644 index 0000000..f9bcd3b --- /dev/null +++ b/doc/html/classCondition-members.html @@ -0,0 +1,33 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> +<title>anytun: Member List</title> +<link href="doxygen.css" rel="stylesheet" type="text/css"> +<link href="tabs.css" rel="stylesheet" type="text/css"> +</head><body> +<!-- Generated by Doxygen 1.5.1 --> +<div class="tabs"> + <ul> + <li><a href="main.html"><span>Main Page</span></a></li> + <li><a href="namespaces.html"><span>Namespaces</span></a></li> + <li id="current"><a href="annotated.html"><span>Classes</span></a></li> + <li><a href="files.html"><span>Files</span></a></li> + </ul></div> +<div class="tabs"> + <ul> + <li><a href="annotated.html"><span>Class List</span></a></li> + <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> + <li><a href="functions.html"><span>Class Members</span></a></li> + </ul></div> +<h1>Condition Member List</h1>This is the complete list of members for <a class="el" href="classCondition.html">Condition</a>, including all inherited members.<p><table> + <tr class="memlist"><td><a class="el" href="classCondition.html#15d88ea71e837f967d13d805d675cc5b">broadcast</a>()</td><td><a class="el" href="classCondition.html">Condition</a></td><td><code> [inline]</code></td></tr> + <tr class="memlist"><td><a class="el" href="classCondition.html#4c8982005641d63b696f671b28e3706d">cond</a></td><td><a class="el" href="classCondition.html">Condition</a></td><td><code> [private]</code></td></tr> + <tr class="memlist"><td><a class="el" href="classCondition.html#f11513db4fcbde93961fa0b65e7ab764">Condition</a>()</td><td><a class="el" href="classCondition.html">Condition</a></td><td><code> [inline]</code></td></tr> + <tr class="memlist"><td><a class="el" href="classCondition.html#01622814c6a21250677c2b9cbfc86bfb">mutex</a></td><td><a class="el" href="classCondition.html">Condition</a></td><td><code> [private]</code></td></tr> + <tr class="memlist"><td><a class="el" href="classCondition.html#974c8fd419e6014028dc4147cc49ce56">signal</a>()</td><td><a class="el" href="classCondition.html">Condition</a></td><td><code> [inline]</code></td></tr> + <tr class="memlist"><td><a class="el" href="classCondition.html#0bb9ca22c3c755d0ed8c7483a857567a">wait</a>()</td><td><a class="el" href="classCondition.html">Condition</a></td><td><code> [inline]</code></td></tr> + <tr class="memlist"><td><a class="el" href="classCondition.html#b42f6d2dfb2d0de4bed4ed5032d4a8fc">~Condition</a>()</td><td><a class="el" href="classCondition.html">Condition</a></td><td><code> [inline]</code></td></tr> +</table><hr size="1"><address style="align: right;"><small>Generated on Sun Oct 7 23:43:50 2007 for anytun by +<a href="http://www.doxygen.org/index.html"> +<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address> +</body> +</html> diff --git a/doc/html/classCondition.html b/doc/html/classCondition.html new file mode 100644 index 0000000..90cf253 --- /dev/null +++ b/doc/html/classCondition.html @@ -0,0 +1,176 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> +<title>anytun: Condition Class Reference</title> +<link href="doxygen.css" rel="stylesheet" type="text/css"> +<link href="tabs.css" rel="stylesheet" type="text/css"> +</head><body> +<!-- Generated by Doxygen 1.5.1 --> +<div class="tabs"> + <ul> + <li><a href="main.html"><span>Main Page</span></a></li> + <li><a href="namespaces.html"><span>Namespaces</span></a></li> + <li id="current"><a href="annotated.html"><span>Classes</span></a></li> + <li><a href="files.html"><span>Files</span></a></li> + </ul></div> +<div class="tabs"> + <ul> + <li><a href="annotated.html"><span>Class List</span></a></li> + <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> + <li><a href="functions.html"><span>Class Members</span></a></li> + </ul></div> +<h1>Condition Class Reference</h1><!-- doxytag: class="Condition" --><code>#include <<a class="el" href="threadUtils_8hpp-source.html">threadUtils.hpp</a>></code> +<p> +<a href="classCondition-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0"> +<tr><td></td></tr> +<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr> +<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classCondition.html#f11513db4fcbde93961fa0b65e7ab764">Condition</a> ()</td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classCondition.html#b42f6d2dfb2d0de4bed4ed5032d4a8fc">~Condition</a> ()</td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classCondition.html#0bb9ca22c3c755d0ed8c7483a857567a">wait</a> ()</td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classCondition.html#974c8fd419e6014028dc4147cc49ce56">signal</a> ()</td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classCondition.html#15d88ea71e837f967d13d805d675cc5b">broadcast</a> ()</td></tr> + +<tr><td colspan="2"><br><h2>Private Attributes</h2></td></tr> +<tr><td class="memItemLeft" nowrap align="right" valign="top">pthread_cond_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classCondition.html#4c8982005641d63b696f671b28e3706d">cond</a></td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classMutex.html">Mutex</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classCondition.html#01622814c6a21250677c2b9cbfc86bfb">mutex</a></td></tr> + +</table> +<hr><h2>Constructor & Destructor Documentation</h2> +<a class="anchor" name="f11513db4fcbde93961fa0b65e7ab764"></a><!-- doxytag: member="Condition::Condition" ref="f11513db4fcbde93961fa0b65e7ab764" args="()" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">Condition::Condition </td> + <td>(</td> + <td class="paramname"> </td> + <td> ) </td> + <td width="100%"><code> [inline]</code></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<a class="anchor" name="b42f6d2dfb2d0de4bed4ed5032d4a8fc"></a><!-- doxytag: member="Condition::~Condition" ref="b42f6d2dfb2d0de4bed4ed5032d4a8fc" args="()" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">Condition::~Condition </td> + <td>(</td> + <td class="paramname"> </td> + <td> ) </td> + <td width="100%"><code> [inline]</code></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<hr><h2>Member Function Documentation</h2> +<a class="anchor" name="0bb9ca22c3c755d0ed8c7483a857567a"></a><!-- doxytag: member="Condition::wait" ref="0bb9ca22c3c755d0ed8c7483a857567a" args="()" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">void Condition::wait </td> + <td>(</td> + <td class="paramname"> </td> + <td> ) </td> + <td width="100%"><code> [inline]</code></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<a class="anchor" name="974c8fd419e6014028dc4147cc49ce56"></a><!-- doxytag: member="Condition::signal" ref="974c8fd419e6014028dc4147cc49ce56" args="()" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">void Condition::signal </td> + <td>(</td> + <td class="paramname"> </td> + <td> ) </td> + <td width="100%"><code> [inline]</code></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<a class="anchor" name="15d88ea71e837f967d13d805d675cc5b"></a><!-- doxytag: member="Condition::broadcast" ref="15d88ea71e837f967d13d805d675cc5b" args="()" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">void Condition::broadcast </td> + <td>(</td> + <td class="paramname"> </td> + <td> ) </td> + <td width="100%"><code> [inline]</code></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<hr><h2>Member Data Documentation</h2> +<a class="anchor" name="4c8982005641d63b696f671b28e3706d"></a><!-- doxytag: member="Condition::cond" ref="4c8982005641d63b696f671b28e3706d" args="" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">pthread_cond_t <a class="el" href="classCondition.html#4c8982005641d63b696f671b28e3706d">Condition::cond</a><code> [private]</code> </td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<a class="anchor" name="01622814c6a21250677c2b9cbfc86bfb"></a><!-- doxytag: member="Condition::mutex" ref="01622814c6a21250677c2b9cbfc86bfb" args="" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname"><a class="el" href="classMutex.html">Mutex</a> <a class="el" href="classCondition.html#01622814c6a21250677c2b9cbfc86bfb">Condition::mutex</a><code> [private]</code> </td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<hr>The documentation for this class was generated from the following file:<ul> +<li><a class="el" href="threadUtils_8hpp-source.html">threadUtils.hpp</a></ul> +<hr size="1"><address style="align: right;"><small>Generated on Sun Oct 7 23:43:50 2007 for anytun by +<a href="http://www.doxygen.org/index.html"> +<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address> +</body> +</html> diff --git a/doc/html/classCypher-members.html b/doc/html/classCypher-members.html new file mode 100644 index 0000000..7ebac29 --- /dev/null +++ b/doc/html/classCypher-members.html @@ -0,0 +1,33 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> +<title>anytun: Member List</title> +<link href="doxygen.css" rel="stylesheet" type="text/css"> +<link href="tabs.css" rel="stylesheet" type="text/css"> +</head><body> +<!-- Generated by Doxygen 1.5.1 --> +<div class="tabs"> + <ul> + <li><a href="main.html"><span>Main Page</span></a></li> + <li><a href="namespaces.html"><span>Namespaces</span></a></li> + <li id="current"><a href="annotated.html"><span>Classes</span></a></li> + <li><a href="files.html"><span>Files</span></a></li> + </ul></div> +<div class="tabs"> + <ul> + <li><a href="annotated.html"><span>Class List</span></a></li> + <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> + <li><a href="functions.html"><span>Class Members</span></a></li> + </ul></div> +<h1>Cypher Member List</h1>This is the complete list of members for <a class="el" href="classCypher.html">Cypher</a>, including all inherited members.<p><table> + <tr class="memlist"><td><a class="el" href="classCypher.html#5228228b0b2d83251ecce4516e87ddb1">Cypher</a>()</td><td><a class="el" href="classCypher.html">Cypher</a></td><td><code> [inline]</code></td></tr> + <tr class="memlist"><td><a class="el" href="classCypher.html#1d51ce2235d38bded45f5e897be4435c">cypher</a>(Buffer &buf, seq_nr_t seq_nr, sender_id_t sender_id)</td><td><a class="el" href="classCypher.html">Cypher</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classCypher.html#bf33a7a59ed1cdf711030236de6635b0">exor</a>(Buffer &buf, const Buffer &bit_stream)</td><td><a class="el" href="classCypher.html">Cypher</a></td><td><code> [protected]</code></td></tr> + <tr class="memlist"><td><a class="el" href="classCypher.html#7ddf1bcd476978daa97148ec406d6483">getBitStream</a>(u_int32_t length, seq_nr_t seq_nr, sender_id_t sender_id)=0</td><td><a class="el" href="classCypher.html">Cypher</a></td><td><code> [protected, pure virtual]</code></td></tr> + <tr class="memlist"><td><a class="el" href="classCypher.html#7320b82d14391ab7d25271aa5114e190">setKey</a>(Buffer key)</td><td><a class="el" href="classCypher.html">Cypher</a></td><td><code> [inline]</code></td></tr> + <tr class="memlist"><td><a class="el" href="classCypher.html#2546ef49e5ce8abe8062186d5f6b2ef8">setSalt</a>(Buffer salt)</td><td><a class="el" href="classCypher.html">Cypher</a></td><td><code> [inline]</code></td></tr> + <tr class="memlist"><td><a class="el" href="classCypher.html#70c94525f7bacb956cdd940fba7fb4c8">~Cypher</a>()</td><td><a class="el" href="classCypher.html">Cypher</a></td><td><code> [inline, virtual]</code></td></tr> +</table><hr size="1"><address style="align: right;"><small>Generated on Sun Oct 7 23:43:50 2007 for anytun by +<a href="http://www.doxygen.org/index.html"> +<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address> +</body> +</html> diff --git a/doc/html/classCypher.html b/doc/html/classCypher.html new file mode 100644 index 0000000..87de8e7 --- /dev/null +++ b/doc/html/classCypher.html @@ -0,0 +1,239 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> +<title>anytun: Cypher Class Reference</title> +<link href="doxygen.css" rel="stylesheet" type="text/css"> +<link href="tabs.css" rel="stylesheet" type="text/css"> +</head><body> +<!-- Generated by Doxygen 1.5.1 --> +<div class="tabs"> + <ul> + <li><a href="main.html"><span>Main Page</span></a></li> + <li><a href="namespaces.html"><span>Namespaces</span></a></li> + <li id="current"><a href="annotated.html"><span>Classes</span></a></li> + <li><a href="files.html"><span>Files</span></a></li> + </ul></div> +<div class="tabs"> + <ul> + <li><a href="annotated.html"><span>Class List</span></a></li> + <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> + <li><a href="functions.html"><span>Class Members</span></a></li> + </ul></div> +<h1>Cypher Class Reference</h1><!-- doxytag: class="Cypher" --><code>#include <<a class="el" href="cypher_8h-source.html">cypher.h</a>></code> +<p> +<p>Inheritance diagram for Cypher: +<p><center><img src="classCypher.png" usemap="#Cypher_map" border="0" alt=""></center> +<map name="Cypher_map"> +<area href="classAesIcmCypher.html" alt="AesIcmCypher" shape="rect" coords="0,56,95,80"> +<area href="classNullCypher.html" alt="NullCypher" shape="rect" coords="105,56,200,80"> +</map> +<a href="classCypher-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0"> +<tr><td></td></tr> +<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr> +<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classCypher.html#5228228b0b2d83251ecce4516e87ddb1">Cypher</a> ()</td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="classCypher.html#70c94525f7bacb956cdd940fba7fb4c8">~Cypher</a> ()</td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classCypher.html#7320b82d14391ab7d25271aa5114e190">setKey</a> (<a class="el" href="classBuffer.html">Buffer</a> key)</td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classCypher.html#2546ef49e5ce8abe8062186d5f6b2ef8">setSalt</a> (<a class="el" href="classBuffer.html">Buffer</a> salt)</td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classCypher.html#1d51ce2235d38bded45f5e897be4435c">cypher</a> (<a class="el" href="classBuffer.html">Buffer</a> &buf, <a class="el" href="datatypes_8h.html#317be74a3176b4149a817241bd69f9b2">seq_nr_t</a> seq_nr, <a class="el" href="datatypes_8h.html#c8be006c348a522ae126f67f7b2aaf4e">sender_id_t</a> sender_id)</td></tr> + +<tr><td colspan="2"><br><h2>Protected Member Functions</h2></td></tr> +<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classCypher.html#bf33a7a59ed1cdf711030236de6635b0">exor</a> (<a class="el" href="classBuffer.html">Buffer</a> &buf, const <a class="el" href="classBuffer.html">Buffer</a> &bit_stream)</td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="classBuffer.html">Buffer</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classCypher.html#7ddf1bcd476978daa97148ec406d6483">getBitStream</a> (<a class="el" href="datatypes_8h.html#1382fcaa92d837ce7c0961788c8243d7">u_int32_t</a> length, <a class="el" href="datatypes_8h.html#317be74a3176b4149a817241bd69f9b2">seq_nr_t</a> seq_nr, <a class="el" href="datatypes_8h.html#c8be006c348a522ae126f67f7b2aaf4e">sender_id_t</a> sender_id)=0</td></tr> + +</table> +<hr><h2>Constructor & Destructor Documentation</h2> +<a class="anchor" name="5228228b0b2d83251ecce4516e87ddb1"></a><!-- doxytag: member="Cypher::Cypher" ref="5228228b0b2d83251ecce4516e87ddb1" args="()" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">Cypher::Cypher </td> + <td>(</td> + <td class="paramname"> </td> + <td> ) </td> + <td width="100%"><code> [inline]</code></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<a class="anchor" name="70c94525f7bacb956cdd940fba7fb4c8"></a><!-- doxytag: member="Cypher::~Cypher" ref="70c94525f7bacb956cdd940fba7fb4c8" args="()" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">virtual Cypher::~Cypher </td> + <td>(</td> + <td class="paramname"> </td> + <td> ) </td> + <td width="100%"><code> [inline, virtual]</code></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<hr><h2>Member Function Documentation</h2> +<a class="anchor" name="7320b82d14391ab7d25271aa5114e190"></a><!-- doxytag: member="Cypher::setKey" ref="7320b82d14391ab7d25271aa5114e190" args="(Buffer key)" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">void Cypher::setKey </td> + <td>(</td> + <td class="paramtype"><a class="el" href="classBuffer.html">Buffer</a> </td> + <td class="paramname"> <em>key</em> </td> + <td> ) </td> + <td width="100%"><code> [inline]</code></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +<p> +Reimplemented in <a class="el" href="classAesIcmCypher.html#605a38676ef12ad0b69628c5d53ef007">AesIcmCypher</a>. +</div> +</div><p> +<a class="anchor" name="2546ef49e5ce8abe8062186d5f6b2ef8"></a><!-- doxytag: member="Cypher::setSalt" ref="2546ef49e5ce8abe8062186d5f6b2ef8" args="(Buffer salt)" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">void Cypher::setSalt </td> + <td>(</td> + <td class="paramtype"><a class="el" href="classBuffer.html">Buffer</a> </td> + <td class="paramname"> <em>salt</em> </td> + <td> ) </td> + <td width="100%"><code> [inline]</code></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +<p> +Reimplemented in <a class="el" href="classAesIcmCypher.html#6741487a9d6dfe3ae76bb168ed711259">AesIcmCypher</a>. +</div> +</div><p> +<a class="anchor" name="1d51ce2235d38bded45f5e897be4435c"></a><!-- doxytag: member="Cypher::cypher" ref="1d51ce2235d38bded45f5e897be4435c" args="(Buffer &buf, seq_nr_t seq_nr, sender_id_t sender_id)" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">void Cypher::cypher </td> + <td>(</td> + <td class="paramtype"><a class="el" href="classBuffer.html">Buffer</a> & </td> + <td class="paramname"> <em>buf</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype"><a class="el" href="datatypes_8h.html#317be74a3176b4149a817241bd69f9b2">seq_nr_t</a> </td> + <td class="paramname"> <em>seq_nr</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype"><a class="el" href="datatypes_8h.html#c8be006c348a522ae126f67f7b2aaf4e">sender_id_t</a> </td> + <td class="paramname"> <em>sender_id</em></td><td> </td> + </tr> + <tr> + <td></td> + <td>)</td> + <td></td><td></td><td width="100%"></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<a class="anchor" name="bf33a7a59ed1cdf711030236de6635b0"></a><!-- doxytag: member="Cypher::exor" ref="bf33a7a59ed1cdf711030236de6635b0" args="(Buffer &buf, const Buffer &bit_stream)" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">void Cypher::exor </td> + <td>(</td> + <td class="paramtype"><a class="el" href="classBuffer.html">Buffer</a> & </td> + <td class="paramname"> <em>buf</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype">const <a class="el" href="classBuffer.html">Buffer</a> & </td> + <td class="paramname"> <em>bit_stream</em></td><td> </td> + </tr> + <tr> + <td></td> + <td>)</td> + <td></td><td></td><td width="100%"><code> [protected]</code></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<a class="anchor" name="7ddf1bcd476978daa97148ec406d6483"></a><!-- doxytag: member="Cypher::getBitStream" ref="7ddf1bcd476978daa97148ec406d6483" args="(u_int32_t length, seq_nr_t seq_nr, sender_id_t sender_id)=0" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">virtual <a class="el" href="classBuffer.html">Buffer</a> Cypher::getBitStream </td> + <td>(</td> + <td class="paramtype"><a class="el" href="datatypes_8h.html#1382fcaa92d837ce7c0961788c8243d7">u_int32_t</a> </td> + <td class="paramname"> <em>length</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype"><a class="el" href="datatypes_8h.html#317be74a3176b4149a817241bd69f9b2">seq_nr_t</a> </td> + <td class="paramname"> <em>seq_nr</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype"><a class="el" href="datatypes_8h.html#c8be006c348a522ae126f67f7b2aaf4e">sender_id_t</a> </td> + <td class="paramname"> <em>sender_id</em></td><td> </td> + </tr> + <tr> + <td></td> + <td>)</td> + <td></td><td></td><td width="100%"><code> [protected, pure virtual]</code></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +<p> +Implemented in <a class="el" href="classNullCypher.html#ca537adca8ea9af8b6f248df12ebcf36">NullCypher</a>, and <a class="el" href="classAesIcmCypher.html#ebac1fbb9a4cb56411fcd45ca63f47a1">AesIcmCypher</a>. +</div> +</div><p> +<hr>The documentation for this class was generated from the following files:<ul> +<li><a class="el" href="cypher_8h-source.html">cypher.h</a><li><a class="el" href="cypher_8cpp.html">cypher.cpp</a></ul> +<hr size="1"><address style="align: right;"><small>Generated on Sun Oct 7 23:43:50 2007 for anytun by +<a href="http://www.doxygen.org/index.html"> +<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address> +</body> +</html> diff --git a/doc/html/classCypher.png b/doc/html/classCypher.png Binary files differnew file mode 100644 index 0000000..b7081e0 --- /dev/null +++ b/doc/html/classCypher.png diff --git a/doc/html/classHmacAuthAlgo-members.html b/doc/html/classHmacAuthAlgo-members.html new file mode 100644 index 0000000..2d3ff6c --- /dev/null +++ b/doc/html/classHmacAuthAlgo-members.html @@ -0,0 +1,29 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> +<title>anytun: Member List</title> +<link href="doxygen.css" rel="stylesheet" type="text/css"> +<link href="tabs.css" rel="stylesheet" type="text/css"> +</head><body> +<!-- Generated by Doxygen 1.5.1 --> +<div class="tabs"> + <ul> + <li><a href="main.html"><span>Main Page</span></a></li> + <li><a href="namespaces.html"><span>Namespaces</span></a></li> + <li id="current"><a href="annotated.html"><span>Classes</span></a></li> + <li><a href="files.html"><span>Files</span></a></li> + </ul></div> +<div class="tabs"> + <ul> + <li><a href="annotated.html"><span>Class List</span></a></li> + <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> + <li><a href="functions.html"><span>Class Members</span></a></li> + </ul></div> +<h1>HmacAuthAlgo Member List</h1>This is the complete list of members for <a class="el" href="classHmacAuthAlgo.html">HmacAuthAlgo</a>, including all inherited members.<p><table> + <tr class="memlist"><td><a class="el" href="classAuthAlgo.html#22a200c372d9aeb73a4cbdd95ba30a0e">AuthAlgo</a>()</td><td><a class="el" href="classAuthAlgo.html">AuthAlgo</a></td><td><code> [inline]</code></td></tr> + <tr class="memlist"><td><a class="el" href="classHmacAuthAlgo.html#af50c9aa6b61ff6f4631e3f78f77dc97">calc</a>(const Buffer &buf)</td><td><a class="el" href="classHmacAuthAlgo.html">HmacAuthAlgo</a></td><td><code> [virtual]</code></td></tr> + <tr class="memlist"><td><a class="el" href="classAuthAlgo.html#e3428186b4e005e879e26c2b8e04fa4a">~AuthAlgo</a>()</td><td><a class="el" href="classAuthAlgo.html">AuthAlgo</a></td><td><code> [inline, virtual]</code></td></tr> +</table><hr size="1"><address style="align: right;"><small>Generated on Sun Oct 7 23:43:50 2007 for anytun by +<a href="http://www.doxygen.org/index.html"> +<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address> +</body> +</html> diff --git a/doc/html/classHmacAuthAlgo.html b/doc/html/classHmacAuthAlgo.html new file mode 100644 index 0000000..0ac3279 --- /dev/null +++ b/doc/html/classHmacAuthAlgo.html @@ -0,0 +1,63 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> +<title>anytun: HmacAuthAlgo Class Reference</title> +<link href="doxygen.css" rel="stylesheet" type="text/css"> +<link href="tabs.css" rel="stylesheet" type="text/css"> +</head><body> +<!-- Generated by Doxygen 1.5.1 --> +<div class="tabs"> + <ul> + <li><a href="main.html"><span>Main Page</span></a></li> + <li><a href="namespaces.html"><span>Namespaces</span></a></li> + <li id="current"><a href="annotated.html"><span>Classes</span></a></li> + <li><a href="files.html"><span>Files</span></a></li> + </ul></div> +<div class="tabs"> + <ul> + <li><a href="annotated.html"><span>Class List</span></a></li> + <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> + <li><a href="functions.html"><span>Class Members</span></a></li> + </ul></div> +<h1>HmacAuthAlgo Class Reference</h1><!-- doxytag: class="HmacAuthAlgo" --><!-- doxytag: inherits="AuthAlgo" --><code>#include <<a class="el" href="authAlgo_8h-source.html">authAlgo.h</a>></code> +<p> +<p>Inheritance diagram for HmacAuthAlgo: +<p><center><img src="classHmacAuthAlgo.png" usemap="#HmacAuthAlgo_map" border="0" alt=""></center> +<map name="HmacAuthAlgo_map"> +<area href="classAuthAlgo.html" alt="AuthAlgo" shape="rect" coords="0,0,96,24"> +</map> +<a href="classHmacAuthAlgo-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0"> +<tr><td></td></tr> +<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr> +<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="datatypes_8h.html#3618ec768f7f5b8ed61f2ad534e1882d">auth_tag_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classHmacAuthAlgo.html#af50c9aa6b61ff6f4631e3f78f77dc97">calc</a> (const <a class="el" href="classBuffer.html">Buffer</a> &buf)</td></tr> + +</table> +<hr><h2>Member Function Documentation</h2> +<a class="anchor" name="af50c9aa6b61ff6f4631e3f78f77dc97"></a><!-- doxytag: member="HmacAuthAlgo::calc" ref="af50c9aa6b61ff6f4631e3f78f77dc97" args="(const Buffer &buf)" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname"><a class="el" href="datatypes_8h.html#3618ec768f7f5b8ed61f2ad534e1882d">auth_tag_t</a> HmacAuthAlgo::calc </td> + <td>(</td> + <td class="paramtype">const <a class="el" href="classBuffer.html">Buffer</a> & </td> + <td class="paramname"> <em>buf</em> </td> + <td> ) </td> + <td width="100%"><code> [virtual]</code></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +<p> +Implements <a class="el" href="classAuthAlgo.html#f53b44f90c33eb049da260947a75c916">AuthAlgo</a>. +</div> +</div><p> +<hr>The documentation for this class was generated from the following files:<ul> +<li><a class="el" href="authAlgo_8h-source.html">authAlgo.h</a><li><a class="el" href="authAlgo_8cpp.html">authAlgo.cpp</a></ul> +<hr size="1"><address style="align: right;"><small>Generated on Sun Oct 7 23:43:50 2007 for anytun by +<a href="http://www.doxygen.org/index.html"> +<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address> +</body> +</html> diff --git a/doc/html/classHmacAuthAlgo.png b/doc/html/classHmacAuthAlgo.png Binary files differnew file mode 100644 index 0000000..d7059e2 --- /dev/null +++ b/doc/html/classHmacAuthAlgo.png diff --git a/doc/html/classKeyDerivation-members.html b/doc/html/classKeyDerivation-members.html new file mode 100644 index 0000000..ec0e481 --- /dev/null +++ b/doc/html/classKeyDerivation-members.html @@ -0,0 +1,36 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> +<title>anytun: Member List</title> +<link href="doxygen.css" rel="stylesheet" type="text/css"> +<link href="tabs.css" rel="stylesheet" type="text/css"> +</head><body> +<!-- Generated by Doxygen 1.5.1 --> +<div class="tabs"> + <ul> + <li><a href="main.html"><span>Main Page</span></a></li> + <li><a href="namespaces.html"><span>Namespaces</span></a></li> + <li id="current"><a href="annotated.html"><span>Classes</span></a></li> + <li><a href="files.html"><span>Files</span></a></li> + </ul></div> +<div class="tabs"> + <ul> + <li><a href="annotated.html"><span>Class List</span></a></li> + <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> + <li><a href="functions.html"><span>Class Members</span></a></li> + </ul></div> +<h1>KeyDerivation Member List</h1>This is the complete list of members for <a class="el" href="classKeyDerivation.html">KeyDerivation</a>, including all inherited members.<p><table> + <tr class="memlist"><td><a class="el" href="classKeyDerivation.html#6b7dd9a922de96a8f76cf6c453adab28">cipher_</a></td><td><a class="el" href="classKeyDerivation.html">KeyDerivation</a></td><td><code> [protected]</code></td></tr> + <tr class="memlist"><td><a class="el" href="classKeyDerivation.html#8d8c405ee7c3753b4807b36a8cbe537a">clear</a>()</td><td><a class="el" href="classKeyDerivation.html">KeyDerivation</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classKeyDerivation.html#025e21ecdd0389b768eaa61fed660c86">generate</a>(satp_prf_label label, seq_nr_t seq_nr, Buffer &key, uint32_t length)</td><td><a class="el" href="classKeyDerivation.html">KeyDerivation</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classKeyDerivation.html#5f03e97de1a041f6012d1fcfabf13773">init</a>(Buffer key, Buffer salt)</td><td><a class="el" href="classKeyDerivation.html">KeyDerivation</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classKeyDerivation.html#07c3735d1b2e1285b6c427a2706ebc67">KeyDerivation</a>()</td><td><a class="el" href="classKeyDerivation.html">KeyDerivation</a></td><td><code> [inline]</code></td></tr> + <tr class="memlist"><td><a class="el" href="classKeyDerivation.html#426dcd34d3b60191a3db55dd970eeb17">ld_kdr_</a></td><td><a class="el" href="classKeyDerivation.html">KeyDerivation</a></td><td><code> [protected]</code></td></tr> + <tr class="memlist"><td><a class="el" href="classKeyDerivation.html#9aaf24245f7dec6e68fc24541abce94b">MIN_GCRYPT_VERSION</a></td><td><a class="el" href="classKeyDerivation.html">KeyDerivation</a></td><td><code> [static]</code></td></tr> + <tr class="memlist"><td><a class="el" href="classKeyDerivation.html#52e057f1085920a61ea44c5c9936865c">salt_</a></td><td><a class="el" href="classKeyDerivation.html">KeyDerivation</a></td><td><code> [protected]</code></td></tr> + <tr class="memlist"><td><a class="el" href="classKeyDerivation.html#1c6d7a055b6b5b88076e15218f936663">setLogKDRate</a>(const uint8_t ld_rate)</td><td><a class="el" href="classKeyDerivation.html">KeyDerivation</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classKeyDerivation.html#ccce2c32370be2388ca0a977fef1f6cc">~KeyDerivation</a>()</td><td><a class="el" href="classKeyDerivation.html">KeyDerivation</a></td><td><code> [inline, virtual]</code></td></tr> +</table><hr size="1"><address style="align: right;"><small>Generated on Sun Oct 7 23:43:50 2007 for anytun by +<a href="http://www.doxygen.org/index.html"> +<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address> +</body> +</html> diff --git a/doc/html/classKeyDerivation.html b/doc/html/classKeyDerivation.html new file mode 100644 index 0000000..111a3fd --- /dev/null +++ b/doc/html/classKeyDerivation.html @@ -0,0 +1,265 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> +<title>anytun: KeyDerivation Class Reference</title> +<link href="doxygen.css" rel="stylesheet" type="text/css"> +<link href="tabs.css" rel="stylesheet" type="text/css"> +</head><body> +<!-- Generated by Doxygen 1.5.1 --> +<div class="tabs"> + <ul> + <li><a href="main.html"><span>Main Page</span></a></li> + <li><a href="namespaces.html"><span>Namespaces</span></a></li> + <li id="current"><a href="annotated.html"><span>Classes</span></a></li> + <li><a href="files.html"><span>Files</span></a></li> + </ul></div> +<div class="tabs"> + <ul> + <li><a href="annotated.html"><span>Class List</span></a></li> + <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> + <li><a href="functions.html"><span>Class Members</span></a></li> + </ul></div> +<h1>KeyDerivation Class Reference</h1><!-- doxytag: class="KeyDerivation" --><code>#include <<a class="el" href="keyDerivation_8h-source.html">keyDerivation.h</a>></code> +<p> +<a href="classKeyDerivation-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0"> +<tr><td></td></tr> +<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr> +<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classKeyDerivation.html#07c3735d1b2e1285b6c427a2706ebc67">KeyDerivation</a> ()</td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="classKeyDerivation.html#ccce2c32370be2388ca0a977fef1f6cc">~KeyDerivation</a> ()</td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classKeyDerivation.html#5f03e97de1a041f6012d1fcfabf13773">init</a> (<a class="el" href="classBuffer.html">Buffer</a> key, <a class="el" href="classBuffer.html">Buffer</a> salt)</td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top">err_status_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classKeyDerivation.html#1c6d7a055b6b5b88076e15218f936663">setLogKDRate</a> (const uint8_t ld_rate)</td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top">err_status_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classKeyDerivation.html#025e21ecdd0389b768eaa61fed660c86">generate</a> (<a class="el" href="keyDerivation_8h.html#4829fcd87054af9b3ced79bbac1ce1eb">satp_prf_label</a> label, <a class="el" href="datatypes_8h.html#317be74a3176b4149a817241bd69f9b2">seq_nr_t</a> seq_nr, <a class="el" href="classBuffer.html">Buffer</a> &key, uint32_t length)</td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classKeyDerivation.html#8d8c405ee7c3753b4807b36a8cbe537a">clear</a> ()</td></tr> + +<tr><td colspan="2"><br><h2>Static Public Attributes</h2></td></tr> +<tr><td class="memItemLeft" nowrap align="right" valign="top">static const std::string </td><td class="memItemRight" valign="bottom"><a class="el" href="classKeyDerivation.html#9aaf24245f7dec6e68fc24541abce94b">MIN_GCRYPT_VERSION</a></td></tr> + +<tr><td colspan="2"><br><h2>Protected Attributes</h2></td></tr> +<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="datatypes_8h.html#ef44329758059c91c76d334e8fc09700">int8_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classKeyDerivation.html#426dcd34d3b60191a3db55dd970eeb17">ld_kdr_</a></td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classBuffer.html">Buffer</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classKeyDerivation.html#52e057f1085920a61ea44c5c9936865c">salt_</a></td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top">gcry_cipher_hd_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classKeyDerivation.html#6b7dd9a922de96a8f76cf6c453adab28">cipher_</a></td></tr> + +</table> +<hr><h2>Constructor & Destructor Documentation</h2> +<a class="anchor" name="07c3735d1b2e1285b6c427a2706ebc67"></a><!-- doxytag: member="KeyDerivation::KeyDerivation" ref="07c3735d1b2e1285b6c427a2706ebc67" args="()" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">KeyDerivation::KeyDerivation </td> + <td>(</td> + <td class="paramname"> </td> + <td> ) </td> + <td width="100%"><code> [inline]</code></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<a class="anchor" name="ccce2c32370be2388ca0a977fef1f6cc"></a><!-- doxytag: member="KeyDerivation::~KeyDerivation" ref="ccce2c32370be2388ca0a977fef1f6cc" args="()" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">virtual KeyDerivation::~KeyDerivation </td> + <td>(</td> + <td class="paramname"> </td> + <td> ) </td> + <td width="100%"><code> [inline, virtual]</code></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<hr><h2>Member Function Documentation</h2> +<a class="anchor" name="5f03e97de1a041f6012d1fcfabf13773"></a><!-- doxytag: member="KeyDerivation::init" ref="5f03e97de1a041f6012d1fcfabf13773" args="(Buffer key, Buffer salt)" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">void KeyDerivation::init </td> + <td>(</td> + <td class="paramtype"><a class="el" href="classBuffer.html">Buffer</a> </td> + <td class="paramname"> <em>key</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype"><a class="el" href="classBuffer.html">Buffer</a> </td> + <td class="paramname"> <em>salt</em></td><td> </td> + </tr> + <tr> + <td></td> + <td>)</td> + <td></td><td></td><td width="100%"></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<a class="anchor" name="1c6d7a055b6b5b88076e15218f936663"></a><!-- doxytag: member="KeyDerivation::setLogKDRate" ref="1c6d7a055b6b5b88076e15218f936663" args="(const uint8_t ld_rate)" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">err_status_t KeyDerivation::setLogKDRate </td> + <td>(</td> + <td class="paramtype">const uint8_t </td> + <td class="paramname"> <em>ld_rate</em> </td> + <td> ) </td> + <td width="100%"></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<a class="anchor" name="025e21ecdd0389b768eaa61fed660c86"></a><!-- doxytag: member="KeyDerivation::generate" ref="025e21ecdd0389b768eaa61fed660c86" args="(satp_prf_label label, seq_nr_t seq_nr, Buffer &key, uint32_t length)" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">err_status_t KeyDerivation::generate </td> + <td>(</td> + <td class="paramtype"><a class="el" href="keyDerivation_8h.html#4829fcd87054af9b3ced79bbac1ce1eb">satp_prf_label</a> </td> + <td class="paramname"> <em>label</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype"><a class="el" href="datatypes_8h.html#317be74a3176b4149a817241bd69f9b2">seq_nr_t</a> </td> + <td class="paramname"> <em>seq_nr</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype"><a class="el" href="classBuffer.html">Buffer</a> & </td> + <td class="paramname"> <em>key</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype">uint32_t </td> + <td class="paramname"> <em>length</em></td><td> </td> + </tr> + <tr> + <td></td> + <td>)</td> + <td></td><td></td><td width="100%"></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<a class="anchor" name="8d8c405ee7c3753b4807b36a8cbe537a"></a><!-- doxytag: member="KeyDerivation::clear" ref="8d8c405ee7c3753b4807b36a8cbe537a" args="()" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">void KeyDerivation::clear </td> + <td>(</td> + <td class="paramname"> </td> + <td> ) </td> + <td width="100%"></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<hr><h2>Member Data Documentation</h2> +<a class="anchor" name="9aaf24245f7dec6e68fc24541abce94b"></a><!-- doxytag: member="KeyDerivation::MIN_GCRYPT_VERSION" ref="9aaf24245f7dec6e68fc24541abce94b" args="" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">const std::string <a class="el" href="classKeyDerivation.html#9aaf24245f7dec6e68fc24541abce94b">KeyDerivation::MIN_GCRYPT_VERSION</a><code> [static]</code> </td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<a class="anchor" name="426dcd34d3b60191a3db55dd970eeb17"></a><!-- doxytag: member="KeyDerivation::ld_kdr_" ref="426dcd34d3b60191a3db55dd970eeb17" args="" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname"><a class="el" href="datatypes_8h.html#ef44329758059c91c76d334e8fc09700">int8_t</a> <a class="el" href="classKeyDerivation.html#426dcd34d3b60191a3db55dd970eeb17">KeyDerivation::ld_kdr_</a><code> [protected]</code> </td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<a class="anchor" name="52e057f1085920a61ea44c5c9936865c"></a><!-- doxytag: member="KeyDerivation::salt_" ref="52e057f1085920a61ea44c5c9936865c" args="" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname"><a class="el" href="classBuffer.html">Buffer</a> <a class="el" href="classKeyDerivation.html#52e057f1085920a61ea44c5c9936865c">KeyDerivation::salt_</a><code> [protected]</code> </td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<a class="anchor" name="6b7dd9a922de96a8f76cf6c453adab28"></a><!-- doxytag: member="KeyDerivation::cipher_" ref="6b7dd9a922de96a8f76cf6c453adab28" args="" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">gcry_cipher_hd_t <a class="el" href="classKeyDerivation.html#6b7dd9a922de96a8f76cf6c453adab28">KeyDerivation::cipher_</a><code> [protected]</code> </td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<hr>The documentation for this class was generated from the following files:<ul> +<li><a class="el" href="keyDerivation_8h-source.html">keyDerivation.h</a><li><a class="el" href="keyDerivation_8cpp.html">keyDerivation.cpp</a></ul> +<hr size="1"><address style="align: right;"><small>Generated on Sun Oct 7 23:43:50 2007 for anytun by +<a href="http://www.doxygen.org/index.html"> +<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address> +</body> +</html> diff --git a/doc/html/classLock-members.html b/doc/html/classLock-members.html new file mode 100644 index 0000000..fc2f281 --- /dev/null +++ b/doc/html/classLock-members.html @@ -0,0 +1,31 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> +<title>anytun: Member List</title> +<link href="doxygen.css" rel="stylesheet" type="text/css"> +<link href="tabs.css" rel="stylesheet" type="text/css"> +</head><body> +<!-- Generated by Doxygen 1.5.1 --> +<div class="tabs"> + <ul> + <li><a href="main.html"><span>Main Page</span></a></li> + <li><a href="namespaces.html"><span>Namespaces</span></a></li> + <li id="current"><a href="annotated.html"><span>Classes</span></a></li> + <li><a href="files.html"><span>Files</span></a></li> + </ul></div> +<div class="tabs"> + <ul> + <li><a href="annotated.html"><span>Class List</span></a></li> + <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> + <li><a href="functions.html"><span>Class Members</span></a></li> + </ul></div> +<h1>Lock Member List</h1>This is the complete list of members for <a class="el" href="classLock.html">Lock</a>, including all inherited members.<p><table> + <tr class="memlist"><td><a class="el" href="classLock.html#2c786576eddddb484a6a02a7dea52904">Lock</a>(Mutex &m)</td><td><a class="el" href="classLock.html">Lock</a></td><td><code> [inline]</code></td></tr> + <tr class="memlist"><td><a class="el" href="classLock.html#5aba40fb170cf8fbfbe241ecac4b66b2">Lock</a>(const Lock &src)</td><td><a class="el" href="classLock.html">Lock</a></td><td><code> [private]</code></td></tr> + <tr class="memlist"><td><a class="el" href="classLock.html#41f8817641e260bddb93a7a710736037">mutex</a></td><td><a class="el" href="classLock.html">Lock</a></td><td><code> [private]</code></td></tr> + <tr class="memlist"><td><a class="el" href="classLock.html#6beb534a89b213d70e4b3bb9b3cde217">operator=</a>(const Lock &src)</td><td><a class="el" href="classLock.html">Lock</a></td><td><code> [private]</code></td></tr> + <tr class="memlist"><td><a class="el" href="classLock.html#7ab6d9485c8665bb3643710432882971">~Lock</a>()</td><td><a class="el" href="classLock.html">Lock</a></td><td><code> [inline]</code></td></tr> +</table><hr size="1"><address style="align: right;"><small>Generated on Sun Oct 7 23:43:50 2007 for anytun by +<a href="http://www.doxygen.org/index.html"> +<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address> +</body> +</html> diff --git a/doc/html/classLock.html b/doc/html/classLock.html new file mode 100644 index 0000000..53dae61 --- /dev/null +++ b/doc/html/classLock.html @@ -0,0 +1,142 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> +<title>anytun: Lock Class Reference</title> +<link href="doxygen.css" rel="stylesheet" type="text/css"> +<link href="tabs.css" rel="stylesheet" type="text/css"> +</head><body> +<!-- Generated by Doxygen 1.5.1 --> +<div class="tabs"> + <ul> + <li><a href="main.html"><span>Main Page</span></a></li> + <li><a href="namespaces.html"><span>Namespaces</span></a></li> + <li id="current"><a href="annotated.html"><span>Classes</span></a></li> + <li><a href="files.html"><span>Files</span></a></li> + </ul></div> +<div class="tabs"> + <ul> + <li><a href="annotated.html"><span>Class List</span></a></li> + <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> + <li><a href="functions.html"><span>Class Members</span></a></li> + </ul></div> +<h1>Lock Class Reference</h1><!-- doxytag: class="Lock" --><code>#include <<a class="el" href="threadUtils_8hpp-source.html">threadUtils.hpp</a>></code> +<p> +<a href="classLock-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0"> +<tr><td></td></tr> +<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr> +<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classLock.html#2c786576eddddb484a6a02a7dea52904">Lock</a> (<a class="el" href="classMutex.html">Mutex</a> &m)</td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classLock.html#7ab6d9485c8665bb3643710432882971">~Lock</a> ()</td></tr> + +<tr><td colspan="2"><br><h2>Private Member Functions</h2></td></tr> +<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classLock.html#5aba40fb170cf8fbfbe241ecac4b66b2">Lock</a> (const <a class="el" href="classLock.html">Lock</a> &src)</td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classLock.html#6beb534a89b213d70e4b3bb9b3cde217">operator=</a> (const <a class="el" href="classLock.html">Lock</a> &src)</td></tr> + +<tr><td colspan="2"><br><h2>Private Attributes</h2></td></tr> +<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classMutex.html">Mutex</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classLock.html#41f8817641e260bddb93a7a710736037">mutex</a></td></tr> + +</table> +<hr><h2>Constructor & Destructor Documentation</h2> +<a class="anchor" name="2c786576eddddb484a6a02a7dea52904"></a><!-- doxytag: member="Lock::Lock" ref="2c786576eddddb484a6a02a7dea52904" args="(Mutex &m)" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">Lock::Lock </td> + <td>(</td> + <td class="paramtype"><a class="el" href="classMutex.html">Mutex</a> & </td> + <td class="paramname"> <em>m</em> </td> + <td> ) </td> + <td width="100%"><code> [inline]</code></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<a class="anchor" name="7ab6d9485c8665bb3643710432882971"></a><!-- doxytag: member="Lock::~Lock" ref="7ab6d9485c8665bb3643710432882971" args="()" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">Lock::~Lock </td> + <td>(</td> + <td class="paramname"> </td> + <td> ) </td> + <td width="100%"><code> [inline]</code></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<a class="anchor" name="5aba40fb170cf8fbfbe241ecac4b66b2"></a><!-- doxytag: member="Lock::Lock" ref="5aba40fb170cf8fbfbe241ecac4b66b2" args="(const Lock &src)" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">Lock::Lock </td> + <td>(</td> + <td class="paramtype">const <a class="el" href="classLock.html">Lock</a> & </td> + <td class="paramname"> <em>src</em> </td> + <td> ) </td> + <td width="100%"><code> [private]</code></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<hr><h2>Member Function Documentation</h2> +<a class="anchor" name="6beb534a89b213d70e4b3bb9b3cde217"></a><!-- doxytag: member="Lock::operator=" ref="6beb534a89b213d70e4b3bb9b3cde217" args="(const Lock &src)" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">void Lock::operator= </td> + <td>(</td> + <td class="paramtype">const <a class="el" href="classLock.html">Lock</a> & </td> + <td class="paramname"> <em>src</em> </td> + <td> ) </td> + <td width="100%"><code> [private]</code></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<hr><h2>Member Data Documentation</h2> +<a class="anchor" name="41f8817641e260bddb93a7a710736037"></a><!-- doxytag: member="Lock::mutex" ref="41f8817641e260bddb93a7a710736037" args="" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname"><a class="el" href="classMutex.html">Mutex</a>& <a class="el" href="classLock.html#41f8817641e260bddb93a7a710736037">Lock::mutex</a><code> [private]</code> </td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<hr>The documentation for this class was generated from the following file:<ul> +<li><a class="el" href="threadUtils_8hpp-source.html">threadUtils.hpp</a></ul> +<hr size="1"><address style="align: right;"><small>Generated on Sun Oct 7 23:43:50 2007 for anytun by +<a href="http://www.doxygen.org/index.html"> +<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address> +</body> +</html> diff --git a/doc/html/classLog-members.html b/doc/html/classLog-members.html new file mode 100644 index 0000000..66945fc --- /dev/null +++ b/doc/html/classLog-members.html @@ -0,0 +1,71 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> +<title>anytun: Member List</title> +<link href="doxygen.css" rel="stylesheet" type="text/css"> +<link href="tabs.css" rel="stylesheet" type="text/css"> +</head><body> +<!-- Generated by Doxygen 1.5.1 --> +<div class="tabs"> + <ul> + <li><a href="main.html"><span>Main Page</span></a></li> + <li><a href="namespaces.html"><span>Namespaces</span></a></li> + <li id="current"><a href="annotated.html"><span>Classes</span></a></li> + <li><a href="files.html"><span>Files</span></a></li> + </ul></div> +<div class="tabs"> + <ul> + <li><a href="annotated.html"><span>Class List</span></a></li> + <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> + <li><a href="functions.html"><span>Class Members</span></a></li> + </ul></div> +<h1>Log Member List</h1>This is the complete list of members for <a class="el" href="classLog.html">Log</a>, including all inherited members.<p><table> + <tr class="memlist"><td><a class="el" href="classLog.html#6f6fde7b6433d827c05cfefe16f9b333">FAC_AUTH</a></td><td><a class="el" href="classLog.html">Log</a></td><td><code> [static]</code></td></tr> + <tr class="memlist"><td><a class="el" href="classLog.html#5245bb60b9c33e31027ea1f9a77d8053">FAC_AUTHPRIV</a></td><td><a class="el" href="classLog.html">Log</a></td><td><code> [static]</code></td></tr> + <tr class="memlist"><td><a class="el" href="classLog.html#6a455dfca6d859f77ed79b6d92ad659a">FAC_CRON</a></td><td><a class="el" href="classLog.html">Log</a></td><td><code> [static]</code></td></tr> + <tr class="memlist"><td><a class="el" href="classLog.html#6395030c0b8fa7f36b6fe0f6b837055d">FAC_DAEMON</a></td><td><a class="el" href="classLog.html">Log</a></td><td><code> [static]</code></td></tr> + <tr class="memlist"><td><a class="el" href="classLog.html#9b822438fee8c8a0f4bb56c0e4415c95">FAC_FTP</a></td><td><a class="el" href="classLog.html">Log</a></td><td><code> [static]</code></td></tr> + <tr class="memlist"><td><a class="el" href="classLog.html#e6271aefc4c8749e602da64f284f0d08">FAC_LOCAL0</a></td><td><a class="el" href="classLog.html">Log</a></td><td><code> [static]</code></td></tr> + <tr class="memlist"><td><a class="el" href="classLog.html#b553df5af8dd47f2e9d29569b26b7713">FAC_LOCAL1</a></td><td><a class="el" href="classLog.html">Log</a></td><td><code> [static]</code></td></tr> + <tr class="memlist"><td><a class="el" href="classLog.html#1e79b43d3ed6f44281f1d6f4d6e2a829">FAC_LOCAL2</a></td><td><a class="el" href="classLog.html">Log</a></td><td><code> [static]</code></td></tr> + <tr class="memlist"><td><a class="el" href="classLog.html#467961bf9b0b73dd863a29e29642ed62">FAC_LOCAL3</a></td><td><a class="el" href="classLog.html">Log</a></td><td><code> [static]</code></td></tr> + <tr class="memlist"><td><a class="el" href="classLog.html#2dfec8266dc4bfd9f4a37a6a6a193724">FAC_LOCAL4</a></td><td><a class="el" href="classLog.html">Log</a></td><td><code> [static]</code></td></tr> + <tr class="memlist"><td><a class="el" href="classLog.html#8c8f287b845408f62e9971869764193d">FAC_LOCAL5</a></td><td><a class="el" href="classLog.html">Log</a></td><td><code> [static]</code></td></tr> + <tr class="memlist"><td><a class="el" href="classLog.html#c7c45c9e1daa96ecb60ff12064a3dc6e">FAC_LOCAL6</a></td><td><a class="el" href="classLog.html">Log</a></td><td><code> [static]</code></td></tr> + <tr class="memlist"><td><a class="el" href="classLog.html#886a44fb4cec033f0f7c028f530fe97c">FAC_LOCAL7</a></td><td><a class="el" href="classLog.html">Log</a></td><td><code> [static]</code></td></tr> + <tr class="memlist"><td><a class="el" href="classLog.html#28a1239643de68f79ad6c2337acfd2ea">FAC_LPR</a></td><td><a class="el" href="classLog.html">Log</a></td><td><code> [static]</code></td></tr> + <tr class="memlist"><td><a class="el" href="classLog.html#5cf4b465d8ecff58bd62ac064663917b">FAC_MAIL</a></td><td><a class="el" href="classLog.html">Log</a></td><td><code> [static]</code></td></tr> + <tr class="memlist"><td><a class="el" href="classLog.html#b9f56520aeae70b9d98396f67ad1310b">FAC_NEWS</a></td><td><a class="el" href="classLog.html">Log</a></td><td><code> [static]</code></td></tr> + <tr class="memlist"><td><a class="el" href="classLog.html#be74100156fee45add0417bc9f460f30">FAC_SYSLOG</a></td><td><a class="el" href="classLog.html">Log</a></td><td><code> [static]</code></td></tr> + <tr class="memlist"><td><a class="el" href="classLog.html#9418bab5d66822411ce1f85823d8425b">FAC_USER</a></td><td><a class="el" href="classLog.html">Log</a></td><td><code> [static]</code></td></tr> + <tr class="memlist"><td><a class="el" href="classLog.html#d5b2e5f3987835ec077013c6a263ed5f">FAC_UUCP</a></td><td><a class="el" href="classLog.html">Log</a></td><td><code> [static]</code></td></tr> + <tr class="memlist"><td><a class="el" href="classLog.html#844dc5894a51dce933ae2109868652a0">facility</a></td><td><a class="el" href="classLog.html">Log</a></td><td><code> [private]</code></td></tr> + <tr class="memlist"><td><a class="el" href="classLog.html#238b6e5d47bb83307737f0c809fad669">getFacility</a>() const</td><td><a class="el" href="classLog.html">Log</a></td><td><code> [inline]</code></td></tr> + <tr class="memlist"><td><a class="el" href="classLog.html#9090c0fbbc5a3223dbd361a827788c17">getLogName</a>() const</td><td><a class="el" href="classLog.html">Log</a></td><td><code> [inline]</code></td></tr> + <tr class="memlist"><td><a class="el" href="classLog.html#aebf3ec6bf45b97cc842d9d53a5a6c0a">inst</a></td><td><a class="el" href="classLog.html">Log</a></td><td><code> [private, static]</code></td></tr> + <tr class="memlist"><td><a class="el" href="classLog.html#aa59866ce9e78db15ce7aaeb00fc1063">instance</a>()</td><td><a class="el" href="classLog.html">Log</a></td><td><code> [static]</code></td></tr> + <tr class="memlist"><td><a class="el" href="classLog.html#321cfbf9f58ebf3c9366bd6e0b5c18ce">instanceCleaner</a> class</td><td><a class="el" href="classLog.html">Log</a></td><td><code> [friend]</code></td></tr> + <tr class="memlist"><td><a class="el" href="classLog.html#c561e8206daad55b4aa4ac8808f35314">instMutex</a></td><td><a class="el" href="classLog.html">Log</a></td><td><code> [private, static]</code></td></tr> + <tr class="memlist"><td><a class="el" href="classLog.html#f6071a60aa52b6c1b511f99b4bc1b8fe">Log</a>()</td><td><a class="el" href="classLog.html">Log</a></td><td><code> [private]</code></td></tr> + <tr class="memlist"><td><a class="el" href="classLog.html#756aec21ec377fbc703f787e7f5fb832">Log</a>(const Log &l)</td><td><a class="el" href="classLog.html">Log</a></td><td><code> [private]</code></td></tr> + <tr class="memlist"><td><a class="el" href="classLog.html#8abf9fa58d7af501f25415eb37fd71a0">logName</a></td><td><a class="el" href="classLog.html">Log</a></td><td><code> [private]</code></td></tr> + <tr class="memlist"><td><a class="el" href="classLog.html#16ded253dbe65c503d1d853dcf5460d6">LogStringBuilder</a> class</td><td><a class="el" href="classLog.html">Log</a></td><td><code> [friend]</code></td></tr> + <tr class="memlist"><td><a class="el" href="classLog.html#7077dc047eb915d2fae46e36f5040f85">msg</a>(int prio=PRIO_INFO)</td><td><a class="el" href="classLog.html">Log</a></td><td><code> [inline]</code></td></tr> + <tr class="memlist"><td><a class="el" href="classLog.html#d69b96c96c1b6aa0c3d67e07ca131e85">mutex</a></td><td><a class="el" href="classLog.html">Log</a></td><td><code> [private]</code></td></tr> + <tr class="memlist"><td><a class="el" href="classLog.html#f91976ebadd955414799131cb442d24c">open</a>()</td><td><a class="el" href="classLog.html">Log</a></td><td><code> [private]</code></td></tr> + <tr class="memlist"><td><a class="el" href="classLog.html#076b147c2bc9b2167074e9bc51a24af7">operator=</a>(const Log &l)</td><td><a class="el" href="classLog.html">Log</a></td><td><code> [private]</code></td></tr> + <tr class="memlist"><td><a class="el" href="classLog.html#77741b4b68493a7b082f856c9a70cae6">PRIO_ALERT</a></td><td><a class="el" href="classLog.html">Log</a></td><td><code> [static]</code></td></tr> + <tr class="memlist"><td><a class="el" href="classLog.html#275d2db1310f0b9663ac1e048cadd389">PRIO_CRIT</a></td><td><a class="el" href="classLog.html">Log</a></td><td><code> [static]</code></td></tr> + <tr class="memlist"><td><a class="el" href="classLog.html#f9aad3521e9eda1c156009188cc0674b">PRIO_DEBUG</a></td><td><a class="el" href="classLog.html">Log</a></td><td><code> [static]</code></td></tr> + <tr class="memlist"><td><a class="el" href="classLog.html#3b068a7b9c9a7bd3a42d519daea16564">PRIO_EMERG</a></td><td><a class="el" href="classLog.html">Log</a></td><td><code> [static]</code></td></tr> + <tr class="memlist"><td><a class="el" href="classLog.html#d3769cb6592629a056ffeaa4ce1f3d46">PRIO_ERR</a></td><td><a class="el" href="classLog.html">Log</a></td><td><code> [static]</code></td></tr> + <tr class="memlist"><td><a class="el" href="classLog.html#3c50bb6ae5eff66436d72a53c50b0f6b">PRIO_INFO</a></td><td><a class="el" href="classLog.html">Log</a></td><td><code> [static]</code></td></tr> + <tr class="memlist"><td><a class="el" href="classLog.html#783504697beb7cc8905d0296704d62f2">PRIO_NOTICE</a></td><td><a class="el" href="classLog.html">Log</a></td><td><code> [static]</code></td></tr> + <tr class="memlist"><td><a class="el" href="classLog.html#ef36517c65a41f4cf69d4795ec84b4a2">PRIO_WARNING</a></td><td><a class="el" href="classLog.html">Log</a></td><td><code> [static]</code></td></tr> + <tr class="memlist"><td><a class="el" href="classLog.html#828e15ec0e9108b9fc43d74da77a902c">setFacility</a>(int newFacility)</td><td><a class="el" href="classLog.html">Log</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classLog.html#f8cf0541a8284aabd5fe924a9cd2eab8">setLogName</a>(std::string newLogName)</td><td><a class="el" href="classLog.html">Log</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classLog.html#0fbfda88fbee5027c89f6eb121059360">~Log</a>()</td><td><a class="el" href="classLog.html">Log</a></td><td><code> [private]</code></td></tr> +</table><hr size="1"><address style="align: right;"><small>Generated on Sun Oct 7 23:43:50 2007 for anytun by +<a href="http://www.doxygen.org/index.html"> +<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address> +</body> +</html> diff --git a/doc/html/classLog.html b/doc/html/classLog.html new file mode 100644 index 0000000..c463700 --- /dev/null +++ b/doc/html/classLog.html @@ -0,0 +1,860 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> +<title>anytun: Log Class Reference</title> +<link href="doxygen.css" rel="stylesheet" type="text/css"> +<link href="tabs.css" rel="stylesheet" type="text/css"> +</head><body> +<!-- Generated by Doxygen 1.5.1 --> +<div class="tabs"> + <ul> + <li><a href="main.html"><span>Main Page</span></a></li> + <li><a href="namespaces.html"><span>Namespaces</span></a></li> + <li id="current"><a href="annotated.html"><span>Classes</span></a></li> + <li><a href="files.html"><span>Files</span></a></li> + </ul></div> +<div class="tabs"> + <ul> + <li><a href="annotated.html"><span>Class List</span></a></li> + <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> + <li><a href="functions.html"><span>Class Members</span></a></li> + </ul></div> +<h1>Log Class Reference</h1><!-- doxytag: class="Log" --><code>#include <<a class="el" href="log_8h-source.html">log.h</a>></code> +<p> +<a href="classLog-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0"> +<tr><td></td></tr> +<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr> +<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classLog.html">Log</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classLog.html#f8cf0541a8284aabd5fe924a9cd2eab8">setLogName</a> (std::string newLogName)</td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top">std::string </td><td class="memItemRight" valign="bottom"><a class="el" href="classLog.html#9090c0fbbc5a3223dbd361a827788c17">getLogName</a> () const</td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classLog.html">Log</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classLog.html#828e15ec0e9108b9fc43d74da77a902c">setFacility</a> (int newFacility)</td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classLog.html#238b6e5d47bb83307737f0c809fad669">getFacility</a> () const</td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classLogStringBuilder.html">LogStringBuilder</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classLog.html#7077dc047eb915d2fae46e36f5040f85">msg</a> (int prio=<a class="el" href="classLog.html#3c50bb6ae5eff66436d72a53c50b0f6b">PRIO_INFO</a>)</td></tr> + +<tr><td colspan="2"><br><h2>Static Public Member Functions</h2></td></tr> +<tr><td class="memItemLeft" nowrap align="right" valign="top">static <a class="el" href="classLog.html">Log</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classLog.html#aa59866ce9e78db15ce7aaeb00fc1063">instance</a> ()</td></tr> + +<tr><td colspan="2"><br><h2>Static Public Attributes</h2></td></tr> +<tr><td class="memItemLeft" nowrap align="right" valign="top">static const int </td><td class="memItemRight" valign="bottom"><a class="el" href="classLog.html#9418bab5d66822411ce1f85823d8425b">FAC_USER</a> = LOG_USER</td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top">static const int </td><td class="memItemRight" valign="bottom"><a class="el" href="classLog.html#5cf4b465d8ecff58bd62ac064663917b">FAC_MAIL</a> = LOG_MAIL</td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top">static const int </td><td class="memItemRight" valign="bottom"><a class="el" href="classLog.html#6395030c0b8fa7f36b6fe0f6b837055d">FAC_DAEMON</a> = LOG_DAEMON</td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top">static const int </td><td class="memItemRight" valign="bottom"><a class="el" href="classLog.html#6f6fde7b6433d827c05cfefe16f9b333">FAC_AUTH</a> = LOG_AUTH</td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top">static const int </td><td class="memItemRight" valign="bottom"><a class="el" href="classLog.html#be74100156fee45add0417bc9f460f30">FAC_SYSLOG</a> = LOG_SYSLOG</td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top">static const int </td><td class="memItemRight" valign="bottom"><a class="el" href="classLog.html#28a1239643de68f79ad6c2337acfd2ea">FAC_LPR</a> = LOG_LPR</td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top">static const int </td><td class="memItemRight" valign="bottom"><a class="el" href="classLog.html#b9f56520aeae70b9d98396f67ad1310b">FAC_NEWS</a> = LOG_NEWS</td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top">static const int </td><td class="memItemRight" valign="bottom"><a class="el" href="classLog.html#d5b2e5f3987835ec077013c6a263ed5f">FAC_UUCP</a> = LOG_UUCP</td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top">static const int </td><td class="memItemRight" valign="bottom"><a class="el" href="classLog.html#6a455dfca6d859f77ed79b6d92ad659a">FAC_CRON</a> = LOG_CRON</td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top">static const int </td><td class="memItemRight" valign="bottom"><a class="el" href="classLog.html#5245bb60b9c33e31027ea1f9a77d8053">FAC_AUTHPRIV</a> = LOG_AUTHPRIV</td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top">static const int </td><td class="memItemRight" valign="bottom"><a class="el" href="classLog.html#9b822438fee8c8a0f4bb56c0e4415c95">FAC_FTP</a> = LOG_FTP</td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top">static const int </td><td class="memItemRight" valign="bottom"><a class="el" href="classLog.html#e6271aefc4c8749e602da64f284f0d08">FAC_LOCAL0</a> = LOG_LOCAL0</td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top">static const int </td><td class="memItemRight" valign="bottom"><a class="el" href="classLog.html#b553df5af8dd47f2e9d29569b26b7713">FAC_LOCAL1</a> = LOG_LOCAL1</td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top">static const int </td><td class="memItemRight" valign="bottom"><a class="el" href="classLog.html#1e79b43d3ed6f44281f1d6f4d6e2a829">FAC_LOCAL2</a> = LOG_LOCAL2</td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top">static const int </td><td class="memItemRight" valign="bottom"><a class="el" href="classLog.html#467961bf9b0b73dd863a29e29642ed62">FAC_LOCAL3</a> = LOG_LOCAL3</td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top">static const int </td><td class="memItemRight" valign="bottom"><a class="el" href="classLog.html#2dfec8266dc4bfd9f4a37a6a6a193724">FAC_LOCAL4</a> = LOG_LOCAL4</td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top">static const int </td><td class="memItemRight" valign="bottom"><a class="el" href="classLog.html#8c8f287b845408f62e9971869764193d">FAC_LOCAL5</a> = LOG_LOCAL5</td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top">static const int </td><td class="memItemRight" valign="bottom"><a class="el" href="classLog.html#c7c45c9e1daa96ecb60ff12064a3dc6e">FAC_LOCAL6</a> = LOG_LOCAL6</td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top">static const int </td><td class="memItemRight" valign="bottom"><a class="el" href="classLog.html#886a44fb4cec033f0f7c028f530fe97c">FAC_LOCAL7</a> = LOG_LOCAL7</td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top">static const int </td><td class="memItemRight" valign="bottom"><a class="el" href="classLog.html#3b068a7b9c9a7bd3a42d519daea16564">PRIO_EMERG</a> = LOG_EMERG</td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top">static const int </td><td class="memItemRight" valign="bottom"><a class="el" href="classLog.html#77741b4b68493a7b082f856c9a70cae6">PRIO_ALERT</a> = LOG_ALERT</td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top">static const int </td><td class="memItemRight" valign="bottom"><a class="el" href="classLog.html#275d2db1310f0b9663ac1e048cadd389">PRIO_CRIT</a> = LOG_CRIT</td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top">static const int </td><td class="memItemRight" valign="bottom"><a class="el" href="classLog.html#d3769cb6592629a056ffeaa4ce1f3d46">PRIO_ERR</a> = LOG_ERR</td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top">static const int </td><td class="memItemRight" valign="bottom"><a class="el" href="classLog.html#ef36517c65a41f4cf69d4795ec84b4a2">PRIO_WARNING</a> = LOG_WARNING</td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top">static const int </td><td class="memItemRight" valign="bottom"><a class="el" href="classLog.html#783504697beb7cc8905d0296704d62f2">PRIO_NOTICE</a> = LOG_NOTICE</td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top">static const int </td><td class="memItemRight" valign="bottom"><a class="el" href="classLog.html#3c50bb6ae5eff66436d72a53c50b0f6b">PRIO_INFO</a> = LOG_INFO</td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top">static const int </td><td class="memItemRight" valign="bottom"><a class="el" href="classLog.html#f9aad3521e9eda1c156009188cc0674b">PRIO_DEBUG</a> = LOG_DEBUG</td></tr> + +<tr><td colspan="2"><br><h2>Private Member Functions</h2></td></tr> +<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classLog.html#f6071a60aa52b6c1b511f99b4bc1b8fe">Log</a> ()</td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classLog.html#0fbfda88fbee5027c89f6eb121059360">~Log</a> ()</td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classLog.html#756aec21ec377fbc703f787e7f5fb832">Log</a> (const <a class="el" href="classLog.html">Log</a> &l)</td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classLog.html#076b147c2bc9b2167074e9bc51a24af7">operator=</a> (const <a class="el" href="classLog.html">Log</a> &l)</td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classLog.html#f91976ebadd955414799131cb442d24c">open</a> ()</td></tr> + +<tr><td colspan="2"><br><h2>Private Attributes</h2></td></tr> +<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classMutex.html">Mutex</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classLog.html#d69b96c96c1b6aa0c3d67e07ca131e85">mutex</a></td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top">std::string </td><td class="memItemRight" valign="bottom"><a class="el" href="classLog.html#8abf9fa58d7af501f25415eb37fd71a0">logName</a></td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classLog.html#844dc5894a51dce933ae2109868652a0">facility</a></td></tr> + +<tr><td colspan="2"><br><h2>Static Private Attributes</h2></td></tr> +<tr><td class="memItemLeft" nowrap align="right" valign="top">static <a class="el" href="classLog.html">Log</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classLog.html#aebf3ec6bf45b97cc842d9d53a5a6c0a">inst</a></td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top">static <a class="el" href="classMutex.html">Mutex</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classLog.html#c561e8206daad55b4aa4ac8808f35314">instMutex</a></td></tr> + +<tr><td colspan="2"><br><h2>Friends</h2></td></tr> +<tr><td class="memItemLeft" nowrap align="right" valign="top">class </td><td class="memItemRight" valign="bottom"><a class="el" href="classLog.html#321cfbf9f58ebf3c9366bd6e0b5c18ce">instanceCleaner</a></td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top">class </td><td class="memItemRight" valign="bottom"><a class="el" href="classLog.html#16ded253dbe65c503d1d853dcf5460d6">LogStringBuilder</a></td></tr> + +<tr><td colspan="2"><br><h2>Classes</h2></td></tr> +<tr><td class="memItemLeft" nowrap align="right" valign="top">class </td><td class="memItemRight" valign="bottom"><a class="el" href="classLog_1_1instanceCleaner.html">instanceCleaner</a></td></tr> + +</table> +<hr><h2>Constructor & Destructor Documentation</h2> +<a class="anchor" name="f6071a60aa52b6c1b511f99b4bc1b8fe"></a><!-- doxytag: member="Log::Log" ref="f6071a60aa52b6c1b511f99b4bc1b8fe" args="()" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">Log::Log </td> + <td>(</td> + <td class="paramname"> </td> + <td> ) </td> + <td width="100%"><code> [private]</code></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<a class="anchor" name="0fbfda88fbee5027c89f6eb121059360"></a><!-- doxytag: member="Log::~Log" ref="0fbfda88fbee5027c89f6eb121059360" args="()" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">Log::~Log </td> + <td>(</td> + <td class="paramname"> </td> + <td> ) </td> + <td width="100%"><code> [private]</code></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<a class="anchor" name="756aec21ec377fbc703f787e7f5fb832"></a><!-- doxytag: member="Log::Log" ref="756aec21ec377fbc703f787e7f5fb832" args="(const Log &l)" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">Log::Log </td> + <td>(</td> + <td class="paramtype">const <a class="el" href="classLog.html">Log</a> & </td> + <td class="paramname"> <em>l</em> </td> + <td> ) </td> + <td width="100%"><code> [private]</code></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<hr><h2>Member Function Documentation</h2> +<a class="anchor" name="aa59866ce9e78db15ce7aaeb00fc1063"></a><!-- doxytag: member="Log::instance" ref="aa59866ce9e78db15ce7aaeb00fc1063" args="()" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname"><a class="el" href="classLog.html">Log</a> & Log::instance </td> + <td>(</td> + <td class="paramname"> </td> + <td> ) </td> + <td width="100%"><code> [static]</code></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<a class="anchor" name="f8cf0541a8284aabd5fe924a9cd2eab8"></a><!-- doxytag: member="Log::setLogName" ref="f8cf0541a8284aabd5fe924a9cd2eab8" args="(std::string newLogName)" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname"><a class="el" href="classLog.html">Log</a> & Log::setLogName </td> + <td>(</td> + <td class="paramtype">std::string </td> + <td class="paramname"> <em>newLogName</em> </td> + <td> ) </td> + <td width="100%"></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<a class="anchor" name="9090c0fbbc5a3223dbd361a827788c17"></a><!-- doxytag: member="Log::getLogName" ref="9090c0fbbc5a3223dbd361a827788c17" args="() const" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">std::string Log::getLogName </td> + <td>(</td> + <td class="paramname"> </td> + <td> ) </td> + <td width="100%"> const<code> [inline]</code></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<a class="anchor" name="828e15ec0e9108b9fc43d74da77a902c"></a><!-- doxytag: member="Log::setFacility" ref="828e15ec0e9108b9fc43d74da77a902c" args="(int newFacility)" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname"><a class="el" href="classLog.html">Log</a> & Log::setFacility </td> + <td>(</td> + <td class="paramtype">int </td> + <td class="paramname"> <em>newFacility</em> </td> + <td> ) </td> + <td width="100%"></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<a class="anchor" name="238b6e5d47bb83307737f0c809fad669"></a><!-- doxytag: member="Log::getFacility" ref="238b6e5d47bb83307737f0c809fad669" args="() const" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">int Log::getFacility </td> + <td>(</td> + <td class="paramname"> </td> + <td> ) </td> + <td width="100%"> const<code> [inline]</code></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<a class="anchor" name="7077dc047eb915d2fae46e36f5040f85"></a><!-- doxytag: member="Log::msg" ref="7077dc047eb915d2fae46e36f5040f85" args="(int prio=PRIO_INFO)" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname"><a class="el" href="classLogStringBuilder.html">LogStringBuilder</a> Log::msg </td> + <td>(</td> + <td class="paramtype">int </td> + <td class="paramname"> <em>prio</em> = <code><a class="el" href="classLog.html#3c50bb6ae5eff66436d72a53c50b0f6b">PRIO_INFO</a></code> </td> + <td> ) </td> + <td width="100%"><code> [inline]</code></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<a class="anchor" name="076b147c2bc9b2167074e9bc51a24af7"></a><!-- doxytag: member="Log::operator=" ref="076b147c2bc9b2167074e9bc51a24af7" args="(const Log &l)" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">void Log::operator= </td> + <td>(</td> + <td class="paramtype">const <a class="el" href="classLog.html">Log</a> & </td> + <td class="paramname"> <em>l</em> </td> + <td> ) </td> + <td width="100%"><code> [private]</code></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<a class="anchor" name="f91976ebadd955414799131cb442d24c"></a><!-- doxytag: member="Log::open" ref="f91976ebadd955414799131cb442d24c" args="()" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">void Log::open </td> + <td>(</td> + <td class="paramname"> </td> + <td> ) </td> + <td width="100%"><code> [private]</code></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<hr><h2>Friends And Related Function Documentation</h2> +<a class="anchor" name="321cfbf9f58ebf3c9366bd6e0b5c18ce"></a><!-- doxytag: member="Log::instanceCleaner" ref="321cfbf9f58ebf3c9366bd6e0b5c18ce" args="" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">friend class <a class="el" href="classLog_1_1instanceCleaner.html">instanceCleaner</a><code> [friend]</code> </td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<a class="anchor" name="16ded253dbe65c503d1d853dcf5460d6"></a><!-- doxytag: member="Log::LogStringBuilder" ref="16ded253dbe65c503d1d853dcf5460d6" args="" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">friend class <a class="el" href="classLogStringBuilder.html">LogStringBuilder</a><code> [friend]</code> </td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<hr><h2>Member Data Documentation</h2> +<a class="anchor" name="9418bab5d66822411ce1f85823d8425b"></a><!-- doxytag: member="Log::FAC_USER" ref="9418bab5d66822411ce1f85823d8425b" args="" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">const int <a class="el" href="classLog.html#9418bab5d66822411ce1f85823d8425b">Log::FAC_USER</a> = LOG_USER<code> [static]</code> </td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<a class="anchor" name="5cf4b465d8ecff58bd62ac064663917b"></a><!-- doxytag: member="Log::FAC_MAIL" ref="5cf4b465d8ecff58bd62ac064663917b" args="" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">const int <a class="el" href="classLog.html#5cf4b465d8ecff58bd62ac064663917b">Log::FAC_MAIL</a> = LOG_MAIL<code> [static]</code> </td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<a class="anchor" name="6395030c0b8fa7f36b6fe0f6b837055d"></a><!-- doxytag: member="Log::FAC_DAEMON" ref="6395030c0b8fa7f36b6fe0f6b837055d" args="" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">const int <a class="el" href="classLog.html#6395030c0b8fa7f36b6fe0f6b837055d">Log::FAC_DAEMON</a> = LOG_DAEMON<code> [static]</code> </td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<a class="anchor" name="6f6fde7b6433d827c05cfefe16f9b333"></a><!-- doxytag: member="Log::FAC_AUTH" ref="6f6fde7b6433d827c05cfefe16f9b333" args="" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">const int <a class="el" href="classLog.html#6f6fde7b6433d827c05cfefe16f9b333">Log::FAC_AUTH</a> = LOG_AUTH<code> [static]</code> </td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<a class="anchor" name="be74100156fee45add0417bc9f460f30"></a><!-- doxytag: member="Log::FAC_SYSLOG" ref="be74100156fee45add0417bc9f460f30" args="" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">const int <a class="el" href="classLog.html#be74100156fee45add0417bc9f460f30">Log::FAC_SYSLOG</a> = LOG_SYSLOG<code> [static]</code> </td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<a class="anchor" name="28a1239643de68f79ad6c2337acfd2ea"></a><!-- doxytag: member="Log::FAC_LPR" ref="28a1239643de68f79ad6c2337acfd2ea" args="" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">const int <a class="el" href="classLog.html#28a1239643de68f79ad6c2337acfd2ea">Log::FAC_LPR</a> = LOG_LPR<code> [static]</code> </td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<a class="anchor" name="b9f56520aeae70b9d98396f67ad1310b"></a><!-- doxytag: member="Log::FAC_NEWS" ref="b9f56520aeae70b9d98396f67ad1310b" args="" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">const int <a class="el" href="classLog.html#b9f56520aeae70b9d98396f67ad1310b">Log::FAC_NEWS</a> = LOG_NEWS<code> [static]</code> </td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<a class="anchor" name="d5b2e5f3987835ec077013c6a263ed5f"></a><!-- doxytag: member="Log::FAC_UUCP" ref="d5b2e5f3987835ec077013c6a263ed5f" args="" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">const int <a class="el" href="classLog.html#d5b2e5f3987835ec077013c6a263ed5f">Log::FAC_UUCP</a> = LOG_UUCP<code> [static]</code> </td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<a class="anchor" name="6a455dfca6d859f77ed79b6d92ad659a"></a><!-- doxytag: member="Log::FAC_CRON" ref="6a455dfca6d859f77ed79b6d92ad659a" args="" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">const int <a class="el" href="classLog.html#6a455dfca6d859f77ed79b6d92ad659a">Log::FAC_CRON</a> = LOG_CRON<code> [static]</code> </td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<a class="anchor" name="5245bb60b9c33e31027ea1f9a77d8053"></a><!-- doxytag: member="Log::FAC_AUTHPRIV" ref="5245bb60b9c33e31027ea1f9a77d8053" args="" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">const int <a class="el" href="classLog.html#5245bb60b9c33e31027ea1f9a77d8053">Log::FAC_AUTHPRIV</a> = LOG_AUTHPRIV<code> [static]</code> </td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<a class="anchor" name="9b822438fee8c8a0f4bb56c0e4415c95"></a><!-- doxytag: member="Log::FAC_FTP" ref="9b822438fee8c8a0f4bb56c0e4415c95" args="" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">const int <a class="el" href="classLog.html#9b822438fee8c8a0f4bb56c0e4415c95">Log::FAC_FTP</a> = LOG_FTP<code> [static]</code> </td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<a class="anchor" name="e6271aefc4c8749e602da64f284f0d08"></a><!-- doxytag: member="Log::FAC_LOCAL0" ref="e6271aefc4c8749e602da64f284f0d08" args="" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">const int <a class="el" href="classLog.html#e6271aefc4c8749e602da64f284f0d08">Log::FAC_LOCAL0</a> = LOG_LOCAL0<code> [static]</code> </td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<a class="anchor" name="b553df5af8dd47f2e9d29569b26b7713"></a><!-- doxytag: member="Log::FAC_LOCAL1" ref="b553df5af8dd47f2e9d29569b26b7713" args="" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">const int <a class="el" href="classLog.html#b553df5af8dd47f2e9d29569b26b7713">Log::FAC_LOCAL1</a> = LOG_LOCAL1<code> [static]</code> </td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<a class="anchor" name="1e79b43d3ed6f44281f1d6f4d6e2a829"></a><!-- doxytag: member="Log::FAC_LOCAL2" ref="1e79b43d3ed6f44281f1d6f4d6e2a829" args="" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">const int <a class="el" href="classLog.html#1e79b43d3ed6f44281f1d6f4d6e2a829">Log::FAC_LOCAL2</a> = LOG_LOCAL2<code> [static]</code> </td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<a class="anchor" name="467961bf9b0b73dd863a29e29642ed62"></a><!-- doxytag: member="Log::FAC_LOCAL3" ref="467961bf9b0b73dd863a29e29642ed62" args="" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">const int <a class="el" href="classLog.html#467961bf9b0b73dd863a29e29642ed62">Log::FAC_LOCAL3</a> = LOG_LOCAL3<code> [static]</code> </td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<a class="anchor" name="2dfec8266dc4bfd9f4a37a6a6a193724"></a><!-- doxytag: member="Log::FAC_LOCAL4" ref="2dfec8266dc4bfd9f4a37a6a6a193724" args="" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">const int <a class="el" href="classLog.html#2dfec8266dc4bfd9f4a37a6a6a193724">Log::FAC_LOCAL4</a> = LOG_LOCAL4<code> [static]</code> </td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<a class="anchor" name="8c8f287b845408f62e9971869764193d"></a><!-- doxytag: member="Log::FAC_LOCAL5" ref="8c8f287b845408f62e9971869764193d" args="" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">const int <a class="el" href="classLog.html#8c8f287b845408f62e9971869764193d">Log::FAC_LOCAL5</a> = LOG_LOCAL5<code> [static]</code> </td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<a class="anchor" name="c7c45c9e1daa96ecb60ff12064a3dc6e"></a><!-- doxytag: member="Log::FAC_LOCAL6" ref="c7c45c9e1daa96ecb60ff12064a3dc6e" args="" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">const int <a class="el" href="classLog.html#c7c45c9e1daa96ecb60ff12064a3dc6e">Log::FAC_LOCAL6</a> = LOG_LOCAL6<code> [static]</code> </td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<a class="anchor" name="886a44fb4cec033f0f7c028f530fe97c"></a><!-- doxytag: member="Log::FAC_LOCAL7" ref="886a44fb4cec033f0f7c028f530fe97c" args="" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">const int <a class="el" href="classLog.html#886a44fb4cec033f0f7c028f530fe97c">Log::FAC_LOCAL7</a> = LOG_LOCAL7<code> [static]</code> </td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<a class="anchor" name="3b068a7b9c9a7bd3a42d519daea16564"></a><!-- doxytag: member="Log::PRIO_EMERG" ref="3b068a7b9c9a7bd3a42d519daea16564" args="" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">const int <a class="el" href="classLog.html#3b068a7b9c9a7bd3a42d519daea16564">Log::PRIO_EMERG</a> = LOG_EMERG<code> [static]</code> </td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<a class="anchor" name="77741b4b68493a7b082f856c9a70cae6"></a><!-- doxytag: member="Log::PRIO_ALERT" ref="77741b4b68493a7b082f856c9a70cae6" args="" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">const int <a class="el" href="classLog.html#77741b4b68493a7b082f856c9a70cae6">Log::PRIO_ALERT</a> = LOG_ALERT<code> [static]</code> </td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<a class="anchor" name="275d2db1310f0b9663ac1e048cadd389"></a><!-- doxytag: member="Log::PRIO_CRIT" ref="275d2db1310f0b9663ac1e048cadd389" args="" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">const int <a class="el" href="classLog.html#275d2db1310f0b9663ac1e048cadd389">Log::PRIO_CRIT</a> = LOG_CRIT<code> [static]</code> </td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<a class="anchor" name="d3769cb6592629a056ffeaa4ce1f3d46"></a><!-- doxytag: member="Log::PRIO_ERR" ref="d3769cb6592629a056ffeaa4ce1f3d46" args="" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">const int <a class="el" href="classLog.html#d3769cb6592629a056ffeaa4ce1f3d46">Log::PRIO_ERR</a> = LOG_ERR<code> [static]</code> </td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<a class="anchor" name="ef36517c65a41f4cf69d4795ec84b4a2"></a><!-- doxytag: member="Log::PRIO_WARNING" ref="ef36517c65a41f4cf69d4795ec84b4a2" args="" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">const int <a class="el" href="classLog.html#ef36517c65a41f4cf69d4795ec84b4a2">Log::PRIO_WARNING</a> = LOG_WARNING<code> [static]</code> </td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<a class="anchor" name="783504697beb7cc8905d0296704d62f2"></a><!-- doxytag: member="Log::PRIO_NOTICE" ref="783504697beb7cc8905d0296704d62f2" args="" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">const int <a class="el" href="classLog.html#783504697beb7cc8905d0296704d62f2">Log::PRIO_NOTICE</a> = LOG_NOTICE<code> [static]</code> </td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<a class="anchor" name="3c50bb6ae5eff66436d72a53c50b0f6b"></a><!-- doxytag: member="Log::PRIO_INFO" ref="3c50bb6ae5eff66436d72a53c50b0f6b" args="" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">const int <a class="el" href="classLog.html#3c50bb6ae5eff66436d72a53c50b0f6b">Log::PRIO_INFO</a> = LOG_INFO<code> [static]</code> </td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<a class="anchor" name="f9aad3521e9eda1c156009188cc0674b"></a><!-- doxytag: member="Log::PRIO_DEBUG" ref="f9aad3521e9eda1c156009188cc0674b" args="" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">const int <a class="el" href="classLog.html#f9aad3521e9eda1c156009188cc0674b">Log::PRIO_DEBUG</a> = LOG_DEBUG<code> [static]</code> </td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<a class="anchor" name="aebf3ec6bf45b97cc842d9d53a5a6c0a"></a><!-- doxytag: member="Log::inst" ref="aebf3ec6bf45b97cc842d9d53a5a6c0a" args="" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname"><a class="el" href="classLog.html">Log</a> * <a class="el" href="classLog.html#aebf3ec6bf45b97cc842d9d53a5a6c0a">Log::inst</a><code> [static, private]</code> </td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<a class="anchor" name="c561e8206daad55b4aa4ac8808f35314"></a><!-- doxytag: member="Log::instMutex" ref="c561e8206daad55b4aa4ac8808f35314" args="" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname"><a class="el" href="classMutex.html">Mutex</a> <a class="el" href="classLog.html#c561e8206daad55b4aa4ac8808f35314">Log::instMutex</a><code> [static, private]</code> </td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<a class="anchor" name="d69b96c96c1b6aa0c3d67e07ca131e85"></a><!-- doxytag: member="Log::mutex" ref="d69b96c96c1b6aa0c3d67e07ca131e85" args="" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname"><a class="el" href="classMutex.html">Mutex</a> <a class="el" href="classLog.html#d69b96c96c1b6aa0c3d67e07ca131e85">Log::mutex</a><code> [private]</code> </td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<a class="anchor" name="8abf9fa58d7af501f25415eb37fd71a0"></a><!-- doxytag: member="Log::logName" ref="8abf9fa58d7af501f25415eb37fd71a0" args="" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">std::string <a class="el" href="classLog.html#8abf9fa58d7af501f25415eb37fd71a0">Log::logName</a><code> [private]</code> </td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<a class="anchor" name="844dc5894a51dce933ae2109868652a0"></a><!-- doxytag: member="Log::facility" ref="844dc5894a51dce933ae2109868652a0" args="" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">int <a class="el" href="classLog.html#844dc5894a51dce933ae2109868652a0">Log::facility</a><code> [private]</code> </td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<hr>The documentation for this class was generated from the following files:<ul> +<li><a class="el" href="log_8h-source.html">log.h</a><li><a class="el" href="log_8cpp.html">log.cpp</a></ul> +<hr size="1"><address style="align: right;"><small>Generated on Sun Oct 7 23:43:50 2007 for anytun by +<a href="http://www.doxygen.org/index.html"> +<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address> +</body> +</html> diff --git a/doc/html/classLogStringBuilder-members.html b/doc/html/classLogStringBuilder-members.html new file mode 100644 index 0000000..992279e --- /dev/null +++ b/doc/html/classLogStringBuilder-members.html @@ -0,0 +1,33 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> +<title>anytun: Member List</title> +<link href="doxygen.css" rel="stylesheet" type="text/css"> +<link href="tabs.css" rel="stylesheet" type="text/css"> +</head><body> +<!-- Generated by Doxygen 1.5.1 --> +<div class="tabs"> + <ul> + <li><a href="main.html"><span>Main Page</span></a></li> + <li><a href="namespaces.html"><span>Namespaces</span></a></li> + <li id="current"><a href="annotated.html"><span>Classes</span></a></li> + <li><a href="files.html"><span>Files</span></a></li> + </ul></div> +<div class="tabs"> + <ul> + <li><a href="annotated.html"><span>Class List</span></a></li> + <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> + <li><a href="functions.html"><span>Class Members</span></a></li> + </ul></div> +<h1>LogStringBuilder Member List</h1>This is the complete list of members for <a class="el" href="classLogStringBuilder.html">LogStringBuilder</a>, including all inherited members.<p><table> + <tr class="memlist"><td><a class="el" href="classLogStringBuilder.html#499c5b058df61e2215368592d21aacf1">log</a></td><td><a class="el" href="classLogStringBuilder.html">LogStringBuilder</a></td><td><code> [private]</code></td></tr> + <tr class="memlist"><td><a class="el" href="classLogStringBuilder.html#5df8c8d7ab7615c8552de3d4d21d3417">LogStringBuilder</a>(LogStringBuilder const &src)</td><td><a class="el" href="classLogStringBuilder.html">LogStringBuilder</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classLogStringBuilder.html#a9393394f93ca644c8a851fb8fe04e24">LogStringBuilder</a>(Log &l, int p)</td><td><a class="el" href="classLogStringBuilder.html">LogStringBuilder</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classLogStringBuilder.html#9b4f26f5e64aacc172c0818073117e42">operator<<</a>(T const &value)</td><td><a class="el" href="classLogStringBuilder.html">LogStringBuilder</a></td><td><code> [inline]</code></td></tr> + <tr class="memlist"><td><a class="el" href="classLogStringBuilder.html#89d48a7590de117fec0b40c0babbaee5">prio</a></td><td><a class="el" href="classLogStringBuilder.html">LogStringBuilder</a></td><td><code> [private]</code></td></tr> + <tr class="memlist"><td><a class="el" href="classLogStringBuilder.html#405447561d3d7337cc093dad6c6d81b5">stream</a></td><td><a class="el" href="classLogStringBuilder.html">LogStringBuilder</a></td><td><code> [private]</code></td></tr> + <tr class="memlist"><td><a class="el" href="classLogStringBuilder.html#c63707864e0005008cc4a67d8dec9933">~LogStringBuilder</a>()</td><td><a class="el" href="classLogStringBuilder.html">LogStringBuilder</a></td><td></td></tr> +</table><hr size="1"><address style="align: right;"><small>Generated on Sun Oct 7 23:43:50 2007 for anytun by +<a href="http://www.doxygen.org/index.html"> +<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address> +</body> +</html> diff --git a/doc/html/classLogStringBuilder.html b/doc/html/classLogStringBuilder.html new file mode 100644 index 0000000..ed7f92d --- /dev/null +++ b/doc/html/classLogStringBuilder.html @@ -0,0 +1,187 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> +<title>anytun: LogStringBuilder Class Reference</title> +<link href="doxygen.css" rel="stylesheet" type="text/css"> +<link href="tabs.css" rel="stylesheet" type="text/css"> +</head><body> +<!-- Generated by Doxygen 1.5.1 --> +<div class="tabs"> + <ul> + <li><a href="main.html"><span>Main Page</span></a></li> + <li><a href="namespaces.html"><span>Namespaces</span></a></li> + <li id="current"><a href="annotated.html"><span>Classes</span></a></li> + <li><a href="files.html"><span>Files</span></a></li> + </ul></div> +<div class="tabs"> + <ul> + <li><a href="annotated.html"><span>Class List</span></a></li> + <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> + <li><a href="functions.html"><span>Class Members</span></a></li> + </ul></div> +<h1>LogStringBuilder Class Reference</h1><!-- doxytag: class="LogStringBuilder" --><code>#include <<a class="el" href="log_8h-source.html">log.h</a>></code> +<p> +<a href="classLogStringBuilder-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0"> +<tr><td></td></tr> +<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr> +<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classLogStringBuilder.html#5df8c8d7ab7615c8552de3d4d21d3417">LogStringBuilder</a> (<a class="el" href="classLogStringBuilder.html">LogStringBuilder</a> const &src)</td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classLogStringBuilder.html#a9393394f93ca644c8a851fb8fe04e24">LogStringBuilder</a> (<a class="el" href="classLog.html">Log</a> &l, int p)</td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classLogStringBuilder.html#c63707864e0005008cc4a67d8dec9933">~LogStringBuilder</a> ()</td></tr> + +<tr><td class="memTemplParams" nowrap colspan="2">template<class T> </td></tr> +<tr><td class="memTemplItemLeft" nowrap align="right" valign="top">std::ostream & </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classLogStringBuilder.html#9b4f26f5e64aacc172c0818073117e42">operator<<</a> (T const &value)</td></tr> + +<tr><td colspan="2"><br><h2>Private Attributes</h2></td></tr> +<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classLog.html">Log</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classLogStringBuilder.html#499c5b058df61e2215368592d21aacf1">log</a></td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classLogStringBuilder.html#89d48a7590de117fec0b40c0babbaee5">prio</a></td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top">std::stringstream </td><td class="memItemRight" valign="bottom"><a class="el" href="classLogStringBuilder.html#405447561d3d7337cc093dad6c6d81b5">stream</a></td></tr> + +</table> +<hr><h2>Constructor & Destructor Documentation</h2> +<a class="anchor" name="5df8c8d7ab7615c8552de3d4d21d3417"></a><!-- doxytag: member="LogStringBuilder::LogStringBuilder" ref="5df8c8d7ab7615c8552de3d4d21d3417" args="(LogStringBuilder const &src)" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">LogStringBuilder::LogStringBuilder </td> + <td>(</td> + <td class="paramtype"><a class="el" href="classLogStringBuilder.html">LogStringBuilder</a> const & </td> + <td class="paramname"> <em>src</em> </td> + <td> ) </td> + <td width="100%"></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<a class="anchor" name="a9393394f93ca644c8a851fb8fe04e24"></a><!-- doxytag: member="LogStringBuilder::LogStringBuilder" ref="a9393394f93ca644c8a851fb8fe04e24" args="(Log &l, int p)" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">LogStringBuilder::LogStringBuilder </td> + <td>(</td> + <td class="paramtype"><a class="el" href="classLog.html">Log</a> & </td> + <td class="paramname"> <em>l</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype">int </td> + <td class="paramname"> <em>p</em></td><td> </td> + </tr> + <tr> + <td></td> + <td>)</td> + <td></td><td></td><td width="100%"></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<a class="anchor" name="c63707864e0005008cc4a67d8dec9933"></a><!-- doxytag: member="LogStringBuilder::~LogStringBuilder" ref="c63707864e0005008cc4a67d8dec9933" args="()" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">LogStringBuilder::~LogStringBuilder </td> + <td>(</td> + <td class="paramname"> </td> + <td> ) </td> + <td width="100%"></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<hr><h2>Member Function Documentation</h2> +<a class="anchor" name="9b4f26f5e64aacc172c0818073117e42"></a><!-- doxytag: member="LogStringBuilder::operator<<" ref="9b4f26f5e64aacc172c0818073117e42" args="(T const &value)" --> +<div class="memitem"> +<div class="memproto"> +<div class="memtemplate"> +template<class T> </div> + <table class="memname"> + <tr> + <td class="memname">std::ostream& LogStringBuilder::operator<< </td> + <td>(</td> + <td class="paramtype">T const & </td> + <td class="paramname"> <em>value</em> </td> + <td> ) </td> + <td width="100%"><code> [inline]</code></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<hr><h2>Member Data Documentation</h2> +<a class="anchor" name="499c5b058df61e2215368592d21aacf1"></a><!-- doxytag: member="LogStringBuilder::log" ref="499c5b058df61e2215368592d21aacf1" args="" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname"><a class="el" href="classLog.html">Log</a>& <a class="el" href="classLogStringBuilder.html#499c5b058df61e2215368592d21aacf1">LogStringBuilder::log</a><code> [private]</code> </td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<a class="anchor" name="89d48a7590de117fec0b40c0babbaee5"></a><!-- doxytag: member="LogStringBuilder::prio" ref="89d48a7590de117fec0b40c0babbaee5" args="" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">int <a class="el" href="classLogStringBuilder.html#89d48a7590de117fec0b40c0babbaee5">LogStringBuilder::prio</a><code> [private]</code> </td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<a class="anchor" name="405447561d3d7337cc093dad6c6d81b5"></a><!-- doxytag: member="LogStringBuilder::stream" ref="405447561d3d7337cc093dad6c6d81b5" args="" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">std::stringstream <a class="el" href="classLogStringBuilder.html#405447561d3d7337cc093dad6c6d81b5">LogStringBuilder::stream</a><code> [private]</code> </td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<hr>The documentation for this class was generated from the following files:<ul> +<li><a class="el" href="log_8h-source.html">log.h</a><li><a class="el" href="log_8cpp.html">log.cpp</a></ul> +<hr size="1"><address style="align: right;"><small>Generated on Sun Oct 7 23:43:50 2007 for anytun by +<a href="http://www.doxygen.org/index.html"> +<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address> +</body> +</html> diff --git a/doc/html/classLog_1_1instanceCleaner-members.html b/doc/html/classLog_1_1instanceCleaner-members.html new file mode 100644 index 0000000..f77bcb3 --- /dev/null +++ b/doc/html/classLog_1_1instanceCleaner-members.html @@ -0,0 +1,27 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> +<title>anytun: Member List</title> +<link href="doxygen.css" rel="stylesheet" type="text/css"> +<link href="tabs.css" rel="stylesheet" type="text/css"> +</head><body> +<!-- Generated by Doxygen 1.5.1 --> +<div class="tabs"> + <ul> + <li><a href="main.html"><span>Main Page</span></a></li> + <li><a href="namespaces.html"><span>Namespaces</span></a></li> + <li id="current"><a href="annotated.html"><span>Classes</span></a></li> + <li><a href="files.html"><span>Files</span></a></li> + </ul></div> +<div class="tabs"> + <ul> + <li><a href="annotated.html"><span>Class List</span></a></li> + <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> + <li><a href="functions.html"><span>Class Members</span></a></li> + </ul></div> +<h1>Log::instanceCleaner Member List</h1>This is the complete list of members for <a class="el" href="classLog_1_1instanceCleaner.html">Log::instanceCleaner</a>, including all inherited members.<p><table> + <tr class="memlist"><td><a class="el" href="classLog_1_1instanceCleaner.html#5e2dd96e4f58345bd2067cd40fbec865">~instanceCleaner</a>()</td><td><a class="el" href="classLog_1_1instanceCleaner.html">Log::instanceCleaner</a></td><td><code> [inline]</code></td></tr> +</table><hr size="1"><address style="align: right;"><small>Generated on Sun Oct 7 23:43:50 2007 for anytun by +<a href="http://www.doxygen.org/index.html"> +<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address> +</body> +</html> diff --git a/doc/html/classLog_1_1instanceCleaner.html b/doc/html/classLog_1_1instanceCleaner.html new file mode 100644 index 0000000..189d2d2 --- /dev/null +++ b/doc/html/classLog_1_1instanceCleaner.html @@ -0,0 +1,55 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> +<title>anytun: Log::instanceCleaner Class Reference</title> +<link href="doxygen.css" rel="stylesheet" type="text/css"> +<link href="tabs.css" rel="stylesheet" type="text/css"> +</head><body> +<!-- Generated by Doxygen 1.5.1 --> +<div class="tabs"> + <ul> + <li><a href="main.html"><span>Main Page</span></a></li> + <li><a href="namespaces.html"><span>Namespaces</span></a></li> + <li id="current"><a href="annotated.html"><span>Classes</span></a></li> + <li><a href="files.html"><span>Files</span></a></li> + </ul></div> +<div class="tabs"> + <ul> + <li><a href="annotated.html"><span>Class List</span></a></li> + <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> + <li><a href="functions.html"><span>Class Members</span></a></li> + </ul></div> +<div class="nav"> +<a class="el" href="classLog.html">Log</a>::<a class="el" href="classLog_1_1instanceCleaner.html">instanceCleaner</a></div> +<h1>Log::instanceCleaner Class Reference</h1><!-- doxytag: class="Log::instanceCleaner" --><a href="classLog_1_1instanceCleaner-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0"> +<tr><td></td></tr> +<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr> +<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classLog_1_1instanceCleaner.html#5e2dd96e4f58345bd2067cd40fbec865">~instanceCleaner</a> ()</td></tr> + +</table> +<hr><h2>Constructor & Destructor Documentation</h2> +<a class="anchor" name="5e2dd96e4f58345bd2067cd40fbec865"></a><!-- doxytag: member="Log::instanceCleaner::~instanceCleaner" ref="5e2dd96e4f58345bd2067cd40fbec865" args="()" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">Log::instanceCleaner::~instanceCleaner </td> + <td>(</td> + <td class="paramname"> </td> + <td> ) </td> + <td width="100%"><code> [inline]</code></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<hr>The documentation for this class was generated from the following file:<ul> +<li><a class="el" href="log_8h-source.html">log.h</a></ul> +<hr size="1"><address style="align: right;"><small>Generated on Sun Oct 7 23:43:50 2007 for anytun by +<a href="http://www.doxygen.org/index.html"> +<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address> +</body> +</html> diff --git a/doc/html/classMutex-members.html b/doc/html/classMutex-members.html new file mode 100644 index 0000000..0f56161 --- /dev/null +++ b/doc/html/classMutex-members.html @@ -0,0 +1,35 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> +<title>anytun: Member List</title> +<link href="doxygen.css" rel="stylesheet" type="text/css"> +<link href="tabs.css" rel="stylesheet" type="text/css"> +</head><body> +<!-- Generated by Doxygen 1.5.1 --> +<div class="tabs"> + <ul> + <li><a href="main.html"><span>Main Page</span></a></li> + <li><a href="namespaces.html"><span>Namespaces</span></a></li> + <li id="current"><a href="annotated.html"><span>Classes</span></a></li> + <li><a href="files.html"><span>Files</span></a></li> + </ul></div> +<div class="tabs"> + <ul> + <li><a href="annotated.html"><span>Class List</span></a></li> + <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> + <li><a href="functions.html"><span>Class Members</span></a></li> + </ul></div> +<h1>Mutex Member List</h1>This is the complete list of members for <a class="el" href="classMutex.html">Mutex</a>, including all inherited members.<p><table> + <tr class="memlist"><td><a class="el" href="classMutex.html#0705c7682858f6dcf7fe85cba92f0a5c">Condition</a> class</td><td><a class="el" href="classMutex.html">Mutex</a></td><td><code> [friend]</code></td></tr> + <tr class="memlist"><td><a class="el" href="classMutex.html#5bf7608e05250fb524a1229bcf83ece3">Lock</a> class</td><td><a class="el" href="classMutex.html">Mutex</a></td><td><code> [friend]</code></td></tr> + <tr class="memlist"><td><a class="el" href="classMutex.html#d91be808bf0a60a16f10b897ec246d3a">lock</a>()</td><td><a class="el" href="classMutex.html">Mutex</a></td><td><code> [inline, private]</code></td></tr> + <tr class="memlist"><td><a class="el" href="classMutex.html#593423d868daf926c7b0d63a833ae29a">Mutex</a>()</td><td><a class="el" href="classMutex.html">Mutex</a></td><td><code> [inline]</code></td></tr> + <tr class="memlist"><td><a class="el" href="classMutex.html#7f1ad3a125c7a02b2ca338240bd1d978">Mutex</a>(const Mutex &src)</td><td><a class="el" href="classMutex.html">Mutex</a></td><td><code> [private]</code></td></tr> + <tr class="memlist"><td><a class="el" href="classMutex.html#8feb0b01916c1feedd1f0c0dcd74081b">mutex</a></td><td><a class="el" href="classMutex.html">Mutex</a></td><td><code> [private]</code></td></tr> + <tr class="memlist"><td><a class="el" href="classMutex.html#030a11400d00ef97813c6b232a5e3f43">operator=</a>(const Mutex &src)</td><td><a class="el" href="classMutex.html">Mutex</a></td><td><code> [private]</code></td></tr> + <tr class="memlist"><td><a class="el" href="classMutex.html#546a5b797ba29959357586aa2b3740a8">unlock</a>()</td><td><a class="el" href="classMutex.html">Mutex</a></td><td><code> [inline, private]</code></td></tr> + <tr class="memlist"><td><a class="el" href="classMutex.html#c9e9182407f5f74892318607888e9be4">~Mutex</a>()</td><td><a class="el" href="classMutex.html">Mutex</a></td><td><code> [inline]</code></td></tr> +</table><hr size="1"><address style="align: right;"><small>Generated on Sun Oct 7 23:43:50 2007 for anytun by +<a href="http://www.doxygen.org/index.html"> +<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address> +</body> +</html> diff --git a/doc/html/classMutex.html b/doc/html/classMutex.html new file mode 100644 index 0000000..484c40d --- /dev/null +++ b/doc/html/classMutex.html @@ -0,0 +1,219 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> +<title>anytun: Mutex Class Reference</title> +<link href="doxygen.css" rel="stylesheet" type="text/css"> +<link href="tabs.css" rel="stylesheet" type="text/css"> +</head><body> +<!-- Generated by Doxygen 1.5.1 --> +<div class="tabs"> + <ul> + <li><a href="main.html"><span>Main Page</span></a></li> + <li><a href="namespaces.html"><span>Namespaces</span></a></li> + <li id="current"><a href="annotated.html"><span>Classes</span></a></li> + <li><a href="files.html"><span>Files</span></a></li> + </ul></div> +<div class="tabs"> + <ul> + <li><a href="annotated.html"><span>Class List</span></a></li> + <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> + <li><a href="functions.html"><span>Class Members</span></a></li> + </ul></div> +<h1>Mutex Class Reference</h1><!-- doxytag: class="Mutex" --><code>#include <<a class="el" href="threadUtils_8hpp-source.html">threadUtils.hpp</a>></code> +<p> +<a href="classMutex-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0"> +<tr><td></td></tr> +<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr> +<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classMutex.html#593423d868daf926c7b0d63a833ae29a">Mutex</a> ()</td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classMutex.html#c9e9182407f5f74892318607888e9be4">~Mutex</a> ()</td></tr> + +<tr><td colspan="2"><br><h2>Private Member Functions</h2></td></tr> +<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classMutex.html#7f1ad3a125c7a02b2ca338240bd1d978">Mutex</a> (const <a class="el" href="classMutex.html">Mutex</a> &src)</td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classMutex.html#030a11400d00ef97813c6b232a5e3f43">operator=</a> (const <a class="el" href="classMutex.html">Mutex</a> &src)</td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classMutex.html#d91be808bf0a60a16f10b897ec246d3a">lock</a> ()</td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classMutex.html#546a5b797ba29959357586aa2b3740a8">unlock</a> ()</td></tr> + +<tr><td colspan="2"><br><h2>Private Attributes</h2></td></tr> +<tr><td class="memItemLeft" nowrap align="right" valign="top">pthread_mutex_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classMutex.html#8feb0b01916c1feedd1f0c0dcd74081b">mutex</a></td></tr> + +<tr><td colspan="2"><br><h2>Friends</h2></td></tr> +<tr><td class="memItemLeft" nowrap align="right" valign="top">class </td><td class="memItemRight" valign="bottom"><a class="el" href="classMutex.html#5bf7608e05250fb524a1229bcf83ece3">Lock</a></td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top">class </td><td class="memItemRight" valign="bottom"><a class="el" href="classMutex.html#0705c7682858f6dcf7fe85cba92f0a5c">Condition</a></td></tr> + +</table> +<hr><h2>Constructor & Destructor Documentation</h2> +<a class="anchor" name="593423d868daf926c7b0d63a833ae29a"></a><!-- doxytag: member="Mutex::Mutex" ref="593423d868daf926c7b0d63a833ae29a" args="()" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">Mutex::Mutex </td> + <td>(</td> + <td class="paramname"> </td> + <td> ) </td> + <td width="100%"><code> [inline]</code></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<a class="anchor" name="c9e9182407f5f74892318607888e9be4"></a><!-- doxytag: member="Mutex::~Mutex" ref="c9e9182407f5f74892318607888e9be4" args="()" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">Mutex::~Mutex </td> + <td>(</td> + <td class="paramname"> </td> + <td> ) </td> + <td width="100%"><code> [inline]</code></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<a class="anchor" name="7f1ad3a125c7a02b2ca338240bd1d978"></a><!-- doxytag: member="Mutex::Mutex" ref="7f1ad3a125c7a02b2ca338240bd1d978" args="(const Mutex &src)" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">Mutex::Mutex </td> + <td>(</td> + <td class="paramtype">const <a class="el" href="classMutex.html">Mutex</a> & </td> + <td class="paramname"> <em>src</em> </td> + <td> ) </td> + <td width="100%"><code> [private]</code></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<hr><h2>Member Function Documentation</h2> +<a class="anchor" name="030a11400d00ef97813c6b232a5e3f43"></a><!-- doxytag: member="Mutex::operator=" ref="030a11400d00ef97813c6b232a5e3f43" args="(const Mutex &src)" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">void Mutex::operator= </td> + <td>(</td> + <td class="paramtype">const <a class="el" href="classMutex.html">Mutex</a> & </td> + <td class="paramname"> <em>src</em> </td> + <td> ) </td> + <td width="100%"><code> [private]</code></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<a class="anchor" name="d91be808bf0a60a16f10b897ec246d3a"></a><!-- doxytag: member="Mutex::lock" ref="d91be808bf0a60a16f10b897ec246d3a" args="()" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">void Mutex::lock </td> + <td>(</td> + <td class="paramname"> </td> + <td> ) </td> + <td width="100%"><code> [inline, private]</code></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<a class="anchor" name="546a5b797ba29959357586aa2b3740a8"></a><!-- doxytag: member="Mutex::unlock" ref="546a5b797ba29959357586aa2b3740a8" args="()" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">void Mutex::unlock </td> + <td>(</td> + <td class="paramname"> </td> + <td> ) </td> + <td width="100%"><code> [inline, private]</code></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<hr><h2>Friends And Related Function Documentation</h2> +<a class="anchor" name="5bf7608e05250fb524a1229bcf83ece3"></a><!-- doxytag: member="Mutex::Lock" ref="5bf7608e05250fb524a1229bcf83ece3" args="" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">friend class <a class="el" href="classLock.html">Lock</a><code> [friend]</code> </td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<a class="anchor" name="0705c7682858f6dcf7fe85cba92f0a5c"></a><!-- doxytag: member="Mutex::Condition" ref="0705c7682858f6dcf7fe85cba92f0a5c" args="" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">friend class <a class="el" href="classCondition.html">Condition</a><code> [friend]</code> </td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<hr><h2>Member Data Documentation</h2> +<a class="anchor" name="8feb0b01916c1feedd1f0c0dcd74081b"></a><!-- doxytag: member="Mutex::mutex" ref="8feb0b01916c1feedd1f0c0dcd74081b" args="" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">pthread_mutex_t <a class="el" href="classMutex.html#8feb0b01916c1feedd1f0c0dcd74081b">Mutex::mutex</a><code> [private]</code> </td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<hr>The documentation for this class was generated from the following file:<ul> +<li><a class="el" href="threadUtils_8hpp-source.html">threadUtils.hpp</a></ul> +<hr size="1"><address style="align: right;"><small>Generated on Sun Oct 7 23:43:50 2007 for anytun by +<a href="http://www.doxygen.org/index.html"> +<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address> +</body> +</html> diff --git a/doc/html/classNullAuthAlgo-members.html b/doc/html/classNullAuthAlgo-members.html new file mode 100644 index 0000000..7cba7e5 --- /dev/null +++ b/doc/html/classNullAuthAlgo-members.html @@ -0,0 +1,29 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> +<title>anytun: Member List</title> +<link href="doxygen.css" rel="stylesheet" type="text/css"> +<link href="tabs.css" rel="stylesheet" type="text/css"> +</head><body> +<!-- Generated by Doxygen 1.5.1 --> +<div class="tabs"> + <ul> + <li><a href="main.html"><span>Main Page</span></a></li> + <li><a href="namespaces.html"><span>Namespaces</span></a></li> + <li id="current"><a href="annotated.html"><span>Classes</span></a></li> + <li><a href="files.html"><span>Files</span></a></li> + </ul></div> +<div class="tabs"> + <ul> + <li><a href="annotated.html"><span>Class List</span></a></li> + <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> + <li><a href="functions.html"><span>Class Members</span></a></li> + </ul></div> +<h1>NullAuthAlgo Member List</h1>This is the complete list of members for <a class="el" href="classNullAuthAlgo.html">NullAuthAlgo</a>, including all inherited members.<p><table> + <tr class="memlist"><td><a class="el" href="classAuthAlgo.html#22a200c372d9aeb73a4cbdd95ba30a0e">AuthAlgo</a>()</td><td><a class="el" href="classAuthAlgo.html">AuthAlgo</a></td><td><code> [inline]</code></td></tr> + <tr class="memlist"><td><a class="el" href="classNullAuthAlgo.html#60eead12d6b32a576ad40d999a6151cf">calc</a>(const Buffer &buf)</td><td><a class="el" href="classNullAuthAlgo.html">NullAuthAlgo</a></td><td><code> [virtual]</code></td></tr> + <tr class="memlist"><td><a class="el" href="classAuthAlgo.html#e3428186b4e005e879e26c2b8e04fa4a">~AuthAlgo</a>()</td><td><a class="el" href="classAuthAlgo.html">AuthAlgo</a></td><td><code> [inline, virtual]</code></td></tr> +</table><hr size="1"><address style="align: right;"><small>Generated on Sun Oct 7 23:43:50 2007 for anytun by +<a href="http://www.doxygen.org/index.html"> +<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address> +</body> +</html> diff --git a/doc/html/classNullAuthAlgo.html b/doc/html/classNullAuthAlgo.html new file mode 100644 index 0000000..f934fda --- /dev/null +++ b/doc/html/classNullAuthAlgo.html @@ -0,0 +1,63 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> +<title>anytun: NullAuthAlgo Class Reference</title> +<link href="doxygen.css" rel="stylesheet" type="text/css"> +<link href="tabs.css" rel="stylesheet" type="text/css"> +</head><body> +<!-- Generated by Doxygen 1.5.1 --> +<div class="tabs"> + <ul> + <li><a href="main.html"><span>Main Page</span></a></li> + <li><a href="namespaces.html"><span>Namespaces</span></a></li> + <li id="current"><a href="annotated.html"><span>Classes</span></a></li> + <li><a href="files.html"><span>Files</span></a></li> + </ul></div> +<div class="tabs"> + <ul> + <li><a href="annotated.html"><span>Class List</span></a></li> + <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> + <li><a href="functions.html"><span>Class Members</span></a></li> + </ul></div> +<h1>NullAuthAlgo Class Reference</h1><!-- doxytag: class="NullAuthAlgo" --><!-- doxytag: inherits="AuthAlgo" --><code>#include <<a class="el" href="authAlgo_8h-source.html">authAlgo.h</a>></code> +<p> +<p>Inheritance diagram for NullAuthAlgo: +<p><center><img src="classNullAuthAlgo.png" usemap="#NullAuthAlgo_map" border="0" alt=""></center> +<map name="NullAuthAlgo_map"> +<area href="classAuthAlgo.html" alt="AuthAlgo" shape="rect" coords="0,0,86,24"> +</map> +<a href="classNullAuthAlgo-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0"> +<tr><td></td></tr> +<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr> +<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="datatypes_8h.html#3618ec768f7f5b8ed61f2ad534e1882d">auth_tag_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classNullAuthAlgo.html#60eead12d6b32a576ad40d999a6151cf">calc</a> (const <a class="el" href="classBuffer.html">Buffer</a> &buf)</td></tr> + +</table> +<hr><h2>Member Function Documentation</h2> +<a class="anchor" name="60eead12d6b32a576ad40d999a6151cf"></a><!-- doxytag: member="NullAuthAlgo::calc" ref="60eead12d6b32a576ad40d999a6151cf" args="(const Buffer &buf)" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname"><a class="el" href="datatypes_8h.html#3618ec768f7f5b8ed61f2ad534e1882d">auth_tag_t</a> NullAuthAlgo::calc </td> + <td>(</td> + <td class="paramtype">const <a class="el" href="classBuffer.html">Buffer</a> & </td> + <td class="paramname"> <em>buf</em> </td> + <td> ) </td> + <td width="100%"><code> [virtual]</code></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +<p> +Implements <a class="el" href="classAuthAlgo.html#f53b44f90c33eb049da260947a75c916">AuthAlgo</a>. +</div> +</div><p> +<hr>The documentation for this class was generated from the following files:<ul> +<li><a class="el" href="authAlgo_8h-source.html">authAlgo.h</a><li><a class="el" href="authAlgo_8cpp.html">authAlgo.cpp</a></ul> +<hr size="1"><address style="align: right;"><small>Generated on Sun Oct 7 23:43:50 2007 for anytun by +<a href="http://www.doxygen.org/index.html"> +<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address> +</body> +</html> diff --git a/doc/html/classNullAuthAlgo.png b/doc/html/classNullAuthAlgo.png Binary files differnew file mode 100644 index 0000000..cdfd518 --- /dev/null +++ b/doc/html/classNullAuthAlgo.png diff --git a/doc/html/classNullCypher-members.html b/doc/html/classNullCypher-members.html new file mode 100644 index 0000000..5d015ea --- /dev/null +++ b/doc/html/classNullCypher-members.html @@ -0,0 +1,33 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> +<title>anytun: Member List</title> +<link href="doxygen.css" rel="stylesheet" type="text/css"> +<link href="tabs.css" rel="stylesheet" type="text/css"> +</head><body> +<!-- Generated by Doxygen 1.5.1 --> +<div class="tabs"> + <ul> + <li><a href="main.html"><span>Main Page</span></a></li> + <li><a href="namespaces.html"><span>Namespaces</span></a></li> + <li id="current"><a href="annotated.html"><span>Classes</span></a></li> + <li><a href="files.html"><span>Files</span></a></li> + </ul></div> +<div class="tabs"> + <ul> + <li><a href="annotated.html"><span>Class List</span></a></li> + <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> + <li><a href="functions.html"><span>Class Members</span></a></li> + </ul></div> +<h1>NullCypher Member List</h1>This is the complete list of members for <a class="el" href="classNullCypher.html">NullCypher</a>, including all inherited members.<p><table> + <tr class="memlist"><td><a class="el" href="classCypher.html#5228228b0b2d83251ecce4516e87ddb1">Cypher</a>()</td><td><a class="el" href="classCypher.html">Cypher</a></td><td><code> [inline]</code></td></tr> + <tr class="memlist"><td><a class="el" href="classCypher.html#1d51ce2235d38bded45f5e897be4435c">cypher</a>(Buffer &buf, seq_nr_t seq_nr, sender_id_t sender_id)</td><td><a class="el" href="classCypher.html">Cypher</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classCypher.html#bf33a7a59ed1cdf711030236de6635b0">exor</a>(Buffer &buf, const Buffer &bit_stream)</td><td><a class="el" href="classCypher.html">Cypher</a></td><td><code> [protected]</code></td></tr> + <tr class="memlist"><td><a class="el" href="classNullCypher.html#ca537adca8ea9af8b6f248df12ebcf36">getBitStream</a>(u_int32_t length, seq_nr_t seq_nr, sender_id_t sender_id)</td><td><a class="el" href="classNullCypher.html">NullCypher</a></td><td><code> [protected, virtual]</code></td></tr> + <tr class="memlist"><td><a class="el" href="classCypher.html#7320b82d14391ab7d25271aa5114e190">setKey</a>(Buffer key)</td><td><a class="el" href="classCypher.html">Cypher</a></td><td><code> [inline]</code></td></tr> + <tr class="memlist"><td><a class="el" href="classCypher.html#2546ef49e5ce8abe8062186d5f6b2ef8">setSalt</a>(Buffer salt)</td><td><a class="el" href="classCypher.html">Cypher</a></td><td><code> [inline]</code></td></tr> + <tr class="memlist"><td><a class="el" href="classCypher.html#70c94525f7bacb956cdd940fba7fb4c8">~Cypher</a>()</td><td><a class="el" href="classCypher.html">Cypher</a></td><td><code> [inline, virtual]</code></td></tr> +</table><hr size="1"><address style="align: right;"><small>Generated on Sun Oct 7 23:43:50 2007 for anytun by +<a href="http://www.doxygen.org/index.html"> +<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address> +</body> +</html> diff --git a/doc/html/classNullCypher.html b/doc/html/classNullCypher.html new file mode 100644 index 0000000..f669d9d --- /dev/null +++ b/doc/html/classNullCypher.html @@ -0,0 +1,78 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> +<title>anytun: NullCypher Class Reference</title> +<link href="doxygen.css" rel="stylesheet" type="text/css"> +<link href="tabs.css" rel="stylesheet" type="text/css"> +</head><body> +<!-- Generated by Doxygen 1.5.1 --> +<div class="tabs"> + <ul> + <li><a href="main.html"><span>Main Page</span></a></li> + <li><a href="namespaces.html"><span>Namespaces</span></a></li> + <li id="current"><a href="annotated.html"><span>Classes</span></a></li> + <li><a href="files.html"><span>Files</span></a></li> + </ul></div> +<div class="tabs"> + <ul> + <li><a href="annotated.html"><span>Class List</span></a></li> + <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> + <li><a href="functions.html"><span>Class Members</span></a></li> + </ul></div> +<h1>NullCypher Class Reference</h1><!-- doxytag: class="NullCypher" --><!-- doxytag: inherits="Cypher" --><code>#include <<a class="el" href="cypher_8h-source.html">cypher.h</a>></code> +<p> +<p>Inheritance diagram for NullCypher: +<p><center><img src="classNullCypher.png" usemap="#NullCypher_map" border="0" alt=""></center> +<map name="NullCypher_map"> +<area href="classCypher.html" alt="Cypher" shape="rect" coords="0,0,76,24"> +</map> +<a href="classNullCypher-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0"> +<tr><td></td></tr> +<tr><td colspan="2"><br><h2>Protected Member Functions</h2></td></tr> +<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classBuffer.html">Buffer</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classNullCypher.html#ca537adca8ea9af8b6f248df12ebcf36">getBitStream</a> (<a class="el" href="datatypes_8h.html#1382fcaa92d837ce7c0961788c8243d7">u_int32_t</a> length, <a class="el" href="datatypes_8h.html#317be74a3176b4149a817241bd69f9b2">seq_nr_t</a> seq_nr, <a class="el" href="datatypes_8h.html#c8be006c348a522ae126f67f7b2aaf4e">sender_id_t</a> sender_id)</td></tr> + +</table> +<hr><h2>Member Function Documentation</h2> +<a class="anchor" name="ca537adca8ea9af8b6f248df12ebcf36"></a><!-- doxytag: member="NullCypher::getBitStream" ref="ca537adca8ea9af8b6f248df12ebcf36" args="(u_int32_t length, seq_nr_t seq_nr, sender_id_t sender_id)" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname"><a class="el" href="classBuffer.html">Buffer</a> NullCypher::getBitStream </td> + <td>(</td> + <td class="paramtype"><a class="el" href="datatypes_8h.html#1382fcaa92d837ce7c0961788c8243d7">u_int32_t</a> </td> + <td class="paramname"> <em>length</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype"><a class="el" href="datatypes_8h.html#317be74a3176b4149a817241bd69f9b2">seq_nr_t</a> </td> + <td class="paramname"> <em>seq_nr</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype"><a class="el" href="datatypes_8h.html#c8be006c348a522ae126f67f7b2aaf4e">sender_id_t</a> </td> + <td class="paramname"> <em>sender_id</em></td><td> </td> + </tr> + <tr> + <td></td> + <td>)</td> + <td></td><td></td><td width="100%"><code> [protected, virtual]</code></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +<p> +Implements <a class="el" href="classCypher.html#7ddf1bcd476978daa97148ec406d6483">Cypher</a>. +</div> +</div><p> +<hr>The documentation for this class was generated from the following files:<ul> +<li><a class="el" href="cypher_8h-source.html">cypher.h</a><li><a class="el" href="cypher_8cpp.html">cypher.cpp</a></ul> +<hr size="1"><address style="align: right;"><small>Generated on Sun Oct 7 23:43:50 2007 for anytun by +<a href="http://www.doxygen.org/index.html"> +<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address> +</body> +</html> diff --git a/doc/html/classNullCypher.png b/doc/html/classNullCypher.png Binary files differnew file mode 100644 index 0000000..256fd36 --- /dev/null +++ b/doc/html/classNullCypher.png diff --git a/doc/html/classOptions-members.html b/doc/html/classOptions-members.html new file mode 100644 index 0000000..44cbfbe --- /dev/null +++ b/doc/html/classOptions-members.html @@ -0,0 +1,71 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> +<title>anytun: Member List</title> +<link href="doxygen.css" rel="stylesheet" type="text/css"> +<link href="tabs.css" rel="stylesheet" type="text/css"> +</head><body> +<!-- Generated by Doxygen 1.5.1 --> +<div class="tabs"> + <ul> + <li><a href="main.html"><span>Main Page</span></a></li> + <li><a href="namespaces.html"><span>Namespaces</span></a></li> + <li id="current"><a href="annotated.html"><span>Classes</span></a></li> + <li><a href="files.html"><span>Files</span></a></li> + </ul></div> +<div class="tabs"> + <ul> + <li><a href="annotated.html"><span>Class List</span></a></li> + <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> + <li><a href="functions.html"><span>Class Members</span></a></li> + </ul></div> +<h1>Options Member List</h1>This is the complete list of members for <a class="el" href="classOptions.html">Options</a>, including all inherited members.<p><table> + <tr class="memlist"><td><a class="el" href="classOptions.html#061ed690bdfa12bfc1094ca18293e97a">auth_algo_</a></td><td><a class="el" href="classOptions.html">Options</a></td><td><code> [private]</code></td></tr> + <tr class="memlist"><td><a class="el" href="classOptions.html#bba16365a15a6a87c90f85e143bebb5f">cypher_</a></td><td><a class="el" href="classOptions.html">Options</a></td><td><code> [private]</code></td></tr> + <tr class="memlist"><td><a class="el" href="classOptions.html#3b094d71270549c85ca372f060bfe22c">dev_name_</a></td><td><a class="el" href="classOptions.html">Options</a></td><td><code> [private]</code></td></tr> + <tr class="memlist"><td><a class="el" href="classOptions.html#b0c850a5e29599156af92cf5b3ddff28">dev_type_</a></td><td><a class="el" href="classOptions.html">Options</a></td><td><code> [private]</code></td></tr> + <tr class="memlist"><td><a class="el" href="classOptions.html#ee7bd7127b7ab35e287fb479288e9641">getAuthAlgo</a>()</td><td><a class="el" href="classOptions.html">Options</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classOptions.html#71845d106fb9ccef0f8b682a125f4ffd">getCypher</a>()</td><td><a class="el" href="classOptions.html">Options</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classOptions.html#acd35d4f958a4611ba10fc844583b744">getDevName</a>()</td><td><a class="el" href="classOptions.html">Options</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classOptions.html#0762384e71fb10883a8fe245a389cee6">getDevType</a>()</td><td><a class="el" href="classOptions.html">Options</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classOptions.html#5354b737aa30d786c79f43547c78dc09">getIfconfigParamLocal</a>()</td><td><a class="el" href="classOptions.html">Options</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classOptions.html#ee9e8bcc21c6c8c81fc4ed79991d42d5">getIfconfigParamRemoteNetmask</a>()</td><td><a class="el" href="classOptions.html">Options</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classOptions.html#0b1ca05363913a66db8dcb829ebc21e2">getLocalAddr</a>()</td><td><a class="el" href="classOptions.html">Options</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classOptions.html#44a66c61b99fc0d1a953493a3cd4dcab">getLocalPort</a>()</td><td><a class="el" href="classOptions.html">Options</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classOptions.html#af7b2ab27fc4b1a74ef89e9fdd0cfb22">getProgname</a>()</td><td><a class="el" href="classOptions.html">Options</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classOptions.html#46343d900b4dd2ab8e0a7a2a9274e885">getRemoteAddr</a>()</td><td><a class="el" href="classOptions.html">Options</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classOptions.html#4d2089d4216557810410f31ffa2dfc8b">getRemotePort</a>()</td><td><a class="el" href="classOptions.html">Options</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classOptions.html#049d0dbe0f6ca10cc18d87924fb2322d">getSenderId</a>()</td><td><a class="el" href="classOptions.html">Options</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classOptions.html#893c688302a091bcf99cb327b23774fa">getSeqWindowSize</a>()</td><td><a class="el" href="classOptions.html">Options</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classOptions.html#fd0d76c7e1e2fa6fd9ee0538ff9124b0">ifconfig_param_local_</a></td><td><a class="el" href="classOptions.html">Options</a></td><td><code> [private]</code></td></tr> + <tr class="memlist"><td><a class="el" href="classOptions.html#cd2c34152754ab7818ee4bfe3e1b9936">ifconfig_param_remote_netmask_</a></td><td><a class="el" href="classOptions.html">Options</a></td><td><code> [private]</code></td></tr> + <tr class="memlist"><td><a class="el" href="classOptions.html#d331507d07c87908a5b199a209a3e97e">local_addr_</a></td><td><a class="el" href="classOptions.html">Options</a></td><td><code> [private]</code></td></tr> + <tr class="memlist"><td><a class="el" href="classOptions.html#744fc32e1b4f5c930251a8b0013f7f0a">local_port_</a></td><td><a class="el" href="classOptions.html">Options</a></td><td><code> [private]</code></td></tr> + <tr class="memlist"><td><a class="el" href="classOptions.html#3effd9220086fd43e36884295f89bd7c">mutex</a></td><td><a class="el" href="classOptions.html">Options</a></td><td><code> [private]</code></td></tr> + <tr class="memlist"><td><a class="el" href="classOptions.html#b72fb640172a6109e34c8a5366563753">Options</a>()</td><td><a class="el" href="classOptions.html">Options</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classOptions.html#eef7f9799ffcc31221a54dc9ed3b3e81">parse</a>(int argc, char *argv[])</td><td><a class="el" href="classOptions.html">Options</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classOptions.html#cac40a32d05b48e49595d8d19cf8af47">printOptions</a>()</td><td><a class="el" href="classOptions.html">Options</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classOptions.html#5a64af47966f3c0a54a8c3a3385065e3">printUsage</a>()</td><td><a class="el" href="classOptions.html">Options</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classOptions.html#aed7d0eeae21d7d00eb35dccea48b9f3">progname_</a></td><td><a class="el" href="classOptions.html">Options</a></td><td><code> [private]</code></td></tr> + <tr class="memlist"><td><a class="el" href="classOptions.html#af81d4d836e3ca1850b8b474d61944de">remote_addr_</a></td><td><a class="el" href="classOptions.html">Options</a></td><td><code> [private]</code></td></tr> + <tr class="memlist"><td><a class="el" href="classOptions.html#8481cdc79ca8bde93af9b945838f4559">remote_port_</a></td><td><a class="el" href="classOptions.html">Options</a></td><td><code> [private]</code></td></tr> + <tr class="memlist"><td><a class="el" href="classOptions.html#f166d5f4f6fd17c761ac9a6d7e48d362">sender_id_</a></td><td><a class="el" href="classOptions.html">Options</a></td><td><code> [private]</code></td></tr> + <tr class="memlist"><td><a class="el" href="classOptions.html#d2a0398f717a96602f8c402db12699a5">seq_window_size_</a></td><td><a class="el" href="classOptions.html">Options</a></td><td><code> [private]</code></td></tr> + <tr class="memlist"><td><a class="el" href="classOptions.html#c093c83be9a50c1dfd5170ff14b647c5">setAuthAlgo</a>(std::string a)</td><td><a class="el" href="classOptions.html">Options</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classOptions.html#b3218cd91b41551042595b5216766c00">setCypher</a>(std::string c)</td><td><a class="el" href="classOptions.html">Options</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classOptions.html#8217facd595355be2b4f1130179e3746">setDevName</a>(std::string d)</td><td><a class="el" href="classOptions.html">Options</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classOptions.html#d2a4cc3b2ecabba72396648a7a07cc29">setDevType</a>(std::string d)</td><td><a class="el" href="classOptions.html">Options</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classOptions.html#93e1367e5db67df81d2afac1ee5c6c73">setIfconfigParamLocal</a>(std::string i)</td><td><a class="el" href="classOptions.html">Options</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classOptions.html#d0760cecce7395f5022b921642674326">setIfconfigParamRemoteNetmask</a>(std::string i)</td><td><a class="el" href="classOptions.html">Options</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classOptions.html#bf7ebb3ee98c6d31dd5c5b0732188de5">setLocalAddr</a>(std::string l)</td><td><a class="el" href="classOptions.html">Options</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classOptions.html#a4b5b364bf2880fcbcd3fe059ccde7eb">setLocalPort</a>(u_int16_t l)</td><td><a class="el" href="classOptions.html">Options</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classOptions.html#1267ce6d4b43ab9c0f8827c434b33b1b">setProgname</a>(std::string p)</td><td><a class="el" href="classOptions.html">Options</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classOptions.html#d0848af5b5e029a4ea14fe6fb82d3f46">setRemoteAddr</a>(std::string r)</td><td><a class="el" href="classOptions.html">Options</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classOptions.html#79249268d3b284f9e254f874cedeef41">setRemoteAddrPort</a>(std::string addr, u_int16_t port)</td><td><a class="el" href="classOptions.html">Options</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classOptions.html#cbd3e9a4e230c2537d86127a092efd40">setRemotePort</a>(u_int16_t r)</td><td><a class="el" href="classOptions.html">Options</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classOptions.html#d10f65b29130c7e31a332e22f77650b0">setSenderId</a>(sender_id_t s)</td><td><a class="el" href="classOptions.html">Options</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classOptions.html#077dda754c64b01d6736aa4f7862ce6b">setSeqWindowSize</a>(window_size_t s)</td><td><a class="el" href="classOptions.html">Options</a></td><td></td></tr> +</table><hr size="1"><address style="align: right;"><small>Generated on Sun Oct 7 23:43:50 2007 for anytun by +<a href="http://www.doxygen.org/index.html"> +<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address> +</body> +</html> diff --git a/doc/html/classOptions.html b/doc/html/classOptions.html new file mode 100644 index 0000000..fdf2311 --- /dev/null +++ b/doc/html/classOptions.html @@ -0,0 +1,959 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> +<title>anytun: Options Class Reference</title> +<link href="doxygen.css" rel="stylesheet" type="text/css"> +<link href="tabs.css" rel="stylesheet" type="text/css"> +</head><body> +<!-- Generated by Doxygen 1.5.1 --> +<div class="tabs"> + <ul> + <li><a href="main.html"><span>Main Page</span></a></li> + <li><a href="namespaces.html"><span>Namespaces</span></a></li> + <li id="current"><a href="annotated.html"><span>Classes</span></a></li> + <li><a href="files.html"><span>Files</span></a></li> + </ul></div> +<div class="tabs"> + <ul> + <li><a href="annotated.html"><span>Class List</span></a></li> + <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> + <li><a href="functions.html"><span>Class Members</span></a></li> + </ul></div> +<h1>Options Class Reference</h1><!-- doxytag: class="Options" --><code>#include <<a class="el" href="options_8h-source.html">options.h</a>></code> +<p> +<a href="classOptions-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0"> +<tr><td></td></tr> +<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr> +<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classOptions.html#b72fb640172a6109e34c8a5366563753">Options</a> ()</td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classOptions.html#eef7f9799ffcc31221a54dc9ed3b3e81">parse</a> (int argc, char *argv[])</td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classOptions.html#5a64af47966f3c0a54a8c3a3385065e3">printUsage</a> ()</td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classOptions.html#cac40a32d05b48e49595d8d19cf8af47">printOptions</a> ()</td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top">std::string </td><td class="memItemRight" valign="bottom"><a class="el" href="classOptions.html#af7b2ab27fc4b1a74ef89e9fdd0cfb22">getProgname</a> ()</td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classOptions.html">Options</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classOptions.html#1267ce6d4b43ab9c0f8827c434b33b1b">setProgname</a> (std::string p)</td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="datatypes_8h.html#c8be006c348a522ae126f67f7b2aaf4e">sender_id_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classOptions.html#049d0dbe0f6ca10cc18d87924fb2322d">getSenderId</a> ()</td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classOptions.html">Options</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classOptions.html#d10f65b29130c7e31a332e22f77650b0">setSenderId</a> (<a class="el" href="datatypes_8h.html#c8be006c348a522ae126f67f7b2aaf4e">sender_id_t</a> s)</td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top">std::string </td><td class="memItemRight" valign="bottom"><a class="el" href="classOptions.html#0b1ca05363913a66db8dcb829ebc21e2">getLocalAddr</a> ()</td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classOptions.html">Options</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classOptions.html#bf7ebb3ee98c6d31dd5c5b0732188de5">setLocalAddr</a> (std::string l)</td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="datatypes_8h.html#3aa89f830bb876725b238e6a2a67a809">u_int16_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classOptions.html#44a66c61b99fc0d1a953493a3cd4dcab">getLocalPort</a> ()</td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classOptions.html">Options</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classOptions.html#a4b5b364bf2880fcbcd3fe059ccde7eb">setLocalPort</a> (<a class="el" href="datatypes_8h.html#3aa89f830bb876725b238e6a2a67a809">u_int16_t</a> l)</td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top">std::string </td><td class="memItemRight" valign="bottom"><a class="el" href="classOptions.html#46343d900b4dd2ab8e0a7a2a9274e885">getRemoteAddr</a> ()</td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classOptions.html">Options</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classOptions.html#d0848af5b5e029a4ea14fe6fb82d3f46">setRemoteAddr</a> (std::string r)</td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="datatypes_8h.html#3aa89f830bb876725b238e6a2a67a809">u_int16_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classOptions.html#4d2089d4216557810410f31ffa2dfc8b">getRemotePort</a> ()</td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classOptions.html">Options</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classOptions.html#cbd3e9a4e230c2537d86127a092efd40">setRemotePort</a> (<a class="el" href="datatypes_8h.html#3aa89f830bb876725b238e6a2a67a809">u_int16_t</a> r)</td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classOptions.html">Options</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classOptions.html#79249268d3b284f9e254f874cedeef41">setRemoteAddrPort</a> (std::string addr, <a class="el" href="datatypes_8h.html#3aa89f830bb876725b238e6a2a67a809">u_int16_t</a> port)</td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top">std::string </td><td class="memItemRight" valign="bottom"><a class="el" href="classOptions.html#acd35d4f958a4611ba10fc844583b744">getDevName</a> ()</td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classOptions.html">Options</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classOptions.html#8217facd595355be2b4f1130179e3746">setDevName</a> (std::string d)</td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top">std::string </td><td class="memItemRight" valign="bottom"><a class="el" href="classOptions.html#0762384e71fb10883a8fe245a389cee6">getDevType</a> ()</td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classOptions.html">Options</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classOptions.html#d2a4cc3b2ecabba72396648a7a07cc29">setDevType</a> (std::string d)</td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top">std::string </td><td class="memItemRight" valign="bottom"><a class="el" href="classOptions.html#5354b737aa30d786c79f43547c78dc09">getIfconfigParamLocal</a> ()</td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classOptions.html">Options</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classOptions.html#93e1367e5db67df81d2afac1ee5c6c73">setIfconfigParamLocal</a> (std::string i)</td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top">std::string </td><td class="memItemRight" valign="bottom"><a class="el" href="classOptions.html#ee9e8bcc21c6c8c81fc4ed79991d42d5">getIfconfigParamRemoteNetmask</a> ()</td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classOptions.html">Options</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classOptions.html#d0760cecce7395f5022b921642674326">setIfconfigParamRemoteNetmask</a> (std::string i)</td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="datatypes_8h.html#0246b9fac0b861d94e0e4cc9ae2e5070">window_size_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classOptions.html#893c688302a091bcf99cb327b23774fa">getSeqWindowSize</a> ()</td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classOptions.html">Options</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classOptions.html#077dda754c64b01d6736aa4f7862ce6b">setSeqWindowSize</a> (<a class="el" href="datatypes_8h.html#0246b9fac0b861d94e0e4cc9ae2e5070">window_size_t</a> s)</td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top">std::string </td><td class="memItemRight" valign="bottom"><a class="el" href="classOptions.html#71845d106fb9ccef0f8b682a125f4ffd">getCypher</a> ()</td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classOptions.html">Options</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classOptions.html#b3218cd91b41551042595b5216766c00">setCypher</a> (std::string c)</td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top">std::string </td><td class="memItemRight" valign="bottom"><a class="el" href="classOptions.html#ee7bd7127b7ab35e287fb479288e9641">getAuthAlgo</a> ()</td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classOptions.html">Options</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classOptions.html#c093c83be9a50c1dfd5170ff14b647c5">setAuthAlgo</a> (std::string a)</td></tr> + +<tr><td colspan="2"><br><h2>Private Attributes</h2></td></tr> +<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classMutex.html">Mutex</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classOptions.html#3effd9220086fd43e36884295f89bd7c">mutex</a></td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top">std::string </td><td class="memItemRight" valign="bottom"><a class="el" href="classOptions.html#aed7d0eeae21d7d00eb35dccea48b9f3">progname_</a></td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="datatypes_8h.html#c8be006c348a522ae126f67f7b2aaf4e">sender_id_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classOptions.html#f166d5f4f6fd17c761ac9a6d7e48d362">sender_id_</a></td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top">std::string </td><td class="memItemRight" valign="bottom"><a class="el" href="classOptions.html#d331507d07c87908a5b199a209a3e97e">local_addr_</a></td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="datatypes_8h.html#3aa89f830bb876725b238e6a2a67a809">u_int16_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classOptions.html#744fc32e1b4f5c930251a8b0013f7f0a">local_port_</a></td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top">std::string </td><td class="memItemRight" valign="bottom"><a class="el" href="classOptions.html#af81d4d836e3ca1850b8b474d61944de">remote_addr_</a></td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="datatypes_8h.html#3aa89f830bb876725b238e6a2a67a809">u_int16_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classOptions.html#8481cdc79ca8bde93af9b945838f4559">remote_port_</a></td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top">std::string </td><td class="memItemRight" valign="bottom"><a class="el" href="classOptions.html#3b094d71270549c85ca372f060bfe22c">dev_name_</a></td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top">std::string </td><td class="memItemRight" valign="bottom"><a class="el" href="classOptions.html#b0c850a5e29599156af92cf5b3ddff28">dev_type_</a></td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top">std::string </td><td class="memItemRight" valign="bottom"><a class="el" href="classOptions.html#fd0d76c7e1e2fa6fd9ee0538ff9124b0">ifconfig_param_local_</a></td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top">std::string </td><td class="memItemRight" valign="bottom"><a class="el" href="classOptions.html#cd2c34152754ab7818ee4bfe3e1b9936">ifconfig_param_remote_netmask_</a></td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="datatypes_8h.html#0246b9fac0b861d94e0e4cc9ae2e5070">window_size_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classOptions.html#d2a0398f717a96602f8c402db12699a5">seq_window_size_</a></td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top">std::string </td><td class="memItemRight" valign="bottom"><a class="el" href="classOptions.html#bba16365a15a6a87c90f85e143bebb5f">cypher_</a></td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top">std::string </td><td class="memItemRight" valign="bottom"><a class="el" href="classOptions.html#061ed690bdfa12bfc1094ca18293e97a">auth_algo_</a></td></tr> + +</table> +<hr><h2>Constructor & Destructor Documentation</h2> +<a class="anchor" name="b72fb640172a6109e34c8a5366563753"></a><!-- doxytag: member="Options::Options" ref="b72fb640172a6109e34c8a5366563753" args="()" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">Options::Options </td> + <td>(</td> + <td class="paramname"> </td> + <td> ) </td> + <td width="100%"></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<hr><h2>Member Function Documentation</h2> +<a class="anchor" name="eef7f9799ffcc31221a54dc9ed3b3e81"></a><!-- doxytag: member="Options::parse" ref="eef7f9799ffcc31221a54dc9ed3b3e81" args="(int argc, char *argv[])" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">bool Options::parse </td> + <td>(</td> + <td class="paramtype">int </td> + <td class="paramname"> <em>argc</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype">char * </td> + <td class="paramname"> <em>argv</em>[]</td><td> </td> + </tr> + <tr> + <td></td> + <td>)</td> + <td></td><td></td><td width="100%"></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<a class="anchor" name="5a64af47966f3c0a54a8c3a3385065e3"></a><!-- doxytag: member="Options::printUsage" ref="5a64af47966f3c0a54a8c3a3385065e3" args="()" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">void Options::printUsage </td> + <td>(</td> + <td class="paramname"> </td> + <td> ) </td> + <td width="100%"></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<a class="anchor" name="cac40a32d05b48e49595d8d19cf8af47"></a><!-- doxytag: member="Options::printOptions" ref="cac40a32d05b48e49595d8d19cf8af47" args="()" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">void Options::printOptions </td> + <td>(</td> + <td class="paramname"> </td> + <td> ) </td> + <td width="100%"></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<a class="anchor" name="af7b2ab27fc4b1a74ef89e9fdd0cfb22"></a><!-- doxytag: member="Options::getProgname" ref="af7b2ab27fc4b1a74ef89e9fdd0cfb22" args="()" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">std::string Options::getProgname </td> + <td>(</td> + <td class="paramname"> </td> + <td> ) </td> + <td width="100%"></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<a class="anchor" name="1267ce6d4b43ab9c0f8827c434b33b1b"></a><!-- doxytag: member="Options::setProgname" ref="1267ce6d4b43ab9c0f8827c434b33b1b" args="(std::string p)" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname"><a class="el" href="classOptions.html">Options</a> & Options::setProgname </td> + <td>(</td> + <td class="paramtype">std::string </td> + <td class="paramname"> <em>p</em> </td> + <td> ) </td> + <td width="100%"></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<a class="anchor" name="049d0dbe0f6ca10cc18d87924fb2322d"></a><!-- doxytag: member="Options::getSenderId" ref="049d0dbe0f6ca10cc18d87924fb2322d" args="()" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname"><a class="el" href="datatypes_8h.html#c8be006c348a522ae126f67f7b2aaf4e">sender_id_t</a> Options::getSenderId </td> + <td>(</td> + <td class="paramname"> </td> + <td> ) </td> + <td width="100%"></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<a class="anchor" name="d10f65b29130c7e31a332e22f77650b0"></a><!-- doxytag: member="Options::setSenderId" ref="d10f65b29130c7e31a332e22f77650b0" args="(sender_id_t s)" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname"><a class="el" href="classOptions.html">Options</a> & Options::setSenderId </td> + <td>(</td> + <td class="paramtype"><a class="el" href="datatypes_8h.html#c8be006c348a522ae126f67f7b2aaf4e">sender_id_t</a> </td> + <td class="paramname"> <em>s</em> </td> + <td> ) </td> + <td width="100%"></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<a class="anchor" name="0b1ca05363913a66db8dcb829ebc21e2"></a><!-- doxytag: member="Options::getLocalAddr" ref="0b1ca05363913a66db8dcb829ebc21e2" args="()" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">std::string Options::getLocalAddr </td> + <td>(</td> + <td class="paramname"> </td> + <td> ) </td> + <td width="100%"></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<a class="anchor" name="bf7ebb3ee98c6d31dd5c5b0732188de5"></a><!-- doxytag: member="Options::setLocalAddr" ref="bf7ebb3ee98c6d31dd5c5b0732188de5" args="(std::string l)" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname"><a class="el" href="classOptions.html">Options</a> & Options::setLocalAddr </td> + <td>(</td> + <td class="paramtype">std::string </td> + <td class="paramname"> <em>l</em> </td> + <td> ) </td> + <td width="100%"></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<a class="anchor" name="44a66c61b99fc0d1a953493a3cd4dcab"></a><!-- doxytag: member="Options::getLocalPort" ref="44a66c61b99fc0d1a953493a3cd4dcab" args="()" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname"><a class="el" href="datatypes_8h.html#3aa89f830bb876725b238e6a2a67a809">u_int16_t</a> Options::getLocalPort </td> + <td>(</td> + <td class="paramname"> </td> + <td> ) </td> + <td width="100%"></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<a class="anchor" name="a4b5b364bf2880fcbcd3fe059ccde7eb"></a><!-- doxytag: member="Options::setLocalPort" ref="a4b5b364bf2880fcbcd3fe059ccde7eb" args="(u_int16_t l)" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname"><a class="el" href="classOptions.html">Options</a> & Options::setLocalPort </td> + <td>(</td> + <td class="paramtype"><a class="el" href="datatypes_8h.html#3aa89f830bb876725b238e6a2a67a809">u_int16_t</a> </td> + <td class="paramname"> <em>l</em> </td> + <td> ) </td> + <td width="100%"></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<a class="anchor" name="46343d900b4dd2ab8e0a7a2a9274e885"></a><!-- doxytag: member="Options::getRemoteAddr" ref="46343d900b4dd2ab8e0a7a2a9274e885" args="()" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">std::string Options::getRemoteAddr </td> + <td>(</td> + <td class="paramname"> </td> + <td> ) </td> + <td width="100%"></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<a class="anchor" name="d0848af5b5e029a4ea14fe6fb82d3f46"></a><!-- doxytag: member="Options::setRemoteAddr" ref="d0848af5b5e029a4ea14fe6fb82d3f46" args="(std::string r)" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname"><a class="el" href="classOptions.html">Options</a> & Options::setRemoteAddr </td> + <td>(</td> + <td class="paramtype">std::string </td> + <td class="paramname"> <em>r</em> </td> + <td> ) </td> + <td width="100%"></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<a class="anchor" name="4d2089d4216557810410f31ffa2dfc8b"></a><!-- doxytag: member="Options::getRemotePort" ref="4d2089d4216557810410f31ffa2dfc8b" args="()" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname"><a class="el" href="datatypes_8h.html#3aa89f830bb876725b238e6a2a67a809">u_int16_t</a> Options::getRemotePort </td> + <td>(</td> + <td class="paramname"> </td> + <td> ) </td> + <td width="100%"></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<a class="anchor" name="cbd3e9a4e230c2537d86127a092efd40"></a><!-- doxytag: member="Options::setRemotePort" ref="cbd3e9a4e230c2537d86127a092efd40" args="(u_int16_t r)" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname"><a class="el" href="classOptions.html">Options</a> & Options::setRemotePort </td> + <td>(</td> + <td class="paramtype"><a class="el" href="datatypes_8h.html#3aa89f830bb876725b238e6a2a67a809">u_int16_t</a> </td> + <td class="paramname"> <em>r</em> </td> + <td> ) </td> + <td width="100%"></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<a class="anchor" name="79249268d3b284f9e254f874cedeef41"></a><!-- doxytag: member="Options::setRemoteAddrPort" ref="79249268d3b284f9e254f874cedeef41" args="(std::string addr, u_int16_t port)" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname"><a class="el" href="classOptions.html">Options</a> & Options::setRemoteAddrPort </td> + <td>(</td> + <td class="paramtype">std::string </td> + <td class="paramname"> <em>addr</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype"><a class="el" href="datatypes_8h.html#3aa89f830bb876725b238e6a2a67a809">u_int16_t</a> </td> + <td class="paramname"> <em>port</em></td><td> </td> + </tr> + <tr> + <td></td> + <td>)</td> + <td></td><td></td><td width="100%"></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<a class="anchor" name="acd35d4f958a4611ba10fc844583b744"></a><!-- doxytag: member="Options::getDevName" ref="acd35d4f958a4611ba10fc844583b744" args="()" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">std::string Options::getDevName </td> + <td>(</td> + <td class="paramname"> </td> + <td> ) </td> + <td width="100%"></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<a class="anchor" name="8217facd595355be2b4f1130179e3746"></a><!-- doxytag: member="Options::setDevName" ref="8217facd595355be2b4f1130179e3746" args="(std::string d)" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname"><a class="el" href="classOptions.html">Options</a> & Options::setDevName </td> + <td>(</td> + <td class="paramtype">std::string </td> + <td class="paramname"> <em>d</em> </td> + <td> ) </td> + <td width="100%"></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<a class="anchor" name="0762384e71fb10883a8fe245a389cee6"></a><!-- doxytag: member="Options::getDevType" ref="0762384e71fb10883a8fe245a389cee6" args="()" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">std::string Options::getDevType </td> + <td>(</td> + <td class="paramname"> </td> + <td> ) </td> + <td width="100%"></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<a class="anchor" name="d2a4cc3b2ecabba72396648a7a07cc29"></a><!-- doxytag: member="Options::setDevType" ref="d2a4cc3b2ecabba72396648a7a07cc29" args="(std::string d)" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname"><a class="el" href="classOptions.html">Options</a> & Options::setDevType </td> + <td>(</td> + <td class="paramtype">std::string </td> + <td class="paramname"> <em>d</em> </td> + <td> ) </td> + <td width="100%"></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<a class="anchor" name="5354b737aa30d786c79f43547c78dc09"></a><!-- doxytag: member="Options::getIfconfigParamLocal" ref="5354b737aa30d786c79f43547c78dc09" args="()" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">std::string Options::getIfconfigParamLocal </td> + <td>(</td> + <td class="paramname"> </td> + <td> ) </td> + <td width="100%"></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<a class="anchor" name="93e1367e5db67df81d2afac1ee5c6c73"></a><!-- doxytag: member="Options::setIfconfigParamLocal" ref="93e1367e5db67df81d2afac1ee5c6c73" args="(std::string i)" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname"><a class="el" href="classOptions.html">Options</a> & Options::setIfconfigParamLocal </td> + <td>(</td> + <td class="paramtype">std::string </td> + <td class="paramname"> <em>i</em> </td> + <td> ) </td> + <td width="100%"></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<a class="anchor" name="ee9e8bcc21c6c8c81fc4ed79991d42d5"></a><!-- doxytag: member="Options::getIfconfigParamRemoteNetmask" ref="ee9e8bcc21c6c8c81fc4ed79991d42d5" args="()" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">std::string Options::getIfconfigParamRemoteNetmask </td> + <td>(</td> + <td class="paramname"> </td> + <td> ) </td> + <td width="100%"></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<a class="anchor" name="d0760cecce7395f5022b921642674326"></a><!-- doxytag: member="Options::setIfconfigParamRemoteNetmask" ref="d0760cecce7395f5022b921642674326" args="(std::string i)" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname"><a class="el" href="classOptions.html">Options</a> & Options::setIfconfigParamRemoteNetmask </td> + <td>(</td> + <td class="paramtype">std::string </td> + <td class="paramname"> <em>i</em> </td> + <td> ) </td> + <td width="100%"></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<a class="anchor" name="893c688302a091bcf99cb327b23774fa"></a><!-- doxytag: member="Options::getSeqWindowSize" ref="893c688302a091bcf99cb327b23774fa" args="()" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname"><a class="el" href="datatypes_8h.html#0246b9fac0b861d94e0e4cc9ae2e5070">window_size_t</a> Options::getSeqWindowSize </td> + <td>(</td> + <td class="paramname"> </td> + <td> ) </td> + <td width="100%"></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<a class="anchor" name="077dda754c64b01d6736aa4f7862ce6b"></a><!-- doxytag: member="Options::setSeqWindowSize" ref="077dda754c64b01d6736aa4f7862ce6b" args="(window_size_t s)" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname"><a class="el" href="classOptions.html">Options</a> & Options::setSeqWindowSize </td> + <td>(</td> + <td class="paramtype"><a class="el" href="datatypes_8h.html#0246b9fac0b861d94e0e4cc9ae2e5070">window_size_t</a> </td> + <td class="paramname"> <em>s</em> </td> + <td> ) </td> + <td width="100%"></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<a class="anchor" name="71845d106fb9ccef0f8b682a125f4ffd"></a><!-- doxytag: member="Options::getCypher" ref="71845d106fb9ccef0f8b682a125f4ffd" args="()" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">std::string Options::getCypher </td> + <td>(</td> + <td class="paramname"> </td> + <td> ) </td> + <td width="100%"></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<a class="anchor" name="b3218cd91b41551042595b5216766c00"></a><!-- doxytag: member="Options::setCypher" ref="b3218cd91b41551042595b5216766c00" args="(std::string c)" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname"><a class="el" href="classOptions.html">Options</a> & Options::setCypher </td> + <td>(</td> + <td class="paramtype">std::string </td> + <td class="paramname"> <em>c</em> </td> + <td> ) </td> + <td width="100%"></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<a class="anchor" name="ee7bd7127b7ab35e287fb479288e9641"></a><!-- doxytag: member="Options::getAuthAlgo" ref="ee7bd7127b7ab35e287fb479288e9641" args="()" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">std::string Options::getAuthAlgo </td> + <td>(</td> + <td class="paramname"> </td> + <td> ) </td> + <td width="100%"></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<a class="anchor" name="c093c83be9a50c1dfd5170ff14b647c5"></a><!-- doxytag: member="Options::setAuthAlgo" ref="c093c83be9a50c1dfd5170ff14b647c5" args="(std::string a)" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname"><a class="el" href="classOptions.html">Options</a> & Options::setAuthAlgo </td> + <td>(</td> + <td class="paramtype">std::string </td> + <td class="paramname"> <em>a</em> </td> + <td> ) </td> + <td width="100%"></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<hr><h2>Member Data Documentation</h2> +<a class="anchor" name="3effd9220086fd43e36884295f89bd7c"></a><!-- doxytag: member="Options::mutex" ref="3effd9220086fd43e36884295f89bd7c" args="" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname"><a class="el" href="classMutex.html">Mutex</a> <a class="el" href="classOptions.html#3effd9220086fd43e36884295f89bd7c">Options::mutex</a><code> [private]</code> </td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<a class="anchor" name="aed7d0eeae21d7d00eb35dccea48b9f3"></a><!-- doxytag: member="Options::progname_" ref="aed7d0eeae21d7d00eb35dccea48b9f3" args="" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">std::string <a class="el" href="classOptions.html#aed7d0eeae21d7d00eb35dccea48b9f3">Options::progname_</a><code> [private]</code> </td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<a class="anchor" name="f166d5f4f6fd17c761ac9a6d7e48d362"></a><!-- doxytag: member="Options::sender_id_" ref="f166d5f4f6fd17c761ac9a6d7e48d362" args="" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname"><a class="el" href="datatypes_8h.html#c8be006c348a522ae126f67f7b2aaf4e">sender_id_t</a> <a class="el" href="classOptions.html#f166d5f4f6fd17c761ac9a6d7e48d362">Options::sender_id_</a><code> [private]</code> </td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<a class="anchor" name="d331507d07c87908a5b199a209a3e97e"></a><!-- doxytag: member="Options::local_addr_" ref="d331507d07c87908a5b199a209a3e97e" args="" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">std::string <a class="el" href="classOptions.html#d331507d07c87908a5b199a209a3e97e">Options::local_addr_</a><code> [private]</code> </td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<a class="anchor" name="744fc32e1b4f5c930251a8b0013f7f0a"></a><!-- doxytag: member="Options::local_port_" ref="744fc32e1b4f5c930251a8b0013f7f0a" args="" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname"><a class="el" href="datatypes_8h.html#3aa89f830bb876725b238e6a2a67a809">u_int16_t</a> <a class="el" href="classOptions.html#744fc32e1b4f5c930251a8b0013f7f0a">Options::local_port_</a><code> [private]</code> </td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<a class="anchor" name="af81d4d836e3ca1850b8b474d61944de"></a><!-- doxytag: member="Options::remote_addr_" ref="af81d4d836e3ca1850b8b474d61944de" args="" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">std::string <a class="el" href="classOptions.html#af81d4d836e3ca1850b8b474d61944de">Options::remote_addr_</a><code> [private]</code> </td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<a class="anchor" name="8481cdc79ca8bde93af9b945838f4559"></a><!-- doxytag: member="Options::remote_port_" ref="8481cdc79ca8bde93af9b945838f4559" args="" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname"><a class="el" href="datatypes_8h.html#3aa89f830bb876725b238e6a2a67a809">u_int16_t</a> <a class="el" href="classOptions.html#8481cdc79ca8bde93af9b945838f4559">Options::remote_port_</a><code> [private]</code> </td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<a class="anchor" name="3b094d71270549c85ca372f060bfe22c"></a><!-- doxytag: member="Options::dev_name_" ref="3b094d71270549c85ca372f060bfe22c" args="" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">std::string <a class="el" href="classOptions.html#3b094d71270549c85ca372f060bfe22c">Options::dev_name_</a><code> [private]</code> </td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<a class="anchor" name="b0c850a5e29599156af92cf5b3ddff28"></a><!-- doxytag: member="Options::dev_type_" ref="b0c850a5e29599156af92cf5b3ddff28" args="" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">std::string <a class="el" href="classOptions.html#b0c850a5e29599156af92cf5b3ddff28">Options::dev_type_</a><code> [private]</code> </td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<a class="anchor" name="fd0d76c7e1e2fa6fd9ee0538ff9124b0"></a><!-- doxytag: member="Options::ifconfig_param_local_" ref="fd0d76c7e1e2fa6fd9ee0538ff9124b0" args="" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">std::string <a class="el" href="classOptions.html#fd0d76c7e1e2fa6fd9ee0538ff9124b0">Options::ifconfig_param_local_</a><code> [private]</code> </td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<a class="anchor" name="cd2c34152754ab7818ee4bfe3e1b9936"></a><!-- doxytag: member="Options::ifconfig_param_remote_netmask_" ref="cd2c34152754ab7818ee4bfe3e1b9936" args="" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">std::string <a class="el" href="classOptions.html#cd2c34152754ab7818ee4bfe3e1b9936">Options::ifconfig_param_remote_netmask_</a><code> [private]</code> </td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<a class="anchor" name="d2a0398f717a96602f8c402db12699a5"></a><!-- doxytag: member="Options::seq_window_size_" ref="d2a0398f717a96602f8c402db12699a5" args="" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname"><a class="el" href="datatypes_8h.html#0246b9fac0b861d94e0e4cc9ae2e5070">window_size_t</a> <a class="el" href="classOptions.html#d2a0398f717a96602f8c402db12699a5">Options::seq_window_size_</a><code> [private]</code> </td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<a class="anchor" name="bba16365a15a6a87c90f85e143bebb5f"></a><!-- doxytag: member="Options::cypher_" ref="bba16365a15a6a87c90f85e143bebb5f" args="" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">std::string <a class="el" href="classOptions.html#bba16365a15a6a87c90f85e143bebb5f">Options::cypher_</a><code> [private]</code> </td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<a class="anchor" name="061ed690bdfa12bfc1094ca18293e97a"></a><!-- doxytag: member="Options::auth_algo_" ref="061ed690bdfa12bfc1094ca18293e97a" args="" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">std::string <a class="el" href="classOptions.html#061ed690bdfa12bfc1094ca18293e97a">Options::auth_algo_</a><code> [private]</code> </td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<hr>The documentation for this class was generated from the following files:<ul> +<li><a class="el" href="options_8h-source.html">options.h</a><li><a class="el" href="options_8cpp.html">options.cpp</a></ul> +<hr size="1"><address style="align: right;"><small>Generated on Sun Oct 7 23:43:50 2007 for anytun by +<a href="http://www.doxygen.org/index.html"> +<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address> +</body> +</html> diff --git a/doc/html/classPacket-members.html b/doc/html/classPacket-members.html new file mode 100644 index 0000000..b48260a --- /dev/null +++ b/doc/html/classPacket-members.html @@ -0,0 +1,74 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> +<title>anytun: Member List</title> +<link href="doxygen.css" rel="stylesheet" type="text/css"> +<link href="tabs.css" rel="stylesheet" type="text/css"> +</head><body> +<!-- Generated by Doxygen 1.5.1 --> +<div class="tabs"> + <ul> + <li><a href="main.html"><span>Main Page</span></a></li> + <li><a href="namespaces.html"><span>Namespaces</span></a></li> + <li id="current"><a href="annotated.html"><span>Classes</span></a></li> + <li><a href="files.html"><span>Files</span></a></li> + </ul></div> +<div class="tabs"> + <ul> + <li><a href="annotated.html"><span>Class List</span></a></li> + <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> + <li><a href="functions.html"><span>Class Members</span></a></li> + </ul></div> +<h1>Packet Member List</h1>This is the complete list of members for <a class="el" href="classPacket.html">Packet</a>, including all inherited members.<p><table> + <tr class="memlist"><td><a class="el" href="classPacket.html#11b3534f67df6bb19963e6bc8090230b">__packed__</a></td><td><a class="el" href="classPacket.html">Packet</a></td><td><code> [private]</code></td></tr> + <tr class="memlist"><td><a class="el" href="classPacket.html#a7f8bb4bb127aad314eb0f0ef72447ed">addAuthTag</a>(auth_tag_t auth_tag)</td><td><a class="el" href="classPacket.html">Packet</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classPacket.html#2a682115c6802d0dd1ebbd3434a3a179">addHeader</a>(seq_nr_t seq_nr, sender_id_t sender_id)</td><td><a class="el" href="classPacket.html">Packet</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classPacket.html#40849ee3c59a84c3899c409ed392b477">addPayloadType</a>(payload_type_t payload_type)</td><td><a class="el" href="classPacket.html">Packet</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classBuffer.html#41d791e5b640813dea34c24c11056581">AesIcmCypher</a> class</td><td><a class="el" href="classBuffer.html">Buffer</a></td><td><code> [friend]</code></td></tr> + <tr class="memlist"><td><a class="el" href="classBuffer.html#e60240b77a315e6b3c2bf88592d0be48">buf_</a></td><td><a class="el" href="classBuffer.html">Buffer</a></td><td><code> [protected]</code></td></tr> + <tr class="memlist"><td><a class="el" href="classBuffer.html#e7ef2cd201190fde551dcb902627112b">Buffer</a>()</td><td><a class="el" href="classBuffer.html">Buffer</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classBuffer.html#5c58aa9e491f709011408ee7837d57d0">Buffer</a>(u_int32_t length)</td><td><a class="el" href="classBuffer.html">Buffer</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classBuffer.html#5bc2edccfb7c1a33354c895ab25c4816">Buffer</a>(u_int8_t *data, u_int32_t length)</td><td><a class="el" href="classBuffer.html">Buffer</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classBuffer.html#042fe5bc1f8d0c25d5707d6955d1654c">Buffer</a>(const Buffer &src)</td><td><a class="el" href="classBuffer.html">Buffer</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classPacket.html#ba55c639065c177a7006d8392f50eddc">getAuthTag</a>() const</td><td><a class="el" href="classPacket.html">Packet</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classBuffer.html#7890e20c6c77eb631c39728ea08b35b8">getBuf</a>()</td><td><a class="el" href="classBuffer.html">Buffer</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classBuffer.html#09ced241e4d0a46c52f0f20398076435">getLength</a>() const</td><td><a class="el" href="classBuffer.html">Buffer</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classPacket.html#ed7f5cc79b40a11eddefd4b421544498">getPayloadType</a>() const</td><td><a class="el" href="classPacket.html">Packet</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classPacket.html#096829acfcf98c3ffff60bd335cbb919">getSenderId</a>() const</td><td><a class="el" href="classPacket.html">Packet</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classPacket.html#6572b9df8c1f5f0de9fcb8e5c669de50">getSeqNr</a>() const</td><td><a class="el" href="classPacket.html">Packet</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classPacket.html#849a965c46afc5fa7efe257212197abb">has_auth_tag_</a></td><td><a class="el" href="classPacket.html">Packet</a></td><td><code> [private]</code></td></tr> + <tr class="memlist"><td><a class="el" href="classPacket.html#97b8eb52e7476174a0e91e2ccaf73306">has_header_</a></td><td><a class="el" href="classPacket.html">Packet</a></td><td><code> [private]</code></td></tr> + <tr class="memlist"><td><a class="el" href="classPacket.html#235c6c8c7362c46ca33a331713199a17">has_payload_type_</a></td><td><a class="el" href="classPacket.html">Packet</a></td><td><code> [private]</code></td></tr> + <tr class="memlist"><td><a class="el" href="classPacket.html#bfe50722f18687bb0691061fb0ccb0ff">hasAuthTag</a>() const</td><td><a class="el" href="classPacket.html">Packet</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classPacket.html#a004c01dd99179b0a08109dce5fc6b03">hasHeader</a>() const</td><td><a class="el" href="classPacket.html">Packet</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classPacket.html#c78b8af0dc7c7badf85e75db0de54800">hasPayloadType</a>() const</td><td><a class="el" href="classPacket.html">Packet</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classBuffer.html#1d039eb05e29b8eeadca9b474bb6d49f">KeyDerivation</a> class</td><td><a class="el" href="classBuffer.html">Buffer</a></td><td><code> [friend]</code></td></tr> + <tr class="memlist"><td><a class="el" href="classBuffer.html#13200a4925b1b3c08f99e09ccb6854a1">leftByteShift</a>(u_int32_t width) const</td><td><a class="el" href="classBuffer.html">Buffer</a></td><td><code> [virtual]</code></td></tr> + <tr class="memlist"><td><a class="el" href="classBuffer.html#d3a779d2403b5183427f12554e2f51c3">length_</a></td><td><a class="el" href="classBuffer.html">Buffer</a></td><td><code> [protected]</code></td></tr> + <tr class="memlist"><td><a class="el" href="classBuffer.html#dcf367d5f1b7fced7aa61bb919af7943">operator u_int8_t *</a>()</td><td><a class="el" href="classBuffer.html">Buffer</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classBuffer.html#14cec0d3bf4f3f1a4a9930a8c53eb43a">operator=</a>(const Buffer &src)</td><td><a class="el" href="classBuffer.html">Buffer</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classBuffer.html#763882c627db10206f78b090556b00fa">operator[]</a>(u_int32_t index)</td><td><a class="el" href="classBuffer.html">Buffer</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classBuffer.html#e5a9559862374ebd9dfcfc1204890497">operator[]</a>(u_int32_t index) const</td><td><a class="el" href="classBuffer.html">Buffer</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classBuffer.html#d56159a415541fcff34ef8aed1eb7183">operator^</a>(const Buffer &xor_by) const </td><td><a class="el" href="classBuffer.html">Buffer</a></td><td><code> [virtual]</code></td></tr> + <tr class="memlist"><td><a class="el" href="classPacket.html#abcfb963c0d5bc0fa554668f92989622">Packet</a>()</td><td><a class="el" href="classPacket.html">Packet</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classPacket.html#d2a8f6ac3d6de9b541708c4b0c73d04b">Packet</a>(u_int32_t length)</td><td><a class="el" href="classPacket.html">Packet</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classPacket.html#27264b7d411a74ea9a0077bf5f9222b1">Packet</a>(const Buffer &src)</td><td><a class="el" href="classPacket.html">Packet</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classBuffer.html#13d927c471a7516b37bc9ad8fc1741ce">printHexDump</a>() const</td><td><a class="el" href="classBuffer.html">Buffer</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classPacket.html#3e3dfca708baf59791f0608b8a57924c">removeAuthTag</a>()</td><td><a class="el" href="classPacket.html">Packet</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classPacket.html#24c2a41630d79411086d952c8f732c8c">removeHeader</a>()</td><td><a class="el" href="classPacket.html">Packet</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classPacket.html#6433e4d5eef9216f4e70b338cb4d2e4d">removePayloadType</a>()</td><td><a class="el" href="classPacket.html">Packet</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classBuffer.html#5698b2d64238f1f38578dc8e9e2b1bc9">resizeBack</a>(u_int32_t new_length)</td><td><a class="el" href="classBuffer.html">Buffer</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classBuffer.html#fe4b10487b4930e0407bdf61857629d6">resizeFront</a>(u_int32_t new_length)</td><td><a class="el" href="classBuffer.html">Buffer</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classBuffer.html#298949899f3f78e4a8b3df7fa5ec532d">rightByteShift</a>(u_int32_t width) const</td><td><a class="el" href="classBuffer.html">Buffer</a></td><td><code> [virtual]</code></td></tr> + <tr class="memlist"><td><a class="el" href="classPacket.html#01c7b848ec415740565c87b374085bdc">setSenderId</a>(sender_id_t sender_id)</td><td><a class="el" href="classPacket.html">Packet</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classPacket.html#1b89ed1be19d6b9c1a12e0f6b1ae8ed2">setSeqNr</a>(seq_nr_t seq_nr)</td><td><a class="el" href="classPacket.html">Packet</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classBuffer.html#51b494563d277beb4740f86c519f30fb">TunDevice</a> class</td><td><a class="el" href="classBuffer.html">Buffer</a></td><td><code> [friend]</code></td></tr> + <tr class="memlist"><td><a class="el" href="classBuffer.html#940a382a5e3a8622e6689e13dc453481">UDPPacketSource</a> class</td><td><a class="el" href="classBuffer.html">Buffer</a></td><td><code> [friend]</code></td></tr> + <tr class="memlist"><td><a class="el" href="classPacket.html#5c947adee9eef0a662a4dc49d95dbe8e">withAuthTag</a>(bool b)</td><td><a class="el" href="classPacket.html">Packet</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classPacket.html#ce9e40180f64d44fe1d8da14ac9e5df2">withHeader</a>(bool b)</td><td><a class="el" href="classPacket.html">Packet</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classPacket.html#c7ecfc05376afd00af89cb328e194a1d">withPayloadType</a>(bool b)</td><td><a class="el" href="classPacket.html">Packet</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classBuffer.html#59b8743e4a5f731bdd0c4185c9ef263b">~Buffer</a>()</td><td><a class="el" href="classBuffer.html">Buffer</a></td><td><code> [virtual]</code></td></tr> +</table><hr size="1"><address style="align: right;"><small>Generated on Sun Oct 7 23:43:50 2007 for anytun by +<a href="http://www.doxygen.org/index.html"> +<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address> +</body> +</html> diff --git a/doc/html/classPacket.html b/doc/html/classPacket.html new file mode 100644 index 0000000..5d2c14d --- /dev/null +++ b/doc/html/classPacket.html @@ -0,0 +1,574 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> +<title>anytun: Packet Class Reference</title> +<link href="doxygen.css" rel="stylesheet" type="text/css"> +<link href="tabs.css" rel="stylesheet" type="text/css"> +</head><body> +<!-- Generated by Doxygen 1.5.1 --> +<div class="tabs"> + <ul> + <li><a href="main.html"><span>Main Page</span></a></li> + <li><a href="namespaces.html"><span>Namespaces</span></a></li> + <li id="current"><a href="annotated.html"><span>Classes</span></a></li> + <li><a href="files.html"><span>Files</span></a></li> + </ul></div> +<div class="tabs"> + <ul> + <li><a href="annotated.html"><span>Class List</span></a></li> + <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> + <li><a href="functions.html"><span>Class Members</span></a></li> + </ul></div> +<h1>Packet Class Reference</h1><!-- doxytag: class="Packet" --><!-- doxytag: inherits="Buffer" --><code>#include <<a class="el" href="packet_8h-source.html">packet.h</a>></code> +<p> +<p>Inheritance diagram for Packet: +<p><center><img src="classPacket.png" usemap="#Packet_map" border="0" alt=""></center> +<map name="Packet_map"> +<area href="classBuffer.html" alt="Buffer" shape="rect" coords="0,0,73,24"> +<area href="classsatp_1_1SATP.html" alt="satp::SATP" shape="rect" coords="0,112,73,136"> +</map> +<a href="classPacket-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0"> +<tr><td></td></tr> +<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr> +<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classPacket.html#abcfb963c0d5bc0fa554668f92989622">Packet</a> ()</td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classPacket.html#d2a8f6ac3d6de9b541708c4b0c73d04b">Packet</a> (<a class="el" href="datatypes_8h.html#1382fcaa92d837ce7c0961788c8243d7">u_int32_t</a> length)</td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classPacket.html#27264b7d411a74ea9a0077bf5f9222b1">Packet</a> (const <a class="el" href="classBuffer.html">Buffer</a> &src)</td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classPacket.html#a004c01dd99179b0a08109dce5fc6b03">hasHeader</a> () const</td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classPacket.html">Packet</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classPacket.html#ce9e40180f64d44fe1d8da14ac9e5df2">withHeader</a> (bool b)</td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="datatypes_8h.html#317be74a3176b4149a817241bd69f9b2">seq_nr_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classPacket.html#6572b9df8c1f5f0de9fcb8e5c669de50">getSeqNr</a> () const</td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="datatypes_8h.html#c8be006c348a522ae126f67f7b2aaf4e">sender_id_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classPacket.html#096829acfcf98c3ffff60bd335cbb919">getSenderId</a> () const</td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classPacket.html">Packet</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classPacket.html#2a682115c6802d0dd1ebbd3434a3a179">addHeader</a> (<a class="el" href="datatypes_8h.html#317be74a3176b4149a817241bd69f9b2">seq_nr_t</a> seq_nr, <a class="el" href="datatypes_8h.html#c8be006c348a522ae126f67f7b2aaf4e">sender_id_t</a> sender_id)</td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classPacket.html">Packet</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classPacket.html#24c2a41630d79411086d952c8f732c8c">removeHeader</a> ()</td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classPacket.html">Packet</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classPacket.html#1b89ed1be19d6b9c1a12e0f6b1ae8ed2">setSeqNr</a> (<a class="el" href="datatypes_8h.html#317be74a3176b4149a817241bd69f9b2">seq_nr_t</a> seq_nr)</td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classPacket.html">Packet</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classPacket.html#01c7b848ec415740565c87b374085bdc">setSenderId</a> (<a class="el" href="datatypes_8h.html#c8be006c348a522ae126f67f7b2aaf4e">sender_id_t</a> sender_id)</td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classPacket.html#c78b8af0dc7c7badf85e75db0de54800">hasPayloadType</a> () const</td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classPacket.html">Packet</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classPacket.html#c7ecfc05376afd00af89cb328e194a1d">withPayloadType</a> (bool b)</td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="datatypes_8h.html#cb4c65fa561443848e729372d970654d">payload_type_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classPacket.html#ed7f5cc79b40a11eddefd4b421544498">getPayloadType</a> () const</td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classPacket.html">Packet</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classPacket.html#40849ee3c59a84c3899c409ed392b477">addPayloadType</a> (<a class="el" href="datatypes_8h.html#cb4c65fa561443848e729372d970654d">payload_type_t</a> payload_type)</td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classPacket.html">Packet</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classPacket.html#6433e4d5eef9216f4e70b338cb4d2e4d">removePayloadType</a> ()</td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classPacket.html#bfe50722f18687bb0691061fb0ccb0ff">hasAuthTag</a> () const</td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classPacket.html">Packet</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classPacket.html#5c947adee9eef0a662a4dc49d95dbe8e">withAuthTag</a> (bool b)</td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="datatypes_8h.html#3618ec768f7f5b8ed61f2ad534e1882d">auth_tag_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classPacket.html#ba55c639065c177a7006d8392f50eddc">getAuthTag</a> () const</td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classPacket.html">Packet</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classPacket.html#a7f8bb4bb127aad314eb0f0ef72447ed">addAuthTag</a> (<a class="el" href="datatypes_8h.html#3618ec768f7f5b8ed61f2ad534e1882d">auth_tag_t</a> auth_tag)</td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classPacket.html">Packet</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classPacket.html#3e3dfca708baf59791f0608b8a57924c">removeAuthTag</a> ()</td></tr> + +<tr><td colspan="2"><br><h2>Private Attributes</h2></td></tr> +<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="structPacket_1_1HeaderStruct.html">Packet::HeaderStruct</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classPacket.html#11b3534f67df6bb19963e6bc8090230b">__packed__</a></td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classPacket.html#97b8eb52e7476174a0e91e2ccaf73306">has_header_</a></td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classPacket.html#235c6c8c7362c46ca33a331713199a17">has_payload_type_</a></td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classPacket.html#849a965c46afc5fa7efe257212197abb">has_auth_tag_</a></td></tr> + +<tr><td colspan="2"><br><h2>Classes</h2></td></tr> +<tr><td class="memItemLeft" nowrap align="right" valign="top">struct </td><td class="memItemRight" valign="bottom"><a class="el" href="structPacket_1_1HeaderStruct.html">HeaderStruct</a></td></tr> + +</table> +<hr><h2>Constructor & Destructor Documentation</h2> +<a class="anchor" name="abcfb963c0d5bc0fa554668f92989622"></a><!-- doxytag: member="Packet::Packet" ref="abcfb963c0d5bc0fa554668f92989622" args="()" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">Packet::Packet </td> + <td>(</td> + <td class="paramname"> </td> + <td> ) </td> + <td width="100%"></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<a class="anchor" name="d2a8f6ac3d6de9b541708c4b0c73d04b"></a><!-- doxytag: member="Packet::Packet" ref="d2a8f6ac3d6de9b541708c4b0c73d04b" args="(u_int32_t length)" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">Packet::Packet </td> + <td>(</td> + <td class="paramtype"><a class="el" href="datatypes_8h.html#1382fcaa92d837ce7c0961788c8243d7">u_int32_t</a> </td> + <td class="paramname"> <em>length</em> </td> + <td> ) </td> + <td width="100%"></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<a class="anchor" name="27264b7d411a74ea9a0077bf5f9222b1"></a><!-- doxytag: member="Packet::Packet" ref="27264b7d411a74ea9a0077bf5f9222b1" args="(const Buffer &src)" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">Packet::Packet </td> + <td>(</td> + <td class="paramtype">const <a class="el" href="classBuffer.html">Buffer</a> & </td> + <td class="paramname"> <em>src</em> </td> + <td> ) </td> + <td width="100%"></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<hr><h2>Member Function Documentation</h2> +<a class="anchor" name="a004c01dd99179b0a08109dce5fc6b03"></a><!-- doxytag: member="Packet::hasHeader" ref="a004c01dd99179b0a08109dce5fc6b03" args="() const" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">bool Packet::hasHeader </td> + <td>(</td> + <td class="paramname"> </td> + <td> ) </td> + <td width="100%"> const</td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<a class="anchor" name="ce9e40180f64d44fe1d8da14ac9e5df2"></a><!-- doxytag: member="Packet::withHeader" ref="ce9e40180f64d44fe1d8da14ac9e5df2" args="(bool b)" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname"><a class="el" href="classPacket.html">Packet</a> & Packet::withHeader </td> + <td>(</td> + <td class="paramtype">bool </td> + <td class="paramname"> <em>b</em> </td> + <td> ) </td> + <td width="100%"></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<a class="anchor" name="6572b9df8c1f5f0de9fcb8e5c669de50"></a><!-- doxytag: member="Packet::getSeqNr" ref="6572b9df8c1f5f0de9fcb8e5c669de50" args="() const" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname"><a class="el" href="datatypes_8h.html#317be74a3176b4149a817241bd69f9b2">seq_nr_t</a> Packet::getSeqNr </td> + <td>(</td> + <td class="paramname"> </td> + <td> ) </td> + <td width="100%"> const</td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<a class="anchor" name="096829acfcf98c3ffff60bd335cbb919"></a><!-- doxytag: member="Packet::getSenderId" ref="096829acfcf98c3ffff60bd335cbb919" args="() const" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname"><a class="el" href="datatypes_8h.html#c8be006c348a522ae126f67f7b2aaf4e">sender_id_t</a> Packet::getSenderId </td> + <td>(</td> + <td class="paramname"> </td> + <td> ) </td> + <td width="100%"> const</td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<a class="anchor" name="2a682115c6802d0dd1ebbd3434a3a179"></a><!-- doxytag: member="Packet::addHeader" ref="2a682115c6802d0dd1ebbd3434a3a179" args="(seq_nr_t seq_nr, sender_id_t sender_id)" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname"><a class="el" href="classPacket.html">Packet</a> & Packet::addHeader </td> + <td>(</td> + <td class="paramtype"><a class="el" href="datatypes_8h.html#317be74a3176b4149a817241bd69f9b2">seq_nr_t</a> </td> + <td class="paramname"> <em>seq_nr</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype"><a class="el" href="datatypes_8h.html#c8be006c348a522ae126f67f7b2aaf4e">sender_id_t</a> </td> + <td class="paramname"> <em>sender_id</em></td><td> </td> + </tr> + <tr> + <td></td> + <td>)</td> + <td></td><td></td><td width="100%"></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<a class="anchor" name="24c2a41630d79411086d952c8f732c8c"></a><!-- doxytag: member="Packet::removeHeader" ref="24c2a41630d79411086d952c8f732c8c" args="()" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname"><a class="el" href="classPacket.html">Packet</a> & Packet::removeHeader </td> + <td>(</td> + <td class="paramname"> </td> + <td> ) </td> + <td width="100%"></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<a class="anchor" name="1b89ed1be19d6b9c1a12e0f6b1ae8ed2"></a><!-- doxytag: member="Packet::setSeqNr" ref="1b89ed1be19d6b9c1a12e0f6b1ae8ed2" args="(seq_nr_t seq_nr)" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname"><a class="el" href="classPacket.html">Packet</a> & Packet::setSeqNr </td> + <td>(</td> + <td class="paramtype"><a class="el" href="datatypes_8h.html#317be74a3176b4149a817241bd69f9b2">seq_nr_t</a> </td> + <td class="paramname"> <em>seq_nr</em> </td> + <td> ) </td> + <td width="100%"></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<a class="anchor" name="01c7b848ec415740565c87b374085bdc"></a><!-- doxytag: member="Packet::setSenderId" ref="01c7b848ec415740565c87b374085bdc" args="(sender_id_t sender_id)" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname"><a class="el" href="classPacket.html">Packet</a> & Packet::setSenderId </td> + <td>(</td> + <td class="paramtype"><a class="el" href="datatypes_8h.html#c8be006c348a522ae126f67f7b2aaf4e">sender_id_t</a> </td> + <td class="paramname"> <em>sender_id</em> </td> + <td> ) </td> + <td width="100%"></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<a class="anchor" name="c78b8af0dc7c7badf85e75db0de54800"></a><!-- doxytag: member="Packet::hasPayloadType" ref="c78b8af0dc7c7badf85e75db0de54800" args="() const" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">bool Packet::hasPayloadType </td> + <td>(</td> + <td class="paramname"> </td> + <td> ) </td> + <td width="100%"> const</td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<a class="anchor" name="c7ecfc05376afd00af89cb328e194a1d"></a><!-- doxytag: member="Packet::withPayloadType" ref="c7ecfc05376afd00af89cb328e194a1d" args="(bool b)" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname"><a class="el" href="classPacket.html">Packet</a> & Packet::withPayloadType </td> + <td>(</td> + <td class="paramtype">bool </td> + <td class="paramname"> <em>b</em> </td> + <td> ) </td> + <td width="100%"></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<a class="anchor" name="ed7f5cc79b40a11eddefd4b421544498"></a><!-- doxytag: member="Packet::getPayloadType" ref="ed7f5cc79b40a11eddefd4b421544498" args="() const" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname"><a class="el" href="datatypes_8h.html#cb4c65fa561443848e729372d970654d">payload_type_t</a> Packet::getPayloadType </td> + <td>(</td> + <td class="paramname"> </td> + <td> ) </td> + <td width="100%"> const</td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<a class="anchor" name="40849ee3c59a84c3899c409ed392b477"></a><!-- doxytag: member="Packet::addPayloadType" ref="40849ee3c59a84c3899c409ed392b477" args="(payload_type_t payload_type)" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname"><a class="el" href="classPacket.html">Packet</a> & Packet::addPayloadType </td> + <td>(</td> + <td class="paramtype"><a class="el" href="datatypes_8h.html#cb4c65fa561443848e729372d970654d">payload_type_t</a> </td> + <td class="paramname"> <em>payload_type</em> </td> + <td> ) </td> + <td width="100%"></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<a class="anchor" name="6433e4d5eef9216f4e70b338cb4d2e4d"></a><!-- doxytag: member="Packet::removePayloadType" ref="6433e4d5eef9216f4e70b338cb4d2e4d" args="()" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname"><a class="el" href="classPacket.html">Packet</a> & Packet::removePayloadType </td> + <td>(</td> + <td class="paramname"> </td> + <td> ) </td> + <td width="100%"></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<a class="anchor" name="bfe50722f18687bb0691061fb0ccb0ff"></a><!-- doxytag: member="Packet::hasAuthTag" ref="bfe50722f18687bb0691061fb0ccb0ff" args="() const" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">bool Packet::hasAuthTag </td> + <td>(</td> + <td class="paramname"> </td> + <td> ) </td> + <td width="100%"> const</td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<a class="anchor" name="5c947adee9eef0a662a4dc49d95dbe8e"></a><!-- doxytag: member="Packet::withAuthTag" ref="5c947adee9eef0a662a4dc49d95dbe8e" args="(bool b)" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname"><a class="el" href="classPacket.html">Packet</a> & Packet::withAuthTag </td> + <td>(</td> + <td class="paramtype">bool </td> + <td class="paramname"> <em>b</em> </td> + <td> ) </td> + <td width="100%"></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<a class="anchor" name="ba55c639065c177a7006d8392f50eddc"></a><!-- doxytag: member="Packet::getAuthTag" ref="ba55c639065c177a7006d8392f50eddc" args="() const" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname"><a class="el" href="datatypes_8h.html#3618ec768f7f5b8ed61f2ad534e1882d">auth_tag_t</a> Packet::getAuthTag </td> + <td>(</td> + <td class="paramname"> </td> + <td> ) </td> + <td width="100%"> const</td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<a class="anchor" name="a7f8bb4bb127aad314eb0f0ef72447ed"></a><!-- doxytag: member="Packet::addAuthTag" ref="a7f8bb4bb127aad314eb0f0ef72447ed" args="(auth_tag_t auth_tag)" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname"><a class="el" href="classPacket.html">Packet</a> & Packet::addAuthTag </td> + <td>(</td> + <td class="paramtype"><a class="el" href="datatypes_8h.html#3618ec768f7f5b8ed61f2ad534e1882d">auth_tag_t</a> </td> + <td class="paramname"> <em>auth_tag</em> </td> + <td> ) </td> + <td width="100%"></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<a class="anchor" name="3e3dfca708baf59791f0608b8a57924c"></a><!-- doxytag: member="Packet::removeAuthTag" ref="3e3dfca708baf59791f0608b8a57924c" args="()" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname"><a class="el" href="classPacket.html">Packet</a> & Packet::removeAuthTag </td> + <td>(</td> + <td class="paramname"> </td> + <td> ) </td> + <td width="100%"></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<hr><h2>Member Data Documentation</h2> +<a class="anchor" name="11b3534f67df6bb19963e6bc8090230b"></a><!-- doxytag: member="Packet::__packed__" ref="11b3534f67df6bb19963e6bc8090230b" args="" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">struct <a class="el" href="structPacket_1_1HeaderStruct.html">Packet::HeaderStruct</a> <a class="el" href="classPacket.html#11b3534f67df6bb19963e6bc8090230b">Packet::__packed__</a><code> [private]</code> </td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<a class="anchor" name="97b8eb52e7476174a0e91e2ccaf73306"></a><!-- doxytag: member="Packet::has_header_" ref="97b8eb52e7476174a0e91e2ccaf73306" args="" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">bool <a class="el" href="classPacket.html#97b8eb52e7476174a0e91e2ccaf73306">Packet::has_header_</a><code> [private]</code> </td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<a class="anchor" name="235c6c8c7362c46ca33a331713199a17"></a><!-- doxytag: member="Packet::has_payload_type_" ref="235c6c8c7362c46ca33a331713199a17" args="" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">bool <a class="el" href="classPacket.html#235c6c8c7362c46ca33a331713199a17">Packet::has_payload_type_</a><code> [private]</code> </td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<a class="anchor" name="849a965c46afc5fa7efe257212197abb"></a><!-- doxytag: member="Packet::has_auth_tag_" ref="849a965c46afc5fa7efe257212197abb" args="" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">bool <a class="el" href="classPacket.html#849a965c46afc5fa7efe257212197abb">Packet::has_auth_tag_</a><code> [private]</code> </td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<hr>The documentation for this class was generated from the following files:<ul> +<li><a class="el" href="packet_8h-source.html">packet.h</a><li><a class="el" href="packet_8cpp.html">packet.cpp</a></ul> +<hr size="1"><address style="align: right;"><small>Generated on Sun Oct 7 23:43:50 2007 for anytun by +<a href="http://www.doxygen.org/index.html"> +<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address> +</body> +</html> diff --git a/doc/html/classPacket.png b/doc/html/classPacket.png Binary files differnew file mode 100644 index 0000000..fe021c7 --- /dev/null +++ b/doc/html/classPacket.png diff --git a/doc/html/classPacketSource-members.html b/doc/html/classPacketSource-members.html new file mode 100644 index 0000000..4f36fa3 --- /dev/null +++ b/doc/html/classPacketSource-members.html @@ -0,0 +1,29 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> +<title>anytun: Member List</title> +<link href="doxygen.css" rel="stylesheet" type="text/css"> +<link href="tabs.css" rel="stylesheet" type="text/css"> +</head><body> +<!-- Generated by Doxygen 1.5.1 --> +<div class="tabs"> + <ul> + <li><a href="main.html"><span>Main Page</span></a></li> + <li><a href="namespaces.html"><span>Namespaces</span></a></li> + <li id="current"><a href="annotated.html"><span>Classes</span></a></li> + <li><a href="files.html"><span>Files</span></a></li> + </ul></div> +<div class="tabs"> + <ul> + <li><a href="annotated.html"><span>Class List</span></a></li> + <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> + <li><a href="functions.html"><span>Class Members</span></a></li> + </ul></div> +<h1>PacketSource Member List</h1>This is the complete list of members for <a class="el" href="classPacketSource.html">PacketSource</a>, including all inherited members.<p><table> + <tr class="memlist"><td><a class="el" href="classPacketSource.html#95901be715656540a7273c6c0dc1234e">recv</a>(Buffer &buf, std::string &addr, u_int16_t &port)=0</td><td><a class="el" href="classPacketSource.html">PacketSource</a></td><td><code> [pure virtual]</code></td></tr> + <tr class="memlist"><td><a class="el" href="classPacketSource.html#ffc5eb2c89d1395443432c3cc6b7898b">send</a>(Buffer &buf, std::string addr, u_int16_t port)=0</td><td><a class="el" href="classPacketSource.html">PacketSource</a></td><td><code> [pure virtual]</code></td></tr> + <tr class="memlist"><td><a class="el" href="classPacketSource.html#fdaad665e453cf5a047935b07a050ef4">~PacketSource</a>()</td><td><a class="el" href="classPacketSource.html">PacketSource</a></td><td><code> [inline, virtual]</code></td></tr> +</table><hr size="1"><address style="align: right;"><small>Generated on Sun Oct 7 23:43:50 2007 for anytun by +<a href="http://www.doxygen.org/index.html"> +<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address> +</body> +</html> diff --git a/doc/html/classPacketSource.html b/doc/html/classPacketSource.html new file mode 100644 index 0000000..58e59e5 --- /dev/null +++ b/doc/html/classPacketSource.html @@ -0,0 +1,139 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> +<title>anytun: PacketSource Class Reference</title> +<link href="doxygen.css" rel="stylesheet" type="text/css"> +<link href="tabs.css" rel="stylesheet" type="text/css"> +</head><body> +<!-- Generated by Doxygen 1.5.1 --> +<div class="tabs"> + <ul> + <li><a href="main.html"><span>Main Page</span></a></li> + <li><a href="namespaces.html"><span>Namespaces</span></a></li> + <li id="current"><a href="annotated.html"><span>Classes</span></a></li> + <li><a href="files.html"><span>Files</span></a></li> + </ul></div> +<div class="tabs"> + <ul> + <li><a href="annotated.html"><span>Class List</span></a></li> + <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> + <li><a href="functions.html"><span>Class Members</span></a></li> + </ul></div> +<h1>PacketSource Class Reference</h1><!-- doxytag: class="PacketSource" --><code>#include <<a class="el" href="packetSource_8h-source.html">packetSource.h</a>></code> +<p> +<p>Inheritance diagram for PacketSource: +<p><center><img src="classPacketSource.png" usemap="#PacketSource_map" border="0" alt=""></center> +<map name="PacketSource_map"> +<area href="classUDPPacketSource.html" alt="UDPPacketSource" shape="rect" coords="0,56,116,80"> +</map> +<a href="classPacketSource-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0"> +<tr><td></td></tr> +<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr> +<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="classPacketSource.html#fdaad665e453cf5a047935b07a050ef4">~PacketSource</a> ()</td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="datatypes_8h.html#1382fcaa92d837ce7c0961788c8243d7">u_int32_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classPacketSource.html#95901be715656540a7273c6c0dc1234e">recv</a> (<a class="el" href="classBuffer.html">Buffer</a> &buf, std::string &addr, <a class="el" href="datatypes_8h.html#3aa89f830bb876725b238e6a2a67a809">u_int16_t</a> &port)=0</td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classPacketSource.html#ffc5eb2c89d1395443432c3cc6b7898b">send</a> (<a class="el" href="classBuffer.html">Buffer</a> &buf, std::string addr, <a class="el" href="datatypes_8h.html#3aa89f830bb876725b238e6a2a67a809">u_int16_t</a> port)=0</td></tr> + +</table> +<hr><h2>Constructor & Destructor Documentation</h2> +<a class="anchor" name="fdaad665e453cf5a047935b07a050ef4"></a><!-- doxytag: member="PacketSource::~PacketSource" ref="fdaad665e453cf5a047935b07a050ef4" args="()" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">virtual PacketSource::~PacketSource </td> + <td>(</td> + <td class="paramname"> </td> + <td> ) </td> + <td width="100%"><code> [inline, virtual]</code></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<hr><h2>Member Function Documentation</h2> +<a class="anchor" name="95901be715656540a7273c6c0dc1234e"></a><!-- doxytag: member="PacketSource::recv" ref="95901be715656540a7273c6c0dc1234e" args="(Buffer &buf, std::string &addr, u_int16_t &port)=0" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">virtual <a class="el" href="datatypes_8h.html#1382fcaa92d837ce7c0961788c8243d7">u_int32_t</a> PacketSource::recv </td> + <td>(</td> + <td class="paramtype"><a class="el" href="classBuffer.html">Buffer</a> & </td> + <td class="paramname"> <em>buf</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype">std::string & </td> + <td class="paramname"> <em>addr</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype"><a class="el" href="datatypes_8h.html#3aa89f830bb876725b238e6a2a67a809">u_int16_t</a> & </td> + <td class="paramname"> <em>port</em></td><td> </td> + </tr> + <tr> + <td></td> + <td>)</td> + <td></td><td></td><td width="100%"><code> [pure virtual]</code></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +<p> +Implemented in <a class="el" href="classUDPPacketSource.html#a1f7daded0f9ead5599160bae9317eb8">UDPPacketSource</a>. +</div> +</div><p> +<a class="anchor" name="ffc5eb2c89d1395443432c3cc6b7898b"></a><!-- doxytag: member="PacketSource::send" ref="ffc5eb2c89d1395443432c3cc6b7898b" args="(Buffer &buf, std::string addr, u_int16_t port)=0" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">virtual void PacketSource::send </td> + <td>(</td> + <td class="paramtype"><a class="el" href="classBuffer.html">Buffer</a> & </td> + <td class="paramname"> <em>buf</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype">std::string </td> + <td class="paramname"> <em>addr</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype"><a class="el" href="datatypes_8h.html#3aa89f830bb876725b238e6a2a67a809">u_int16_t</a> </td> + <td class="paramname"> <em>port</em></td><td> </td> + </tr> + <tr> + <td></td> + <td>)</td> + <td></td><td></td><td width="100%"><code> [pure virtual]</code></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +<p> +Implemented in <a class="el" href="classUDPPacketSource.html#376a3b0c861aeb7561e8a9f6866292b9">UDPPacketSource</a>. +</div> +</div><p> +<hr>The documentation for this class was generated from the following file:<ul> +<li><a class="el" href="packetSource_8h-source.html">packetSource.h</a></ul> +<hr size="1"><address style="align: right;"><small>Generated on Sun Oct 7 23:43:50 2007 for anytun by +<a href="http://www.doxygen.org/index.html"> +<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address> +</body> +</html> diff --git a/doc/html/classPacketSource.png b/doc/html/classPacketSource.png Binary files differnew file mode 100644 index 0000000..1f0d587 --- /dev/null +++ b/doc/html/classPacketSource.png diff --git a/doc/html/classSemaphore-members.html b/doc/html/classSemaphore-members.html new file mode 100644 index 0000000..e4c22d3 --- /dev/null +++ b/doc/html/classSemaphore-members.html @@ -0,0 +1,31 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> +<title>anytun: Member List</title> +<link href="doxygen.css" rel="stylesheet" type="text/css"> +<link href="tabs.css" rel="stylesheet" type="text/css"> +</head><body> +<!-- Generated by Doxygen 1.5.1 --> +<div class="tabs"> + <ul> + <li><a href="main.html"><span>Main Page</span></a></li> + <li><a href="namespaces.html"><span>Namespaces</span></a></li> + <li id="current"><a href="annotated.html"><span>Classes</span></a></li> + <li><a href="files.html"><span>Files</span></a></li> + </ul></div> +<div class="tabs"> + <ul> + <li><a href="annotated.html"><span>Class List</span></a></li> + <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> + <li><a href="functions.html"><span>Class Members</span></a></li> + </ul></div> +<h1>Semaphore Member List</h1>This is the complete list of members for <a class="el" href="classSemaphore.html">Semaphore</a>, including all inherited members.<p><table> + <tr class="memlist"><td><a class="el" href="classSemaphore.html#71126a13a22f2722e22a2b69860a5371">down</a>()</td><td><a class="el" href="classSemaphore.html">Semaphore</a></td><td><code> [inline]</code></td></tr> + <tr class="memlist"><td><a class="el" href="classSemaphore.html#23e62b0971c229ddf106e3ff71d688d6">sem</a></td><td><a class="el" href="classSemaphore.html">Semaphore</a></td><td><code> [private]</code></td></tr> + <tr class="memlist"><td><a class="el" href="classSemaphore.html#570698c680a467b9b0a708635149d54a">Semaphore</a>(unsigned int initVal=0)</td><td><a class="el" href="classSemaphore.html">Semaphore</a></td><td><code> [inline]</code></td></tr> + <tr class="memlist"><td><a class="el" href="classSemaphore.html#15fb190263808234fc2562f39f523082">up</a>()</td><td><a class="el" href="classSemaphore.html">Semaphore</a></td><td><code> [inline]</code></td></tr> + <tr class="memlist"><td><a class="el" href="classSemaphore.html#633658a6fde276bffc912028725c6ade">~Semaphore</a>()</td><td><a class="el" href="classSemaphore.html">Semaphore</a></td><td><code> [inline]</code></td></tr> +</table><hr size="1"><address style="align: right;"><small>Generated on Sun Oct 7 23:43:50 2007 for anytun by +<a href="http://www.doxygen.org/index.html"> +<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address> +</body> +</html> diff --git a/doc/html/classSemaphore.html b/doc/html/classSemaphore.html new file mode 100644 index 0000000..f2123df --- /dev/null +++ b/doc/html/classSemaphore.html @@ -0,0 +1,139 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> +<title>anytun: Semaphore Class Reference</title> +<link href="doxygen.css" rel="stylesheet" type="text/css"> +<link href="tabs.css" rel="stylesheet" type="text/css"> +</head><body> +<!-- Generated by Doxygen 1.5.1 --> +<div class="tabs"> + <ul> + <li><a href="main.html"><span>Main Page</span></a></li> + <li><a href="namespaces.html"><span>Namespaces</span></a></li> + <li id="current"><a href="annotated.html"><span>Classes</span></a></li> + <li><a href="files.html"><span>Files</span></a></li> + </ul></div> +<div class="tabs"> + <ul> + <li><a href="annotated.html"><span>Class List</span></a></li> + <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> + <li><a href="functions.html"><span>Class Members</span></a></li> + </ul></div> +<h1>Semaphore Class Reference</h1><!-- doxytag: class="Semaphore" --><code>#include <<a class="el" href="threadUtils_8hpp-source.html">threadUtils.hpp</a>></code> +<p> +<a href="classSemaphore-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0"> +<tr><td></td></tr> +<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr> +<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classSemaphore.html#570698c680a467b9b0a708635149d54a">Semaphore</a> (unsigned int initVal=0)</td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classSemaphore.html#633658a6fde276bffc912028725c6ade">~Semaphore</a> ()</td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classSemaphore.html#71126a13a22f2722e22a2b69860a5371">down</a> ()</td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classSemaphore.html#15fb190263808234fc2562f39f523082">up</a> ()</td></tr> + +<tr><td colspan="2"><br><h2>Private Attributes</h2></td></tr> +<tr><td class="memItemLeft" nowrap align="right" valign="top">sem_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classSemaphore.html#23e62b0971c229ddf106e3ff71d688d6">sem</a></td></tr> + +</table> +<hr><h2>Constructor & Destructor Documentation</h2> +<a class="anchor" name="570698c680a467b9b0a708635149d54a"></a><!-- doxytag: member="Semaphore::Semaphore" ref="570698c680a467b9b0a708635149d54a" args="(unsigned int initVal=0)" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">Semaphore::Semaphore </td> + <td>(</td> + <td class="paramtype">unsigned int </td> + <td class="paramname"> <em>initVal</em> = <code>0</code> </td> + <td> ) </td> + <td width="100%"><code> [inline]</code></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<a class="anchor" name="633658a6fde276bffc912028725c6ade"></a><!-- doxytag: member="Semaphore::~Semaphore" ref="633658a6fde276bffc912028725c6ade" args="()" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">Semaphore::~Semaphore </td> + <td>(</td> + <td class="paramname"> </td> + <td> ) </td> + <td width="100%"><code> [inline]</code></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<hr><h2>Member Function Documentation</h2> +<a class="anchor" name="71126a13a22f2722e22a2b69860a5371"></a><!-- doxytag: member="Semaphore::down" ref="71126a13a22f2722e22a2b69860a5371" args="()" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">void Semaphore::down </td> + <td>(</td> + <td class="paramname"> </td> + <td> ) </td> + <td width="100%"><code> [inline]</code></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<a class="anchor" name="15fb190263808234fc2562f39f523082"></a><!-- doxytag: member="Semaphore::up" ref="15fb190263808234fc2562f39f523082" args="()" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">void Semaphore::up </td> + <td>(</td> + <td class="paramname"> </td> + <td> ) </td> + <td width="100%"><code> [inline]</code></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<hr><h2>Member Data Documentation</h2> +<a class="anchor" name="23e62b0971c229ddf106e3ff71d688d6"></a><!-- doxytag: member="Semaphore::sem" ref="23e62b0971c229ddf106e3ff71d688d6" args="" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">sem_t <a class="el" href="classSemaphore.html#23e62b0971c229ddf106e3ff71d688d6">Semaphore::sem</a><code> [private]</code> </td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<hr>The documentation for this class was generated from the following file:<ul> +<li><a class="el" href="threadUtils_8hpp-source.html">threadUtils.hpp</a></ul> +<hr size="1"><address style="align: right;"><small>Generated on Sun Oct 7 23:43:50 2007 for anytun by +<a href="http://www.doxygen.org/index.html"> +<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address> +</body> +</html> diff --git a/doc/html/classSeqWindow-members.html b/doc/html/classSeqWindow-members.html new file mode 100644 index 0000000..d277d88 --- /dev/null +++ b/doc/html/classSeqWindow-members.html @@ -0,0 +1,40 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> +<title>anytun: Member List</title> +<link href="doxygen.css" rel="stylesheet" type="text/css"> +<link href="tabs.css" rel="stylesheet" type="text/css"> +</head><body> +<!-- Generated by Doxygen 1.5.1 --> +<div class="tabs"> + <ul> + <li><a href="main.html"><span>Main Page</span></a></li> + <li><a href="namespaces.html"><span>Namespaces</span></a></li> + <li id="current"><a href="annotated.html"><span>Classes</span></a></li> + <li><a href="files.html"><span>Files</span></a></li> + </ul></div> +<div class="tabs"> + <ul> + <li><a href="annotated.html"><span>Class List</span></a></li> + <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> + <li><a href="functions.html"><span>Class Members</span></a></li> + </ul></div> +<h1>SeqWindow Member List</h1>This is the complete list of members for <a class="el" href="classSeqWindow.html">SeqWindow</a>, including all inherited members.<p><table> + <tr class="memlist"><td><a class="el" href="classSeqWindow.html#255ca0fca3e701bd9e18d9fcb2c022a2">addSeqNr</a>(sender_id_t sender, seq_nr_t seq)</td><td><a class="el" href="classSeqWindow.html">SeqWindow</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classSeqWindow.html#e9774163b8f7ac0ec081d1ba5b2daed2">clear</a>(sender_id_t sender)</td><td><a class="el" href="classSeqWindow.html">SeqWindow</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classSeqWindow.html#b1a03fe152c7c94ff3f05005d595b424">clear</a>()</td><td><a class="el" href="classSeqWindow.html">SeqWindow</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classSeqWindow.html#5d39959927c79c54d133ed77b297ad7c">getLength</a>(sender_id_t sender)</td><td><a class="el" href="classSeqWindow.html">SeqWindow</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classSeqWindow.html#9e7714dda181863420c38975bd505aff">hasSeqNr</a>(sender_id_t sender, seq_nr_t seq)</td><td><a class="el" href="classSeqWindow.html">SeqWindow</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classSeqWindow.html#87ec44a9a7398ecbcb92d90ba95b37a0">mutex_</a></td><td><a class="el" href="classSeqWindow.html">SeqWindow</a></td><td><code> [private]</code></td></tr> + <tr class="memlist"><td><a class="el" href="classSeqWindow.html#37887e66297163fe301c77f2977a2a2b">operator=</a>(const SeqWindow &s)</td><td><a class="el" href="classSeqWindow.html">SeqWindow</a></td><td><code> [private]</code></td></tr> + <tr class="memlist"><td><a class="el" href="classSeqWindow.html#8bfc3742cacc75e9a72de13ff6ad98a2">sender_</a></td><td><a class="el" href="classSeqWindow.html">SeqWindow</a></td><td><code> [private]</code></td></tr> + <tr class="memlist"><td><a class="el" href="classSeqWindow.html#127195f139c8d5d07ed93799c2d6821a">SenderMap</a> typedef</td><td><a class="el" href="classSeqWindow.html">SeqWindow</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classSeqWindow.html#cf2d07003c8ca868146cffb4dd1d5ca7">SeqDeque</a> typedef</td><td><a class="el" href="classSeqWindow.html">SeqWindow</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classSeqWindow.html#8d513ab9ef2984ea93dad7e4026185c8">SeqWindow</a>(window_size_t w)</td><td><a class="el" href="classSeqWindow.html">SeqWindow</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classSeqWindow.html#7a30b232f312d843b8d188cae01fef28">SeqWindow</a>(const SeqWindow &s)</td><td><a class="el" href="classSeqWindow.html">SeqWindow</a></td><td><code> [private]</code></td></tr> + <tr class="memlist"><td><a class="el" href="classSeqWindow.html#ef85ba28f8a655dc8c8d34aeddb8eea0">window_size_</a></td><td><a class="el" href="classSeqWindow.html">SeqWindow</a></td><td><code> [private]</code></td></tr> + <tr class="memlist"><td><a class="el" href="classSeqWindow.html#d125bcc4751a746427f04dda7fd65a10">~SeqWindow</a>()</td><td><a class="el" href="classSeqWindow.html">SeqWindow</a></td><td></td></tr> +</table><hr size="1"><address style="align: right;"><small>Generated on Sun Oct 7 23:43:50 2007 for anytun by +<a href="http://www.doxygen.org/index.html"> +<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address> +</body> +</html> diff --git a/doc/html/classSeqWindow.html b/doc/html/classSeqWindow.html new file mode 100644 index 0000000..4e2bd78 --- /dev/null +++ b/doc/html/classSeqWindow.html @@ -0,0 +1,340 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> +<title>anytun: SeqWindow Class Reference</title> +<link href="doxygen.css" rel="stylesheet" type="text/css"> +<link href="tabs.css" rel="stylesheet" type="text/css"> +</head><body> +<!-- Generated by Doxygen 1.5.1 --> +<div class="tabs"> + <ul> + <li><a href="main.html"><span>Main Page</span></a></li> + <li><a href="namespaces.html"><span>Namespaces</span></a></li> + <li id="current"><a href="annotated.html"><span>Classes</span></a></li> + <li><a href="files.html"><span>Files</span></a></li> + </ul></div> +<div class="tabs"> + <ul> + <li><a href="annotated.html"><span>Class List</span></a></li> + <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> + <li><a href="functions.html"><span>Class Members</span></a></li> + </ul></div> +<h1>SeqWindow Class Reference</h1><!-- doxytag: class="SeqWindow" --><code>#include <<a class="el" href="seqWindow_8h-source.html">seqWindow.h</a>></code> +<p> +<a href="classSeqWindow-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0"> +<tr><td></td></tr> +<tr><td colspan="2"><br><h2>Public Types</h2></td></tr> +<tr><td class="memItemLeft" nowrap align="right" valign="top">typedef std::deque< <a class="el" href="datatypes_8h.html#317be74a3176b4149a817241bd69f9b2">seq_nr_t</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classSeqWindow.html#cf2d07003c8ca868146cffb4dd1d5ca7">SeqDeque</a></td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top">typedef std::map< <a class="el" href="datatypes_8h.html#c8be006c348a522ae126f67f7b2aaf4e">sender_id_t</a>,<br> + <a class="el" href="classSeqWindow.html#cf2d07003c8ca868146cffb4dd1d5ca7">SeqDeque</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classSeqWindow.html#127195f139c8d5d07ed93799c2d6821a">SenderMap</a></td></tr> + +<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr> +<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classSeqWindow.html#8d513ab9ef2984ea93dad7e4026185c8">SeqWindow</a> (<a class="el" href="datatypes_8h.html#0246b9fac0b861d94e0e4cc9ae2e5070">window_size_t</a> w)</td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classSeqWindow.html#d125bcc4751a746427f04dda7fd65a10">~SeqWindow</a> ()</td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top">SeqDeque::size_type </td><td class="memItemRight" valign="bottom"><a class="el" href="classSeqWindow.html#5d39959927c79c54d133ed77b297ad7c">getLength</a> (<a class="el" href="datatypes_8h.html#c8be006c348a522ae126f67f7b2aaf4e">sender_id_t</a> sender)</td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classSeqWindow.html#9e7714dda181863420c38975bd505aff">hasSeqNr</a> (<a class="el" href="datatypes_8h.html#c8be006c348a522ae126f67f7b2aaf4e">sender_id_t</a> sender, <a class="el" href="datatypes_8h.html#317be74a3176b4149a817241bd69f9b2">seq_nr_t</a> seq)</td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classSeqWindow.html#255ca0fca3e701bd9e18d9fcb2c022a2">addSeqNr</a> (<a class="el" href="datatypes_8h.html#c8be006c348a522ae126f67f7b2aaf4e">sender_id_t</a> sender, <a class="el" href="datatypes_8h.html#317be74a3176b4149a817241bd69f9b2">seq_nr_t</a> seq)</td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classSeqWindow.html#e9774163b8f7ac0ec081d1ba5b2daed2">clear</a> (<a class="el" href="datatypes_8h.html#c8be006c348a522ae126f67f7b2aaf4e">sender_id_t</a> sender)</td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classSeqWindow.html#b1a03fe152c7c94ff3f05005d595b424">clear</a> ()</td></tr> + +<tr><td colspan="2"><br><h2>Private Member Functions</h2></td></tr> +<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classSeqWindow.html#7a30b232f312d843b8d188cae01fef28">SeqWindow</a> (const <a class="el" href="classSeqWindow.html">SeqWindow</a> &s)</td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classSeqWindow.html#37887e66297163fe301c77f2977a2a2b">operator=</a> (const <a class="el" href="classSeqWindow.html">SeqWindow</a> &s)</td></tr> + +<tr><td colspan="2"><br><h2>Private Attributes</h2></td></tr> +<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="datatypes_8h.html#0246b9fac0b861d94e0e4cc9ae2e5070">window_size_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classSeqWindow.html#ef85ba28f8a655dc8c8d34aeddb8eea0">window_size_</a></td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classMutex.html">Mutex</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classSeqWindow.html#87ec44a9a7398ecbcb92d90ba95b37a0">mutex_</a></td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classSeqWindow.html#127195f139c8d5d07ed93799c2d6821a">SenderMap</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classSeqWindow.html#8bfc3742cacc75e9a72de13ff6ad98a2">sender_</a></td></tr> + +</table> +<hr><h2>Member Typedef Documentation</h2> +<a class="anchor" name="cf2d07003c8ca868146cffb4dd1d5ca7"></a><!-- doxytag: member="SeqWindow::SeqDeque" ref="cf2d07003c8ca868146cffb4dd1d5ca7" args="" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">typedef std::deque<<a class="el" href="datatypes_8h.html#317be74a3176b4149a817241bd69f9b2">seq_nr_t</a>> <a class="el" href="classSeqWindow.html#cf2d07003c8ca868146cffb4dd1d5ca7">SeqWindow::SeqDeque</a> </td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<a class="anchor" name="127195f139c8d5d07ed93799c2d6821a"></a><!-- doxytag: member="SeqWindow::SenderMap" ref="127195f139c8d5d07ed93799c2d6821a" args="" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">typedef std::map<<a class="el" href="datatypes_8h.html#c8be006c348a522ae126f67f7b2aaf4e">sender_id_t</a>, <a class="el" href="classSeqWindow.html#cf2d07003c8ca868146cffb4dd1d5ca7">SeqDeque</a>> <a class="el" href="classSeqWindow.html#127195f139c8d5d07ed93799c2d6821a">SeqWindow::SenderMap</a> </td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<hr><h2>Constructor & Destructor Documentation</h2> +<a class="anchor" name="8d513ab9ef2984ea93dad7e4026185c8"></a><!-- doxytag: member="SeqWindow::SeqWindow" ref="8d513ab9ef2984ea93dad7e4026185c8" args="(window_size_t w)" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">SeqWindow::SeqWindow </td> + <td>(</td> + <td class="paramtype"><a class="el" href="datatypes_8h.html#0246b9fac0b861d94e0e4cc9ae2e5070">window_size_t</a> </td> + <td class="paramname"> <em>w</em> </td> + <td> ) </td> + <td width="100%"></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<a class="anchor" name="d125bcc4751a746427f04dda7fd65a10"></a><!-- doxytag: member="SeqWindow::~SeqWindow" ref="d125bcc4751a746427f04dda7fd65a10" args="()" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">SeqWindow::~SeqWindow </td> + <td>(</td> + <td class="paramname"> </td> + <td> ) </td> + <td width="100%"></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<a class="anchor" name="7a30b232f312d843b8d188cae01fef28"></a><!-- doxytag: member="SeqWindow::SeqWindow" ref="7a30b232f312d843b8d188cae01fef28" args="(const SeqWindow &s)" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">SeqWindow::SeqWindow </td> + <td>(</td> + <td class="paramtype">const <a class="el" href="classSeqWindow.html">SeqWindow</a> & </td> + <td class="paramname"> <em>s</em> </td> + <td> ) </td> + <td width="100%"><code> [private]</code></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<hr><h2>Member Function Documentation</h2> +<a class="anchor" name="5d39959927c79c54d133ed77b297ad7c"></a><!-- doxytag: member="SeqWindow::getLength" ref="5d39959927c79c54d133ed77b297ad7c" args="(sender_id_t sender)" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">SeqWindow::SeqDeque::size_type SeqWindow::getLength </td> + <td>(</td> + <td class="paramtype"><a class="el" href="datatypes_8h.html#c8be006c348a522ae126f67f7b2aaf4e">sender_id_t</a> </td> + <td class="paramname"> <em>sender</em> </td> + <td> ) </td> + <td width="100%"></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<a class="anchor" name="9e7714dda181863420c38975bd505aff"></a><!-- doxytag: member="SeqWindow::hasSeqNr" ref="9e7714dda181863420c38975bd505aff" args="(sender_id_t sender, seq_nr_t seq)" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">bool SeqWindow::hasSeqNr </td> + <td>(</td> + <td class="paramtype"><a class="el" href="datatypes_8h.html#c8be006c348a522ae126f67f7b2aaf4e">sender_id_t</a> </td> + <td class="paramname"> <em>sender</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype"><a class="el" href="datatypes_8h.html#317be74a3176b4149a817241bd69f9b2">seq_nr_t</a> </td> + <td class="paramname"> <em>seq</em></td><td> </td> + </tr> + <tr> + <td></td> + <td>)</td> + <td></td><td></td><td width="100%"></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<a class="anchor" name="255ca0fca3e701bd9e18d9fcb2c022a2"></a><!-- doxytag: member="SeqWindow::addSeqNr" ref="255ca0fca3e701bd9e18d9fcb2c022a2" args="(sender_id_t sender, seq_nr_t seq)" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">void SeqWindow::addSeqNr </td> + <td>(</td> + <td class="paramtype"><a class="el" href="datatypes_8h.html#c8be006c348a522ae126f67f7b2aaf4e">sender_id_t</a> </td> + <td class="paramname"> <em>sender</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype"><a class="el" href="datatypes_8h.html#317be74a3176b4149a817241bd69f9b2">seq_nr_t</a> </td> + <td class="paramname"> <em>seq</em></td><td> </td> + </tr> + <tr> + <td></td> + <td>)</td> + <td></td><td></td><td width="100%"></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<a class="anchor" name="e9774163b8f7ac0ec081d1ba5b2daed2"></a><!-- doxytag: member="SeqWindow::clear" ref="e9774163b8f7ac0ec081d1ba5b2daed2" args="(sender_id_t sender)" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">void SeqWindow::clear </td> + <td>(</td> + <td class="paramtype"><a class="el" href="datatypes_8h.html#c8be006c348a522ae126f67f7b2aaf4e">sender_id_t</a> </td> + <td class="paramname"> <em>sender</em> </td> + <td> ) </td> + <td width="100%"></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<a class="anchor" name="b1a03fe152c7c94ff3f05005d595b424"></a><!-- doxytag: member="SeqWindow::clear" ref="b1a03fe152c7c94ff3f05005d595b424" args="()" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">void SeqWindow::clear </td> + <td>(</td> + <td class="paramname"> </td> + <td> ) </td> + <td width="100%"></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<a class="anchor" name="37887e66297163fe301c77f2977a2a2b"></a><!-- doxytag: member="SeqWindow::operator=" ref="37887e66297163fe301c77f2977a2a2b" args="(const SeqWindow &s)" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">void SeqWindow::operator= </td> + <td>(</td> + <td class="paramtype">const <a class="el" href="classSeqWindow.html">SeqWindow</a> & </td> + <td class="paramname"> <em>s</em> </td> + <td> ) </td> + <td width="100%"><code> [private]</code></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<hr><h2>Member Data Documentation</h2> +<a class="anchor" name="ef85ba28f8a655dc8c8d34aeddb8eea0"></a><!-- doxytag: member="SeqWindow::window_size_" ref="ef85ba28f8a655dc8c8d34aeddb8eea0" args="" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname"><a class="el" href="datatypes_8h.html#0246b9fac0b861d94e0e4cc9ae2e5070">window_size_t</a> <a class="el" href="classSeqWindow.html#ef85ba28f8a655dc8c8d34aeddb8eea0">SeqWindow::window_size_</a><code> [private]</code> </td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<a class="anchor" name="87ec44a9a7398ecbcb92d90ba95b37a0"></a><!-- doxytag: member="SeqWindow::mutex_" ref="87ec44a9a7398ecbcb92d90ba95b37a0" args="" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname"><a class="el" href="classMutex.html">Mutex</a> <a class="el" href="classSeqWindow.html#87ec44a9a7398ecbcb92d90ba95b37a0">SeqWindow::mutex_</a><code> [private]</code> </td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<a class="anchor" name="8bfc3742cacc75e9a72de13ff6ad98a2"></a><!-- doxytag: member="SeqWindow::sender_" ref="8bfc3742cacc75e9a72de13ff6ad98a2" args="" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname"><a class="el" href="classSeqWindow.html#127195f139c8d5d07ed93799c2d6821a">SenderMap</a> <a class="el" href="classSeqWindow.html#8bfc3742cacc75e9a72de13ff6ad98a2">SeqWindow::sender_</a><code> [private]</code> </td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<hr>The documentation for this class was generated from the following files:<ul> +<li><a class="el" href="seqWindow_8h-source.html">seqWindow.h</a><li><a class="el" href="seqWindow_8cpp.html">seqWindow.cpp</a></ul> +<hr size="1"><address style="align: right;"><small>Generated on Sun Oct 7 23:43:50 2007 for anytun by +<a href="http://www.doxygen.org/index.html"> +<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address> +</body> +</html> diff --git a/doc/html/classSigHupHandler-members.html b/doc/html/classSigHupHandler-members.html new file mode 100644 index 0000000..6205d43 --- /dev/null +++ b/doc/html/classSigHupHandler-members.html @@ -0,0 +1,30 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> +<title>anytun: Member List</title> +<link href="doxygen.css" rel="stylesheet" type="text/css"> +<link href="tabs.css" rel="stylesheet" type="text/css"> +</head><body> +<!-- Generated by Doxygen 1.5.1 --> +<div class="tabs"> + <ul> + <li><a href="main.html"><span>Main Page</span></a></li> + <li><a href="namespaces.html"><span>Namespaces</span></a></li> + <li id="current"><a href="annotated.html"><span>Classes</span></a></li> + <li><a href="files.html"><span>Files</span></a></li> + </ul></div> +<div class="tabs"> + <ul> + <li><a href="annotated.html"><span>Class List</span></a></li> + <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> + <li><a href="functions.html"><span>Class Members</span></a></li> + </ul></div> +<h1>SigHupHandler Member List</h1>This is the complete list of members for <a class="el" href="classSigHupHandler.html">SigHupHandler</a>, including all inherited members.<p><table> + <tr class="memlist"><td><a class="el" href="classSigHupHandler.html#84734b7f79663badeedb720896302d4e">handle</a>()</td><td><a class="el" href="classSigHupHandler.html">SigHupHandler</a></td><td><code> [virtual]</code></td></tr> + <tr class="memlist"><td><a class="el" href="classSigHupHandler.html#a1ee03b63ca11d8b5aae82fae1f2d6a3">SigHupHandler</a>()</td><td><a class="el" href="classSigHupHandler.html">SigHupHandler</a></td><td><code> [inline]</code></td></tr> + <tr class="memlist"><td><a class="el" href="classSignalHandler.html#8f920534650e9cd3cdfbe3c3f8409b4d">SignalHandler</a>(int s)</td><td><a class="el" href="classSignalHandler.html">SignalHandler</a></td><td><code> [inline, protected]</code></td></tr> + <tr class="memlist"><td><a class="el" href="classSignalHandler.html#a1109d38f8b43bde75420aaeecc1f2b7">~SignalHandler</a>()</td><td><a class="el" href="classSignalHandler.html">SignalHandler</a></td><td><code> [inline, virtual]</code></td></tr> +</table><hr size="1"><address style="align: right;"><small>Generated on Sun Oct 7 23:43:50 2007 for anytun by +<a href="http://www.doxygen.org/index.html"> +<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address> +</body> +</html> diff --git a/doc/html/classSigHupHandler.html b/doc/html/classSigHupHandler.html new file mode 100644 index 0000000..364406a --- /dev/null +++ b/doc/html/classSigHupHandler.html @@ -0,0 +1,84 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> +<title>anytun: SigHupHandler Class Reference</title> +<link href="doxygen.css" rel="stylesheet" type="text/css"> +<link href="tabs.css" rel="stylesheet" type="text/css"> +</head><body> +<!-- Generated by Doxygen 1.5.1 --> +<div class="tabs"> + <ul> + <li><a href="main.html"><span>Main Page</span></a></li> + <li><a href="namespaces.html"><span>Namespaces</span></a></li> + <li id="current"><a href="annotated.html"><span>Classes</span></a></li> + <li><a href="files.html"><span>Files</span></a></li> + </ul></div> +<div class="tabs"> + <ul> + <li><a href="annotated.html"><span>Class List</span></a></li> + <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> + <li><a href="functions.html"><span>Class Members</span></a></li> + </ul></div> +<h1>SigHupHandler Class Reference</h1><!-- doxytag: class="SigHupHandler" --><!-- doxytag: inherits="SignalHandler" --><code>#include <<a class="el" href="signalController_8h-source.html">signalController.h</a>></code> +<p> +<p>Inheritance diagram for SigHupHandler: +<p><center><img src="classSigHupHandler.png" usemap="#SigHupHandler_map" border="0" alt=""></center> +<map name="SigHupHandler_map"> +<area href="classSignalHandler.html" alt="SignalHandler" shape="rect" coords="0,0,98,24"> +</map> +<a href="classSigHupHandler-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0"> +<tr><td></td></tr> +<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr> +<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classSigHupHandler.html#a1ee03b63ca11d8b5aae82fae1f2d6a3">SigHupHandler</a> ()</td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classSigHupHandler.html#84734b7f79663badeedb720896302d4e">handle</a> ()</td></tr> + +</table> +<hr><h2>Constructor & Destructor Documentation</h2> +<a class="anchor" name="a1ee03b63ca11d8b5aae82fae1f2d6a3"></a><!-- doxytag: member="SigHupHandler::SigHupHandler" ref="a1ee03b63ca11d8b5aae82fae1f2d6a3" args="()" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">SigHupHandler::SigHupHandler </td> + <td>(</td> + <td class="paramname"> </td> + <td> ) </td> + <td width="100%"><code> [inline]</code></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<hr><h2>Member Function Documentation</h2> +<a class="anchor" name="84734b7f79663badeedb720896302d4e"></a><!-- doxytag: member="SigHupHandler::handle" ref="84734b7f79663badeedb720896302d4e" args="()" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">int SigHupHandler::handle </td> + <td>(</td> + <td class="paramname"> </td> + <td> ) </td> + <td width="100%"><code> [virtual]</code></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +<p> +Reimplemented from <a class="el" href="classSignalHandler.html#e3dbda0de9b4aa4544390818a0d29e28">SignalHandler</a>. +</div> +</div><p> +<hr>The documentation for this class was generated from the following files:<ul> +<li><a class="el" href="signalController_8h-source.html">signalController.h</a><li><a class="el" href="signalController_8cpp.html">signalController.cpp</a></ul> +<hr size="1"><address style="align: right;"><small>Generated on Sun Oct 7 23:43:50 2007 for anytun by +<a href="http://www.doxygen.org/index.html"> +<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address> +</body> +</html> diff --git a/doc/html/classSigHupHandler.png b/doc/html/classSigHupHandler.png Binary files differnew file mode 100644 index 0000000..dda04a9 --- /dev/null +++ b/doc/html/classSigHupHandler.png diff --git a/doc/html/classSigIntHandler-members.html b/doc/html/classSigIntHandler-members.html new file mode 100644 index 0000000..ea0d4b4 --- /dev/null +++ b/doc/html/classSigIntHandler-members.html @@ -0,0 +1,30 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> +<title>anytun: Member List</title> +<link href="doxygen.css" rel="stylesheet" type="text/css"> +<link href="tabs.css" rel="stylesheet" type="text/css"> +</head><body> +<!-- Generated by Doxygen 1.5.1 --> +<div class="tabs"> + <ul> + <li><a href="main.html"><span>Main Page</span></a></li> + <li><a href="namespaces.html"><span>Namespaces</span></a></li> + <li id="current"><a href="annotated.html"><span>Classes</span></a></li> + <li><a href="files.html"><span>Files</span></a></li> + </ul></div> +<div class="tabs"> + <ul> + <li><a href="annotated.html"><span>Class List</span></a></li> + <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> + <li><a href="functions.html"><span>Class Members</span></a></li> + </ul></div> +<h1>SigIntHandler Member List</h1>This is the complete list of members for <a class="el" href="classSigIntHandler.html">SigIntHandler</a>, including all inherited members.<p><table> + <tr class="memlist"><td><a class="el" href="classSigIntHandler.html#6a7d9a841a5c9b1f50041a8c37774063">handle</a>()</td><td><a class="el" href="classSigIntHandler.html">SigIntHandler</a></td><td><code> [virtual]</code></td></tr> + <tr class="memlist"><td><a class="el" href="classSigIntHandler.html#ac25b5ac048a76d4c0c26d5ad4c4273d">SigIntHandler</a>()</td><td><a class="el" href="classSigIntHandler.html">SigIntHandler</a></td><td><code> [inline]</code></td></tr> + <tr class="memlist"><td><a class="el" href="classSignalHandler.html#8f920534650e9cd3cdfbe3c3f8409b4d">SignalHandler</a>(int s)</td><td><a class="el" href="classSignalHandler.html">SignalHandler</a></td><td><code> [inline, protected]</code></td></tr> + <tr class="memlist"><td><a class="el" href="classSignalHandler.html#a1109d38f8b43bde75420aaeecc1f2b7">~SignalHandler</a>()</td><td><a class="el" href="classSignalHandler.html">SignalHandler</a></td><td><code> [inline, virtual]</code></td></tr> +</table><hr size="1"><address style="align: right;"><small>Generated on Sun Oct 7 23:43:50 2007 for anytun by +<a href="http://www.doxygen.org/index.html"> +<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address> +</body> +</html> diff --git a/doc/html/classSigIntHandler.html b/doc/html/classSigIntHandler.html new file mode 100644 index 0000000..51939ae --- /dev/null +++ b/doc/html/classSigIntHandler.html @@ -0,0 +1,84 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> +<title>anytun: SigIntHandler Class Reference</title> +<link href="doxygen.css" rel="stylesheet" type="text/css"> +<link href="tabs.css" rel="stylesheet" type="text/css"> +</head><body> +<!-- Generated by Doxygen 1.5.1 --> +<div class="tabs"> + <ul> + <li><a href="main.html"><span>Main Page</span></a></li> + <li><a href="namespaces.html"><span>Namespaces</span></a></li> + <li id="current"><a href="annotated.html"><span>Classes</span></a></li> + <li><a href="files.html"><span>Files</span></a></li> + </ul></div> +<div class="tabs"> + <ul> + <li><a href="annotated.html"><span>Class List</span></a></li> + <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> + <li><a href="functions.html"><span>Class Members</span></a></li> + </ul></div> +<h1>SigIntHandler Class Reference</h1><!-- doxytag: class="SigIntHandler" --><!-- doxytag: inherits="SignalHandler" --><code>#include <<a class="el" href="signalController_8h-source.html">signalController.h</a>></code> +<p> +<p>Inheritance diagram for SigIntHandler: +<p><center><img src="classSigIntHandler.png" usemap="#SigIntHandler_map" border="0" alt=""></center> +<map name="SigIntHandler_map"> +<area href="classSignalHandler.html" alt="SignalHandler" shape="rect" coords="0,0,92,24"> +</map> +<a href="classSigIntHandler-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0"> +<tr><td></td></tr> +<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr> +<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classSigIntHandler.html#ac25b5ac048a76d4c0c26d5ad4c4273d">SigIntHandler</a> ()</td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classSigIntHandler.html#6a7d9a841a5c9b1f50041a8c37774063">handle</a> ()</td></tr> + +</table> +<hr><h2>Constructor & Destructor Documentation</h2> +<a class="anchor" name="ac25b5ac048a76d4c0c26d5ad4c4273d"></a><!-- doxytag: member="SigIntHandler::SigIntHandler" ref="ac25b5ac048a76d4c0c26d5ad4c4273d" args="()" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">SigIntHandler::SigIntHandler </td> + <td>(</td> + <td class="paramname"> </td> + <td> ) </td> + <td width="100%"><code> [inline]</code></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<hr><h2>Member Function Documentation</h2> +<a class="anchor" name="6a7d9a841a5c9b1f50041a8c37774063"></a><!-- doxytag: member="SigIntHandler::handle" ref="6a7d9a841a5c9b1f50041a8c37774063" args="()" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">int SigIntHandler::handle </td> + <td>(</td> + <td class="paramname"> </td> + <td> ) </td> + <td width="100%"><code> [virtual]</code></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +<p> +Reimplemented from <a class="el" href="classSignalHandler.html#e3dbda0de9b4aa4544390818a0d29e28">SignalHandler</a>. +</div> +</div><p> +<hr>The documentation for this class was generated from the following files:<ul> +<li><a class="el" href="signalController_8h-source.html">signalController.h</a><li><a class="el" href="signalController_8cpp.html">signalController.cpp</a></ul> +<hr size="1"><address style="align: right;"><small>Generated on Sun Oct 7 23:43:50 2007 for anytun by +<a href="http://www.doxygen.org/index.html"> +<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address> +</body> +</html> diff --git a/doc/html/classSigIntHandler.png b/doc/html/classSigIntHandler.png Binary files differnew file mode 100644 index 0000000..a11134b --- /dev/null +++ b/doc/html/classSigIntHandler.png diff --git a/doc/html/classSigQuitHandler-members.html b/doc/html/classSigQuitHandler-members.html new file mode 100644 index 0000000..0aa24bd --- /dev/null +++ b/doc/html/classSigQuitHandler-members.html @@ -0,0 +1,30 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> +<title>anytun: Member List</title> +<link href="doxygen.css" rel="stylesheet" type="text/css"> +<link href="tabs.css" rel="stylesheet" type="text/css"> +</head><body> +<!-- Generated by Doxygen 1.5.1 --> +<div class="tabs"> + <ul> + <li><a href="main.html"><span>Main Page</span></a></li> + <li><a href="namespaces.html"><span>Namespaces</span></a></li> + <li id="current"><a href="annotated.html"><span>Classes</span></a></li> + <li><a href="files.html"><span>Files</span></a></li> + </ul></div> +<div class="tabs"> + <ul> + <li><a href="annotated.html"><span>Class List</span></a></li> + <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> + <li><a href="functions.html"><span>Class Members</span></a></li> + </ul></div> +<h1>SigQuitHandler Member List</h1>This is the complete list of members for <a class="el" href="classSigQuitHandler.html">SigQuitHandler</a>, including all inherited members.<p><table> + <tr class="memlist"><td><a class="el" href="classSigQuitHandler.html#799f0272c91e7b1bf09411b80811b4dc">handle</a>()</td><td><a class="el" href="classSigQuitHandler.html">SigQuitHandler</a></td><td><code> [virtual]</code></td></tr> + <tr class="memlist"><td><a class="el" href="classSignalHandler.html#8f920534650e9cd3cdfbe3c3f8409b4d">SignalHandler</a>(int s)</td><td><a class="el" href="classSignalHandler.html">SignalHandler</a></td><td><code> [inline, protected]</code></td></tr> + <tr class="memlist"><td><a class="el" href="classSigQuitHandler.html#45885e5ddfa14f9bfc13c72de425e1c6">SigQuitHandler</a>()</td><td><a class="el" href="classSigQuitHandler.html">SigQuitHandler</a></td><td><code> [inline]</code></td></tr> + <tr class="memlist"><td><a class="el" href="classSignalHandler.html#a1109d38f8b43bde75420aaeecc1f2b7">~SignalHandler</a>()</td><td><a class="el" href="classSignalHandler.html">SignalHandler</a></td><td><code> [inline, virtual]</code></td></tr> +</table><hr size="1"><address style="align: right;"><small>Generated on Sun Oct 7 23:43:50 2007 for anytun by +<a href="http://www.doxygen.org/index.html"> +<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address> +</body> +</html> diff --git a/doc/html/classSigQuitHandler.html b/doc/html/classSigQuitHandler.html new file mode 100644 index 0000000..e191701 --- /dev/null +++ b/doc/html/classSigQuitHandler.html @@ -0,0 +1,84 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> +<title>anytun: SigQuitHandler Class Reference</title> +<link href="doxygen.css" rel="stylesheet" type="text/css"> +<link href="tabs.css" rel="stylesheet" type="text/css"> +</head><body> +<!-- Generated by Doxygen 1.5.1 --> +<div class="tabs"> + <ul> + <li><a href="main.html"><span>Main Page</span></a></li> + <li><a href="namespaces.html"><span>Namespaces</span></a></li> + <li id="current"><a href="annotated.html"><span>Classes</span></a></li> + <li><a href="files.html"><span>Files</span></a></li> + </ul></div> +<div class="tabs"> + <ul> + <li><a href="annotated.html"><span>Class List</span></a></li> + <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> + <li><a href="functions.html"><span>Class Members</span></a></li> + </ul></div> +<h1>SigQuitHandler Class Reference</h1><!-- doxytag: class="SigQuitHandler" --><!-- doxytag: inherits="SignalHandler" --><code>#include <<a class="el" href="signalController_8h-source.html">signalController.h</a>></code> +<p> +<p>Inheritance diagram for SigQuitHandler: +<p><center><img src="classSigQuitHandler.png" usemap="#SigQuitHandler_map" border="0" alt=""></center> +<map name="SigQuitHandler_map"> +<area href="classSignalHandler.html" alt="SignalHandler" shape="rect" coords="0,0,98,24"> +</map> +<a href="classSigQuitHandler-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0"> +<tr><td></td></tr> +<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr> +<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classSigQuitHandler.html#45885e5ddfa14f9bfc13c72de425e1c6">SigQuitHandler</a> ()</td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classSigQuitHandler.html#799f0272c91e7b1bf09411b80811b4dc">handle</a> ()</td></tr> + +</table> +<hr><h2>Constructor & Destructor Documentation</h2> +<a class="anchor" name="45885e5ddfa14f9bfc13c72de425e1c6"></a><!-- doxytag: member="SigQuitHandler::SigQuitHandler" ref="45885e5ddfa14f9bfc13c72de425e1c6" args="()" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">SigQuitHandler::SigQuitHandler </td> + <td>(</td> + <td class="paramname"> </td> + <td> ) </td> + <td width="100%"><code> [inline]</code></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<hr><h2>Member Function Documentation</h2> +<a class="anchor" name="799f0272c91e7b1bf09411b80811b4dc"></a><!-- doxytag: member="SigQuitHandler::handle" ref="799f0272c91e7b1bf09411b80811b4dc" args="()" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">int SigQuitHandler::handle </td> + <td>(</td> + <td class="paramname"> </td> + <td> ) </td> + <td width="100%"><code> [virtual]</code></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +<p> +Reimplemented from <a class="el" href="classSignalHandler.html#e3dbda0de9b4aa4544390818a0d29e28">SignalHandler</a>. +</div> +</div><p> +<hr>The documentation for this class was generated from the following files:<ul> +<li><a class="el" href="signalController_8h-source.html">signalController.h</a><li><a class="el" href="signalController_8cpp.html">signalController.cpp</a></ul> +<hr size="1"><address style="align: right;"><small>Generated on Sun Oct 7 23:43:50 2007 for anytun by +<a href="http://www.doxygen.org/index.html"> +<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address> +</body> +</html> diff --git a/doc/html/classSigQuitHandler.png b/doc/html/classSigQuitHandler.png Binary files differnew file mode 100644 index 0000000..d223fbd --- /dev/null +++ b/doc/html/classSigQuitHandler.png diff --git a/doc/html/classSigTermHandler-members.html b/doc/html/classSigTermHandler-members.html new file mode 100644 index 0000000..bbd5939 --- /dev/null +++ b/doc/html/classSigTermHandler-members.html @@ -0,0 +1,30 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> +<title>anytun: Member List</title> +<link href="doxygen.css" rel="stylesheet" type="text/css"> +<link href="tabs.css" rel="stylesheet" type="text/css"> +</head><body> +<!-- Generated by Doxygen 1.5.1 --> +<div class="tabs"> + <ul> + <li><a href="main.html"><span>Main Page</span></a></li> + <li><a href="namespaces.html"><span>Namespaces</span></a></li> + <li id="current"><a href="annotated.html"><span>Classes</span></a></li> + <li><a href="files.html"><span>Files</span></a></li> + </ul></div> +<div class="tabs"> + <ul> + <li><a href="annotated.html"><span>Class List</span></a></li> + <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> + <li><a href="functions.html"><span>Class Members</span></a></li> + </ul></div> +<h1>SigTermHandler Member List</h1>This is the complete list of members for <a class="el" href="classSigTermHandler.html">SigTermHandler</a>, including all inherited members.<p><table> + <tr class="memlist"><td><a class="el" href="classSigTermHandler.html#820fa7f8bb5ef6390133c33c919dbf6f">handle</a>()</td><td><a class="el" href="classSigTermHandler.html">SigTermHandler</a></td><td><code> [virtual]</code></td></tr> + <tr class="memlist"><td><a class="el" href="classSignalHandler.html#8f920534650e9cd3cdfbe3c3f8409b4d">SignalHandler</a>(int s)</td><td><a class="el" href="classSignalHandler.html">SignalHandler</a></td><td><code> [inline, protected]</code></td></tr> + <tr class="memlist"><td><a class="el" href="classSigTermHandler.html#8f6c3da13e1ec7fc8ef122bd0db457e4">SigTermHandler</a>()</td><td><a class="el" href="classSigTermHandler.html">SigTermHandler</a></td><td><code> [inline]</code></td></tr> + <tr class="memlist"><td><a class="el" href="classSignalHandler.html#a1109d38f8b43bde75420aaeecc1f2b7">~SignalHandler</a>()</td><td><a class="el" href="classSignalHandler.html">SignalHandler</a></td><td><code> [inline, virtual]</code></td></tr> +</table><hr size="1"><address style="align: right;"><small>Generated on Sun Oct 7 23:43:50 2007 for anytun by +<a href="http://www.doxygen.org/index.html"> +<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address> +</body> +</html> diff --git a/doc/html/classSigTermHandler.html b/doc/html/classSigTermHandler.html new file mode 100644 index 0000000..77f6fa9 --- /dev/null +++ b/doc/html/classSigTermHandler.html @@ -0,0 +1,84 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> +<title>anytun: SigTermHandler Class Reference</title> +<link href="doxygen.css" rel="stylesheet" type="text/css"> +<link href="tabs.css" rel="stylesheet" type="text/css"> +</head><body> +<!-- Generated by Doxygen 1.5.1 --> +<div class="tabs"> + <ul> + <li><a href="main.html"><span>Main Page</span></a></li> + <li><a href="namespaces.html"><span>Namespaces</span></a></li> + <li id="current"><a href="annotated.html"><span>Classes</span></a></li> + <li><a href="files.html"><span>Files</span></a></li> + </ul></div> +<div class="tabs"> + <ul> + <li><a href="annotated.html"><span>Class List</span></a></li> + <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> + <li><a href="functions.html"><span>Class Members</span></a></li> + </ul></div> +<h1>SigTermHandler Class Reference</h1><!-- doxytag: class="SigTermHandler" --><!-- doxytag: inherits="SignalHandler" --><code>#include <<a class="el" href="signalController_8h-source.html">signalController.h</a>></code> +<p> +<p>Inheritance diagram for SigTermHandler: +<p><center><img src="classSigTermHandler.png" usemap="#SigTermHandler_map" border="0" alt=""></center> +<map name="SigTermHandler_map"> +<area href="classSignalHandler.html" alt="SignalHandler" shape="rect" coords="0,0,103,24"> +</map> +<a href="classSigTermHandler-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0"> +<tr><td></td></tr> +<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr> +<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classSigTermHandler.html#8f6c3da13e1ec7fc8ef122bd0db457e4">SigTermHandler</a> ()</td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classSigTermHandler.html#820fa7f8bb5ef6390133c33c919dbf6f">handle</a> ()</td></tr> + +</table> +<hr><h2>Constructor & Destructor Documentation</h2> +<a class="anchor" name="8f6c3da13e1ec7fc8ef122bd0db457e4"></a><!-- doxytag: member="SigTermHandler::SigTermHandler" ref="8f6c3da13e1ec7fc8ef122bd0db457e4" args="()" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">SigTermHandler::SigTermHandler </td> + <td>(</td> + <td class="paramname"> </td> + <td> ) </td> + <td width="100%"><code> [inline]</code></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<hr><h2>Member Function Documentation</h2> +<a class="anchor" name="820fa7f8bb5ef6390133c33c919dbf6f"></a><!-- doxytag: member="SigTermHandler::handle" ref="820fa7f8bb5ef6390133c33c919dbf6f" args="()" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">int SigTermHandler::handle </td> + <td>(</td> + <td class="paramname"> </td> + <td> ) </td> + <td width="100%"><code> [virtual]</code></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +<p> +Reimplemented from <a class="el" href="classSignalHandler.html#e3dbda0de9b4aa4544390818a0d29e28">SignalHandler</a>. +</div> +</div><p> +<hr>The documentation for this class was generated from the following files:<ul> +<li><a class="el" href="signalController_8h-source.html">signalController.h</a><li><a class="el" href="signalController_8cpp.html">signalController.cpp</a></ul> +<hr size="1"><address style="align: right;"><small>Generated on Sun Oct 7 23:43:50 2007 for anytun by +<a href="http://www.doxygen.org/index.html"> +<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address> +</body> +</html> diff --git a/doc/html/classSigTermHandler.png b/doc/html/classSigTermHandler.png Binary files differnew file mode 100644 index 0000000..793b60c --- /dev/null +++ b/doc/html/classSigTermHandler.png diff --git a/doc/html/classSigUsr1Handler-members.html b/doc/html/classSigUsr1Handler-members.html new file mode 100644 index 0000000..9fd6576 --- /dev/null +++ b/doc/html/classSigUsr1Handler-members.html @@ -0,0 +1,30 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> +<title>anytun: Member List</title> +<link href="doxygen.css" rel="stylesheet" type="text/css"> +<link href="tabs.css" rel="stylesheet" type="text/css"> +</head><body> +<!-- Generated by Doxygen 1.5.1 --> +<div class="tabs"> + <ul> + <li><a href="main.html"><span>Main Page</span></a></li> + <li><a href="namespaces.html"><span>Namespaces</span></a></li> + <li id="current"><a href="annotated.html"><span>Classes</span></a></li> + <li><a href="files.html"><span>Files</span></a></li> + </ul></div> +<div class="tabs"> + <ul> + <li><a href="annotated.html"><span>Class List</span></a></li> + <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> + <li><a href="functions.html"><span>Class Members</span></a></li> + </ul></div> +<h1>SigUsr1Handler Member List</h1>This is the complete list of members for <a class="el" href="classSigUsr1Handler.html">SigUsr1Handler</a>, including all inherited members.<p><table> + <tr class="memlist"><td><a class="el" href="classSigUsr1Handler.html#578f3ea18e617689032fc165b6436695">handle</a>()</td><td><a class="el" href="classSigUsr1Handler.html">SigUsr1Handler</a></td><td><code> [virtual]</code></td></tr> + <tr class="memlist"><td><a class="el" href="classSignalHandler.html#8f920534650e9cd3cdfbe3c3f8409b4d">SignalHandler</a>(int s)</td><td><a class="el" href="classSignalHandler.html">SignalHandler</a></td><td><code> [inline, protected]</code></td></tr> + <tr class="memlist"><td><a class="el" href="classSigUsr1Handler.html#aabaa57b0f2bb331a85f95cf90dd121d">SigUsr1Handler</a>()</td><td><a class="el" href="classSigUsr1Handler.html">SigUsr1Handler</a></td><td><code> [inline]</code></td></tr> + <tr class="memlist"><td><a class="el" href="classSignalHandler.html#a1109d38f8b43bde75420aaeecc1f2b7">~SignalHandler</a>()</td><td><a class="el" href="classSignalHandler.html">SignalHandler</a></td><td><code> [inline, virtual]</code></td></tr> +</table><hr size="1"><address style="align: right;"><small>Generated on Sun Oct 7 23:43:50 2007 for anytun by +<a href="http://www.doxygen.org/index.html"> +<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address> +</body> +</html> diff --git a/doc/html/classSigUsr1Handler.html b/doc/html/classSigUsr1Handler.html new file mode 100644 index 0000000..2c7ea4f --- /dev/null +++ b/doc/html/classSigUsr1Handler.html @@ -0,0 +1,84 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> +<title>anytun: SigUsr1Handler Class Reference</title> +<link href="doxygen.css" rel="stylesheet" type="text/css"> +<link href="tabs.css" rel="stylesheet" type="text/css"> +</head><body> +<!-- Generated by Doxygen 1.5.1 --> +<div class="tabs"> + <ul> + <li><a href="main.html"><span>Main Page</span></a></li> + <li><a href="namespaces.html"><span>Namespaces</span></a></li> + <li id="current"><a href="annotated.html"><span>Classes</span></a></li> + <li><a href="files.html"><span>Files</span></a></li> + </ul></div> +<div class="tabs"> + <ul> + <li><a href="annotated.html"><span>Class List</span></a></li> + <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> + <li><a href="functions.html"><span>Class Members</span></a></li> + </ul></div> +<h1>SigUsr1Handler Class Reference</h1><!-- doxytag: class="SigUsr1Handler" --><!-- doxytag: inherits="SignalHandler" --><code>#include <<a class="el" href="signalController_8h-source.html">signalController.h</a>></code> +<p> +<p>Inheritance diagram for SigUsr1Handler: +<p><center><img src="classSigUsr1Handler.png" usemap="#SigUsr1Handler_map" border="0" alt=""></center> +<map name="SigUsr1Handler_map"> +<area href="classSignalHandler.html" alt="SignalHandler" shape="rect" coords="0,0,101,24"> +</map> +<a href="classSigUsr1Handler-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0"> +<tr><td></td></tr> +<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr> +<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classSigUsr1Handler.html#aabaa57b0f2bb331a85f95cf90dd121d">SigUsr1Handler</a> ()</td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classSigUsr1Handler.html#578f3ea18e617689032fc165b6436695">handle</a> ()</td></tr> + +</table> +<hr><h2>Constructor & Destructor Documentation</h2> +<a class="anchor" name="aabaa57b0f2bb331a85f95cf90dd121d"></a><!-- doxytag: member="SigUsr1Handler::SigUsr1Handler" ref="aabaa57b0f2bb331a85f95cf90dd121d" args="()" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">SigUsr1Handler::SigUsr1Handler </td> + <td>(</td> + <td class="paramname"> </td> + <td> ) </td> + <td width="100%"><code> [inline]</code></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<hr><h2>Member Function Documentation</h2> +<a class="anchor" name="578f3ea18e617689032fc165b6436695"></a><!-- doxytag: member="SigUsr1Handler::handle" ref="578f3ea18e617689032fc165b6436695" args="()" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">int SigUsr1Handler::handle </td> + <td>(</td> + <td class="paramname"> </td> + <td> ) </td> + <td width="100%"><code> [virtual]</code></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +<p> +Reimplemented from <a class="el" href="classSignalHandler.html#e3dbda0de9b4aa4544390818a0d29e28">SignalHandler</a>. +</div> +</div><p> +<hr>The documentation for this class was generated from the following files:<ul> +<li><a class="el" href="signalController_8h-source.html">signalController.h</a><li><a class="el" href="signalController_8cpp.html">signalController.cpp</a></ul> +<hr size="1"><address style="align: right;"><small>Generated on Sun Oct 7 23:43:50 2007 for anytun by +<a href="http://www.doxygen.org/index.html"> +<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address> +</body> +</html> diff --git a/doc/html/classSigUsr1Handler.png b/doc/html/classSigUsr1Handler.png Binary files differnew file mode 100644 index 0000000..e77ee94 --- /dev/null +++ b/doc/html/classSigUsr1Handler.png diff --git a/doc/html/classSigUsr2Handler-members.html b/doc/html/classSigUsr2Handler-members.html new file mode 100644 index 0000000..4ea2b28 --- /dev/null +++ b/doc/html/classSigUsr2Handler-members.html @@ -0,0 +1,30 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> +<title>anytun: Member List</title> +<link href="doxygen.css" rel="stylesheet" type="text/css"> +<link href="tabs.css" rel="stylesheet" type="text/css"> +</head><body> +<!-- Generated by Doxygen 1.5.1 --> +<div class="tabs"> + <ul> + <li><a href="main.html"><span>Main Page</span></a></li> + <li><a href="namespaces.html"><span>Namespaces</span></a></li> + <li id="current"><a href="annotated.html"><span>Classes</span></a></li> + <li><a href="files.html"><span>Files</span></a></li> + </ul></div> +<div class="tabs"> + <ul> + <li><a href="annotated.html"><span>Class List</span></a></li> + <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> + <li><a href="functions.html"><span>Class Members</span></a></li> + </ul></div> +<h1>SigUsr2Handler Member List</h1>This is the complete list of members for <a class="el" href="classSigUsr2Handler.html">SigUsr2Handler</a>, including all inherited members.<p><table> + <tr class="memlist"><td><a class="el" href="classSigUsr2Handler.html#825a621f1ff10556bb8b289703273e7d">handle</a>()</td><td><a class="el" href="classSigUsr2Handler.html">SigUsr2Handler</a></td><td><code> [virtual]</code></td></tr> + <tr class="memlist"><td><a class="el" href="classSignalHandler.html#8f920534650e9cd3cdfbe3c3f8409b4d">SignalHandler</a>(int s)</td><td><a class="el" href="classSignalHandler.html">SignalHandler</a></td><td><code> [inline, protected]</code></td></tr> + <tr class="memlist"><td><a class="el" href="classSigUsr2Handler.html#30478acdc28555b412d80f1419af622a">SigUsr2Handler</a>()</td><td><a class="el" href="classSigUsr2Handler.html">SigUsr2Handler</a></td><td><code> [inline]</code></td></tr> + <tr class="memlist"><td><a class="el" href="classSignalHandler.html#a1109d38f8b43bde75420aaeecc1f2b7">~SignalHandler</a>()</td><td><a class="el" href="classSignalHandler.html">SignalHandler</a></td><td><code> [inline, virtual]</code></td></tr> +</table><hr size="1"><address style="align: right;"><small>Generated on Sun Oct 7 23:43:50 2007 for anytun by +<a href="http://www.doxygen.org/index.html"> +<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address> +</body> +</html> diff --git a/doc/html/classSigUsr2Handler.html b/doc/html/classSigUsr2Handler.html new file mode 100644 index 0000000..608d31b --- /dev/null +++ b/doc/html/classSigUsr2Handler.html @@ -0,0 +1,84 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> +<title>anytun: SigUsr2Handler Class Reference</title> +<link href="doxygen.css" rel="stylesheet" type="text/css"> +<link href="tabs.css" rel="stylesheet" type="text/css"> +</head><body> +<!-- Generated by Doxygen 1.5.1 --> +<div class="tabs"> + <ul> + <li><a href="main.html"><span>Main Page</span></a></li> + <li><a href="namespaces.html"><span>Namespaces</span></a></li> + <li id="current"><a href="annotated.html"><span>Classes</span></a></li> + <li><a href="files.html"><span>Files</span></a></li> + </ul></div> +<div class="tabs"> + <ul> + <li><a href="annotated.html"><span>Class List</span></a></li> + <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> + <li><a href="functions.html"><span>Class Members</span></a></li> + </ul></div> +<h1>SigUsr2Handler Class Reference</h1><!-- doxytag: class="SigUsr2Handler" --><!-- doxytag: inherits="SignalHandler" --><code>#include <<a class="el" href="signalController_8h-source.html">signalController.h</a>></code> +<p> +<p>Inheritance diagram for SigUsr2Handler: +<p><center><img src="classSigUsr2Handler.png" usemap="#SigUsr2Handler_map" border="0" alt=""></center> +<map name="SigUsr2Handler_map"> +<area href="classSignalHandler.html" alt="SignalHandler" shape="rect" coords="0,0,101,24"> +</map> +<a href="classSigUsr2Handler-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0"> +<tr><td></td></tr> +<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr> +<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classSigUsr2Handler.html#30478acdc28555b412d80f1419af622a">SigUsr2Handler</a> ()</td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classSigUsr2Handler.html#825a621f1ff10556bb8b289703273e7d">handle</a> ()</td></tr> + +</table> +<hr><h2>Constructor & Destructor Documentation</h2> +<a class="anchor" name="30478acdc28555b412d80f1419af622a"></a><!-- doxytag: member="SigUsr2Handler::SigUsr2Handler" ref="30478acdc28555b412d80f1419af622a" args="()" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">SigUsr2Handler::SigUsr2Handler </td> + <td>(</td> + <td class="paramname"> </td> + <td> ) </td> + <td width="100%"><code> [inline]</code></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<hr><h2>Member Function Documentation</h2> +<a class="anchor" name="825a621f1ff10556bb8b289703273e7d"></a><!-- doxytag: member="SigUsr2Handler::handle" ref="825a621f1ff10556bb8b289703273e7d" args="()" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">int SigUsr2Handler::handle </td> + <td>(</td> + <td class="paramname"> </td> + <td> ) </td> + <td width="100%"><code> [virtual]</code></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +<p> +Reimplemented from <a class="el" href="classSignalHandler.html#e3dbda0de9b4aa4544390818a0d29e28">SignalHandler</a>. +</div> +</div><p> +<hr>The documentation for this class was generated from the following files:<ul> +<li><a class="el" href="signalController_8h-source.html">signalController.h</a><li><a class="el" href="signalController_8cpp.html">signalController.cpp</a></ul> +<hr size="1"><address style="align: right;"><small>Generated on Sun Oct 7 23:43:50 2007 for anytun by +<a href="http://www.doxygen.org/index.html"> +<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address> +</body> +</html> diff --git a/doc/html/classSigUsr2Handler.png b/doc/html/classSigUsr2Handler.png Binary files differnew file mode 100644 index 0000000..8f981c5 --- /dev/null +++ b/doc/html/classSigUsr2Handler.png diff --git a/doc/html/classSignalController-members.html b/doc/html/classSignalController-members.html new file mode 100644 index 0000000..86b4933 --- /dev/null +++ b/doc/html/classSignalController-members.html @@ -0,0 +1,39 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> +<title>anytun: Member List</title> +<link href="doxygen.css" rel="stylesheet" type="text/css"> +<link href="tabs.css" rel="stylesheet" type="text/css"> +</head><body> +<!-- Generated by Doxygen 1.5.1 --> +<div class="tabs"> + <ul> + <li><a href="main.html"><span>Main Page</span></a></li> + <li><a href="namespaces.html"><span>Namespaces</span></a></li> + <li id="current"><a href="annotated.html"><span>Classes</span></a></li> + <li><a href="files.html"><span>Files</span></a></li> + </ul></div> +<div class="tabs"> + <ul> + <li><a href="annotated.html"><span>Class List</span></a></li> + <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> + <li><a href="functions.html"><span>Class Members</span></a></li> + </ul></div> +<h1>SignalController Member List</h1>This is the complete list of members for <a class="el" href="classSignalController.html">SignalController</a>, including all inherited members.<p><table> + <tr class="memlist"><td><a class="el" href="classSignalController.html#5df4d6ebe373117a9bf072035e16997f">handle</a>(void *s)</td><td><a class="el" href="classSignalController.html">SignalController</a></td><td><code> [static]</code></td></tr> + <tr class="memlist"><td><a class="el" href="classSignalController.html#f76d2f570d55019dd15921eba71efe0b">handler</a></td><td><a class="el" href="classSignalController.html">SignalController</a></td><td><code> [private]</code></td></tr> + <tr class="memlist"><td><a class="el" href="classSignalController.html#659eb661ef3d40565d739a50bbe4b554">HandlerMap</a> typedef</td><td><a class="el" href="classSignalController.html">SignalController</a></td><td><code> [private]</code></td></tr> + <tr class="memlist"><td><a class="el" href="classSignalController.html#0d66065172b1c7ac0d55757d178e6911">init</a>()</td><td><a class="el" href="classSignalController.html">SignalController</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classSignalController.html#7bfe78f3e8c5d40ddd51c313d30cf6a2">operator=</a>(const SignalController &s)</td><td><a class="el" href="classSignalController.html">SignalController</a></td><td><code> [private]</code></td></tr> + <tr class="memlist"><td><a class="el" href="classSignalController.html#0f7657b70cb2e8457539d9f844a93619">run</a>()</td><td><a class="el" href="classSignalController.html">SignalController</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classSignalController.html#d057c96011d444cce15e2a398a0a8bbf">SignalController</a>()</td><td><a class="el" href="classSignalController.html">SignalController</a></td><td><code> [inline]</code></td></tr> + <tr class="memlist"><td><a class="el" href="classSignalController.html#31af143ea1219cd000abe91aeccc84bc">SignalController</a>(const SignalController &s)</td><td><a class="el" href="classSignalController.html">SignalController</a></td><td><code> [private]</code></td></tr> + <tr class="memlist"><td><a class="el" href="classSignalController.html#543fa6d49a071df92cdfcc7bc96de161">sigQueue</a></td><td><a class="el" href="classSignalController.html">SignalController</a></td><td><code> [private]</code></td></tr> + <tr class="memlist"><td><a class="el" href="classSignalController.html#6b7853059aa422fac6c2cc77e00d28ee">sigQueueMutex</a></td><td><a class="el" href="classSignalController.html">SignalController</a></td><td><code> [private]</code></td></tr> + <tr class="memlist"><td><a class="el" href="classSignalController.html#4dfee82061341e1af5ca827333c8bd10">sigQueueSem</a></td><td><a class="el" href="classSignalController.html">SignalController</a></td><td><code> [private]</code></td></tr> + <tr class="memlist"><td><a class="el" href="classSignalController.html#79c5fbfa55aa9edc2a45c5ed3197b782">thread</a></td><td><a class="el" href="classSignalController.html">SignalController</a></td><td><code> [private]</code></td></tr> + <tr class="memlist"><td><a class="el" href="classSignalController.html#e8d687dc4fcc75bffff50e8cda37c7aa">~SignalController</a>()</td><td><a class="el" href="classSignalController.html">SignalController</a></td><td></td></tr> +</table><hr size="1"><address style="align: right;"><small>Generated on Sun Oct 7 23:43:50 2007 for anytun by +<a href="http://www.doxygen.org/index.html"> +<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address> +</body> +</html> diff --git a/doc/html/classSignalController.html b/doc/html/classSignalController.html new file mode 100644 index 0000000..c7e4db8 --- /dev/null +++ b/doc/html/classSignalController.html @@ -0,0 +1,293 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> +<title>anytun: SignalController Class Reference</title> +<link href="doxygen.css" rel="stylesheet" type="text/css"> +<link href="tabs.css" rel="stylesheet" type="text/css"> +</head><body> +<!-- Generated by Doxygen 1.5.1 --> +<div class="tabs"> + <ul> + <li><a href="main.html"><span>Main Page</span></a></li> + <li><a href="namespaces.html"><span>Namespaces</span></a></li> + <li id="current"><a href="annotated.html"><span>Classes</span></a></li> + <li><a href="files.html"><span>Files</span></a></li> + </ul></div> +<div class="tabs"> + <ul> + <li><a href="annotated.html"><span>Class List</span></a></li> + <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> + <li><a href="functions.html"><span>Class Members</span></a></li> + </ul></div> +<h1>SignalController Class Reference</h1><!-- doxytag: class="SignalController" --><code>#include <<a class="el" href="signalController_8h-source.html">signalController.h</a>></code> +<p> +<a href="classSignalController-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0"> +<tr><td></td></tr> +<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr> +<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classSignalController.html#d057c96011d444cce15e2a398a0a8bbf">SignalController</a> ()</td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classSignalController.html#e8d687dc4fcc75bffff50e8cda37c7aa">~SignalController</a> ()</td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classSignalController.html#0d66065172b1c7ac0d55757d178e6911">init</a> ()</td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classSignalController.html#0f7657b70cb2e8457539d9f844a93619">run</a> ()</td></tr> + +<tr><td colspan="2"><br><h2>Static Public Member Functions</h2></td></tr> +<tr><td class="memItemLeft" nowrap align="right" valign="top">static void * </td><td class="memItemRight" valign="bottom"><a class="el" href="classSignalController.html#5df4d6ebe373117a9bf072035e16997f">handle</a> (void *s)</td></tr> + +<tr><td colspan="2"><br><h2>Private Types</h2></td></tr> +<tr><td class="memItemLeft" nowrap align="right" valign="top">typedef std::map< int, <a class="el" href="classSignalHandler.html">SignalHandler</a> * > </td><td class="memItemRight" valign="bottom"><a class="el" href="classSignalController.html#659eb661ef3d40565d739a50bbe4b554">HandlerMap</a></td></tr> + +<tr><td colspan="2"><br><h2>Private Member Functions</h2></td></tr> +<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classSignalController.html#31af143ea1219cd000abe91aeccc84bc">SignalController</a> (const <a class="el" href="classSignalController.html">SignalController</a> &s)</td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classSignalController.html#7bfe78f3e8c5d40ddd51c313d30cf6a2">operator=</a> (const <a class="el" href="classSignalController.html">SignalController</a> &s)</td></tr> + +<tr><td colspan="2"><br><h2>Private Attributes</h2></td></tr> +<tr><td class="memItemLeft" nowrap align="right" valign="top">std::queue< int > </td><td class="memItemRight" valign="bottom"><a class="el" href="classSignalController.html#543fa6d49a071df92cdfcc7bc96de161">sigQueue</a></td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classMutex.html">Mutex</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classSignalController.html#6b7853059aa422fac6c2cc77e00d28ee">sigQueueMutex</a></td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classSemaphore.html">Semaphore</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classSignalController.html#4dfee82061341e1af5ca827333c8bd10">sigQueueSem</a></td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top">pthread_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classSignalController.html#79c5fbfa55aa9edc2a45c5ed3197b782">thread</a></td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classSignalController.html#659eb661ef3d40565d739a50bbe4b554">HandlerMap</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classSignalController.html#f76d2f570d55019dd15921eba71efe0b">handler</a></td></tr> + +</table> +<hr><h2>Member Typedef Documentation</h2> +<a class="anchor" name="659eb661ef3d40565d739a50bbe4b554"></a><!-- doxytag: member="SignalController::HandlerMap" ref="659eb661ef3d40565d739a50bbe4b554" args="" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">typedef std::map<int, <a class="el" href="classSignalHandler.html">SignalHandler</a>*> <a class="el" href="classSignalController.html#659eb661ef3d40565d739a50bbe4b554">SignalController::HandlerMap</a><code> [private]</code> </td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<hr><h2>Constructor & Destructor Documentation</h2> +<a class="anchor" name="d057c96011d444cce15e2a398a0a8bbf"></a><!-- doxytag: member="SignalController::SignalController" ref="d057c96011d444cce15e2a398a0a8bbf" args="()" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">SignalController::SignalController </td> + <td>(</td> + <td class="paramname"> </td> + <td> ) </td> + <td width="100%"><code> [inline]</code></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<a class="anchor" name="e8d687dc4fcc75bffff50e8cda37c7aa"></a><!-- doxytag: member="SignalController::~SignalController" ref="e8d687dc4fcc75bffff50e8cda37c7aa" args="()" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">SignalController::~SignalController </td> + <td>(</td> + <td class="paramname"> </td> + <td> ) </td> + <td width="100%"></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<a class="anchor" name="31af143ea1219cd000abe91aeccc84bc"></a><!-- doxytag: member="SignalController::SignalController" ref="31af143ea1219cd000abe91aeccc84bc" args="(const SignalController &s)" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">SignalController::SignalController </td> + <td>(</td> + <td class="paramtype">const <a class="el" href="classSignalController.html">SignalController</a> & </td> + <td class="paramname"> <em>s</em> </td> + <td> ) </td> + <td width="100%"><code> [private]</code></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<hr><h2>Member Function Documentation</h2> +<a class="anchor" name="5df4d6ebe373117a9bf072035e16997f"></a><!-- doxytag: member="SignalController::handle" ref="5df4d6ebe373117a9bf072035e16997f" args="(void *s)" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">void * SignalController::handle </td> + <td>(</td> + <td class="paramtype">void * </td> + <td class="paramname"> <em>s</em> </td> + <td> ) </td> + <td width="100%"><code> [static]</code></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<a class="anchor" name="0d66065172b1c7ac0d55757d178e6911"></a><!-- doxytag: member="SignalController::init" ref="0d66065172b1c7ac0d55757d178e6911" args="()" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">void SignalController::init </td> + <td>(</td> + <td class="paramname"> </td> + <td> ) </td> + <td width="100%"></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<a class="anchor" name="0f7657b70cb2e8457539d9f844a93619"></a><!-- doxytag: member="SignalController::run" ref="0f7657b70cb2e8457539d9f844a93619" args="()" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">int SignalController::run </td> + <td>(</td> + <td class="paramname"> </td> + <td> ) </td> + <td width="100%"></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<a class="anchor" name="7bfe78f3e8c5d40ddd51c313d30cf6a2"></a><!-- doxytag: member="SignalController::operator=" ref="7bfe78f3e8c5d40ddd51c313d30cf6a2" args="(const SignalController &s)" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">void SignalController::operator= </td> + <td>(</td> + <td class="paramtype">const <a class="el" href="classSignalController.html">SignalController</a> & </td> + <td class="paramname"> <em>s</em> </td> + <td> ) </td> + <td width="100%"><code> [private]</code></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<hr><h2>Member Data Documentation</h2> +<a class="anchor" name="543fa6d49a071df92cdfcc7bc96de161"></a><!-- doxytag: member="SignalController::sigQueue" ref="543fa6d49a071df92cdfcc7bc96de161" args="" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">std::queue<int> <a class="el" href="classSignalController.html#543fa6d49a071df92cdfcc7bc96de161">SignalController::sigQueue</a><code> [private]</code> </td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<a class="anchor" name="6b7853059aa422fac6c2cc77e00d28ee"></a><!-- doxytag: member="SignalController::sigQueueMutex" ref="6b7853059aa422fac6c2cc77e00d28ee" args="" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname"><a class="el" href="classMutex.html">Mutex</a> <a class="el" href="classSignalController.html#6b7853059aa422fac6c2cc77e00d28ee">SignalController::sigQueueMutex</a><code> [private]</code> </td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<a class="anchor" name="4dfee82061341e1af5ca827333c8bd10"></a><!-- doxytag: member="SignalController::sigQueueSem" ref="4dfee82061341e1af5ca827333c8bd10" args="" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname"><a class="el" href="classSemaphore.html">Semaphore</a> <a class="el" href="classSignalController.html#4dfee82061341e1af5ca827333c8bd10">SignalController::sigQueueSem</a><code> [private]</code> </td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<a class="anchor" name="79c5fbfa55aa9edc2a45c5ed3197b782"></a><!-- doxytag: member="SignalController::thread" ref="79c5fbfa55aa9edc2a45c5ed3197b782" args="" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">pthread_t <a class="el" href="classSignalController.html#79c5fbfa55aa9edc2a45c5ed3197b782">SignalController::thread</a><code> [private]</code> </td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<a class="anchor" name="f76d2f570d55019dd15921eba71efe0b"></a><!-- doxytag: member="SignalController::handler" ref="f76d2f570d55019dd15921eba71efe0b" args="" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname"><a class="el" href="classSignalController.html#659eb661ef3d40565d739a50bbe4b554">HandlerMap</a> <a class="el" href="classSignalController.html#f76d2f570d55019dd15921eba71efe0b">SignalController::handler</a><code> [private]</code> </td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<hr>The documentation for this class was generated from the following files:<ul> +<li><a class="el" href="signalController_8h-source.html">signalController.h</a><li><a class="el" href="signalController_8cpp.html">signalController.cpp</a></ul> +<hr size="1"><address style="align: right;"><small>Generated on Sun Oct 7 23:43:50 2007 for anytun by +<a href="http://www.doxygen.org/index.html"> +<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address> +</body> +</html> diff --git a/doc/html/classSignalHandler-members.html b/doc/html/classSignalHandler-members.html new file mode 100644 index 0000000..2dd1b94 --- /dev/null +++ b/doc/html/classSignalHandler-members.html @@ -0,0 +1,31 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> +<title>anytun: Member List</title> +<link href="doxygen.css" rel="stylesheet" type="text/css"> +<link href="tabs.css" rel="stylesheet" type="text/css"> +</head><body> +<!-- Generated by Doxygen 1.5.1 --> +<div class="tabs"> + <ul> + <li><a href="main.html"><span>Main Page</span></a></li> + <li><a href="namespaces.html"><span>Namespaces</span></a></li> + <li id="current"><a href="annotated.html"><span>Classes</span></a></li> + <li><a href="files.html"><span>Files</span></a></li> + </ul></div> +<div class="tabs"> + <ul> + <li><a href="annotated.html"><span>Class List</span></a></li> + <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> + <li><a href="functions.html"><span>Class Members</span></a></li> + </ul></div> +<h1>SignalHandler Member List</h1>This is the complete list of members for <a class="el" href="classSignalHandler.html">SignalHandler</a>, including all inherited members.<p><table> + <tr class="memlist"><td><a class="el" href="classSignalHandler.html#e3dbda0de9b4aa4544390818a0d29e28">handle</a>()</td><td><a class="el" href="classSignalHandler.html">SignalHandler</a></td><td><code> [inline, virtual]</code></td></tr> + <tr class="memlist"><td><a class="el" href="classSignalHandler.html#9b5c65d0274d45f20c9ed28852dd66fa">SignalController</a> class</td><td><a class="el" href="classSignalHandler.html">SignalHandler</a></td><td><code> [friend]</code></td></tr> + <tr class="memlist"><td><a class="el" href="classSignalHandler.html#8f920534650e9cd3cdfbe3c3f8409b4d">SignalHandler</a>(int s)</td><td><a class="el" href="classSignalHandler.html">SignalHandler</a></td><td><code> [inline, protected]</code></td></tr> + <tr class="memlist"><td><a class="el" href="classSignalHandler.html#0585573af0ea6bebf37bda54e5c3c39d">sigNum</a></td><td><a class="el" href="classSignalHandler.html">SignalHandler</a></td><td><code> [private]</code></td></tr> + <tr class="memlist"><td><a class="el" href="classSignalHandler.html#a1109d38f8b43bde75420aaeecc1f2b7">~SignalHandler</a>()</td><td><a class="el" href="classSignalHandler.html">SignalHandler</a></td><td><code> [inline, virtual]</code></td></tr> +</table><hr size="1"><address style="align: right;"><small>Generated on Sun Oct 7 23:43:50 2007 for anytun by +<a href="http://www.doxygen.org/index.html"> +<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address> +</body> +</html> diff --git a/doc/html/classSignalHandler.html b/doc/html/classSignalHandler.html new file mode 100644 index 0000000..aa149e3 --- /dev/null +++ b/doc/html/classSignalHandler.html @@ -0,0 +1,150 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> +<title>anytun: SignalHandler Class Reference</title> +<link href="doxygen.css" rel="stylesheet" type="text/css"> +<link href="tabs.css" rel="stylesheet" type="text/css"> +</head><body> +<!-- Generated by Doxygen 1.5.1 --> +<div class="tabs"> + <ul> + <li><a href="main.html"><span>Main Page</span></a></li> + <li><a href="namespaces.html"><span>Namespaces</span></a></li> + <li id="current"><a href="annotated.html"><span>Classes</span></a></li> + <li><a href="files.html"><span>Files</span></a></li> + </ul></div> +<div class="tabs"> + <ul> + <li><a href="annotated.html"><span>Class List</span></a></li> + <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> + <li><a href="functions.html"><span>Class Members</span></a></li> + </ul></div> +<h1>SignalHandler Class Reference</h1><!-- doxytag: class="SignalHandler" --><code>#include <<a class="el" href="signalController_8h-source.html">signalController.h</a>></code> +<p> +<p>Inheritance diagram for SignalHandler: +<p><center><img src="classSignalHandler.png" usemap="#SignalHandler_map" border="0" alt=""></center> +<map name="SignalHandler_map"> +<area href="classSigHupHandler.html" alt="SigHupHandler" shape="rect" coords="0,56,103,80"> +<area href="classSigIntHandler.html" alt="SigIntHandler" shape="rect" coords="113,56,216,80"> +<area href="classSigQuitHandler.html" alt="SigQuitHandler" shape="rect" coords="226,56,329,80"> +<area href="classSigTermHandler.html" alt="SigTermHandler" shape="rect" coords="339,56,442,80"> +<area href="classSigUsr1Handler.html" alt="SigUsr1Handler" shape="rect" coords="452,56,555,80"> +<area href="classSigUsr2Handler.html" alt="SigUsr2Handler" shape="rect" coords="565,56,668,80"> +</map> +<a href="classSignalHandler-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0"> +<tr><td></td></tr> +<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr> +<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="classSignalHandler.html#a1109d38f8b43bde75420aaeecc1f2b7">~SignalHandler</a> ()</td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual int </td><td class="memItemRight" valign="bottom"><a class="el" href="classSignalHandler.html#e3dbda0de9b4aa4544390818a0d29e28">handle</a> ()</td></tr> + +<tr><td colspan="2"><br><h2>Protected Member Functions</h2></td></tr> +<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classSignalHandler.html#8f920534650e9cd3cdfbe3c3f8409b4d">SignalHandler</a> (int s)</td></tr> + +<tr><td colspan="2"><br><h2>Private Attributes</h2></td></tr> +<tr><td class="memItemLeft" nowrap align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classSignalHandler.html#0585573af0ea6bebf37bda54e5c3c39d">sigNum</a></td></tr> + +<tr><td colspan="2"><br><h2>Friends</h2></td></tr> +<tr><td class="memItemLeft" nowrap align="right" valign="top">class </td><td class="memItemRight" valign="bottom"><a class="el" href="classSignalHandler.html#9b5c65d0274d45f20c9ed28852dd66fa">SignalController</a></td></tr> + +</table> +<hr><h2>Constructor & Destructor Documentation</h2> +<a class="anchor" name="a1109d38f8b43bde75420aaeecc1f2b7"></a><!-- doxytag: member="SignalHandler::~SignalHandler" ref="a1109d38f8b43bde75420aaeecc1f2b7" args="()" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">virtual SignalHandler::~SignalHandler </td> + <td>(</td> + <td class="paramname"> </td> + <td> ) </td> + <td width="100%"><code> [inline, virtual]</code></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<a class="anchor" name="8f920534650e9cd3cdfbe3c3f8409b4d"></a><!-- doxytag: member="SignalHandler::SignalHandler" ref="8f920534650e9cd3cdfbe3c3f8409b4d" args="(int s)" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">SignalHandler::SignalHandler </td> + <td>(</td> + <td class="paramtype">int </td> + <td class="paramname"> <em>s</em> </td> + <td> ) </td> + <td width="100%"><code> [inline, protected]</code></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<hr><h2>Member Function Documentation</h2> +<a class="anchor" name="e3dbda0de9b4aa4544390818a0d29e28"></a><!-- doxytag: member="SignalHandler::handle" ref="e3dbda0de9b4aa4544390818a0d29e28" args="()" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">virtual int SignalHandler::handle </td> + <td>(</td> + <td class="paramname"> </td> + <td> ) </td> + <td width="100%"><code> [inline, virtual]</code></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +<p> +Reimplemented in <a class="el" href="classSigIntHandler.html#6a7d9a841a5c9b1f50041a8c37774063">SigIntHandler</a>, <a class="el" href="classSigQuitHandler.html#799f0272c91e7b1bf09411b80811b4dc">SigQuitHandler</a>, <a class="el" href="classSigHupHandler.html#84734b7f79663badeedb720896302d4e">SigHupHandler</a>, <a class="el" href="classSigUsr1Handler.html#578f3ea18e617689032fc165b6436695">SigUsr1Handler</a>, <a class="el" href="classSigUsr2Handler.html#825a621f1ff10556bb8b289703273e7d">SigUsr2Handler</a>, and <a class="el" href="classSigTermHandler.html#820fa7f8bb5ef6390133c33c919dbf6f">SigTermHandler</a>. +</div> +</div><p> +<hr><h2>Friends And Related Function Documentation</h2> +<a class="anchor" name="9b5c65d0274d45f20c9ed28852dd66fa"></a><!-- doxytag: member="SignalHandler::SignalController" ref="9b5c65d0274d45f20c9ed28852dd66fa" args="" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">friend class <a class="el" href="classSignalController.html">SignalController</a><code> [friend]</code> </td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<hr><h2>Member Data Documentation</h2> +<a class="anchor" name="0585573af0ea6bebf37bda54e5c3c39d"></a><!-- doxytag: member="SignalHandler::sigNum" ref="0585573af0ea6bebf37bda54e5c3c39d" args="" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">int <a class="el" href="classSignalHandler.html#0585573af0ea6bebf37bda54e5c3c39d">SignalHandler::sigNum</a><code> [private]</code> </td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<hr>The documentation for this class was generated from the following file:<ul> +<li><a class="el" href="signalController_8h-source.html">signalController.h</a></ul> +<hr size="1"><address style="align: right;"><small>Generated on Sun Oct 7 23:43:50 2007 for anytun by +<a href="http://www.doxygen.org/index.html"> +<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address> +</body> +</html> diff --git a/doc/html/classSignalHandler.png b/doc/html/classSignalHandler.png Binary files differnew file mode 100644 index 0000000..8ab57ec --- /dev/null +++ b/doc/html/classSignalHandler.png diff --git a/doc/html/classSocket-members.html b/doc/html/classSocket-members.html new file mode 100644 index 0000000..4796866 --- /dev/null +++ b/doc/html/classSocket-members.html @@ -0,0 +1,38 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> +<title>anytun: Member List</title> +<link href="doxygen.css" rel="stylesheet" type="text/css"> +<link href="tabs.css" rel="stylesheet" type="text/css"> +</head><body> +<!-- Generated by Doxygen 1.5.1 --> +<div class="tabs"> + <ul> + <li><a href="main.html"><span>Main Page</span></a></li> + <li><a href="namespaces.html"><span>Namespaces</span></a></li> + <li id="current"><a href="annotated.html"><span>Classes</span></a></li> + <li><a href="files.html"><span>Files</span></a></li> + </ul></div> +<div class="tabs"> + <ul> + <li><a href="annotated.html"><span>Class List</span></a></li> + <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> + <li><a href="functions.html"><span>Class Members</span></a></li> + </ul></div> +<h1>Socket Member List</h1>This is the complete list of members for <a class="el" href="classSocket.html">Socket</a>, including all inherited members.<p><table> + <tr class="memlist"><td><a class="el" href="classSocket.html#c5060aeb501044044351d5a85b3fc95f">cleanUp</a>()</td><td><a class="el" href="classSocket.html">Socket</a></td><td><code> [static]</code></td></tr> + <tr class="memlist"><td><a class="el" href="classSocket.html#0fca07bdfa97874fba1a17995ed7cda3">getLocalAddress</a>()</td><td><a class="el" href="classSocket.html">Socket</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classSocket.html#e01143b667d69483a2f53d0f4ce7eeed">getLocalPort</a>()</td><td><a class="el" href="classSocket.html">Socket</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classSocket.html#1ef8f4c222c32756c8b1537323702df8">operator=</a>(const Socket &sock)</td><td><a class="el" href="classSocket.html">Socket</a></td><td><code> [private]</code></td></tr> + <tr class="memlist"><td><a class="el" href="classSocket.html#982c63b25c5b756321a74074a275adbc">resolveService</a>(const string &service, const string &protocol="tcp")</td><td><a class="el" href="classSocket.html">Socket</a></td><td><code> [static]</code></td></tr> + <tr class="memlist"><td><a class="el" href="classSocket.html#a6b986410bc2e606ba27d01fa7cb8836">setLocalAddressAndPort</a>(const string &localAddress, unsigned short localPort=0)</td><td><a class="el" href="classSocket.html">Socket</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classSocket.html#773fe4a35146002de76952e16fdebcfa">setLocalPort</a>(unsigned short localPort)</td><td><a class="el" href="classSocket.html">Socket</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classSocket.html#d5704d2fdfb062139e1f88831617bbfb">sockDesc</a></td><td><a class="el" href="classSocket.html">Socket</a></td><td><code> [protected]</code></td></tr> + <tr class="memlist"><td><a class="el" href="classSocket.html#656389d58fa00729ff70c4e159623f5c">Socket</a>(const Socket &sock)</td><td><a class="el" href="classSocket.html">Socket</a></td><td><code> [private]</code></td></tr> + <tr class="memlist"><td><a class="el" href="classSocket.html#53e00027bab2125a2b407914c6148589">Socket</a>(int type, int protocol)</td><td><a class="el" href="classSocket.html">Socket</a></td><td><code> [protected]</code></td></tr> + <tr class="memlist"><td><a class="el" href="classSocket.html#6a2609eef6559336a595a336f138d395">Socket</a>(int sockDesc)</td><td><a class="el" href="classSocket.html">Socket</a></td><td><code> [protected]</code></td></tr> + <tr class="memlist"><td><a class="el" href="classSocket.html#eac4eb6379a543d38ed88977d3b6630a">~Socket</a>()</td><td><a class="el" href="classSocket.html">Socket</a></td><td></td></tr> +</table><hr size="1"><address style="align: right;"><small>Generated on Sun Oct 7 23:43:50 2007 for anytun by +<a href="http://www.doxygen.org/index.html"> +<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address> +</body> +</html> diff --git a/doc/html/classSocket.html b/doc/html/classSocket.html new file mode 100644 index 0000000..6d8d32e --- /dev/null +++ b/doc/html/classSocket.html @@ -0,0 +1,385 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> +<title>anytun: Socket Class Reference</title> +<link href="doxygen.css" rel="stylesheet" type="text/css"> +<link href="tabs.css" rel="stylesheet" type="text/css"> +</head><body> +<!-- Generated by Doxygen 1.5.1 --> +<div class="tabs"> + <ul> + <li><a href="main.html"><span>Main Page</span></a></li> + <li><a href="namespaces.html"><span>Namespaces</span></a></li> + <li id="current"><a href="annotated.html"><span>Classes</span></a></li> + <li><a href="files.html"><span>Files</span></a></li> + </ul></div> +<div class="tabs"> + <ul> + <li><a href="annotated.html"><span>Class List</span></a></li> + <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> + <li><a href="functions.html"><span>Class Members</span></a></li> + </ul></div> +<h1>Socket Class Reference</h1><!-- doxytag: class="Socket" --><code>#include <<a class="el" href="PracticalSocket_8h-source.html">PracticalSocket.h</a>></code> +<p> +<p>Inheritance diagram for Socket: +<p><center><img src="classSocket.png" usemap="#Socket_map" border="0" alt=""></center> +<map name="Socket_map"> +<area href="classCommunicatingSocket.html" alt="CommunicatingSocket" shape="rect" coords="72,56,207,80"> +<area href="classTCPServerSocket.html" alt="TCPServerSocket" shape="rect" coords="217,56,352,80"> +<area href="classTCPSocket.html" alt="TCPSocket" shape="rect" coords="0,112,135,136"> +<area href="classUDPSocket.html" alt="UDPSocket" shape="rect" coords="145,112,280,136"> +<area href="classUDPPacketSource.html" alt="UDPPacketSource" shape="rect" coords="145,168,280,192"> +</map> +<a href="classSocket-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0"> +<tr><td></td></tr> +<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr> +<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classSocket.html#eac4eb6379a543d38ed88977d3b6630a">~Socket</a> ()</td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top">string </td><td class="memItemRight" valign="bottom"><a class="el" href="classSocket.html#0fca07bdfa97874fba1a17995ed7cda3">getLocalAddress</a> () throw (SocketException)</td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top">unsigned short </td><td class="memItemRight" valign="bottom"><a class="el" href="classSocket.html#e01143b667d69483a2f53d0f4ce7eeed">getLocalPort</a> () throw (SocketException)</td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classSocket.html#773fe4a35146002de76952e16fdebcfa">setLocalPort</a> (unsigned short localPort) throw (SocketException)</td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classSocket.html#a6b986410bc2e606ba27d01fa7cb8836">setLocalAddressAndPort</a> (const string &localAddress, unsigned short localPort=0) throw (SocketException)</td></tr> + +<tr><td colspan="2"><br><h2>Static Public Member Functions</h2></td></tr> +<tr><td class="memItemLeft" nowrap align="right" valign="top">static void </td><td class="memItemRight" valign="bottom"><a class="el" href="classSocket.html#c5060aeb501044044351d5a85b3fc95f">cleanUp</a> () throw (SocketException)</td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top">static unsigned short </td><td class="memItemRight" valign="bottom"><a class="el" href="classSocket.html#982c63b25c5b756321a74074a275adbc">resolveService</a> (const string &service, const string &protocol="tcp")</td></tr> + +<tr><td colspan="2"><br><h2>Protected Member Functions</h2></td></tr> +<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classSocket.html#53e00027bab2125a2b407914c6148589">Socket</a> (int type, int protocol) throw (SocketException)</td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classSocket.html#6a2609eef6559336a595a336f138d395">Socket</a> (int <a class="el" href="classSocket.html#d5704d2fdfb062139e1f88831617bbfb">sockDesc</a>)</td></tr> + +<tr><td colspan="2"><br><h2>Protected Attributes</h2></td></tr> +<tr><td class="memItemLeft" nowrap align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classSocket.html#d5704d2fdfb062139e1f88831617bbfb">sockDesc</a></td></tr> + +<tr><td colspan="2"><br><h2>Private Member Functions</h2></td></tr> +<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classSocket.html#656389d58fa00729ff70c4e159623f5c">Socket</a> (const <a class="el" href="classSocket.html">Socket</a> &sock)</td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classSocket.html#1ef8f4c222c32756c8b1537323702df8">operator=</a> (const <a class="el" href="classSocket.html">Socket</a> &sock)</td></tr> + +</table> +<hr><a name="_details"></a><h2>Detailed Description</h2> +Base class representing basic communication endpoint +<p> +<hr><h2>Constructor & Destructor Documentation</h2> +<a class="anchor" name="eac4eb6379a543d38ed88977d3b6630a"></a><!-- doxytag: member="Socket::~Socket" ref="eac4eb6379a543d38ed88977d3b6630a" args="()" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">Socket::~Socket </td> + <td>(</td> + <td class="paramname"> </td> + <td> ) </td> + <td width="100%"></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> +Close and deallocate this socket +</div> +</div><p> +<a class="anchor" name="656389d58fa00729ff70c4e159623f5c"></a><!-- doxytag: member="Socket::Socket" ref="656389d58fa00729ff70c4e159623f5c" args="(const Socket &sock)" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">Socket::Socket </td> + <td>(</td> + <td class="paramtype">const <a class="el" href="classSocket.html">Socket</a> & </td> + <td class="paramname"> <em>sock</em> </td> + <td> ) </td> + <td width="100%"><code> [private]</code></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<a class="anchor" name="53e00027bab2125a2b407914c6148589"></a><!-- doxytag: member="Socket::Socket" ref="53e00027bab2125a2b407914c6148589" args="(int type, int protocol)" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">Socket::Socket </td> + <td>(</td> + <td class="paramtype">int </td> + <td class="paramname"> <em>type</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype">int </td> + <td class="paramname"> <em>protocol</em></td><td> </td> + </tr> + <tr> + <td></td> + <td>)</td> + <td></td><td></td><td width="100%"> throw (<a class="el" href="classSocketException.html">SocketException</a>)<code> [protected]</code></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<a class="anchor" name="6a2609eef6559336a595a336f138d395"></a><!-- doxytag: member="Socket::Socket" ref="6a2609eef6559336a595a336f138d395" args="(int sockDesc)" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">Socket::Socket </td> + <td>(</td> + <td class="paramtype">int </td> + <td class="paramname"> <em>sockDesc</em> </td> + <td> ) </td> + <td width="100%"><code> [protected]</code></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<hr><h2>Member Function Documentation</h2> +<a class="anchor" name="0fca07bdfa97874fba1a17995ed7cda3"></a><!-- doxytag: member="Socket::getLocalAddress" ref="0fca07bdfa97874fba1a17995ed7cda3" args="()" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">string Socket::getLocalAddress </td> + <td>(</td> + <td class="paramname"> </td> + <td> ) </td> + <td width="100%"> throw (<a class="el" href="classSocketException.html">SocketException</a>)</td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> +Get the local address <dl class="return" compact><dt><b>Returns:</b></dt><dd>local address of socket </dd></dl> +<dl compact><dt><b>Exceptions:</b></dt><dd> + <table border="0" cellspacing="2" cellpadding="0"> + <tr><td valign="top"></td><td valign="top"><em><a class="el" href="classSocketException.html">SocketException</a></em> </td><td>thrown if fetch fails </td></tr> + </table> +</dl> + +</div> +</div><p> +<a class="anchor" name="e01143b667d69483a2f53d0f4ce7eeed"></a><!-- doxytag: member="Socket::getLocalPort" ref="e01143b667d69483a2f53d0f4ce7eeed" args="()" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">unsigned short Socket::getLocalPort </td> + <td>(</td> + <td class="paramname"> </td> + <td> ) </td> + <td width="100%"> throw (<a class="el" href="classSocketException.html">SocketException</a>)</td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> +Get the local port <dl class="return" compact><dt><b>Returns:</b></dt><dd>local port of socket </dd></dl> +<dl compact><dt><b>Exceptions:</b></dt><dd> + <table border="0" cellspacing="2" cellpadding="0"> + <tr><td valign="top"></td><td valign="top"><em><a class="el" href="classSocketException.html">SocketException</a></em> </td><td>thrown if fetch fails </td></tr> + </table> +</dl> + +</div> +</div><p> +<a class="anchor" name="773fe4a35146002de76952e16fdebcfa"></a><!-- doxytag: member="Socket::setLocalPort" ref="773fe4a35146002de76952e16fdebcfa" args="(unsigned short localPort)" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">void Socket::setLocalPort </td> + <td>(</td> + <td class="paramtype">unsigned short </td> + <td class="paramname"> <em>localPort</em> </td> + <td> ) </td> + <td width="100%"> throw (<a class="el" href="classSocketException.html">SocketException</a>)</td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> +Set the local port to the specified port and the local address to any interface <dl compact><dt><b>Parameters:</b></dt><dd> + <table border="0" cellspacing="2" cellpadding="0"> + <tr><td valign="top"></td><td valign="top"><em>localPort</em> </td><td>local port </td></tr> + </table> +</dl> +<dl compact><dt><b>Exceptions:</b></dt><dd> + <table border="0" cellspacing="2" cellpadding="0"> + <tr><td valign="top"></td><td valign="top"><em><a class="el" href="classSocketException.html">SocketException</a></em> </td><td>thrown if setting local port fails </td></tr> + </table> +</dl> + +</div> +</div><p> +<a class="anchor" name="a6b986410bc2e606ba27d01fa7cb8836"></a><!-- doxytag: member="Socket::setLocalAddressAndPort" ref="a6b986410bc2e606ba27d01fa7cb8836" args="(const string &localAddress, unsigned short localPort=0)" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">void Socket::setLocalAddressAndPort </td> + <td>(</td> + <td class="paramtype">const string & </td> + <td class="paramname"> <em>localAddress</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype">unsigned short </td> + <td class="paramname"> <em>localPort</em> = <code>0</code></td><td> </td> + </tr> + <tr> + <td></td> + <td>)</td> + <td></td><td></td><td width="100%"> throw (<a class="el" href="classSocketException.html">SocketException</a>)</td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> +Set the local port to the specified port and the local address to the specified address. If you omit the port, a random port will be selected. <dl compact><dt><b>Parameters:</b></dt><dd> + <table border="0" cellspacing="2" cellpadding="0"> + <tr><td valign="top"></td><td valign="top"><em>localAddress</em> </td><td>local address </td></tr> + <tr><td valign="top"></td><td valign="top"><em>localPort</em> </td><td>local port </td></tr> + </table> +</dl> +<dl compact><dt><b>Exceptions:</b></dt><dd> + <table border="0" cellspacing="2" cellpadding="0"> + <tr><td valign="top"></td><td valign="top"><em><a class="el" href="classSocketException.html">SocketException</a></em> </td><td>thrown if setting local port or address fails </td></tr> + </table> +</dl> + +</div> +</div><p> +<a class="anchor" name="c5060aeb501044044351d5a85b3fc95f"></a><!-- doxytag: member="Socket::cleanUp" ref="c5060aeb501044044351d5a85b3fc95f" args="()" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">void Socket::cleanUp </td> + <td>(</td> + <td class="paramname"> </td> + <td> ) </td> + <td width="100%"> throw (<a class="el" href="classSocketException.html">SocketException</a>)<code> [static]</code></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> +If WinSock, unload the WinSock DLLs; otherwise do nothing. We ignore this in our sample client code but include it in the library for completeness. If you are running on Windows and you are concerned about DLL resource consumption, call this after you are done with all <a class="el" href="classSocket.html">Socket</a> instances. If you execute this on Windows while some instance of <a class="el" href="classSocket.html">Socket</a> exists, you are toast. For portability of client code, this is an empty function on non-Windows platforms so you can always include it. <dl compact><dt><b>Parameters:</b></dt><dd> + <table border="0" cellspacing="2" cellpadding="0"> + <tr><td valign="top"></td><td valign="top"><em>buffer</em> </td><td>buffer to receive the data </td></tr> + <tr><td valign="top"></td><td valign="top"><em>bufferLen</em> </td><td>maximum number of bytes to read into buffer </td></tr> + </table> +</dl> +<dl class="return" compact><dt><b>Returns:</b></dt><dd>number of bytes read, 0 for EOF, and -1 for error </dd></dl> +<dl compact><dt><b>Exceptions:</b></dt><dd> + <table border="0" cellspacing="2" cellpadding="0"> + <tr><td valign="top"></td><td valign="top"><em><a class="el" href="classSocketException.html">SocketException</a></em> </td><td>thrown WinSock clean up fails </td></tr> + </table> +</dl> + +</div> +</div><p> +<a class="anchor" name="982c63b25c5b756321a74074a275adbc"></a><!-- doxytag: member="Socket::resolveService" ref="982c63b25c5b756321a74074a275adbc" args="(const string &service, const string &protocol="tcp")" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">unsigned short Socket::resolveService </td> + <td>(</td> + <td class="paramtype">const string & </td> + <td class="paramname"> <em>service</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype">const string & </td> + <td class="paramname"> <em>protocol</em> = <code>"tcp"</code></td><td> </td> + </tr> + <tr> + <td></td> + <td>)</td> + <td></td><td></td><td width="100%"><code> [static]</code></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> +Resolve the specified service for the specified protocol to the corresponding port number in host byte order <dl compact><dt><b>Parameters:</b></dt><dd> + <table border="0" cellspacing="2" cellpadding="0"> + <tr><td valign="top"></td><td valign="top"><em>service</em> </td><td>service to resolve (e.g., "http") </td></tr> + <tr><td valign="top"></td><td valign="top"><em>protocol</em> </td><td>protocol of service to resolve. Default is "tcp". </td></tr> + </table> +</dl> + +</div> +</div><p> +<a class="anchor" name="1ef8f4c222c32756c8b1537323702df8"></a><!-- doxytag: member="Socket::operator=" ref="1ef8f4c222c32756c8b1537323702df8" args="(const Socket &sock)" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">void Socket::operator= </td> + <td>(</td> + <td class="paramtype">const <a class="el" href="classSocket.html">Socket</a> & </td> + <td class="paramname"> <em>sock</em> </td> + <td> ) </td> + <td width="100%"><code> [private]</code></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<hr><h2>Member Data Documentation</h2> +<a class="anchor" name="d5704d2fdfb062139e1f88831617bbfb"></a><!-- doxytag: member="Socket::sockDesc" ref="d5704d2fdfb062139e1f88831617bbfb" args="" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">int <a class="el" href="classSocket.html#d5704d2fdfb062139e1f88831617bbfb">Socket::sockDesc</a><code> [protected]</code> </td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<hr>The documentation for this class was generated from the following files:<ul> +<li><a class="el" href="PracticalSocket_8h-source.html">PracticalSocket.h</a><li><a class="el" href="PracticalSocket_8cpp.html">PracticalSocket.cpp</a></ul> +<hr size="1"><address style="align: right;"><small>Generated on Sun Oct 7 23:43:50 2007 for anytun by +<a href="http://www.doxygen.org/index.html"> +<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address> +</body> +</html> diff --git a/doc/html/classSocket.png b/doc/html/classSocket.png Binary files differnew file mode 100644 index 0000000..af55d66 --- /dev/null +++ b/doc/html/classSocket.png diff --git a/doc/html/classSocketException-members.html b/doc/html/classSocketException-members.html new file mode 100644 index 0000000..842894e --- /dev/null +++ b/doc/html/classSocketException-members.html @@ -0,0 +1,30 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> +<title>anytun: Member List</title> +<link href="doxygen.css" rel="stylesheet" type="text/css"> +<link href="tabs.css" rel="stylesheet" type="text/css"> +</head><body> +<!-- Generated by Doxygen 1.5.1 --> +<div class="tabs"> + <ul> + <li><a href="main.html"><span>Main Page</span></a></li> + <li><a href="namespaces.html"><span>Namespaces</span></a></li> + <li id="current"><a href="annotated.html"><span>Classes</span></a></li> + <li><a href="files.html"><span>Files</span></a></li> + </ul></div> +<div class="tabs"> + <ul> + <li><a href="annotated.html"><span>Class List</span></a></li> + <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> + <li><a href="functions.html"><span>Class Members</span></a></li> + </ul></div> +<h1>SocketException Member List</h1>This is the complete list of members for <a class="el" href="classSocketException.html">SocketException</a>, including all inherited members.<p><table> + <tr class="memlist"><td><a class="el" href="classSocketException.html#bb5bcecd9d9e20868c237ec5a82cf5c3">SocketException</a>(const string &message, bool inclSysMsg=false)</td><td><a class="el" href="classSocketException.html">SocketException</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classSocketException.html#dcfeba6d4ce5754b48ae9d37b07a7e87">userMessage</a></td><td><a class="el" href="classSocketException.html">SocketException</a></td><td><code> [private]</code></td></tr> + <tr class="memlist"><td><a class="el" href="classSocketException.html#534b0625abe62cad2bae94758aa6eb42">what</a>() const</td><td><a class="el" href="classSocketException.html">SocketException</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classSocketException.html#659557c899329aea01977c980c4db9b9">~SocketException</a>()</td><td><a class="el" href="classSocketException.html">SocketException</a></td><td></td></tr> +</table><hr size="1"><address style="align: right;"><small>Generated on Sun Oct 7 23:43:50 2007 for anytun by +<a href="http://www.doxygen.org/index.html"> +<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address> +</body> +</html> diff --git a/doc/html/classSocketException.html b/doc/html/classSocketException.html new file mode 100644 index 0000000..25d3427 --- /dev/null +++ b/doc/html/classSocketException.html @@ -0,0 +1,137 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> +<title>anytun: SocketException Class Reference</title> +<link href="doxygen.css" rel="stylesheet" type="text/css"> +<link href="tabs.css" rel="stylesheet" type="text/css"> +</head><body> +<!-- Generated by Doxygen 1.5.1 --> +<div class="tabs"> + <ul> + <li><a href="main.html"><span>Main Page</span></a></li> + <li><a href="namespaces.html"><span>Namespaces</span></a></li> + <li id="current"><a href="annotated.html"><span>Classes</span></a></li> + <li><a href="files.html"><span>Files</span></a></li> + </ul></div> +<div class="tabs"> + <ul> + <li><a href="annotated.html"><span>Class List</span></a></li> + <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> + <li><a href="functions.html"><span>Class Members</span></a></li> + </ul></div> +<h1>SocketException Class Reference</h1><!-- doxytag: class="SocketException" --><code>#include <<a class="el" href="PracticalSocket_8h-source.html">PracticalSocket.h</a>></code> +<p> +<a href="classSocketException-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0"> +<tr><td></td></tr> +<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr> +<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classSocketException.html#bb5bcecd9d9e20868c237ec5a82cf5c3">SocketException</a> (const string &message, bool inclSysMsg=false) throw ()</td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classSocketException.html#659557c899329aea01977c980c4db9b9">~SocketException</a> () throw ()</td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top">const char * </td><td class="memItemRight" valign="bottom"><a class="el" href="classSocketException.html#534b0625abe62cad2bae94758aa6eb42">what</a> () const throw ()</td></tr> + +<tr><td colspan="2"><br><h2>Private Attributes</h2></td></tr> +<tr><td class="memItemLeft" nowrap align="right" valign="top">string </td><td class="memItemRight" valign="bottom"><a class="el" href="classSocketException.html#dcfeba6d4ce5754b48ae9d37b07a7e87">userMessage</a></td></tr> + +</table> +<hr><a name="_details"></a><h2>Detailed Description</h2> +Signals a problem with the execution of a socket call. +<p> +<hr><h2>Constructor & Destructor Documentation</h2> +<a class="anchor" name="bb5bcecd9d9e20868c237ec5a82cf5c3"></a><!-- doxytag: member="SocketException::SocketException" ref="bb5bcecd9d9e20868c237ec5a82cf5c3" args="(const string &message, bool inclSysMsg=false)" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">SocketException::SocketException </td> + <td>(</td> + <td class="paramtype">const string & </td> + <td class="paramname"> <em>message</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype">bool </td> + <td class="paramname"> <em>inclSysMsg</em> = <code>false</code></td><td> </td> + </tr> + <tr> + <td></td> + <td>)</td> + <td></td><td></td><td width="100%"> throw ()</td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> +Construct a <a class="el" href="classSocketException.html">SocketException</a> with a explanatory message. <dl compact><dt><b>Parameters:</b></dt><dd> + <table border="0" cellspacing="2" cellpadding="0"> + <tr><td valign="top"></td><td valign="top"><em>message</em> </td><td>explanatory message </td></tr> + <tr><td valign="top"></td><td valign="top"><em>incSysMsg</em> </td><td>true if system message (from strerror(errno)) should be postfixed to the user provided message </td></tr> + </table> +</dl> + +</div> +</div><p> +<a class="anchor" name="659557c899329aea01977c980c4db9b9"></a><!-- doxytag: member="SocketException::~SocketException" ref="659557c899329aea01977c980c4db9b9" args="()" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">SocketException::~SocketException </td> + <td>(</td> + <td class="paramname"> </td> + <td> ) </td> + <td width="100%"> throw ()</td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> +Provided just to guarantee that no exceptions are thrown. +</div> +</div><p> +<hr><h2>Member Function Documentation</h2> +<a class="anchor" name="534b0625abe62cad2bae94758aa6eb42"></a><!-- doxytag: member="SocketException::what" ref="534b0625abe62cad2bae94758aa6eb42" args="() const" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">const char * SocketException::what </td> + <td>(</td> + <td class="paramname"> </td> + <td> ) </td> + <td width="100%"> const throw ()</td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> +Get the exception message <dl class="return" compact><dt><b>Returns:</b></dt><dd>exception message </dd></dl> + +</div> +</div><p> +<hr><h2>Member Data Documentation</h2> +<a class="anchor" name="dcfeba6d4ce5754b48ae9d37b07a7e87"></a><!-- doxytag: member="SocketException::userMessage" ref="dcfeba6d4ce5754b48ae9d37b07a7e87" args="" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">string <a class="el" href="classSocketException.html#dcfeba6d4ce5754b48ae9d37b07a7e87">SocketException::userMessage</a><code> [private]</code> </td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<hr>The documentation for this class was generated from the following files:<ul> +<li><a class="el" href="PracticalSocket_8h-source.html">PracticalSocket.h</a><li><a class="el" href="PracticalSocket_8cpp.html">PracticalSocket.cpp</a></ul> +<hr size="1"><address style="align: right;"><small>Generated on Sun Oct 7 23:43:50 2007 for anytun by +<a href="http://www.doxygen.org/index.html"> +<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address> +</body> +</html> diff --git a/doc/html/classTCPServerSocket-members.html b/doc/html/classTCPServerSocket-members.html new file mode 100644 index 0000000..193c0a8 --- /dev/null +++ b/doc/html/classTCPServerSocket-members.html @@ -0,0 +1,40 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> +<title>anytun: Member List</title> +<link href="doxygen.css" rel="stylesheet" type="text/css"> +<link href="tabs.css" rel="stylesheet" type="text/css"> +</head><body> +<!-- Generated by Doxygen 1.5.1 --> +<div class="tabs"> + <ul> + <li><a href="main.html"><span>Main Page</span></a></li> + <li><a href="namespaces.html"><span>Namespaces</span></a></li> + <li id="current"><a href="annotated.html"><span>Classes</span></a></li> + <li><a href="files.html"><span>Files</span></a></li> + </ul></div> +<div class="tabs"> + <ul> + <li><a href="annotated.html"><span>Class List</span></a></li> + <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> + <li><a href="functions.html"><span>Class Members</span></a></li> + </ul></div> +<h1>TCPServerSocket Member List</h1>This is the complete list of members for <a class="el" href="classTCPServerSocket.html">TCPServerSocket</a>, including all inherited members.<p><table> + <tr class="memlist"><td><a class="el" href="classTCPServerSocket.html#1d161137e1b069de7a7bfc14d3f8212c">accept</a>()</td><td><a class="el" href="classTCPServerSocket.html">TCPServerSocket</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classSocket.html#c5060aeb501044044351d5a85b3fc95f">cleanUp</a>()</td><td><a class="el" href="classSocket.html">Socket</a></td><td><code> [static]</code></td></tr> + <tr class="memlist"><td><a class="el" href="classSocket.html#0fca07bdfa97874fba1a17995ed7cda3">getLocalAddress</a>()</td><td><a class="el" href="classSocket.html">Socket</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classSocket.html#e01143b667d69483a2f53d0f4ce7eeed">getLocalPort</a>()</td><td><a class="el" href="classSocket.html">Socket</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classSocket.html#982c63b25c5b756321a74074a275adbc">resolveService</a>(const string &service, const string &protocol="tcp")</td><td><a class="el" href="classSocket.html">Socket</a></td><td><code> [static]</code></td></tr> + <tr class="memlist"><td><a class="el" href="classTCPServerSocket.html#1f39a2e6721ab62d8875a234eb300bab">setListen</a>(int queueLen)</td><td><a class="el" href="classTCPServerSocket.html">TCPServerSocket</a></td><td><code> [private]</code></td></tr> + <tr class="memlist"><td><a class="el" href="classSocket.html#a6b986410bc2e606ba27d01fa7cb8836">setLocalAddressAndPort</a>(const string &localAddress, unsigned short localPort=0)</td><td><a class="el" href="classSocket.html">Socket</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classSocket.html#773fe4a35146002de76952e16fdebcfa">setLocalPort</a>(unsigned short localPort)</td><td><a class="el" href="classSocket.html">Socket</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classSocket.html#d5704d2fdfb062139e1f88831617bbfb">sockDesc</a></td><td><a class="el" href="classSocket.html">Socket</a></td><td><code> [protected]</code></td></tr> + <tr class="memlist"><td><a class="el" href="classSocket.html#53e00027bab2125a2b407914c6148589">Socket</a>(int type, int protocol)</td><td><a class="el" href="classSocket.html">Socket</a></td><td><code> [protected]</code></td></tr> + <tr class="memlist"><td><a class="el" href="classSocket.html#6a2609eef6559336a595a336f138d395">Socket</a>(int sockDesc)</td><td><a class="el" href="classSocket.html">Socket</a></td><td><code> [protected]</code></td></tr> + <tr class="memlist"><td><a class="el" href="classTCPServerSocket.html#e559a3154527d09fe14a8e5ee1f53d7a">TCPServerSocket</a>(unsigned short localPort, int queueLen=5)</td><td><a class="el" href="classTCPServerSocket.html">TCPServerSocket</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classTCPServerSocket.html#3908fecb1b038f7c14fcc7726f54d01d">TCPServerSocket</a>(const string &localAddress, unsigned short localPort, int queueLen=5)</td><td><a class="el" href="classTCPServerSocket.html">TCPServerSocket</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classSocket.html#eac4eb6379a543d38ed88977d3b6630a">~Socket</a>()</td><td><a class="el" href="classSocket.html">Socket</a></td><td></td></tr> +</table><hr size="1"><address style="align: right;"><small>Generated on Sun Oct 7 23:43:50 2007 for anytun by +<a href="http://www.doxygen.org/index.html"> +<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address> +</body> +</html> diff --git a/doc/html/classTCPServerSocket.html b/doc/html/classTCPServerSocket.html new file mode 100644 index 0000000..6dcb6dc --- /dev/null +++ b/doc/html/classTCPServerSocket.html @@ -0,0 +1,184 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> +<title>anytun: TCPServerSocket Class Reference</title> +<link href="doxygen.css" rel="stylesheet" type="text/css"> +<link href="tabs.css" rel="stylesheet" type="text/css"> +</head><body> +<!-- Generated by Doxygen 1.5.1 --> +<div class="tabs"> + <ul> + <li><a href="main.html"><span>Main Page</span></a></li> + <li><a href="namespaces.html"><span>Namespaces</span></a></li> + <li id="current"><a href="annotated.html"><span>Classes</span></a></li> + <li><a href="files.html"><span>Files</span></a></li> + </ul></div> +<div class="tabs"> + <ul> + <li><a href="annotated.html"><span>Class List</span></a></li> + <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> + <li><a href="functions.html"><span>Class Members</span></a></li> + </ul></div> +<h1>TCPServerSocket Class Reference</h1><!-- doxytag: class="TCPServerSocket" --><!-- doxytag: inherits="Socket" --><code>#include <<a class="el" href="PracticalSocket_8h-source.html">PracticalSocket.h</a>></code> +<p> +<p>Inheritance diagram for TCPServerSocket: +<p><center><img src="classTCPServerSocket.png" usemap="#TCPServerSocket_map" border="0" alt=""></center> +<map name="TCPServerSocket_map"> +<area href="classSocket.html" alt="Socket" shape="rect" coords="0,0,113,24"> +</map> +<a href="classTCPServerSocket-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0"> +<tr><td></td></tr> +<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr> +<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classTCPServerSocket.html#e559a3154527d09fe14a8e5ee1f53d7a">TCPServerSocket</a> (unsigned short localPort, int queueLen=5) throw (SocketException)</td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classTCPServerSocket.html#3908fecb1b038f7c14fcc7726f54d01d">TCPServerSocket</a> (const string &localAddress, unsigned short localPort, int queueLen=5) throw (SocketException)</td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classTCPSocket.html">TCPSocket</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classTCPServerSocket.html#1d161137e1b069de7a7bfc14d3f8212c">accept</a> () throw (SocketException)</td></tr> + +<tr><td colspan="2"><br><h2>Private Member Functions</h2></td></tr> +<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classTCPServerSocket.html#1f39a2e6721ab62d8875a234eb300bab">setListen</a> (int queueLen) throw (SocketException)</td></tr> + +</table> +<hr><a name="_details"></a><h2>Detailed Description</h2> +TCP socket class for servers +<p> +<hr><h2>Constructor & Destructor Documentation</h2> +<a class="anchor" name="e559a3154527d09fe14a8e5ee1f53d7a"></a><!-- doxytag: member="TCPServerSocket::TCPServerSocket" ref="e559a3154527d09fe14a8e5ee1f53d7a" args="(unsigned short localPort, int queueLen=5)" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">TCPServerSocket::TCPServerSocket </td> + <td>(</td> + <td class="paramtype">unsigned short </td> + <td class="paramname"> <em>localPort</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype">int </td> + <td class="paramname"> <em>queueLen</em> = <code>5</code></td><td> </td> + </tr> + <tr> + <td></td> + <td>)</td> + <td></td><td></td><td width="100%"> throw (<a class="el" href="classSocketException.html">SocketException</a>)</td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> +Construct a TCP socket for use with a server, accepting connections on the specified port on any interface <dl compact><dt><b>Parameters:</b></dt><dd> + <table border="0" cellspacing="2" cellpadding="0"> + <tr><td valign="top"></td><td valign="top"><em>localPort</em> </td><td>local port of server socket, a value of zero will give a system-assigned unused port </td></tr> + <tr><td valign="top"></td><td valign="top"><em>queueLen</em> </td><td>maximum queue length for outstanding connection requests (default 5) </td></tr> + </table> +</dl> +<dl compact><dt><b>Exceptions:</b></dt><dd> + <table border="0" cellspacing="2" cellpadding="0"> + <tr><td valign="top"></td><td valign="top"><em><a class="el" href="classSocketException.html">SocketException</a></em> </td><td>thrown if unable to create TCP server socket </td></tr> + </table> +</dl> + +</div> +</div><p> +<a class="anchor" name="3908fecb1b038f7c14fcc7726f54d01d"></a><!-- doxytag: member="TCPServerSocket::TCPServerSocket" ref="3908fecb1b038f7c14fcc7726f54d01d" args="(const string &localAddress, unsigned short localPort, int queueLen=5)" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">TCPServerSocket::TCPServerSocket </td> + <td>(</td> + <td class="paramtype">const string & </td> + <td class="paramname"> <em>localAddress</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype">unsigned short </td> + <td class="paramname"> <em>localPort</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype">int </td> + <td class="paramname"> <em>queueLen</em> = <code>5</code></td><td> </td> + </tr> + <tr> + <td></td> + <td>)</td> + <td></td><td></td><td width="100%"> throw (<a class="el" href="classSocketException.html">SocketException</a>)</td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> +Construct a TCP socket for use with a server, accepting connections on the specified port on the interface specified by the given address <dl compact><dt><b>Parameters:</b></dt><dd> + <table border="0" cellspacing="2" cellpadding="0"> + <tr><td valign="top"></td><td valign="top"><em>localAddress</em> </td><td>local interface (address) of server socket </td></tr> + <tr><td valign="top"></td><td valign="top"><em>localPort</em> </td><td>local port of server socket </td></tr> + <tr><td valign="top"></td><td valign="top"><em>queueLen</em> </td><td>maximum queue length for outstanding connection requests (default 5) </td></tr> + </table> +</dl> +<dl compact><dt><b>Exceptions:</b></dt><dd> + <table border="0" cellspacing="2" cellpadding="0"> + <tr><td valign="top"></td><td valign="top"><em><a class="el" href="classSocketException.html">SocketException</a></em> </td><td>thrown if unable to create TCP server socket </td></tr> + </table> +</dl> + +</div> +</div><p> +<hr><h2>Member Function Documentation</h2> +<a class="anchor" name="1d161137e1b069de7a7bfc14d3f8212c"></a><!-- doxytag: member="TCPServerSocket::accept" ref="1d161137e1b069de7a7bfc14d3f8212c" args="()" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname"><a class="el" href="classTCPSocket.html">TCPSocket</a> * TCPServerSocket::accept </td> + <td>(</td> + <td class="paramname"> </td> + <td> ) </td> + <td width="100%"> throw (<a class="el" href="classSocketException.html">SocketException</a>)</td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> +Blocks until a new connection is established on this socket or error <dl class="return" compact><dt><b>Returns:</b></dt><dd>new connection socket </dd></dl> +<dl compact><dt><b>Exceptions:</b></dt><dd> + <table border="0" cellspacing="2" cellpadding="0"> + <tr><td valign="top"></td><td valign="top"><em><a class="el" href="classSocketException.html">SocketException</a></em> </td><td>thrown if attempt to accept a new connection fails </td></tr> + </table> +</dl> + +</div> +</div><p> +<a class="anchor" name="1f39a2e6721ab62d8875a234eb300bab"></a><!-- doxytag: member="TCPServerSocket::setListen" ref="1f39a2e6721ab62d8875a234eb300bab" args="(int queueLen)" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">void TCPServerSocket::setListen </td> + <td>(</td> + <td class="paramtype">int </td> + <td class="paramname"> <em>queueLen</em> </td> + <td> ) </td> + <td width="100%"> throw (<a class="el" href="classSocketException.html">SocketException</a>)<code> [private]</code></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<hr>The documentation for this class was generated from the following files:<ul> +<li><a class="el" href="PracticalSocket_8h-source.html">PracticalSocket.h</a><li><a class="el" href="PracticalSocket_8cpp.html">PracticalSocket.cpp</a></ul> +<hr size="1"><address style="align: right;"><small>Generated on Sun Oct 7 23:43:50 2007 for anytun by +<a href="http://www.doxygen.org/index.html"> +<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address> +</body> +</html> diff --git a/doc/html/classTCPServerSocket.png b/doc/html/classTCPServerSocket.png Binary files differnew file mode 100644 index 0000000..1a22e63 --- /dev/null +++ b/doc/html/classTCPServerSocket.png diff --git a/doc/html/classTCPSocket-members.html b/doc/html/classTCPSocket-members.html new file mode 100644 index 0000000..0772e58 --- /dev/null +++ b/doc/html/classTCPSocket-members.html @@ -0,0 +1,47 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> +<title>anytun: Member List</title> +<link href="doxygen.css" rel="stylesheet" type="text/css"> +<link href="tabs.css" rel="stylesheet" type="text/css"> +</head><body> +<!-- Generated by Doxygen 1.5.1 --> +<div class="tabs"> + <ul> + <li><a href="main.html"><span>Main Page</span></a></li> + <li><a href="namespaces.html"><span>Namespaces</span></a></li> + <li id="current"><a href="annotated.html"><span>Classes</span></a></li> + <li><a href="files.html"><span>Files</span></a></li> + </ul></div> +<div class="tabs"> + <ul> + <li><a href="annotated.html"><span>Class List</span></a></li> + <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> + <li><a href="functions.html"><span>Class Members</span></a></li> + </ul></div> +<h1>TCPSocket Member List</h1>This is the complete list of members for <a class="el" href="classTCPSocket.html">TCPSocket</a>, including all inherited members.<p><table> + <tr class="memlist"><td><a class="el" href="classSocket.html#c5060aeb501044044351d5a85b3fc95f">cleanUp</a>()</td><td><a class="el" href="classSocket.html">Socket</a></td><td><code> [static]</code></td></tr> + <tr class="memlist"><td><a class="el" href="classCommunicatingSocket.html#0017517b8d6e761fde0c40475af3b2ab">CommunicatingSocket</a>(int type, int protocol)</td><td><a class="el" href="classCommunicatingSocket.html">CommunicatingSocket</a></td><td><code> [protected]</code></td></tr> + <tr class="memlist"><td><a class="el" href="classCommunicatingSocket.html#27d758db782b3be7d28741e92cb613d1">CommunicatingSocket</a>(int newConnSD)</td><td><a class="el" href="classCommunicatingSocket.html">CommunicatingSocket</a></td><td><code> [protected]</code></td></tr> + <tr class="memlist"><td><a class="el" href="classCommunicatingSocket.html#9192374d9baab8e189860aa8d913683c">connect</a>(const string &foreignAddress, unsigned short foreignPort)</td><td><a class="el" href="classCommunicatingSocket.html">CommunicatingSocket</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classCommunicatingSocket.html#13f9eca30ef56836cf23c163c848c09e">getForeignAddress</a>()</td><td><a class="el" href="classCommunicatingSocket.html">CommunicatingSocket</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classCommunicatingSocket.html#184fbb4775184b87ebd886a5587eb1a3">getForeignPort</a>()</td><td><a class="el" href="classCommunicatingSocket.html">CommunicatingSocket</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classSocket.html#0fca07bdfa97874fba1a17995ed7cda3">getLocalAddress</a>()</td><td><a class="el" href="classSocket.html">Socket</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classSocket.html#e01143b667d69483a2f53d0f4ce7eeed">getLocalPort</a>()</td><td><a class="el" href="classSocket.html">Socket</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classCommunicatingSocket.html#7cf1fd470c0060171b68df9f68c7bd01">recv</a>(void *buffer, int bufferLen)</td><td><a class="el" href="classCommunicatingSocket.html">CommunicatingSocket</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classSocket.html#982c63b25c5b756321a74074a275adbc">resolveService</a>(const string &service, const string &protocol="tcp")</td><td><a class="el" href="classSocket.html">Socket</a></td><td><code> [static]</code></td></tr> + <tr class="memlist"><td><a class="el" href="classCommunicatingSocket.html#ca4e86085c064641e86ae24ea29bbb94">send</a>(const void *buffer, int bufferLen)</td><td><a class="el" href="classCommunicatingSocket.html">CommunicatingSocket</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classSocket.html#a6b986410bc2e606ba27d01fa7cb8836">setLocalAddressAndPort</a>(const string &localAddress, unsigned short localPort=0)</td><td><a class="el" href="classSocket.html">Socket</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classSocket.html#773fe4a35146002de76952e16fdebcfa">setLocalPort</a>(unsigned short localPort)</td><td><a class="el" href="classSocket.html">Socket</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classSocket.html#d5704d2fdfb062139e1f88831617bbfb">sockDesc</a></td><td><a class="el" href="classSocket.html">Socket</a></td><td><code> [protected]</code></td></tr> + <tr class="memlist"><td><a class="el" href="classSocket.html#53e00027bab2125a2b407914c6148589">Socket</a>(int type, int protocol)</td><td><a class="el" href="classSocket.html">Socket</a></td><td><code> [protected]</code></td></tr> + <tr class="memlist"><td><a class="el" href="classSocket.html#6a2609eef6559336a595a336f138d395">Socket</a>(int sockDesc)</td><td><a class="el" href="classSocket.html">Socket</a></td><td><code> [protected]</code></td></tr> + <tr class="memlist"><td><a class="el" href="classTCPSocket.html#e8bcdc0d25881a17b23e557296236fa9">TCPServerSocket</a> class</td><td><a class="el" href="classTCPSocket.html">TCPSocket</a></td><td><code> [friend]</code></td></tr> + <tr class="memlist"><td><a class="el" href="classTCPSocket.html#7a50427a401d1a6f3209d51818bad901">TCPSocket</a>()</td><td><a class="el" href="classTCPSocket.html">TCPSocket</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classTCPSocket.html#7b246b66f6dc3246ab2777b771e5f917">TCPSocket</a>(const string &foreignAddress, unsigned short foreignPort)</td><td><a class="el" href="classTCPSocket.html">TCPSocket</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classTCPSocket.html#4763ac3be0d7d5e143884bef45e351c5">TCPSocket</a>(int newConnSD)</td><td><a class="el" href="classTCPSocket.html">TCPSocket</a></td><td><code> [private]</code></td></tr> + <tr class="memlist"><td><a class="el" href="classSocket.html#eac4eb6379a543d38ed88977d3b6630a">~Socket</a>()</td><td><a class="el" href="classSocket.html">Socket</a></td><td></td></tr> +</table><hr size="1"><address style="align: right;"><small>Generated on Sun Oct 7 23:43:50 2007 for anytun by +<a href="http://www.doxygen.org/index.html"> +<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address> +</body> +</html> diff --git a/doc/html/classTCPSocket.html b/doc/html/classTCPSocket.html new file mode 100644 index 0000000..b757215 --- /dev/null +++ b/doc/html/classTCPSocket.html @@ -0,0 +1,153 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> +<title>anytun: TCPSocket Class Reference</title> +<link href="doxygen.css" rel="stylesheet" type="text/css"> +<link href="tabs.css" rel="stylesheet" type="text/css"> +</head><body> +<!-- Generated by Doxygen 1.5.1 --> +<div class="tabs"> + <ul> + <li><a href="main.html"><span>Main Page</span></a></li> + <li><a href="namespaces.html"><span>Namespaces</span></a></li> + <li id="current"><a href="annotated.html"><span>Classes</span></a></li> + <li><a href="files.html"><span>Files</span></a></li> + </ul></div> +<div class="tabs"> + <ul> + <li><a href="annotated.html"><span>Class List</span></a></li> + <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> + <li><a href="functions.html"><span>Class Members</span></a></li> + </ul></div> +<h1>TCPSocket Class Reference</h1><!-- doxytag: class="TCPSocket" --><!-- doxytag: inherits="CommunicatingSocket" --><code>#include <<a class="el" href="PracticalSocket_8h-source.html">PracticalSocket.h</a>></code> +<p> +<p>Inheritance diagram for TCPSocket: +<p><center><img src="classTCPSocket.png" usemap="#TCPSocket_map" border="0" alt=""></center> +<map name="TCPSocket_map"> +<area href="classCommunicatingSocket.html" alt="CommunicatingSocket" shape="rect" coords="0,56,135,80"> +<area href="classSocket.html" alt="Socket" shape="rect" coords="0,0,135,24"> +</map> +<a href="classTCPSocket-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0"> +<tr><td></td></tr> +<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr> +<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classTCPSocket.html#7a50427a401d1a6f3209d51818bad901">TCPSocket</a> () throw (SocketException)</td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classTCPSocket.html#7b246b66f6dc3246ab2777b771e5f917">TCPSocket</a> (const string &foreignAddress, unsigned short foreignPort) throw (SocketException)</td></tr> + +<tr><td colspan="2"><br><h2>Private Member Functions</h2></td></tr> +<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classTCPSocket.html#4763ac3be0d7d5e143884bef45e351c5">TCPSocket</a> (int newConnSD)</td></tr> + +<tr><td colspan="2"><br><h2>Friends</h2></td></tr> +<tr><td class="memItemLeft" nowrap align="right" valign="top">class </td><td class="memItemRight" valign="bottom"><a class="el" href="classTCPSocket.html#e8bcdc0d25881a17b23e557296236fa9">TCPServerSocket</a></td></tr> + +</table> +<hr><a name="_details"></a><h2>Detailed Description</h2> +TCP socket for communication with other TCP sockets +<p> +<hr><h2>Constructor & Destructor Documentation</h2> +<a class="anchor" name="7a50427a401d1a6f3209d51818bad901"></a><!-- doxytag: member="TCPSocket::TCPSocket" ref="7a50427a401d1a6f3209d51818bad901" args="()" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">TCPSocket::TCPSocket </td> + <td>(</td> + <td class="paramname"> </td> + <td> ) </td> + <td width="100%"> throw (<a class="el" href="classSocketException.html">SocketException</a>)</td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> +Construct a TCP socket with no connection <dl compact><dt><b>Exceptions:</b></dt><dd> + <table border="0" cellspacing="2" cellpadding="0"> + <tr><td valign="top"></td><td valign="top"><em><a class="el" href="classSocketException.html">SocketException</a></em> </td><td>thrown if unable to create TCP socket </td></tr> + </table> +</dl> + +</div> +</div><p> +<a class="anchor" name="7b246b66f6dc3246ab2777b771e5f917"></a><!-- doxytag: member="TCPSocket::TCPSocket" ref="7b246b66f6dc3246ab2777b771e5f917" args="(const string &foreignAddress, unsigned short foreignPort)" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">TCPSocket::TCPSocket </td> + <td>(</td> + <td class="paramtype">const string & </td> + <td class="paramname"> <em>foreignAddress</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype">unsigned short </td> + <td class="paramname"> <em>foreignPort</em></td><td> </td> + </tr> + <tr> + <td></td> + <td>)</td> + <td></td><td></td><td width="100%"> throw (<a class="el" href="classSocketException.html">SocketException</a>)</td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> +Construct a TCP socket with a connection to the given foreign address and port <dl compact><dt><b>Parameters:</b></dt><dd> + <table border="0" cellspacing="2" cellpadding="0"> + <tr><td valign="top"></td><td valign="top"><em>foreignAddress</em> </td><td>foreign address (IP address or name) </td></tr> + <tr><td valign="top"></td><td valign="top"><em>foreignPort</em> </td><td>foreign port </td></tr> + </table> +</dl> +<dl compact><dt><b>Exceptions:</b></dt><dd> + <table border="0" cellspacing="2" cellpadding="0"> + <tr><td valign="top"></td><td valign="top"><em><a class="el" href="classSocketException.html">SocketException</a></em> </td><td>thrown if unable to create TCP socket </td></tr> + </table> +</dl> + +</div> +</div><p> +<a class="anchor" name="4763ac3be0d7d5e143884bef45e351c5"></a><!-- doxytag: member="TCPSocket::TCPSocket" ref="4763ac3be0d7d5e143884bef45e351c5" args="(int newConnSD)" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">TCPSocket::TCPSocket </td> + <td>(</td> + <td class="paramtype">int </td> + <td class="paramname"> <em>newConnSD</em> </td> + <td> ) </td> + <td width="100%"><code> [private]</code></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<hr><h2>Friends And Related Function Documentation</h2> +<a class="anchor" name="e8bcdc0d25881a17b23e557296236fa9"></a><!-- doxytag: member="TCPSocket::TCPServerSocket" ref="e8bcdc0d25881a17b23e557296236fa9" args="" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">friend class <a class="el" href="classTCPServerSocket.html">TCPServerSocket</a><code> [friend]</code> </td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<hr>The documentation for this class was generated from the following files:<ul> +<li><a class="el" href="PracticalSocket_8h-source.html">PracticalSocket.h</a><li><a class="el" href="PracticalSocket_8cpp.html">PracticalSocket.cpp</a></ul> +<hr size="1"><address style="align: right;"><small>Generated on Sun Oct 7 23:43:50 2007 for anytun by +<a href="http://www.doxygen.org/index.html"> +<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address> +</body> +</html> diff --git a/doc/html/classTCPSocket.png b/doc/html/classTCPSocket.png Binary files differnew file mode 100644 index 0000000..2b3e546 --- /dev/null +++ b/doc/html/classTCPSocket.png diff --git a/doc/html/classTunDevice-members.html b/doc/html/classTunDevice-members.html new file mode 100644 index 0000000..46ff67c --- /dev/null +++ b/doc/html/classTunDevice-members.html @@ -0,0 +1,43 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> +<title>anytun: Member List</title> +<link href="doxygen.css" rel="stylesheet" type="text/css"> +<link href="tabs.css" rel="stylesheet" type="text/css"> +</head><body> +<!-- Generated by Doxygen 1.5.1 --> +<div class="tabs"> + <ul> + <li><a href="main.html"><span>Main Page</span></a></li> + <li><a href="namespaces.html"><span>Namespaces</span></a></li> + <li id="current"><a href="annotated.html"><span>Classes</span></a></li> + <li><a href="files.html"><span>Files</span></a></li> + </ul></div> +<div class="tabs"> + <ul> + <li><a href="annotated.html"><span>Class List</span></a></li> + <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> + <li><a href="functions.html"><span>Class Members</span></a></li> + </ul></div> +<h1>TunDevice Member List</h1>This is the complete list of members for <a class="el" href="classTunDevice.html">TunDevice</a>, including all inherited members.<p><table> + <tr class="memlist"><td><a class="el" href="classTunDevice.html#13986e13fe28da6c917293c40effb902">close</a>()</td><td><a class="el" href="classTunDevice.html">TunDevice</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classTunDevice.html#239c85381dfcf1776303778d1784df51">dev_</a></td><td><a class="el" href="classTunDevice.html">TunDevice</a></td><td><code> [private]</code></td></tr> + <tr class="memlist"><td><a class="el" href="classTunDevice.html#e02f8972f75b11b69280fba9b6649cab">getActualName</a>()</td><td><a class="el" href="classTunDevice.html">TunDevice</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classTunDevice.html#b57512464007681dcc92820adb3deb0f">getType</a>()</td><td><a class="el" href="classTunDevice.html">TunDevice</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classTunDevice.html#0cecbc6a7e58d294dd005e7d523173bd">getTypeString</a>()</td><td><a class="el" href="classTunDevice.html">TunDevice</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classTunDevice.html#e130228e28996e644d2013089e704d4c">io_mutex_</a></td><td><a class="el" href="classTunDevice.html">TunDevice</a></td><td><code> [private]</code></td></tr> + <tr class="memlist"><td><a class="el" href="classTunDevice.html#f63f3331789f043e44eb435b78c815b2">isOpen</a>()</td><td><a class="el" href="classTunDevice.html">TunDevice</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classTunDevice.html#323ddcfd4ac60d0dbfe6ebb5bbb9a323">open</a>()</td><td><a class="el" href="classTunDevice.html">TunDevice</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classTunDevice.html#de33e9a7a951b43f2f7e24d8fe9c311e">operator=</a>(const TunDevice &src)</td><td><a class="el" href="classTunDevice.html">TunDevice</a></td><td><code> [private]</code></td></tr> + <tr class="memlist"><td><a class="el" href="classTunDevice.html#553498887edc92f7b7e31e3bf04fb8fb">read</a>(Buffer &buf)</td><td><a class="el" href="classTunDevice.html">TunDevice</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classTunDevice.html#d6914bd3a45e03ffe95676ac4420154a">TunDevice</a>(const char *dev, const char *dev_type, const char *ifcfg_lp, const char *ifcfg_rnmp)</td><td><a class="el" href="classTunDevice.html">TunDevice</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classTunDevice.html#4587b54228b4240334ad4614211df394">TunDevice</a>(const TunDevice &src)</td><td><a class="el" href="classTunDevice.html">TunDevice</a></td><td><code> [private]</code></td></tr> + <tr class="memlist"><td><a class="el" href="classTunDevice.html#b4ce6b158bbe4fe051b6fea8cd3d6cd3">TYPE_TAP</a></td><td><a class="el" href="classTunDevice.html">TunDevice</a></td><td><code> [static]</code></td></tr> + <tr class="memlist"><td><a class="el" href="classTunDevice.html#ea416d7f03ef22bf1d166d33b47fd993">TYPE_TUN</a></td><td><a class="el" href="classTunDevice.html">TunDevice</a></td><td><code> [static]</code></td></tr> + <tr class="memlist"><td><a class="el" href="classTunDevice.html#ec146b27c7755747c1cc1511e4482875">TYPE_UNDEF</a></td><td><a class="el" href="classTunDevice.html">TunDevice</a></td><td><code> [static]</code></td></tr> + <tr class="memlist"><td><a class="el" href="classTunDevice.html#958bc73a627cc5d404ed87204547134d">write</a>(Buffer &buf)</td><td><a class="el" href="classTunDevice.html">TunDevice</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classTunDevice.html#2c6196d270bf4d0e99ff4f860391faed">~TunDevice</a>()</td><td><a class="el" href="classTunDevice.html">TunDevice</a></td><td></td></tr> +</table><hr size="1"><address style="align: right;"><small>Generated on Sun Oct 7 23:43:50 2007 for anytun by +<a href="http://www.doxygen.org/index.html"> +<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address> +</body> +</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 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> +<title>anytun: TunDevice Class Reference</title> +<link href="doxygen.css" rel="stylesheet" type="text/css"> +<link href="tabs.css" rel="stylesheet" type="text/css"> +</head><body> +<!-- Generated by Doxygen 1.5.1 --> +<div class="tabs"> + <ul> + <li><a href="main.html"><span>Main Page</span></a></li> + <li><a href="namespaces.html"><span>Namespaces</span></a></li> + <li id="current"><a href="annotated.html"><span>Classes</span></a></li> + <li><a href="files.html"><span>Files</span></a></li> + </ul></div> +<div class="tabs"> + <ul> + <li><a href="annotated.html"><span>Class List</span></a></li> + <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> + <li><a href="functions.html"><span>Class Members</span></a></li> + </ul></div> +<h1>TunDevice Class Reference</h1><!-- doxytag: class="TunDevice" --><code>#include <<a class="el" href="tunDevice_8h-source.html">tunDevice.h</a>></code> +<p> +<a href="classTunDevice-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0"> +<tr><td></td></tr> +<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr> +<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classTunDevice.html#d6914bd3a45e03ffe95676ac4420154a">TunDevice</a> (const char *dev, const char *dev_type, const char *ifcfg_lp, const char *ifcfg_rnmp)</td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classTunDevice.html#2c6196d270bf4d0e99ff4f860391faed">~TunDevice</a> ()</td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classTunDevice.html#323ddcfd4ac60d0dbfe6ebb5bbb9a323">open</a> ()</td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classTunDevice.html#13986e13fe28da6c917293c40effb902">close</a> ()</td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classTunDevice.html#f63f3331789f043e44eb435b78c815b2">isOpen</a> ()</td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top">short </td><td class="memItemRight" valign="bottom"><a class="el" href="classTunDevice.html#553498887edc92f7b7e31e3bf04fb8fb">read</a> (<a class="el" href="classBuffer.html">Buffer</a> &buf)</td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classTunDevice.html#958bc73a627cc5d404ed87204547134d">write</a> (<a class="el" href="classBuffer.html">Buffer</a> &buf)</td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top">char * </td><td class="memItemRight" valign="bottom"><a class="el" href="classTunDevice.html#e02f8972f75b11b69280fba9b6649cab">getActualName</a> ()</td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="datatypes_8h.html#1382fcaa92d837ce7c0961788c8243d7">u_int32_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classTunDevice.html#b57512464007681dcc92820adb3deb0f">getType</a> ()</td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top">char * </td><td class="memItemRight" valign="bottom"><a class="el" href="classTunDevice.html#0cecbc6a7e58d294dd005e7d523173bd">getTypeString</a> ()</td></tr> + +<tr><td colspan="2"><br><h2>Static Public Attributes</h2></td></tr> +<tr><td class="memItemLeft" nowrap align="right" valign="top">static const <a class="el" href="datatypes_8h.html#1382fcaa92d837ce7c0961788c8243d7">u_int32_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classTunDevice.html#ec146b27c7755747c1cc1511e4482875">TYPE_UNDEF</a> = 0</td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top">static const <a class="el" href="datatypes_8h.html#1382fcaa92d837ce7c0961788c8243d7">u_int32_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classTunDevice.html#ea416d7f03ef22bf1d166d33b47fd993">TYPE_TUN</a> = 1</td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top">static const <a class="el" href="datatypes_8h.html#1382fcaa92d837ce7c0961788c8243d7">u_int32_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classTunDevice.html#b4ce6b158bbe4fe051b6fea8cd3d6cd3">TYPE_TAP</a> = 2</td></tr> + +<tr><td colspan="2"><br><h2>Private Member Functions</h2></td></tr> +<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classTunDevice.html#de33e9a7a951b43f2f7e24d8fe9c311e">operator=</a> (const <a class="el" href="classTunDevice.html">TunDevice</a> &src)</td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classTunDevice.html#4587b54228b4240334ad4614211df394">TunDevice</a> (const <a class="el" href="classTunDevice.html">TunDevice</a> &src)</td></tr> + +<tr><td colspan="2"><br><h2>Private Attributes</h2></td></tr> +<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classMutex.html">Mutex</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classTunDevice.html#e130228e28996e644d2013089e704d4c">io_mutex_</a></td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top">tuntap * </td><td class="memItemRight" valign="bottom"><a class="el" href="classTunDevice.html#239c85381dfcf1776303778d1784df51">dev_</a></td></tr> + +</table> +<hr><h2>Constructor & Destructor Documentation</h2> +<a class="anchor" name="d6914bd3a45e03ffe95676ac4420154a"></a><!-- doxytag: member="TunDevice::TunDevice" ref="d6914bd3a45e03ffe95676ac4420154a" args="(const char *dev, const char *dev_type, const char *ifcfg_lp, const char *ifcfg_rnmp)" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">TunDevice::TunDevice </td> + <td>(</td> + <td class="paramtype">const char * </td> + <td class="paramname"> <em>dev</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype">const char * </td> + <td class="paramname"> <em>dev_type</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype">const char * </td> + <td class="paramname"> <em>ifcfg_lp</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype">const char * </td> + <td class="paramname"> <em>ifcfg_rnmp</em></td><td> </td> + </tr> + <tr> + <td></td> + <td>)</td> + <td></td><td></td><td width="100%"></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<a class="anchor" name="2c6196d270bf4d0e99ff4f860391faed"></a><!-- doxytag: member="TunDevice::~TunDevice" ref="2c6196d270bf4d0e99ff4f860391faed" args="()" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">TunDevice::~TunDevice </td> + <td>(</td> + <td class="paramname"> </td> + <td> ) </td> + <td width="100%"></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<a class="anchor" name="4587b54228b4240334ad4614211df394"></a><!-- doxytag: member="TunDevice::TunDevice" ref="4587b54228b4240334ad4614211df394" args="(const TunDevice &src)" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">TunDevice::TunDevice </td> + <td>(</td> + <td class="paramtype">const <a class="el" href="classTunDevice.html">TunDevice</a> & </td> + <td class="paramname"> <em>src</em> </td> + <td> ) </td> + <td width="100%"><code> [private]</code></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<hr><h2>Member Function Documentation</h2> +<a class="anchor" name="323ddcfd4ac60d0dbfe6ebb5bbb9a323"></a><!-- doxytag: member="TunDevice::open" ref="323ddcfd4ac60d0dbfe6ebb5bbb9a323" args="()" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">void TunDevice::open </td> + <td>(</td> + <td class="paramname"> </td> + <td> ) </td> + <td width="100%"></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<a class="anchor" name="13986e13fe28da6c917293c40effb902"></a><!-- doxytag: member="TunDevice::close" ref="13986e13fe28da6c917293c40effb902" args="()" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">void TunDevice::close </td> + <td>(</td> + <td class="paramname"> </td> + <td> ) </td> + <td width="100%"></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<a class="anchor" name="f63f3331789f043e44eb435b78c815b2"></a><!-- doxytag: member="TunDevice::isOpen" ref="f63f3331789f043e44eb435b78c815b2" args="()" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">bool TunDevice::isOpen </td> + <td>(</td> + <td class="paramname"> </td> + <td> ) </td> + <td width="100%"></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<a class="anchor" name="553498887edc92f7b7e31e3bf04fb8fb"></a><!-- doxytag: member="TunDevice::read" ref="553498887edc92f7b7e31e3bf04fb8fb" args="(Buffer &buf)" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">short TunDevice::read </td> + <td>(</td> + <td class="paramtype"><a class="el" href="classBuffer.html">Buffer</a> & </td> + <td class="paramname"> <em>buf</em> </td> + <td> ) </td> + <td width="100%"></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<a class="anchor" name="958bc73a627cc5d404ed87204547134d"></a><!-- doxytag: member="TunDevice::write" ref="958bc73a627cc5d404ed87204547134d" args="(Buffer &buf)" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">int TunDevice::write </td> + <td>(</td> + <td class="paramtype"><a class="el" href="classBuffer.html">Buffer</a> & </td> + <td class="paramname"> <em>buf</em> </td> + <td> ) </td> + <td width="100%"></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<a class="anchor" name="e02f8972f75b11b69280fba9b6649cab"></a><!-- doxytag: member="TunDevice::getActualName" ref="e02f8972f75b11b69280fba9b6649cab" args="()" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">char * TunDevice::getActualName </td> + <td>(</td> + <td class="paramname"> </td> + <td> ) </td> + <td width="100%"></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<a class="anchor" name="b57512464007681dcc92820adb3deb0f"></a><!-- doxytag: member="TunDevice::getType" ref="b57512464007681dcc92820adb3deb0f" args="()" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname"><a class="el" href="datatypes_8h.html#1382fcaa92d837ce7c0961788c8243d7">u_int32_t</a> TunDevice::getType </td> + <td>(</td> + <td class="paramname"> </td> + <td> ) </td> + <td width="100%"></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<a class="anchor" name="0cecbc6a7e58d294dd005e7d523173bd"></a><!-- doxytag: member="TunDevice::getTypeString" ref="0cecbc6a7e58d294dd005e7d523173bd" args="()" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">char * TunDevice::getTypeString </td> + <td>(</td> + <td class="paramname"> </td> + <td> ) </td> + <td width="100%"></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<a class="anchor" name="de33e9a7a951b43f2f7e24d8fe9c311e"></a><!-- doxytag: member="TunDevice::operator=" ref="de33e9a7a951b43f2f7e24d8fe9c311e" args="(const TunDevice &src)" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">void TunDevice::operator= </td> + <td>(</td> + <td class="paramtype">const <a class="el" href="classTunDevice.html">TunDevice</a> & </td> + <td class="paramname"> <em>src</em> </td> + <td> ) </td> + <td width="100%"><code> [private]</code></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<hr><h2>Member Data Documentation</h2> +<a class="anchor" name="ec146b27c7755747c1cc1511e4482875"></a><!-- doxytag: member="TunDevice::TYPE_UNDEF" ref="ec146b27c7755747c1cc1511e4482875" args="" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">const <a class="el" href="datatypes_8h.html#1382fcaa92d837ce7c0961788c8243d7">u_int32_t</a> <a class="el" href="classTunDevice.html#ec146b27c7755747c1cc1511e4482875">TunDevice::TYPE_UNDEF</a> = 0<code> [static]</code> </td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<a class="anchor" name="ea416d7f03ef22bf1d166d33b47fd993"></a><!-- doxytag: member="TunDevice::TYPE_TUN" ref="ea416d7f03ef22bf1d166d33b47fd993" args="" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">const <a class="el" href="datatypes_8h.html#1382fcaa92d837ce7c0961788c8243d7">u_int32_t</a> <a class="el" href="classTunDevice.html#ea416d7f03ef22bf1d166d33b47fd993">TunDevice::TYPE_TUN</a> = 1<code> [static]</code> </td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<a class="anchor" name="b4ce6b158bbe4fe051b6fea8cd3d6cd3"></a><!-- doxytag: member="TunDevice::TYPE_TAP" ref="b4ce6b158bbe4fe051b6fea8cd3d6cd3" args="" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">const <a class="el" href="datatypes_8h.html#1382fcaa92d837ce7c0961788c8243d7">u_int32_t</a> <a class="el" href="classTunDevice.html#b4ce6b158bbe4fe051b6fea8cd3d6cd3">TunDevice::TYPE_TAP</a> = 2<code> [static]</code> </td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<a class="anchor" name="e130228e28996e644d2013089e704d4c"></a><!-- doxytag: member="TunDevice::io_mutex_" ref="e130228e28996e644d2013089e704d4c" args="" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname"><a class="el" href="classMutex.html">Mutex</a> <a class="el" href="classTunDevice.html#e130228e28996e644d2013089e704d4c">TunDevice::io_mutex_</a><code> [private]</code> </td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<a class="anchor" name="239c85381dfcf1776303778d1784df51"></a><!-- doxytag: member="TunDevice::dev_" ref="239c85381dfcf1776303778d1784df51" args="" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">struct tuntap* <a class="el" href="classTunDevice.html#239c85381dfcf1776303778d1784df51">TunDevice::dev_</a><code> [private]</code> </td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<hr>The documentation for this class was generated from the following files:<ul> +<li><a class="el" href="tunDevice_8h-source.html">tunDevice.h</a><li><a class="el" href="tunDevice_8cpp.html">tunDevice.cpp</a></ul> +<hr size="1"><address style="align: right;"><small>Generated on Sun Oct 7 23:43:50 2007 for anytun by +<a href="http://www.doxygen.org/index.html"> +<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address> +</body> +</html> diff --git a/doc/html/classUDPPacketSource-members.html b/doc/html/classUDPPacketSource-members.html new file mode 100644 index 0000000..ba8122c --- /dev/null +++ b/doc/html/classUDPPacketSource-members.html @@ -0,0 +1,58 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> +<title>anytun: Member List</title> +<link href="doxygen.css" rel="stylesheet" type="text/css"> +<link href="tabs.css" rel="stylesheet" type="text/css"> +</head><body> +<!-- Generated by Doxygen 1.5.1 --> +<div class="tabs"> + <ul> + <li><a href="main.html"><span>Main Page</span></a></li> + <li><a href="namespaces.html"><span>Namespaces</span></a></li> + <li id="current"><a href="annotated.html"><span>Classes</span></a></li> + <li><a href="files.html"><span>Files</span></a></li> + </ul></div> +<div class="tabs"> + <ul> + <li><a href="annotated.html"><span>Class List</span></a></li> + <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> + <li><a href="functions.html"><span>Class Members</span></a></li> + </ul></div> +<h1>UDPPacketSource Member List</h1>This is the complete list of members for <a class="el" href="classUDPPacketSource.html">UDPPacketSource</a>, including all inherited members.<p><table> + <tr class="memlist"><td><a class="el" href="classSocket.html#c5060aeb501044044351d5a85b3fc95f">cleanUp</a>()</td><td><a class="el" href="classSocket.html">Socket</a></td><td><code> [static]</code></td></tr> + <tr class="memlist"><td><a class="el" href="classCommunicatingSocket.html#0017517b8d6e761fde0c40475af3b2ab">CommunicatingSocket</a>(int type, int protocol)</td><td><a class="el" href="classCommunicatingSocket.html">CommunicatingSocket</a></td><td><code> [protected]</code></td></tr> + <tr class="memlist"><td><a class="el" href="classCommunicatingSocket.html#27d758db782b3be7d28741e92cb613d1">CommunicatingSocket</a>(int newConnSD)</td><td><a class="el" href="classCommunicatingSocket.html">CommunicatingSocket</a></td><td><code> [protected]</code></td></tr> + <tr class="memlist"><td><a class="el" href="classCommunicatingSocket.html#9192374d9baab8e189860aa8d913683c">connect</a>(const string &foreignAddress, unsigned short foreignPort)</td><td><a class="el" href="classCommunicatingSocket.html">CommunicatingSocket</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classUDPSocket.html#7482e8e61cef160e1a7c0d6ac15c01be">disconnect</a>()</td><td><a class="el" href="classUDPSocket.html">UDPSocket</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classCommunicatingSocket.html#13f9eca30ef56836cf23c163c848c09e">getForeignAddress</a>()</td><td><a class="el" href="classCommunicatingSocket.html">CommunicatingSocket</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classCommunicatingSocket.html#184fbb4775184b87ebd886a5587eb1a3">getForeignPort</a>()</td><td><a class="el" href="classCommunicatingSocket.html">CommunicatingSocket</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classSocket.html#0fca07bdfa97874fba1a17995ed7cda3">getLocalAddress</a>()</td><td><a class="el" href="classSocket.html">Socket</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classSocket.html#e01143b667d69483a2f53d0f4ce7eeed">getLocalPort</a>()</td><td><a class="el" href="classSocket.html">Socket</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classUDPSocket.html#1b20c1e8bd49a9bd9b53dd4f1c8d4c11">joinGroup</a>(const string &multicastGroup)</td><td><a class="el" href="classUDPSocket.html">UDPSocket</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classUDPSocket.html#78835eaeca8a5ac039b4579c795e3640">leaveGroup</a>(const string &multicastGroup)</td><td><a class="el" href="classUDPSocket.html">UDPSocket</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classUDPPacketSource.html#a1f7daded0f9ead5599160bae9317eb8">recv</a>(Buffer &buf, std::string &addr, u_int16_t &port)</td><td><a class="el" href="classUDPPacketSource.html">UDPPacketSource</a></td><td><code> [virtual]</code></td></tr> + <tr class="memlist"><td><a class="el" href="classCommunicatingSocket.html#7cf1fd470c0060171b68df9f68c7bd01">UDPSocket::recv</a>(void *buffer, int bufferLen)</td><td><a class="el" href="classCommunicatingSocket.html">CommunicatingSocket</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classUDPSocket.html#bcd5c064e2496bd8b1888fd4e1b68949">recvFrom</a>(void *buffer, int bufferLen, string &sourceAddress, unsigned short &sourcePort)</td><td><a class="el" href="classUDPSocket.html">UDPSocket</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classSocket.html#982c63b25c5b756321a74074a275adbc">resolveService</a>(const string &service, const string &protocol="tcp")</td><td><a class="el" href="classSocket.html">Socket</a></td><td><code> [static]</code></td></tr> + <tr class="memlist"><td><a class="el" href="classUDPPacketSource.html#376a3b0c861aeb7561e8a9f6866292b9">send</a>(Buffer &buf, std::string addr, u_int16_t port)</td><td><a class="el" href="classUDPPacketSource.html">UDPPacketSource</a></td><td><code> [virtual]</code></td></tr> + <tr class="memlist"><td><a class="el" href="classCommunicatingSocket.html#ca4e86085c064641e86ae24ea29bbb94">UDPSocket::send</a>(const void *buffer, int bufferLen)</td><td><a class="el" href="classCommunicatingSocket.html">CommunicatingSocket</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classUDPSocket.html#41a3595e226f273953cbd38618af5d5b">sendTo</a>(const void *buffer, int bufferLen, const string &foreignAddress, unsigned short foreignPort)</td><td><a class="el" href="classUDPSocket.html">UDPSocket</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classSocket.html#a6b986410bc2e606ba27d01fa7cb8836">setLocalAddressAndPort</a>(const string &localAddress, unsigned short localPort=0)</td><td><a class="el" href="classSocket.html">Socket</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classSocket.html#773fe4a35146002de76952e16fdebcfa">setLocalPort</a>(unsigned short localPort)</td><td><a class="el" href="classSocket.html">Socket</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classUDPSocket.html#4dcfff33b45d1b84b5a602fc6f4a27f8">setMulticastTTL</a>(unsigned char multicastTTL)</td><td><a class="el" href="classUDPSocket.html">UDPSocket</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classSocket.html#d5704d2fdfb062139e1f88831617bbfb">sockDesc</a></td><td><a class="el" href="classSocket.html">Socket</a></td><td><code> [protected]</code></td></tr> + <tr class="memlist"><td><a class="el" href="classSocket.html#53e00027bab2125a2b407914c6148589">Socket</a>(int type, int protocol)</td><td><a class="el" href="classSocket.html">Socket</a></td><td><code> [protected]</code></td></tr> + <tr class="memlist"><td><a class="el" href="classSocket.html#6a2609eef6559336a595a336f138d395">Socket</a>(int sockDesc)</td><td><a class="el" href="classSocket.html">Socket</a></td><td><code> [protected]</code></td></tr> + <tr class="memlist"><td><a class="el" href="classUDPPacketSource.html#1dda248d4d7b03cb8301557271abc40e">UDPPacketSource</a>()</td><td><a class="el" href="classUDPPacketSource.html">UDPPacketSource</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classUDPPacketSource.html#b9fd5944db99fd0f89c12b0d74ba5e74">UDPPacketSource</a>(u_int16_t port)</td><td><a class="el" href="classUDPPacketSource.html">UDPPacketSource</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classUDPPacketSource.html#1cc870353b550b79f9161cfac41f26fa">UDPPacketSource</a>(std::string localaddr, u_int16_t port)</td><td><a class="el" href="classUDPPacketSource.html">UDPPacketSource</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classUDPSocket.html#4f86f3023f5a08f6355802599a10e100">UDPSocket</a>()</td><td><a class="el" href="classUDPSocket.html">UDPSocket</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classUDPSocket.html#14dcb55c4b60b12d4a7fff648cbb825f">UDPSocket</a>(unsigned short localPort)</td><td><a class="el" href="classUDPSocket.html">UDPSocket</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classUDPSocket.html#f19281c523f15ed30d7d78f09033713d">UDPSocket</a>(const string &localAddress, unsigned short localPort)</td><td><a class="el" href="classUDPSocket.html">UDPSocket</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classPacketSource.html#fdaad665e453cf5a047935b07a050ef4">~PacketSource</a>()</td><td><a class="el" href="classPacketSource.html">PacketSource</a></td><td><code> [inline, virtual]</code></td></tr> + <tr class="memlist"><td><a class="el" href="classSocket.html#eac4eb6379a543d38ed88977d3b6630a">~Socket</a>()</td><td><a class="el" href="classSocket.html">Socket</a></td><td></td></tr> +</table><hr size="1"><address style="align: right;"><small>Generated on Sun Oct 7 23:43:50 2007 for anytun by +<a href="http://www.doxygen.org/index.html"> +<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address> +</body> +</html> diff --git a/doc/html/classUDPPacketSource.html b/doc/html/classUDPPacketSource.html new file mode 100644 index 0000000..c3fc1cf --- /dev/null +++ b/doc/html/classUDPPacketSource.html @@ -0,0 +1,195 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> +<title>anytun: UDPPacketSource Class Reference</title> +<link href="doxygen.css" rel="stylesheet" type="text/css"> +<link href="tabs.css" rel="stylesheet" type="text/css"> +</head><body> +<!-- Generated by Doxygen 1.5.1 --> +<div class="tabs"> + <ul> + <li><a href="main.html"><span>Main Page</span></a></li> + <li><a href="namespaces.html"><span>Namespaces</span></a></li> + <li id="current"><a href="annotated.html"><span>Classes</span></a></li> + <li><a href="files.html"><span>Files</span></a></li> + </ul></div> +<div class="tabs"> + <ul> + <li><a href="annotated.html"><span>Class List</span></a></li> + <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> + <li><a href="functions.html"><span>Class Members</span></a></li> + </ul></div> +<h1>UDPPacketSource Class Reference</h1><!-- doxytag: class="UDPPacketSource" --><!-- doxytag: inherits="PacketSource,UDPSocket" --><code>#include <<a class="el" href="packetSource_8h-source.html">packetSource.h</a>></code> +<p> +<p>Inheritance diagram for UDPPacketSource: +<p><center><img src="classUDPPacketSource.png" usemap="#UDPPacketSource_map" border="0" alt=""></center> +<map name="UDPPacketSource_map"> +<area href="classPacketSource.html" alt="PacketSource" shape="rect" coords="0,112,135,136"> +<area href="classUDPSocket.html" alt="UDPSocket" shape="rect" coords="145,112,280,136"> +<area href="classCommunicatingSocket.html" alt="CommunicatingSocket" shape="rect" coords="145,56,280,80"> +<area href="classSocket.html" alt="Socket" shape="rect" coords="145,0,280,24"> +</map> +<a href="classUDPPacketSource-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0"> +<tr><td></td></tr> +<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr> +<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classUDPPacketSource.html#1dda248d4d7b03cb8301557271abc40e">UDPPacketSource</a> ()</td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classUDPPacketSource.html#b9fd5944db99fd0f89c12b0d74ba5e74">UDPPacketSource</a> (<a class="el" href="datatypes_8h.html#3aa89f830bb876725b238e6a2a67a809">u_int16_t</a> port)</td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classUDPPacketSource.html#1cc870353b550b79f9161cfac41f26fa">UDPPacketSource</a> (std::string localaddr, <a class="el" href="datatypes_8h.html#3aa89f830bb876725b238e6a2a67a809">u_int16_t</a> port)</td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="datatypes_8h.html#1382fcaa92d837ce7c0961788c8243d7">u_int32_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classUDPPacketSource.html#a1f7daded0f9ead5599160bae9317eb8">recv</a> (<a class="el" href="classBuffer.html">Buffer</a> &buf, std::string &addr, <a class="el" href="datatypes_8h.html#3aa89f830bb876725b238e6a2a67a809">u_int16_t</a> &port)</td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classUDPPacketSource.html#376a3b0c861aeb7561e8a9f6866292b9">send</a> (<a class="el" href="classBuffer.html">Buffer</a> &buf, std::string addr, <a class="el" href="datatypes_8h.html#3aa89f830bb876725b238e6a2a67a809">u_int16_t</a> port)</td></tr> + +</table> +<hr><h2>Constructor & Destructor Documentation</h2> +<a class="anchor" name="1dda248d4d7b03cb8301557271abc40e"></a><!-- doxytag: member="UDPPacketSource::UDPPacketSource" ref="1dda248d4d7b03cb8301557271abc40e" args="()" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">UDPPacketSource::UDPPacketSource </td> + <td>(</td> + <td class="paramname"> </td> + <td> ) </td> + <td width="100%"></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<a class="anchor" name="b9fd5944db99fd0f89c12b0d74ba5e74"></a><!-- doxytag: member="UDPPacketSource::UDPPacketSource" ref="b9fd5944db99fd0f89c12b0d74ba5e74" args="(u_int16_t port)" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">UDPPacketSource::UDPPacketSource </td> + <td>(</td> + <td class="paramtype"><a class="el" href="datatypes_8h.html#3aa89f830bb876725b238e6a2a67a809">u_int16_t</a> </td> + <td class="paramname"> <em>port</em> </td> + <td> ) </td> + <td width="100%"></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<a class="anchor" name="1cc870353b550b79f9161cfac41f26fa"></a><!-- doxytag: member="UDPPacketSource::UDPPacketSource" ref="1cc870353b550b79f9161cfac41f26fa" args="(std::string localaddr, u_int16_t port)" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">UDPPacketSource::UDPPacketSource </td> + <td>(</td> + <td class="paramtype">std::string </td> + <td class="paramname"> <em>localaddr</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype"><a class="el" href="datatypes_8h.html#3aa89f830bb876725b238e6a2a67a809">u_int16_t</a> </td> + <td class="paramname"> <em>port</em></td><td> </td> + </tr> + <tr> + <td></td> + <td>)</td> + <td></td><td></td><td width="100%"></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<hr><h2>Member Function Documentation</h2> +<a class="anchor" name="a1f7daded0f9ead5599160bae9317eb8"></a><!-- doxytag: member="UDPPacketSource::recv" ref="a1f7daded0f9ead5599160bae9317eb8" args="(Buffer &buf, std::string &addr, u_int16_t &port)" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname"><a class="el" href="datatypes_8h.html#1382fcaa92d837ce7c0961788c8243d7">u_int32_t</a> UDPPacketSource::recv </td> + <td>(</td> + <td class="paramtype"><a class="el" href="classBuffer.html">Buffer</a> & </td> + <td class="paramname"> <em>buf</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype">std::string & </td> + <td class="paramname"> <em>addr</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype"><a class="el" href="datatypes_8h.html#3aa89f830bb876725b238e6a2a67a809">u_int16_t</a> & </td> + <td class="paramname"> <em>port</em></td><td> </td> + </tr> + <tr> + <td></td> + <td>)</td> + <td></td><td></td><td width="100%"><code> [virtual]</code></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +<p> +Implements <a class="el" href="classPacketSource.html#95901be715656540a7273c6c0dc1234e">PacketSource</a>. +</div> +</div><p> +<a class="anchor" name="376a3b0c861aeb7561e8a9f6866292b9"></a><!-- doxytag: member="UDPPacketSource::send" ref="376a3b0c861aeb7561e8a9f6866292b9" args="(Buffer &buf, std::string addr, u_int16_t port)" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">void UDPPacketSource::send </td> + <td>(</td> + <td class="paramtype"><a class="el" href="classBuffer.html">Buffer</a> & </td> + <td class="paramname"> <em>buf</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype">std::string </td> + <td class="paramname"> <em>addr</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype"><a class="el" href="datatypes_8h.html#3aa89f830bb876725b238e6a2a67a809">u_int16_t</a> </td> + <td class="paramname"> <em>port</em></td><td> </td> + </tr> + <tr> + <td></td> + <td>)</td> + <td></td><td></td><td width="100%"><code> [virtual]</code></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +<p> +Implements <a class="el" href="classPacketSource.html#ffc5eb2c89d1395443432c3cc6b7898b">PacketSource</a>. +</div> +</div><p> +<hr>The documentation for this class was generated from the following files:<ul> +<li><a class="el" href="packetSource_8h-source.html">packetSource.h</a><li><a class="el" href="packetSource_8cpp.html">packetSource.cpp</a></ul> +<hr size="1"><address style="align: right;"><small>Generated on Sun Oct 7 23:43:50 2007 for anytun by +<a href="http://www.doxygen.org/index.html"> +<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address> +</body> +</html> diff --git a/doc/html/classUDPPacketSource.png b/doc/html/classUDPPacketSource.png Binary files differnew file mode 100644 index 0000000..f180736 --- /dev/null +++ b/doc/html/classUDPPacketSource.png diff --git a/doc/html/classUDPSocket-members.html b/doc/html/classUDPSocket-members.html new file mode 100644 index 0000000..7f329a0 --- /dev/null +++ b/doc/html/classUDPSocket-members.html @@ -0,0 +1,53 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> +<title>anytun: Member List</title> +<link href="doxygen.css" rel="stylesheet" type="text/css"> +<link href="tabs.css" rel="stylesheet" type="text/css"> +</head><body> +<!-- Generated by Doxygen 1.5.1 --> +<div class="tabs"> + <ul> + <li><a href="main.html"><span>Main Page</span></a></li> + <li><a href="namespaces.html"><span>Namespaces</span></a></li> + <li id="current"><a href="annotated.html"><span>Classes</span></a></li> + <li><a href="files.html"><span>Files</span></a></li> + </ul></div> +<div class="tabs"> + <ul> + <li><a href="annotated.html"><span>Class List</span></a></li> + <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> + <li><a href="functions.html"><span>Class Members</span></a></li> + </ul></div> +<h1>UDPSocket Member List</h1>This is the complete list of members for <a class="el" href="classUDPSocket.html">UDPSocket</a>, including all inherited members.<p><table> + <tr class="memlist"><td><a class="el" href="classSocket.html#c5060aeb501044044351d5a85b3fc95f">cleanUp</a>()</td><td><a class="el" href="classSocket.html">Socket</a></td><td><code> [static]</code></td></tr> + <tr class="memlist"><td><a class="el" href="classCommunicatingSocket.html#0017517b8d6e761fde0c40475af3b2ab">CommunicatingSocket</a>(int type, int protocol)</td><td><a class="el" href="classCommunicatingSocket.html">CommunicatingSocket</a></td><td><code> [protected]</code></td></tr> + <tr class="memlist"><td><a class="el" href="classCommunicatingSocket.html#27d758db782b3be7d28741e92cb613d1">CommunicatingSocket</a>(int newConnSD)</td><td><a class="el" href="classCommunicatingSocket.html">CommunicatingSocket</a></td><td><code> [protected]</code></td></tr> + <tr class="memlist"><td><a class="el" href="classCommunicatingSocket.html#9192374d9baab8e189860aa8d913683c">connect</a>(const string &foreignAddress, unsigned short foreignPort)</td><td><a class="el" href="classCommunicatingSocket.html">CommunicatingSocket</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classUDPSocket.html#7482e8e61cef160e1a7c0d6ac15c01be">disconnect</a>()</td><td><a class="el" href="classUDPSocket.html">UDPSocket</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classCommunicatingSocket.html#13f9eca30ef56836cf23c163c848c09e">getForeignAddress</a>()</td><td><a class="el" href="classCommunicatingSocket.html">CommunicatingSocket</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classCommunicatingSocket.html#184fbb4775184b87ebd886a5587eb1a3">getForeignPort</a>()</td><td><a class="el" href="classCommunicatingSocket.html">CommunicatingSocket</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classSocket.html#0fca07bdfa97874fba1a17995ed7cda3">getLocalAddress</a>()</td><td><a class="el" href="classSocket.html">Socket</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classSocket.html#e01143b667d69483a2f53d0f4ce7eeed">getLocalPort</a>()</td><td><a class="el" href="classSocket.html">Socket</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classUDPSocket.html#1b20c1e8bd49a9bd9b53dd4f1c8d4c11">joinGroup</a>(const string &multicastGroup)</td><td><a class="el" href="classUDPSocket.html">UDPSocket</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classUDPSocket.html#78835eaeca8a5ac039b4579c795e3640">leaveGroup</a>(const string &multicastGroup)</td><td><a class="el" href="classUDPSocket.html">UDPSocket</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classCommunicatingSocket.html#7cf1fd470c0060171b68df9f68c7bd01">recv</a>(void *buffer, int bufferLen)</td><td><a class="el" href="classCommunicatingSocket.html">CommunicatingSocket</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classUDPSocket.html#bcd5c064e2496bd8b1888fd4e1b68949">recvFrom</a>(void *buffer, int bufferLen, string &sourceAddress, unsigned short &sourcePort)</td><td><a class="el" href="classUDPSocket.html">UDPSocket</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classSocket.html#982c63b25c5b756321a74074a275adbc">resolveService</a>(const string &service, const string &protocol="tcp")</td><td><a class="el" href="classSocket.html">Socket</a></td><td><code> [static]</code></td></tr> + <tr class="memlist"><td><a class="el" href="classCommunicatingSocket.html#ca4e86085c064641e86ae24ea29bbb94">send</a>(const void *buffer, int bufferLen)</td><td><a class="el" href="classCommunicatingSocket.html">CommunicatingSocket</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classUDPSocket.html#41a3595e226f273953cbd38618af5d5b">sendTo</a>(const void *buffer, int bufferLen, const string &foreignAddress, unsigned short foreignPort)</td><td><a class="el" href="classUDPSocket.html">UDPSocket</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classUDPSocket.html#316f08a017aa160643812f3c08734d27">setBroadcast</a>()</td><td><a class="el" href="classUDPSocket.html">UDPSocket</a></td><td><code> [private]</code></td></tr> + <tr class="memlist"><td><a class="el" href="classSocket.html#a6b986410bc2e606ba27d01fa7cb8836">setLocalAddressAndPort</a>(const string &localAddress, unsigned short localPort=0)</td><td><a class="el" href="classSocket.html">Socket</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classSocket.html#773fe4a35146002de76952e16fdebcfa">setLocalPort</a>(unsigned short localPort)</td><td><a class="el" href="classSocket.html">Socket</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classUDPSocket.html#4dcfff33b45d1b84b5a602fc6f4a27f8">setMulticastTTL</a>(unsigned char multicastTTL)</td><td><a class="el" href="classUDPSocket.html">UDPSocket</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classSocket.html#d5704d2fdfb062139e1f88831617bbfb">sockDesc</a></td><td><a class="el" href="classSocket.html">Socket</a></td><td><code> [protected]</code></td></tr> + <tr class="memlist"><td><a class="el" href="classSocket.html#53e00027bab2125a2b407914c6148589">Socket</a>(int type, int protocol)</td><td><a class="el" href="classSocket.html">Socket</a></td><td><code> [protected]</code></td></tr> + <tr class="memlist"><td><a class="el" href="classSocket.html#6a2609eef6559336a595a336f138d395">Socket</a>(int sockDesc)</td><td><a class="el" href="classSocket.html">Socket</a></td><td><code> [protected]</code></td></tr> + <tr class="memlist"><td><a class="el" href="classUDPSocket.html#4f86f3023f5a08f6355802599a10e100">UDPSocket</a>()</td><td><a class="el" href="classUDPSocket.html">UDPSocket</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classUDPSocket.html#14dcb55c4b60b12d4a7fff648cbb825f">UDPSocket</a>(unsigned short localPort)</td><td><a class="el" href="classUDPSocket.html">UDPSocket</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classUDPSocket.html#f19281c523f15ed30d7d78f09033713d">UDPSocket</a>(const string &localAddress, unsigned short localPort)</td><td><a class="el" href="classUDPSocket.html">UDPSocket</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classSocket.html#eac4eb6379a543d38ed88977d3b6630a">~Socket</a>()</td><td><a class="el" href="classSocket.html">Socket</a></td><td></td></tr> +</table><hr size="1"><address style="align: right;"><small>Generated on Sun Oct 7 23:43:50 2007 for anytun by +<a href="http://www.doxygen.org/index.html"> +<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address> +</body> +</html> diff --git a/doc/html/classUDPSocket.html b/doc/html/classUDPSocket.html new file mode 100644 index 0000000..d3c693e --- /dev/null +++ b/doc/html/classUDPSocket.html @@ -0,0 +1,404 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> +<title>anytun: UDPSocket Class Reference</title> +<link href="doxygen.css" rel="stylesheet" type="text/css"> +<link href="tabs.css" rel="stylesheet" type="text/css"> +</head><body> +<!-- Generated by Doxygen 1.5.1 --> +<div class="tabs"> + <ul> + <li><a href="main.html"><span>Main Page</span></a></li> + <li><a href="namespaces.html"><span>Namespaces</span></a></li> + <li id="current"><a href="annotated.html"><span>Classes</span></a></li> + <li><a href="files.html"><span>Files</span></a></li> + </ul></div> +<div class="tabs"> + <ul> + <li><a href="annotated.html"><span>Class List</span></a></li> + <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> + <li><a href="functions.html"><span>Class Members</span></a></li> + </ul></div> +<h1>UDPSocket Class Reference</h1><!-- doxytag: class="UDPSocket" --><!-- doxytag: inherits="CommunicatingSocket" --><code>#include <<a class="el" href="PracticalSocket_8h-source.html">PracticalSocket.h</a>></code> +<p> +<p>Inheritance diagram for UDPSocket: +<p><center><img src="classUDPSocket.png" usemap="#UDPSocket_map" border="0" alt=""></center> +<map name="UDPSocket_map"> +<area href="classCommunicatingSocket.html" alt="CommunicatingSocket" shape="rect" coords="0,56,135,80"> +<area href="classSocket.html" alt="Socket" shape="rect" coords="0,0,135,24"> +<area href="classUDPPacketSource.html" alt="UDPPacketSource" shape="rect" coords="0,168,135,192"> +</map> +<a href="classUDPSocket-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0"> +<tr><td></td></tr> +<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr> +<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classUDPSocket.html#4f86f3023f5a08f6355802599a10e100">UDPSocket</a> () throw (SocketException)</td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classUDPSocket.html#14dcb55c4b60b12d4a7fff648cbb825f">UDPSocket</a> (unsigned short localPort) throw (SocketException)</td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classUDPSocket.html#f19281c523f15ed30d7d78f09033713d">UDPSocket</a> (const string &localAddress, unsigned short localPort) throw (SocketException)</td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classUDPSocket.html#7482e8e61cef160e1a7c0d6ac15c01be">disconnect</a> () throw (SocketException)</td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classUDPSocket.html#41a3595e226f273953cbd38618af5d5b">sendTo</a> (const void *buffer, int bufferLen, const string &foreignAddress, unsigned short foreignPort) throw (SocketException)</td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classUDPSocket.html#bcd5c064e2496bd8b1888fd4e1b68949">recvFrom</a> (void *buffer, int bufferLen, string &sourceAddress, unsigned short &sourcePort) throw (SocketException)</td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classUDPSocket.html#4dcfff33b45d1b84b5a602fc6f4a27f8">setMulticastTTL</a> (unsigned char multicastTTL) throw (SocketException)</td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classUDPSocket.html#1b20c1e8bd49a9bd9b53dd4f1c8d4c11">joinGroup</a> (const string &multicastGroup) throw (SocketException)</td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classUDPSocket.html#78835eaeca8a5ac039b4579c795e3640">leaveGroup</a> (const string &multicastGroup) throw (SocketException)</td></tr> + +<tr><td colspan="2"><br><h2>Private Member Functions</h2></td></tr> +<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classUDPSocket.html#316f08a017aa160643812f3c08734d27">setBroadcast</a> ()</td></tr> + +</table> +<hr><a name="_details"></a><h2>Detailed Description</h2> +UDP socket class +<p> +<hr><h2>Constructor & Destructor Documentation</h2> +<a class="anchor" name="4f86f3023f5a08f6355802599a10e100"></a><!-- doxytag: member="UDPSocket::UDPSocket" ref="4f86f3023f5a08f6355802599a10e100" args="()" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">UDPSocket::UDPSocket </td> + <td>(</td> + <td class="paramname"> </td> + <td> ) </td> + <td width="100%"> throw (<a class="el" href="classSocketException.html">SocketException</a>)</td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> +Construct a UDP socket <dl compact><dt><b>Exceptions:</b></dt><dd> + <table border="0" cellspacing="2" cellpadding="0"> + <tr><td valign="top"></td><td valign="top"><em><a class="el" href="classSocketException.html">SocketException</a></em> </td><td>thrown if unable to create UDP socket </td></tr> + </table> +</dl> + +</div> +</div><p> +<a class="anchor" name="14dcb55c4b60b12d4a7fff648cbb825f"></a><!-- doxytag: member="UDPSocket::UDPSocket" ref="14dcb55c4b60b12d4a7fff648cbb825f" args="(unsigned short localPort)" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">UDPSocket::UDPSocket </td> + <td>(</td> + <td class="paramtype">unsigned short </td> + <td class="paramname"> <em>localPort</em> </td> + <td> ) </td> + <td width="100%"> throw (<a class="el" href="classSocketException.html">SocketException</a>)</td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> +Construct a UDP socket with the given local port <dl compact><dt><b>Parameters:</b></dt><dd> + <table border="0" cellspacing="2" cellpadding="0"> + <tr><td valign="top"></td><td valign="top"><em>localPort</em> </td><td>local port </td></tr> + </table> +</dl> +<dl compact><dt><b>Exceptions:</b></dt><dd> + <table border="0" cellspacing="2" cellpadding="0"> + <tr><td valign="top"></td><td valign="top"><em><a class="el" href="classSocketException.html">SocketException</a></em> </td><td>thrown if unable to create UDP socket </td></tr> + </table> +</dl> + +</div> +</div><p> +<a class="anchor" name="f19281c523f15ed30d7d78f09033713d"></a><!-- doxytag: member="UDPSocket::UDPSocket" ref="f19281c523f15ed30d7d78f09033713d" args="(const string &localAddress, unsigned short localPort)" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">UDPSocket::UDPSocket </td> + <td>(</td> + <td class="paramtype">const string & </td> + <td class="paramname"> <em>localAddress</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype">unsigned short </td> + <td class="paramname"> <em>localPort</em></td><td> </td> + </tr> + <tr> + <td></td> + <td>)</td> + <td></td><td></td><td width="100%"> throw (<a class="el" href="classSocketException.html">SocketException</a>)</td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> +Construct a UDP socket with the given local port and address <dl compact><dt><b>Parameters:</b></dt><dd> + <table border="0" cellspacing="2" cellpadding="0"> + <tr><td valign="top"></td><td valign="top"><em>localAddress</em> </td><td>local address </td></tr> + <tr><td valign="top"></td><td valign="top"><em>localPort</em> </td><td>local port </td></tr> + </table> +</dl> +<dl compact><dt><b>Exceptions:</b></dt><dd> + <table border="0" cellspacing="2" cellpadding="0"> + <tr><td valign="top"></td><td valign="top"><em><a class="el" href="classSocketException.html">SocketException</a></em> </td><td>thrown if unable to create UDP socket </td></tr> + </table> +</dl> + +</div> +</div><p> +<hr><h2>Member Function Documentation</h2> +<a class="anchor" name="7482e8e61cef160e1a7c0d6ac15c01be"></a><!-- doxytag: member="UDPSocket::disconnect" ref="7482e8e61cef160e1a7c0d6ac15c01be" args="()" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">void UDPSocket::disconnect </td> + <td>(</td> + <td class="paramname"> </td> + <td> ) </td> + <td width="100%"> throw (<a class="el" href="classSocketException.html">SocketException</a>)</td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> +Unset foreign address and port <dl class="return" compact><dt><b>Returns:</b></dt><dd>true if disassociation is successful </dd></dl> +<dl compact><dt><b>Exceptions:</b></dt><dd> + <table border="0" cellspacing="2" cellpadding="0"> + <tr><td valign="top"></td><td valign="top"><em><a class="el" href="classSocketException.html">SocketException</a></em> </td><td>thrown if unable to disconnect UDP socket </td></tr> + </table> +</dl> + +</div> +</div><p> +<a class="anchor" name="41a3595e226f273953cbd38618af5d5b"></a><!-- doxytag: member="UDPSocket::sendTo" ref="41a3595e226f273953cbd38618af5d5b" args="(const void *buffer, int bufferLen, const string &foreignAddress, unsigned short foreignPort)" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">void UDPSocket::sendTo </td> + <td>(</td> + <td class="paramtype">const void * </td> + <td class="paramname"> <em>buffer</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype">int </td> + <td class="paramname"> <em>bufferLen</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype">const string & </td> + <td class="paramname"> <em>foreignAddress</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype">unsigned short </td> + <td class="paramname"> <em>foreignPort</em></td><td> </td> + </tr> + <tr> + <td></td> + <td>)</td> + <td></td><td></td><td width="100%"> throw (<a class="el" href="classSocketException.html">SocketException</a>)</td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> +Send the given buffer as a UDP datagram to the specified address/port <dl compact><dt><b>Parameters:</b></dt><dd> + <table border="0" cellspacing="2" cellpadding="0"> + <tr><td valign="top"></td><td valign="top"><em>buffer</em> </td><td>buffer to be written </td></tr> + <tr><td valign="top"></td><td valign="top"><em>bufferLen</em> </td><td>number of bytes to write </td></tr> + <tr><td valign="top"></td><td valign="top"><em>foreignAddress</em> </td><td>address (IP address or name) to send to </td></tr> + <tr><td valign="top"></td><td valign="top"><em>foreignPort</em> </td><td>port number to send to </td></tr> + </table> +</dl> +<dl class="return" compact><dt><b>Returns:</b></dt><dd>true if send is successful </dd></dl> +<dl compact><dt><b>Exceptions:</b></dt><dd> + <table border="0" cellspacing="2" cellpadding="0"> + <tr><td valign="top"></td><td valign="top"><em><a class="el" href="classSocketException.html">SocketException</a></em> </td><td>thrown if unable to send datagram </td></tr> + </table> +</dl> + +</div> +</div><p> +<a class="anchor" name="bcd5c064e2496bd8b1888fd4e1b68949"></a><!-- doxytag: member="UDPSocket::recvFrom" ref="bcd5c064e2496bd8b1888fd4e1b68949" args="(void *buffer, int bufferLen, string &sourceAddress, unsigned short &sourcePort)" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">int UDPSocket::recvFrom </td> + <td>(</td> + <td class="paramtype">void * </td> + <td class="paramname"> <em>buffer</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype">int </td> + <td class="paramname"> <em>bufferLen</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype">string & </td> + <td class="paramname"> <em>sourceAddress</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype">unsigned short & </td> + <td class="paramname"> <em>sourcePort</em></td><td> </td> + </tr> + <tr> + <td></td> + <td>)</td> + <td></td><td></td><td width="100%"> throw (<a class="el" href="classSocketException.html">SocketException</a>)</td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> +Read read up to bufferLen bytes data from this socket. The given buffer is where the data will be placed <dl compact><dt><b>Parameters:</b></dt><dd> + <table border="0" cellspacing="2" cellpadding="0"> + <tr><td valign="top"></td><td valign="top"><em>buffer</em> </td><td>buffer to receive data </td></tr> + <tr><td valign="top"></td><td valign="top"><em>bufferLen</em> </td><td>maximum number of bytes to receive </td></tr> + <tr><td valign="top"></td><td valign="top"><em>sourceAddress</em> </td><td>address of datagram source </td></tr> + <tr><td valign="top"></td><td valign="top"><em>sourcePort</em> </td><td>port of data source </td></tr> + </table> +</dl> +<dl class="return" compact><dt><b>Returns:</b></dt><dd>number of bytes received and -1 for error </dd></dl> +<dl compact><dt><b>Exceptions:</b></dt><dd> + <table border="0" cellspacing="2" cellpadding="0"> + <tr><td valign="top"></td><td valign="top"><em><a class="el" href="classSocketException.html">SocketException</a></em> </td><td>thrown if unable to receive datagram </td></tr> + </table> +</dl> + +</div> +</div><p> +<a class="anchor" name="4dcfff33b45d1b84b5a602fc6f4a27f8"></a><!-- doxytag: member="UDPSocket::setMulticastTTL" ref="4dcfff33b45d1b84b5a602fc6f4a27f8" args="(unsigned char multicastTTL)" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">void UDPSocket::setMulticastTTL </td> + <td>(</td> + <td class="paramtype">unsigned char </td> + <td class="paramname"> <em>multicastTTL</em> </td> + <td> ) </td> + <td width="100%"> throw (<a class="el" href="classSocketException.html">SocketException</a>)</td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> +Set the multicast TTL <dl compact><dt><b>Parameters:</b></dt><dd> + <table border="0" cellspacing="2" cellpadding="0"> + <tr><td valign="top"></td><td valign="top"><em>multicastTTL</em> </td><td>multicast TTL </td></tr> + </table> +</dl> +<dl compact><dt><b>Exceptions:</b></dt><dd> + <table border="0" cellspacing="2" cellpadding="0"> + <tr><td valign="top"></td><td valign="top"><em><a class="el" href="classSocketException.html">SocketException</a></em> </td><td>thrown if unable to set TTL </td></tr> + </table> +</dl> + +</div> +</div><p> +<a class="anchor" name="1b20c1e8bd49a9bd9b53dd4f1c8d4c11"></a><!-- doxytag: member="UDPSocket::joinGroup" ref="1b20c1e8bd49a9bd9b53dd4f1c8d4c11" args="(const string &multicastGroup)" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">void UDPSocket::joinGroup </td> + <td>(</td> + <td class="paramtype">const string & </td> + <td class="paramname"> <em>multicastGroup</em> </td> + <td> ) </td> + <td width="100%"> throw (<a class="el" href="classSocketException.html">SocketException</a>)</td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> +Join the specified multicast group <dl compact><dt><b>Parameters:</b></dt><dd> + <table border="0" cellspacing="2" cellpadding="0"> + <tr><td valign="top"></td><td valign="top"><em>multicastGroup</em> </td><td>multicast group address to join </td></tr> + </table> +</dl> +<dl compact><dt><b>Exceptions:</b></dt><dd> + <table border="0" cellspacing="2" cellpadding="0"> + <tr><td valign="top"></td><td valign="top"><em><a class="el" href="classSocketException.html">SocketException</a></em> </td><td>thrown if unable to join group </td></tr> + </table> +</dl> + +</div> +</div><p> +<a class="anchor" name="78835eaeca8a5ac039b4579c795e3640"></a><!-- doxytag: member="UDPSocket::leaveGroup" ref="78835eaeca8a5ac039b4579c795e3640" args="(const string &multicastGroup)" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">void UDPSocket::leaveGroup </td> + <td>(</td> + <td class="paramtype">const string & </td> + <td class="paramname"> <em>multicastGroup</em> </td> + <td> ) </td> + <td width="100%"> throw (<a class="el" href="classSocketException.html">SocketException</a>)</td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> +Leave the specified multicast group <dl compact><dt><b>Parameters:</b></dt><dd> + <table border="0" cellspacing="2" cellpadding="0"> + <tr><td valign="top"></td><td valign="top"><em>multicastGroup</em> </td><td>multicast group address to leave </td></tr> + </table> +</dl> +<dl compact><dt><b>Exceptions:</b></dt><dd> + <table border="0" cellspacing="2" cellpadding="0"> + <tr><td valign="top"></td><td valign="top"><em><a class="el" href="classSocketException.html">SocketException</a></em> </td><td>thrown if unable to leave group </td></tr> + </table> +</dl> + +</div> +</div><p> +<a class="anchor" name="316f08a017aa160643812f3c08734d27"></a><!-- doxytag: member="UDPSocket::setBroadcast" ref="316f08a017aa160643812f3c08734d27" args="()" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">void UDPSocket::setBroadcast </td> + <td>(</td> + <td class="paramname"> </td> + <td> ) </td> + <td width="100%"><code> [private]</code></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<hr>The documentation for this class was generated from the following files:<ul> +<li><a class="el" href="PracticalSocket_8h-source.html">PracticalSocket.h</a><li><a class="el" href="PracticalSocket_8cpp.html">PracticalSocket.cpp</a></ul> +<hr size="1"><address style="align: right;"><small>Generated on Sun Oct 7 23:43:50 2007 for anytun by +<a href="http://www.doxygen.org/index.html"> +<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address> +</body> +</html> diff --git a/doc/html/classUDPSocket.png b/doc/html/classUDPSocket.png Binary files differnew file mode 100644 index 0000000..318812b --- /dev/null +++ b/doc/html/classUDPSocket.png diff --git a/doc/html/classsatp_1_1SATP-members.html b/doc/html/classsatp_1_1SATP-members.html new file mode 100644 index 0000000..4b243ed --- /dev/null +++ b/doc/html/classsatp_1_1SATP-members.html @@ -0,0 +1,72 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> +<title>anytun: Member List</title> +<link href="doxygen.css" rel="stylesheet" type="text/css"> +<link href="tabs.css" rel="stylesheet" type="text/css"> +</head><body> +<!-- Generated by Doxygen 1.5.1 --> +<div class="tabs"> + <ul> + <li><a href="main.html"><span>Main Page</span></a></li> + <li><a href="namespaces.html"><span>Namespaces</span></a></li> + <li id="current"><a href="annotated.html"><span>Classes</span></a></li> + <li><a href="files.html"><span>Files</span></a></li> + </ul></div> +<div class="tabs"> + <ul> + <li><a href="annotated.html"><span>Class List</span></a></li> + <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> + <li><a href="functions.html"><span>Class Members</span></a></li> + </ul></div> +<h1>satp::SATP Member List</h1>This is the complete list of members for <a class="el" href="classsatp_1_1SATP.html">satp::SATP</a>, including all inherited members.<p><table> + <tr class="memlist"><td><a class="el" href="classPacket.html#a7f8bb4bb127aad314eb0f0ef72447ed">addAuthTag</a>(auth_tag_t auth_tag)</td><td><a class="el" href="classPacket.html">Packet</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classPacket.html#2a682115c6802d0dd1ebbd3434a3a179">addHeader</a>(seq_nr_t seq_nr, sender_id_t sender_id)</td><td><a class="el" href="classPacket.html">Packet</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classPacket.html#40849ee3c59a84c3899c409ed392b477">addPayloadType</a>(payload_type_t payload_type)</td><td><a class="el" href="classPacket.html">Packet</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classBuffer.html#41d791e5b640813dea34c24c11056581">AesIcmCypher</a> class</td><td><a class="el" href="classBuffer.html">Buffer</a></td><td><code> [friend]</code></td></tr> + <tr class="memlist"><td><a class="el" href="classBuffer.html#e60240b77a315e6b3c2bf88592d0be48">buf_</a></td><td><a class="el" href="classBuffer.html">Buffer</a></td><td><code> [protected]</code></td></tr> + <tr class="memlist"><td><a class="el" href="classBuffer.html#e7ef2cd201190fde551dcb902627112b">Buffer</a>()</td><td><a class="el" href="classBuffer.html">Buffer</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classBuffer.html#5c58aa9e491f709011408ee7837d57d0">Buffer</a>(u_int32_t length)</td><td><a class="el" href="classBuffer.html">Buffer</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classBuffer.html#5bc2edccfb7c1a33354c895ab25c4816">Buffer</a>(u_int8_t *data, u_int32_t length)</td><td><a class="el" href="classBuffer.html">Buffer</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classBuffer.html#042fe5bc1f8d0c25d5707d6955d1654c">Buffer</a>(const Buffer &src)</td><td><a class="el" href="classBuffer.html">Buffer</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classsatp_1_1SATP.html#e51015e8537b5ec7aa53ba87bf638c15">fields_desc</a></td><td><a class="el" href="classsatp_1_1SATP.html">satp::SATP</a></td><td><code> [static]</code></td></tr> + <tr class="memlist"><td><a class="el" href="classPacket.html#ba55c639065c177a7006d8392f50eddc">getAuthTag</a>() const</td><td><a class="el" href="classPacket.html">Packet</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classBuffer.html#7890e20c6c77eb631c39728ea08b35b8">getBuf</a>()</td><td><a class="el" href="classBuffer.html">Buffer</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classBuffer.html#09ced241e4d0a46c52f0f20398076435">getLength</a>() const</td><td><a class="el" href="classBuffer.html">Buffer</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classPacket.html#ed7f5cc79b40a11eddefd4b421544498">getPayloadType</a>() const</td><td><a class="el" href="classPacket.html">Packet</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classPacket.html#096829acfcf98c3ffff60bd335cbb919">getSenderId</a>() const</td><td><a class="el" href="classPacket.html">Packet</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classPacket.html#6572b9df8c1f5f0de9fcb8e5c669de50">getSeqNr</a>() const</td><td><a class="el" href="classPacket.html">Packet</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classPacket.html#bfe50722f18687bb0691061fb0ccb0ff">hasAuthTag</a>() const</td><td><a class="el" href="classPacket.html">Packet</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classPacket.html#a004c01dd99179b0a08109dce5fc6b03">hasHeader</a>() const</td><td><a class="el" href="classPacket.html">Packet</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classPacket.html#c78b8af0dc7c7badf85e75db0de54800">hasPayloadType</a>() const</td><td><a class="el" href="classPacket.html">Packet</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classBuffer.html#1d039eb05e29b8eeadca9b474bb6d49f">KeyDerivation</a> class</td><td><a class="el" href="classBuffer.html">Buffer</a></td><td><code> [friend]</code></td></tr> + <tr class="memlist"><td><a class="el" href="classBuffer.html#13200a4925b1b3c08f99e09ccb6854a1">leftByteShift</a>(u_int32_t width) const</td><td><a class="el" href="classBuffer.html">Buffer</a></td><td><code> [virtual]</code></td></tr> + <tr class="memlist"><td><a class="el" href="classBuffer.html#d3a779d2403b5183427f12554e2f51c3">length_</a></td><td><a class="el" href="classBuffer.html">Buffer</a></td><td><code> [protected]</code></td></tr> + <tr class="memlist"><td><a class="el" href="classsatp_1_1SATP.html#e9e415324a6a9fbe14971c1ffd334139">name</a></td><td><a class="el" href="classsatp_1_1SATP.html">satp::SATP</a></td><td><code> [static]</code></td></tr> + <tr class="memlist"><td><a class="el" href="classBuffer.html#dcf367d5f1b7fced7aa61bb919af7943">operator u_int8_t *</a>()</td><td><a class="el" href="classBuffer.html">Buffer</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classBuffer.html#14cec0d3bf4f3f1a4a9930a8c53eb43a">operator=</a>(const Buffer &src)</td><td><a class="el" href="classBuffer.html">Buffer</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classBuffer.html#763882c627db10206f78b090556b00fa">operator[]</a>(u_int32_t index)</td><td><a class="el" href="classBuffer.html">Buffer</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classBuffer.html#e5a9559862374ebd9dfcfc1204890497">operator[]</a>(u_int32_t index) const</td><td><a class="el" href="classBuffer.html">Buffer</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classBuffer.html#d56159a415541fcff34ef8aed1eb7183">operator^</a>(const Buffer &xor_by) const </td><td><a class="el" href="classBuffer.html">Buffer</a></td><td><code> [virtual]</code></td></tr> + <tr class="memlist"><td><a class="el" href="classPacket.html#abcfb963c0d5bc0fa554668f92989622">Packet</a>()</td><td><a class="el" href="classPacket.html">Packet</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classPacket.html#d2a8f6ac3d6de9b541708c4b0c73d04b">Packet</a>(u_int32_t length)</td><td><a class="el" href="classPacket.html">Packet</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classPacket.html#27264b7d411a74ea9a0077bf5f9222b1">Packet</a>(const Buffer &src)</td><td><a class="el" href="classPacket.html">Packet</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classBuffer.html#13d927c471a7516b37bc9ad8fc1741ce">printHexDump</a>() const</td><td><a class="el" href="classBuffer.html">Buffer</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classPacket.html#3e3dfca708baf59791f0608b8a57924c">removeAuthTag</a>()</td><td><a class="el" href="classPacket.html">Packet</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classPacket.html#24c2a41630d79411086d952c8f732c8c">removeHeader</a>()</td><td><a class="el" href="classPacket.html">Packet</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classPacket.html#6433e4d5eef9216f4e70b338cb4d2e4d">removePayloadType</a>()</td><td><a class="el" href="classPacket.html">Packet</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classBuffer.html#5698b2d64238f1f38578dc8e9e2b1bc9">resizeBack</a>(u_int32_t new_length)</td><td><a class="el" href="classBuffer.html">Buffer</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classBuffer.html#fe4b10487b4930e0407bdf61857629d6">resizeFront</a>(u_int32_t new_length)</td><td><a class="el" href="classBuffer.html">Buffer</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classBuffer.html#298949899f3f78e4a8b3df7fa5ec532d">rightByteShift</a>(u_int32_t width) const</td><td><a class="el" href="classBuffer.html">Buffer</a></td><td><code> [virtual]</code></td></tr> + <tr class="memlist"><td><a class="el" href="classPacket.html#01c7b848ec415740565c87b374085bdc">setSenderId</a>(sender_id_t sender_id)</td><td><a class="el" href="classPacket.html">Packet</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classPacket.html#1b89ed1be19d6b9c1a12e0f6b1ae8ed2">setSeqNr</a>(seq_nr_t seq_nr)</td><td><a class="el" href="classPacket.html">Packet</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classBuffer.html#51b494563d277beb4740f86c519f30fb">TunDevice</a> class</td><td><a class="el" href="classBuffer.html">Buffer</a></td><td><code> [friend]</code></td></tr> + <tr class="memlist"><td><a class="el" href="classBuffer.html#940a382a5e3a8622e6689e13dc453481">UDPPacketSource</a> class</td><td><a class="el" href="classBuffer.html">Buffer</a></td><td><code> [friend]</code></td></tr> + <tr class="memlist"><td><a class="el" href="classPacket.html#5c947adee9eef0a662a4dc49d95dbe8e">withAuthTag</a>(bool b)</td><td><a class="el" href="classPacket.html">Packet</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classPacket.html#ce9e40180f64d44fe1d8da14ac9e5df2">withHeader</a>(bool b)</td><td><a class="el" href="classPacket.html">Packet</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classPacket.html#c7ecfc05376afd00af89cb328e194a1d">withPayloadType</a>(bool b)</td><td><a class="el" href="classPacket.html">Packet</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classBuffer.html#59b8743e4a5f731bdd0c4185c9ef263b">~Buffer</a>()</td><td><a class="el" href="classBuffer.html">Buffer</a></td><td><code> [virtual]</code></td></tr> +</table><hr size="1"><address style="align: right;"><small>Generated on Sun Oct 7 23:43:50 2007 for anytun by +<a href="http://www.doxygen.org/index.html"> +<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address> +</body> +</html> diff --git a/doc/html/classsatp_1_1SATP.html b/doc/html/classsatp_1_1SATP.html new file mode 100644 index 0000000..17e3ed2 --- /dev/null +++ b/doc/html/classsatp_1_1SATP.html @@ -0,0 +1,78 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> +<title>anytun: satp::SATP Class Reference</title> +<link href="doxygen.css" rel="stylesheet" type="text/css"> +<link href="tabs.css" rel="stylesheet" type="text/css"> +</head><body> +<!-- Generated by Doxygen 1.5.1 --> +<div class="tabs"> + <ul> + <li><a href="main.html"><span>Main Page</span></a></li> + <li><a href="namespaces.html"><span>Namespaces</span></a></li> + <li id="current"><a href="annotated.html"><span>Classes</span></a></li> + <li><a href="files.html"><span>Files</span></a></li> + </ul></div> +<div class="tabs"> + <ul> + <li><a href="annotated.html"><span>Class List</span></a></li> + <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> + <li><a href="functions.html"><span>Class Members</span></a></li> + </ul></div> +<div class="nav"> +<a class="el" href="namespacesatp.html">satp</a>::<a class="el" href="classsatp_1_1SATP.html">SATP</a></div> +<h1>satp::SATP Class Reference</h1><!-- doxytag: class="satp::SATP" --><!-- doxytag: inherits="Packet" --><p>Inheritance diagram for satp::SATP: +<p><center><img src="classsatp_1_1SATP.png" usemap="#satp::SATP_map" border="0" alt=""></center> +<map name="satp::SATP_map"> +<area href="classPacket.html" alt="Packet" shape="rect" coords="0,56,73,80"> +<area href="classBuffer.html" alt="Buffer" shape="rect" coords="0,0,73,24"> +</map> +<a href="classsatp_1_1SATP-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0"> +<tr><td></td></tr> +<tr><td colspan="2"><br><h2>Static Public Attributes</h2></td></tr> +<tr><td class="memItemLeft" nowrap align="right" valign="top">string </td><td class="memItemRight" valign="bottom"><a class="el" href="classsatp_1_1SATP.html#e9e415324a6a9fbe14971c1ffd334139">name</a> = "SATP"</td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top">list </td><td class="memItemRight" valign="bottom"><a class="el" href="classsatp_1_1SATP.html#e51015e8537b5ec7aa53ba87bf638c15">fields_desc</a></td></tr> + +</table> +<hr><h2>Member Data Documentation</h2> +<a class="anchor" name="e9e415324a6a9fbe14971c1ffd334139"></a><!-- doxytag: member="satp::SATP::name" ref="e9e415324a6a9fbe14971c1ffd334139" args="" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">string <a class="el" href="classsatp_1_1SATP.html#e9e415324a6a9fbe14971c1ffd334139">satp::SATP::name</a> = "SATP"<code> [static]</code> </td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<a class="anchor" name="e51015e8537b5ec7aa53ba87bf638c15"></a><!-- doxytag: member="satp::SATP::fields_desc" ref="e51015e8537b5ec7aa53ba87bf638c15" args="" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">list <a class="el" href="classsatp_1_1SATP.html#e51015e8537b5ec7aa53ba87bf638c15">satp::SATP::fields_desc</a><code> [static]</code> </td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> +<b>Initial value:</b><div class="fragment"><pre class="fragment">[ + IntField(<span class="stringliteral">"seq"</span>, <span class="keywordtype">None</span>), + ShortField(<span class="stringliteral">"id"</span>, <span class="keywordtype">None</span>) + ] +</pre></div> +</div> +</div><p> +<hr>The documentation for this class was generated from the following file:<ul> +<li><a class="el" href="satp_8py.html">satp.py</a></ul> +<hr size="1"><address style="align: right;"><small>Generated on Sun Oct 7 23:43:50 2007 for anytun by +<a href="http://www.doxygen.org/index.html"> +<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address> +</body> +</html> diff --git a/doc/html/classsatp_1_1SATP.png b/doc/html/classsatp_1_1SATP.png Binary files differnew file mode 100644 index 0000000..5f85c4e --- /dev/null +++ b/doc/html/classsatp_1_1SATP.png diff --git a/doc/html/cypher_8cpp.html b/doc/html/cypher_8cpp.html new file mode 100644 index 0000000..e8b0915 --- /dev/null +++ b/doc/html/cypher_8cpp.html @@ -0,0 +1,33 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> +<title>anytun: cypher.cpp File Reference</title> +<link href="doxygen.css" rel="stylesheet" type="text/css"> +<link href="tabs.css" rel="stylesheet" type="text/css"> +</head><body> +<!-- Generated by Doxygen 1.5.1 --> +<div class="tabs"> + <ul> + <li><a href="main.html"><span>Main Page</span></a></li> + <li><a href="namespaces.html"><span>Namespaces</span></a></li> + <li><a href="annotated.html"><span>Classes</span></a></li> + <li id="current"><a href="files.html"><span>Files</span></a></li> + </ul></div> +<div class="tabs"> + <ul> + <li><a href="files.html"><span>File List</span></a></li> + <li><a href="globals.html"><span>File Members</span></a></li> + </ul></div> +<h1>cypher.cpp File Reference</h1><code>#include <stdexcept></code><br> +<code>#include <vector></code><br> +<code>#include <iostream></code><br> +<code>#include "<a class="el" href="cypher_8h-source.html">cypher.h</a>"</code><br> +<code>#include "<a class="el" href="keyDerivation_8h-source.html">keyDerivation.h</a>"</code><br> +<code>#include <gcrypt.h></code><br> +<table border="0" cellpadding="0" cellspacing="0"> +<tr><td></td></tr> +</table> +<hr size="1"><address style="align: right;"><small>Generated on Sun Oct 7 23:43:49 2007 for anytun by +<a href="http://www.doxygen.org/index.html"> +<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address> +</body> +</html> diff --git a/doc/html/cypher_8h-source.html b/doc/html/cypher_8h-source.html new file mode 100644 index 0000000..6ff5657 --- /dev/null +++ b/doc/html/cypher_8h-source.html @@ -0,0 +1,115 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> +<title>anytun: cypher.h Source File</title> +<link href="doxygen.css" rel="stylesheet" type="text/css"> +<link href="tabs.css" rel="stylesheet" type="text/css"> +</head><body> +<!-- Generated by Doxygen 1.5.1 --> +<div class="tabs"> + <ul> + <li><a href="main.html"><span>Main Page</span></a></li> + <li><a href="namespaces.html"><span>Namespaces</span></a></li> + <li><a href="annotated.html"><span>Classes</span></a></li> + <li id="current"><a href="files.html"><span>Files</span></a></li> + </ul></div> +<div class="tabs"> + <ul> + <li><a href="files.html"><span>File List</span></a></li> + <li><a href="globals.html"><span>File Members</span></a></li> + </ul></div> +<h1>cypher.h</h1><a href="cypher_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">/*</span> +<a name="l00002"></a>00002 <span class="comment"> * anytun</span> +<a name="l00003"></a>00003 <span class="comment"> *</span> +<a name="l00004"></a>00004 <span class="comment"> * The secure anycast tunneling protocol (satp) defines a protocol used</span> +<a name="l00005"></a>00005 <span class="comment"> * for communication between any combination of unicast and anycast</span> +<a name="l00006"></a>00006 <span class="comment"> * tunnel endpoints. It has less protocol overhead than IPSec in Tunnel</span> +<a name="l00007"></a>00007 <span class="comment"> * mode and allows tunneling of every ETHER TYPE protocol (e.g.</span> +<a name="l00008"></a>00008 <span class="comment"> * ethernet, ip, arp ...). satp directly includes cryptography and</span> +<a name="l00009"></a>00009 <span class="comment"> * message authentication based on the methodes used by SRTP. It is</span> +<a name="l00010"></a>00010 <span class="comment"> * intended to deliver a generic, scaleable and secure solution for</span> +<a name="l00011"></a>00011 <span class="comment"> * tunneling and relaying of packets of any protocol.</span> +<a name="l00012"></a>00012 <span class="comment"> *</span> +<a name="l00013"></a>00013 <span class="comment"> *</span> +<a name="l00014"></a>00014 <span class="comment"> * Copyright (C) 2007 anytun.org <satp@wirdorange.org></span> +<a name="l00015"></a>00015 <span class="comment"> *</span> +<a name="l00016"></a>00016 <span class="comment"> * This program is free software; you can redistribute it and/or modify</span> +<a name="l00017"></a>00017 <span class="comment"> * it under the terms of the GNU General Public License version 2</span> +<a name="l00018"></a>00018 <span class="comment"> * as published by the Free Software Foundation.</span> +<a name="l00019"></a>00019 <span class="comment"> *</span> +<a name="l00020"></a>00020 <span class="comment"> * This program is distributed in the hope that it will be useful,</span> +<a name="l00021"></a>00021 <span class="comment"> * but WITHOUT ANY WARRANTY; without even the implied warranty of</span> +<a name="l00022"></a>00022 <span class="comment"> * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the</span> +<a name="l00023"></a>00023 <span class="comment"> * GNU General Public License for more details.</span> +<a name="l00024"></a>00024 <span class="comment"> *</span> +<a name="l00025"></a>00025 <span class="comment"> * You should have received a copy of the GNU General Public License</span> +<a name="l00026"></a>00026 <span class="comment"> * along with this program (see the file COPYING included with this</span> +<a name="l00027"></a>00027 <span class="comment"> * distribution); if not, write to the Free Software Foundation, Inc.,</span> +<a name="l00028"></a>00028 <span class="comment"> * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA</span> +<a name="l00029"></a>00029 <span class="comment"> */</span> +<a name="l00030"></a>00030 +<a name="l00031"></a>00031 <span class="preprocessor">#ifndef _CYPHER_H_</span> +<a name="l00032"></a>00032 <span class="preprocessor"></span><span class="preprocessor">#define _CYPHER_H_</span> +<a name="l00033"></a>00033 <span class="preprocessor"></span> +<a name="l00034"></a>00034 +<a name="l00035"></a>00035 +<a name="l00036"></a>00036 <span class="preprocessor">#include "<a class="code" href="datatypes_8h.html">datatypes.h</a>"</span> +<a name="l00037"></a>00037 <span class="preprocessor">#include "<a class="code" href="buffer_8h.html">buffer.h</a>"</span> +<a name="l00038"></a>00038 +<a name="l00039"></a>00039 <span class="keyword">extern</span> <span class="stringliteral">"C"</span> { +<a name="l00040"></a>00040 <span class="preprocessor">#include <gcrypt.h></span> +<a name="l00041"></a>00041 } +<a name="l00042"></a>00042 +<a name="l00043"></a>00043 +<a name="l00044"></a>00044 <span class="preprocessor">#include <string></span> +<a name="l00045"></a>00045 +<a name="l00046"></a><a class="code" href="classCypher.html">00046</a> <span class="keyword">class </span><a class="code" href="classCypher.html">Cypher</a> +<a name="l00047"></a>00047 { +<a name="l00048"></a>00048 <span class="keyword">public</span>: +<a name="l00049"></a><a class="code" href="classCypher.html#5228228b0b2d83251ecce4516e87ddb1">00049</a> <a class="code" href="classCypher.html#5228228b0b2d83251ecce4516e87ddb1">Cypher</a>() {}; +<a name="l00050"></a><a class="code" href="classCypher.html#70c94525f7bacb956cdd940fba7fb4c8">00050</a> <span class="keyword">virtual</span> <a class="code" href="classCypher.html#70c94525f7bacb956cdd940fba7fb4c8">~Cypher</a>() {}; +<a name="l00051"></a>00051 +<a name="l00052"></a><a class="code" href="classCypher.html#7320b82d14391ab7d25271aa5114e190">00052</a> <span class="keywordtype">void</span> <a class="code" href="classCypher.html#7320b82d14391ab7d25271aa5114e190">setKey</a>(<a class="code" href="classBuffer.html">Buffer</a> key) {}; +<a name="l00053"></a><a class="code" href="classCypher.html#2546ef49e5ce8abe8062186d5f6b2ef8">00053</a> <span class="keywordtype">void</span> <a class="code" href="classCypher.html#2546ef49e5ce8abe8062186d5f6b2ef8">setSalt</a>(<a class="code" href="classBuffer.html">Buffer</a> salt) {}; +<a name="l00054"></a>00054 <span class="keywordtype">void</span> <a class="code" href="classCypher.html#1d51ce2235d38bded45f5e897be4435c">cypher</a>(<a class="code" href="classBuffer.html">Buffer</a>& buf, <a class="code" href="datatypes_8h.html#317be74a3176b4149a817241bd69f9b2">seq_nr_t</a> seq_nr, <a class="code" href="datatypes_8h.html#c8be006c348a522ae126f67f7b2aaf4e">sender_id_t</a> sender_id); +<a name="l00055"></a>00055 +<a name="l00056"></a>00056 <span class="keyword">protected</span>: +<a name="l00057"></a>00057 <span class="keywordtype">void</span> <a class="code" href="classCypher.html#bf33a7a59ed1cdf711030236de6635b0">exor</a>(<a class="code" href="classBuffer.html">Buffer</a>& buf, <span class="keyword">const</span> <a class="code" href="classBuffer.html">Buffer</a>& bit_stream); +<a name="l00058"></a>00058 <span class="keyword">virtual</span> <a class="code" href="classBuffer.html">Buffer</a> <a class="code" href="classCypher.html#7ddf1bcd476978daa97148ec406d6483">getBitStream</a>(<a class="code" href="datatypes_8h.html#1382fcaa92d837ce7c0961788c8243d7">u_int32_t</a> length, <a class="code" href="datatypes_8h.html#317be74a3176b4149a817241bd69f9b2">seq_nr_t</a> seq_nr, <a class="code" href="datatypes_8h.html#c8be006c348a522ae126f67f7b2aaf4e">sender_id_t</a> sender_id) = 0; +<a name="l00059"></a>00059 }; +<a name="l00060"></a>00060 +<a name="l00061"></a><a class="code" href="classNullCypher.html">00061</a> <span class="keyword">class </span><a class="code" href="classNullCypher.html">NullCypher</a> : <span class="keyword">public</span> <a class="code" href="classCypher.html">Cypher</a> +<a name="l00062"></a>00062 { +<a name="l00063"></a>00063 <span class="keyword">protected</span>: +<a name="l00064"></a>00064 <a class="code" href="classBuffer.html">Buffer</a> <a class="code" href="classNullCypher.html#ca537adca8ea9af8b6f248df12ebcf36">getBitStream</a>(<a class="code" href="datatypes_8h.html#1382fcaa92d837ce7c0961788c8243d7">u_int32_t</a> length, <a class="code" href="datatypes_8h.html#317be74a3176b4149a817241bd69f9b2">seq_nr_t</a> seq_nr, <a class="code" href="datatypes_8h.html#c8be006c348a522ae126f67f7b2aaf4e">sender_id_t</a> sender_id); +<a name="l00065"></a>00065 }; +<a name="l00066"></a>00066 +<a name="l00067"></a><a class="code" href="classAesIcmCypher.html">00067</a> <span class="keyword">class </span><a class="code" href="classAesIcmCypher.html">AesIcmCypher</a> : <span class="keyword">public</span> <a class="code" href="classCypher.html">Cypher</a> +<a name="l00068"></a>00068 { +<a name="l00069"></a>00069 <span class="keyword">public</span>: +<a name="l00070"></a>00070 <a class="code" href="classAesIcmCypher.html#628abe54d9f3ac715dcaa0ae9ebf44bc">AesIcmCypher</a>(); +<a name="l00071"></a>00071 <a class="code" href="classAesIcmCypher.html#fdf9ab22374ffdad856f172eefacbd17">~AesIcmCypher</a>(); +<a name="l00072"></a>00072 <span class="keywordtype">void</span> <a class="code" href="classAesIcmCypher.html#605a38676ef12ad0b69628c5d53ef007">setKey</a>(<a class="code" href="classBuffer.html">Buffer</a> key); +<a name="l00073"></a>00073 <span class="keywordtype">void</span> <a class="code" href="classAesIcmCypher.html#6741487a9d6dfe3ae76bb168ed711259">setSalt</a>(<a class="code" href="classBuffer.html">Buffer</a> salt); +<a name="l00074"></a>00074 +<a name="l00075"></a><a class="code" href="classAesIcmCypher.html#605842d12379711d74401d0923b5d76e">00075</a> <span class="keyword">static</span> <span class="keyword">const</span> std::string <a class="code" href="classAesIcmCypher.html#605842d12379711d74401d0923b5d76e">MIN_GCRYPT_VERSION</a>; +<a name="l00076"></a><a class="code" href="classAesIcmCypher.html#4d1dea41b9745bca5a2d84fcefe3558c">00076</a> <span class="keyword">static</span> <span class="keyword">const</span> <a class="code" href="datatypes_8h.html#1382fcaa92d837ce7c0961788c8243d7">u_int32_t</a> <a class="code" href="classAesIcmCypher.html#4d1dea41b9745bca5a2d84fcefe3558c">GCRYPT_SEC_MEM</a>; +<a name="l00077"></a>00077 +<a name="l00078"></a>00078 <span class="keyword">protected</span>: +<a name="l00079"></a>00079 <a class="code" href="classBuffer.html">Buffer</a> <a class="code" href="classAesIcmCypher.html#ebac1fbb9a4cb56411fcd45ca63f47a1">getBitStream</a>(<a class="code" href="datatypes_8h.html#1382fcaa92d837ce7c0961788c8243d7">u_int32_t</a> length, <a class="code" href="datatypes_8h.html#317be74a3176b4149a817241bd69f9b2">seq_nr_t</a> seq_nr, <a class="code" href="datatypes_8h.html#c8be006c348a522ae126f67f7b2aaf4e">sender_id_t</a> sender_id); +<a name="l00080"></a><a class="code" href="classAesIcmCypher.html#d74a46baaee2e0755902d134274eac9a">00080</a> gcry_cipher_hd_t <a class="code" href="classAesIcmCypher.html#d74a46baaee2e0755902d134274eac9a">cipher_</a>; +<a name="l00081"></a><a class="code" href="classAesIcmCypher.html#a62620f7280574b142a0eb29880f5083">00081</a> <a class="code" href="classBuffer.html">Buffer</a> <a class="code" href="classAesIcmCypher.html#a62620f7280574b142a0eb29880f5083">salt_</a>; +<a name="l00082"></a>00082 +<a name="l00083"></a>00083 <span class="keyword">private</span>: +<a name="l00084"></a><a class="code" href="classAesIcmCypher.html#04da5690d9102c6b3fe5bf78a8827ac1">00084</a> <span class="keyword">static</span> <span class="keywordtype">bool</span> <a class="code" href="classAesIcmCypher.html#04da5690d9102c6b3fe5bf78a8827ac1">gcrypt_initialized_</a>; +<a name="l00085"></a>00085 }; +<a name="l00086"></a>00086 +<a name="l00087"></a>00087 <span class="keyword">const</span> std::string <a class="code" href="classAesIcmCypher.html#605842d12379711d74401d0923b5d76e">AesIcmCypher::MIN_GCRYPT_VERSION</a> = <span class="stringliteral">"1.2.3"</span>; +<a name="l00088"></a>00088 <span class="keywordtype">bool</span> <a class="code" href="classAesIcmCypher.html#04da5690d9102c6b3fe5bf78a8827ac1">AesIcmCypher::gcrypt_initialized_</a> = <span class="keyword">false</span>; +<a name="l00089"></a>00089 <span class="keyword">const</span> <a class="code" href="datatypes_8h.html#1382fcaa92d837ce7c0961788c8243d7">u_int32_t</a> <a class="code" href="classAesIcmCypher.html#4d1dea41b9745bca5a2d84fcefe3558c">AesIcmCypher::GCRYPT_SEC_MEM</a> = 16384; <span class="comment">// 16k secure memory</span> +<a name="l00090"></a>00090 +<a name="l00091"></a>00091 <span class="preprocessor">#endif</span> +</pre></div><hr size="1"><address style="align: right;"><small>Generated on Sun Oct 7 23:43:49 2007 for anytun by +<a href="http://www.doxygen.org/index.html"> +<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address> +</body> +</html> diff --git a/doc/html/cypher_8h.html b/doc/html/cypher_8h.html new file mode 100644 index 0000000..c0bd5d8 --- /dev/null +++ b/doc/html/cypher_8h.html @@ -0,0 +1,40 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> +<title>anytun: cypher.h File Reference</title> +<link href="doxygen.css" rel="stylesheet" type="text/css"> +<link href="tabs.css" rel="stylesheet" type="text/css"> +</head><body> +<!-- Generated by Doxygen 1.5.1 --> +<div class="tabs"> + <ul> + <li><a href="main.html"><span>Main Page</span></a></li> + <li><a href="namespaces.html"><span>Namespaces</span></a></li> + <li><a href="annotated.html"><span>Classes</span></a></li> + <li id="current"><a href="files.html"><span>Files</span></a></li> + </ul></div> +<div class="tabs"> + <ul> + <li><a href="files.html"><span>File List</span></a></li> + <li><a href="globals.html"><span>File Members</span></a></li> + </ul></div> +<h1>cypher.h File Reference</h1><code>#include "<a class="el" href="datatypes_8h-source.html">datatypes.h</a>"</code><br> +<code>#include "<a class="el" href="buffer_8h-source.html">buffer.h</a>"</code><br> +<code>#include <gcrypt.h></code><br> +<code>#include <string></code><br> + +<p> +<a href="cypher_8h-source.html">Go to the source code of this file.</a><table border="0" cellpadding="0" cellspacing="0"> +<tr><td></td></tr> +<tr><td colspan="2"><br><h2>Classes</h2></td></tr> +<tr><td class="memItemLeft" nowrap align="right" valign="top">class </td><td class="memItemRight" valign="bottom"><a class="el" href="classCypher.html">Cypher</a></td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top">class </td><td class="memItemRight" valign="bottom"><a class="el" href="classNullCypher.html">NullCypher</a></td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top">class </td><td class="memItemRight" valign="bottom"><a class="el" href="classAesIcmCypher.html">AesIcmCypher</a></td></tr> + +</table> +<hr size="1"><address style="align: right;"><small>Generated on Sun Oct 7 23:43:49 2007 for anytun by +<a href="http://www.doxygen.org/index.html"> +<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address> +</body> +</html> diff --git a/doc/html/datatypes_8h-source.html b/doc/html/datatypes_8h-source.html new file mode 100644 index 0000000..b7da582 --- /dev/null +++ b/doc/html/datatypes_8h-source.html @@ -0,0 +1,88 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> +<title>anytun: datatypes.h Source File</title> +<link href="doxygen.css" rel="stylesheet" type="text/css"> +<link href="tabs.css" rel="stylesheet" type="text/css"> +</head><body> +<!-- Generated by Doxygen 1.5.1 --> +<div class="tabs"> + <ul> + <li><a href="main.html"><span>Main Page</span></a></li> + <li><a href="namespaces.html"><span>Namespaces</span></a></li> + <li><a href="annotated.html"><span>Classes</span></a></li> + <li id="current"><a href="files.html"><span>Files</span></a></li> + </ul></div> +<div class="tabs"> + <ul> + <li><a href="files.html"><span>File List</span></a></li> + <li><a href="globals.html"><span>File Members</span></a></li> + </ul></div> +<h1>datatypes.h</h1><a href="datatypes_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">/*</span> +<a name="l00002"></a>00002 <span class="comment"> * anytun</span> +<a name="l00003"></a>00003 <span class="comment"> *</span> +<a name="l00004"></a>00004 <span class="comment"> * The secure anycast tunneling protocol (satp) defines a protocol used</span> +<a name="l00005"></a>00005 <span class="comment"> * for communication between any combination of unicast and anycast</span> +<a name="l00006"></a>00006 <span class="comment"> * tunnel endpoints. It has less protocol overhead than IPSec in Tunnel</span> +<a name="l00007"></a>00007 <span class="comment"> * mode and allows tunneling of every ETHER TYPE protocol (e.g.</span> +<a name="l00008"></a>00008 <span class="comment"> * ethernet, ip, arp ...). satp directly includes cryptography and</span> +<a name="l00009"></a>00009 <span class="comment"> * message authentication based on the methodes used by SRTP. It is</span> +<a name="l00010"></a>00010 <span class="comment"> * intended to deliver a generic, scaleable and secure solution for</span> +<a name="l00011"></a>00011 <span class="comment"> * tunneling and relaying of packets of any protocol.</span> +<a name="l00012"></a>00012 <span class="comment"> *</span> +<a name="l00013"></a>00013 <span class="comment"> *</span> +<a name="l00014"></a>00014 <span class="comment"> * Copyright (C) 2007 anytun.org <satp@wirdorange.org></span> +<a name="l00015"></a>00015 <span class="comment"> *</span> +<a name="l00016"></a>00016 <span class="comment"> * This program is free software; you can redistribute it and/or modify</span> +<a name="l00017"></a>00017 <span class="comment"> * it under the terms of the GNU General Public License version 2</span> +<a name="l00018"></a>00018 <span class="comment"> * as published by the Free Software Foundation.</span> +<a name="l00019"></a>00019 <span class="comment"> *</span> +<a name="l00020"></a>00020 <span class="comment"> * This program is distributed in the hope that it will be useful,</span> +<a name="l00021"></a>00021 <span class="comment"> * but WITHOUT ANY WARRANTY; without even the implied warranty of</span> +<a name="l00022"></a>00022 <span class="comment"> * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the</span> +<a name="l00023"></a>00023 <span class="comment"> * GNU General Public License for more details.</span> +<a name="l00024"></a>00024 <span class="comment"> *</span> +<a name="l00025"></a>00025 <span class="comment"> * You should have received a copy of the GNU General Public License</span> +<a name="l00026"></a>00026 <span class="comment"> * along with this program (see the file COPYING included with this</span> +<a name="l00027"></a>00027 <span class="comment"> * distribution); if not, write to the Free Software Foundation, Inc.,</span> +<a name="l00028"></a>00028 <span class="comment"> * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA</span> +<a name="l00029"></a>00029 <span class="comment"> */</span> +<a name="l00030"></a>00030 +<a name="l00031"></a>00031 <span class="preprocessor">#ifndef _DATATYPES_H_</span> +<a name="l00032"></a>00032 <span class="preprocessor"></span><span class="preprocessor">#define _DATATYPES_H_</span> +<a name="l00033"></a>00033 <span class="preprocessor"></span> +<a name="l00034"></a><a class="code" href="datatypes_8h.html#ef44329758059c91c76d334e8fc09700">00034</a> <span class="keyword">typedef</span> <span class="keywordtype">signed</span> <span class="keywordtype">char</span> <a class="code" href="datatypes_8h.html#ef44329758059c91c76d334e8fc09700">int8_t</a>; +<a name="l00035"></a><a class="code" href="datatypes_8h.html#40a40c6e9649a4e3806e76fef247d241">00035</a> <span class="keyword">typedef</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> <a class="code" href="datatypes_8h.html#40a40c6e9649a4e3806e76fef247d241">u_int8_t</a>; +<a name="l00036"></a>00036 +<a name="l00037"></a><a class="code" href="datatypes_8h.html#259fa4834387bd68627ddf37bb3ebdb9">00037</a> <span class="keyword">typedef</span> <span class="keywordtype">signed</span> <span class="keywordtype">short</span> <a class="code" href="datatypes_8h.html#259fa4834387bd68627ddf37bb3ebdb9">int16</a>; +<a name="l00038"></a><a class="code" href="datatypes_8h.html#3aa89f830bb876725b238e6a2a67a809">00038</a> <span class="keyword">typedef</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">short</span> <a class="code" href="datatypes_8h.html#3aa89f830bb876725b238e6a2a67a809">u_int16_t</a>; +<a name="l00039"></a>00039 +<a name="l00040"></a><a class="code" href="datatypes_8h.html#43d43196463bde49cb067f5c20ab8481">00040</a> <span class="keyword">typedef</span> <span class="keywordtype">signed</span> <span class="keywordtype">int</span> <a class="code" href="datatypes_8h.html#43d43196463bde49cb067f5c20ab8481">int32</a>; +<a name="l00041"></a><a class="code" href="datatypes_8h.html#1382fcaa92d837ce7c0961788c8243d7">00041</a> <span class="keyword">typedef</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code" href="datatypes_8h.html#1382fcaa92d837ce7c0961788c8243d7">u_int32_t</a>; +<a name="l00042"></a>00042 +<a name="l00043"></a>00043 <span class="comment">//typedef signed long long int64_t;</span> +<a name="l00044"></a>00044 <span class="comment">//typedef unsigned long long u_int64_t;</span> +<a name="l00045"></a>00045 +<a name="l00046"></a><a class="code" href="datatypes_8h.html#0246b9fac0b861d94e0e4cc9ae2e5070">00046</a> <span class="keyword">typedef</span> <a class="code" href="datatypes_8h.html#1382fcaa92d837ce7c0961788c8243d7">u_int32_t</a> <a class="code" href="datatypes_8h.html#0246b9fac0b861d94e0e4cc9ae2e5070">window_size_t</a>; +<a name="l00047"></a>00047 +<a name="l00048"></a><a class="code" href="datatypes_8h.html#317be74a3176b4149a817241bd69f9b2">00048</a> <span class="keyword">typedef</span> <a class="code" href="datatypes_8h.html#1382fcaa92d837ce7c0961788c8243d7">u_int32_t</a> <a class="code" href="datatypes_8h.html#317be74a3176b4149a817241bd69f9b2">seq_nr_t</a>; +<a name="l00049"></a><a class="code" href="datatypes_8h.html#4c349b0b408b8f654c8713c205f33f60">00049</a> <span class="preprocessor">#define SEQ_NR_T_NTOH(a) ntohl(a)</span> +<a name="l00050"></a><a class="code" href="datatypes_8h.html#18c9cf2c5be6cb1e16a319a4da44989b">00050</a> <span class="preprocessor"></span><span class="preprocessor">#define SEQ_NR_T_HTON(a) htonl(a)</span> +<a name="l00051"></a>00051 <span class="preprocessor"></span> +<a name="l00052"></a><a class="code" href="datatypes_8h.html#c8be006c348a522ae126f67f7b2aaf4e">00052</a> <span class="keyword">typedef</span> <a class="code" href="datatypes_8h.html#3aa89f830bb876725b238e6a2a67a809">u_int16_t</a> <a class="code" href="datatypes_8h.html#c8be006c348a522ae126f67f7b2aaf4e">sender_id_t</a>; +<a name="l00053"></a><a class="code" href="datatypes_8h.html#f0e02829fc534eac0fdec4712459dea4">00053</a> <span class="preprocessor">#define SENDER_ID_T_NTOH(a) ntohs(a)</span> +<a name="l00054"></a><a class="code" href="datatypes_8h.html#8ecfc6bb5938ad141419ba4f62fc2eca">00054</a> <span class="preprocessor"></span><span class="preprocessor">#define SENDER_ID_T_HTON(a) htons(a)</span> +<a name="l00055"></a>00055 <span class="preprocessor"></span> +<a name="l00056"></a><a class="code" href="datatypes_8h.html#cb4c65fa561443848e729372d970654d">00056</a> <span class="keyword">typedef</span> <a class="code" href="datatypes_8h.html#3aa89f830bb876725b238e6a2a67a809">u_int16_t</a> <a class="code" href="datatypes_8h.html#cb4c65fa561443848e729372d970654d">payload_type_t</a>; +<a name="l00057"></a><a class="code" href="datatypes_8h.html#2974b1523b0f364e348edb469cf2814f">00057</a> <span class="preprocessor">#define PAYLOAD_TYPE_T_NTOH(a) ntohs(a)</span> +<a name="l00058"></a><a class="code" href="datatypes_8h.html#173b0a15f5670e90c9bf443d70822753">00058</a> <span class="preprocessor"></span><span class="preprocessor">#define PAYLOAD_TYPE_T_HTON(a) htons(a)</span> +<a name="l00059"></a>00059 <span class="preprocessor"></span> +<a name="l00060"></a><a class="code" href="datatypes_8h.html#3618ec768f7f5b8ed61f2ad534e1882d">00060</a> <span class="keyword">typedef</span> <a class="code" href="datatypes_8h.html#1382fcaa92d837ce7c0961788c8243d7">u_int32_t</a> <a class="code" href="datatypes_8h.html#3618ec768f7f5b8ed61f2ad534e1882d">auth_tag_t</a>; +<a name="l00061"></a><a class="code" href="datatypes_8h.html#dfe492fa271ed259fdca87aec19b6e4c">00061</a> <span class="preprocessor">#define AUTH_TAG_T_NTOH(a) ntohl(a)</span> +<a name="l00062"></a><a class="code" href="datatypes_8h.html#e08ddfb4ec6d5f44e41d776eec5d6c4b">00062</a> <span class="preprocessor"></span><span class="preprocessor">#define AUTH_TAG_T_HTON(a) htonl(a)</span> +<a name="l00063"></a>00063 <span class="preprocessor"></span> +<a name="l00064"></a>00064 <span class="preprocessor">#endif</span> +</pre></div><hr size="1"><address style="align: right;"><small>Generated on Sun Oct 7 23:43:49 2007 for anytun by +<a href="http://www.doxygen.org/index.html"> +<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address> +</body> +</html> diff --git a/doc/html/datatypes_8h.html b/doc/html/datatypes_8h.html new file mode 100644 index 0000000..137a5e0 --- /dev/null +++ b/doc/html/datatypes_8h.html @@ -0,0 +1,396 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> +<title>anytun: datatypes.h File Reference</title> +<link href="doxygen.css" rel="stylesheet" type="text/css"> +<link href="tabs.css" rel="stylesheet" type="text/css"> +</head><body> +<!-- Generated by Doxygen 1.5.1 --> +<div class="tabs"> + <ul> + <li><a href="main.html"><span>Main Page</span></a></li> + <li><a href="namespaces.html"><span>Namespaces</span></a></li> + <li><a href="annotated.html"><span>Classes</span></a></li> + <li id="current"><a href="files.html"><span>Files</span></a></li> + </ul></div> +<div class="tabs"> + <ul> + <li><a href="files.html"><span>File List</span></a></li> + <li><a href="globals.html"><span>File Members</span></a></li> + </ul></div> +<h1>datatypes.h File Reference</h1> +<p> +<a href="datatypes_8h-source.html">Go to the source code of this file.</a><table border="0" cellpadding="0" cellspacing="0"> +<tr><td></td></tr> +<tr><td colspan="2"><br><h2>Defines</h2></td></tr> +<tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="datatypes_8h.html#4c349b0b408b8f654c8713c205f33f60">SEQ_NR_T_NTOH</a>(a) ntohl(a)</td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="datatypes_8h.html#18c9cf2c5be6cb1e16a319a4da44989b">SEQ_NR_T_HTON</a>(a) htonl(a)</td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="datatypes_8h.html#f0e02829fc534eac0fdec4712459dea4">SENDER_ID_T_NTOH</a>(a) ntohs(a)</td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="datatypes_8h.html#8ecfc6bb5938ad141419ba4f62fc2eca">SENDER_ID_T_HTON</a>(a) htons(a)</td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="datatypes_8h.html#2974b1523b0f364e348edb469cf2814f">PAYLOAD_TYPE_T_NTOH</a>(a) ntohs(a)</td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="datatypes_8h.html#173b0a15f5670e90c9bf443d70822753">PAYLOAD_TYPE_T_HTON</a>(a) htons(a)</td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="datatypes_8h.html#dfe492fa271ed259fdca87aec19b6e4c">AUTH_TAG_T_NTOH</a>(a) ntohl(a)</td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="datatypes_8h.html#e08ddfb4ec6d5f44e41d776eec5d6c4b">AUTH_TAG_T_HTON</a>(a) htonl(a)</td></tr> + +<tr><td colspan="2"><br><h2>Typedefs</h2></td></tr> +<tr><td class="memItemLeft" nowrap align="right" valign="top">typedef signed char </td><td class="memItemRight" valign="bottom"><a class="el" href="datatypes_8h.html#ef44329758059c91c76d334e8fc09700">int8_t</a></td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top">typedef unsigned char </td><td class="memItemRight" valign="bottom"><a class="el" href="datatypes_8h.html#40a40c6e9649a4e3806e76fef247d241">u_int8_t</a></td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top">typedef signed short </td><td class="memItemRight" valign="bottom"><a class="el" href="datatypes_8h.html#259fa4834387bd68627ddf37bb3ebdb9">int16</a></td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top">typedef unsigned short </td><td class="memItemRight" valign="bottom"><a class="el" href="datatypes_8h.html#3aa89f830bb876725b238e6a2a67a809">u_int16_t</a></td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top">typedef signed int </td><td class="memItemRight" valign="bottom"><a class="el" href="datatypes_8h.html#43d43196463bde49cb067f5c20ab8481">int32</a></td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top">typedef unsigned int </td><td class="memItemRight" valign="bottom"><a class="el" href="datatypes_8h.html#1382fcaa92d837ce7c0961788c8243d7">u_int32_t</a></td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top">typedef <a class="el" href="datatypes_8h.html#1382fcaa92d837ce7c0961788c8243d7">u_int32_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="datatypes_8h.html#0246b9fac0b861d94e0e4cc9ae2e5070">window_size_t</a></td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top">typedef <a class="el" href="datatypes_8h.html#1382fcaa92d837ce7c0961788c8243d7">u_int32_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="datatypes_8h.html#317be74a3176b4149a817241bd69f9b2">seq_nr_t</a></td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top">typedef <a class="el" href="datatypes_8h.html#3aa89f830bb876725b238e6a2a67a809">u_int16_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="datatypes_8h.html#c8be006c348a522ae126f67f7b2aaf4e">sender_id_t</a></td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top">typedef <a class="el" href="datatypes_8h.html#3aa89f830bb876725b238e6a2a67a809">u_int16_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="datatypes_8h.html#cb4c65fa561443848e729372d970654d">payload_type_t</a></td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top">typedef <a class="el" href="datatypes_8h.html#1382fcaa92d837ce7c0961788c8243d7">u_int32_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="datatypes_8h.html#3618ec768f7f5b8ed61f2ad534e1882d">auth_tag_t</a></td></tr> + +</table> +<hr><h2>Define Documentation</h2> +<a class="anchor" name="e08ddfb4ec6d5f44e41d776eec5d6c4b"></a><!-- doxytag: member="datatypes.h::AUTH_TAG_T_HTON" ref="e08ddfb4ec6d5f44e41d776eec5d6c4b" args="(a)" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">#define AUTH_TAG_T_HTON </td> + <td>(</td> + <td class="paramtype">a </td> + <td class="paramname"> </td> + <td> ) </td> + <td width="100%"> htonl(a)</td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<a class="anchor" name="dfe492fa271ed259fdca87aec19b6e4c"></a><!-- doxytag: member="datatypes.h::AUTH_TAG_T_NTOH" ref="dfe492fa271ed259fdca87aec19b6e4c" args="(a)" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">#define AUTH_TAG_T_NTOH </td> + <td>(</td> + <td class="paramtype">a </td> + <td class="paramname"> </td> + <td> ) </td> + <td width="100%"> ntohl(a)</td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<a class="anchor" name="173b0a15f5670e90c9bf443d70822753"></a><!-- doxytag: member="datatypes.h::PAYLOAD_TYPE_T_HTON" ref="173b0a15f5670e90c9bf443d70822753" args="(a)" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">#define PAYLOAD_TYPE_T_HTON </td> + <td>(</td> + <td class="paramtype">a </td> + <td class="paramname"> </td> + <td> ) </td> + <td width="100%"> htons(a)</td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<a class="anchor" name="2974b1523b0f364e348edb469cf2814f"></a><!-- doxytag: member="datatypes.h::PAYLOAD_TYPE_T_NTOH" ref="2974b1523b0f364e348edb469cf2814f" args="(a)" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">#define PAYLOAD_TYPE_T_NTOH </td> + <td>(</td> + <td class="paramtype">a </td> + <td class="paramname"> </td> + <td> ) </td> + <td width="100%"> ntohs(a)</td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<a class="anchor" name="8ecfc6bb5938ad141419ba4f62fc2eca"></a><!-- doxytag: member="datatypes.h::SENDER_ID_T_HTON" ref="8ecfc6bb5938ad141419ba4f62fc2eca" args="(a)" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">#define SENDER_ID_T_HTON </td> + <td>(</td> + <td class="paramtype">a </td> + <td class="paramname"> </td> + <td> ) </td> + <td width="100%"> htons(a)</td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<a class="anchor" name="f0e02829fc534eac0fdec4712459dea4"></a><!-- doxytag: member="datatypes.h::SENDER_ID_T_NTOH" ref="f0e02829fc534eac0fdec4712459dea4" args="(a)" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">#define SENDER_ID_T_NTOH </td> + <td>(</td> + <td class="paramtype">a </td> + <td class="paramname"> </td> + <td> ) </td> + <td width="100%"> ntohs(a)</td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<a class="anchor" name="18c9cf2c5be6cb1e16a319a4da44989b"></a><!-- doxytag: member="datatypes.h::SEQ_NR_T_HTON" ref="18c9cf2c5be6cb1e16a319a4da44989b" args="(a)" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">#define SEQ_NR_T_HTON </td> + <td>(</td> + <td class="paramtype">a </td> + <td class="paramname"> </td> + <td> ) </td> + <td width="100%"> htonl(a)</td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<a class="anchor" name="4c349b0b408b8f654c8713c205f33f60"></a><!-- doxytag: member="datatypes.h::SEQ_NR_T_NTOH" ref="4c349b0b408b8f654c8713c205f33f60" args="(a)" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">#define SEQ_NR_T_NTOH </td> + <td>(</td> + <td class="paramtype">a </td> + <td class="paramname"> </td> + <td> ) </td> + <td width="100%"> ntohl(a)</td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<hr><h2>Typedef Documentation</h2> +<a class="anchor" name="3618ec768f7f5b8ed61f2ad534e1882d"></a><!-- doxytag: member="datatypes.h::auth_tag_t" ref="3618ec768f7f5b8ed61f2ad534e1882d" args="" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">typedef <a class="el" href="datatypes_8h.html#1382fcaa92d837ce7c0961788c8243d7">u_int32_t</a> <a class="el" href="datatypes_8h.html#3618ec768f7f5b8ed61f2ad534e1882d">auth_tag_t</a> </td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<a class="anchor" name="259fa4834387bd68627ddf37bb3ebdb9"></a><!-- doxytag: member="datatypes.h::int16" ref="259fa4834387bd68627ddf37bb3ebdb9" args="" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">typedef signed short <a class="el" href="datatypes_8h.html#259fa4834387bd68627ddf37bb3ebdb9">int16</a> </td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<a class="anchor" name="43d43196463bde49cb067f5c20ab8481"></a><!-- doxytag: member="datatypes.h::int32" ref="43d43196463bde49cb067f5c20ab8481" args="" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">typedef signed int <a class="el" href="datatypes_8h.html#43d43196463bde49cb067f5c20ab8481">int32</a> </td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<a class="anchor" name="ef44329758059c91c76d334e8fc09700"></a><!-- doxytag: member="datatypes.h::int8_t" ref="ef44329758059c91c76d334e8fc09700" args="" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">typedef signed char <a class="el" href="datatypes_8h.html#ef44329758059c91c76d334e8fc09700">int8_t</a> </td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<a class="anchor" name="cb4c65fa561443848e729372d970654d"></a><!-- doxytag: member="datatypes.h::payload_type_t" ref="cb4c65fa561443848e729372d970654d" args="" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">typedef <a class="el" href="datatypes_8h.html#3aa89f830bb876725b238e6a2a67a809">u_int16_t</a> <a class="el" href="datatypes_8h.html#cb4c65fa561443848e729372d970654d">payload_type_t</a> </td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<a class="anchor" name="c8be006c348a522ae126f67f7b2aaf4e"></a><!-- doxytag: member="datatypes.h::sender_id_t" ref="c8be006c348a522ae126f67f7b2aaf4e" args="" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">typedef <a class="el" href="datatypes_8h.html#3aa89f830bb876725b238e6a2a67a809">u_int16_t</a> <a class="el" href="datatypes_8h.html#c8be006c348a522ae126f67f7b2aaf4e">sender_id_t</a> </td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<a class="anchor" name="317be74a3176b4149a817241bd69f9b2"></a><!-- doxytag: member="datatypes.h::seq_nr_t" ref="317be74a3176b4149a817241bd69f9b2" args="" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">typedef <a class="el" href="datatypes_8h.html#1382fcaa92d837ce7c0961788c8243d7">u_int32_t</a> <a class="el" href="datatypes_8h.html#317be74a3176b4149a817241bd69f9b2">seq_nr_t</a> </td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<a class="anchor" name="3aa89f830bb876725b238e6a2a67a809"></a><!-- doxytag: member="datatypes.h::u_int16_t" ref="3aa89f830bb876725b238e6a2a67a809" args="" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">typedef unsigned short <a class="el" href="datatypes_8h.html#3aa89f830bb876725b238e6a2a67a809">u_int16_t</a> </td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<a class="anchor" name="1382fcaa92d837ce7c0961788c8243d7"></a><!-- doxytag: member="datatypes.h::u_int32_t" ref="1382fcaa92d837ce7c0961788c8243d7" args="" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">typedef unsigned int <a class="el" href="datatypes_8h.html#1382fcaa92d837ce7c0961788c8243d7">u_int32_t</a> </td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<a class="anchor" name="40a40c6e9649a4e3806e76fef247d241"></a><!-- doxytag: member="datatypes.h::u_int8_t" ref="40a40c6e9649a4e3806e76fef247d241" args="" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">typedef unsigned char <a class="el" href="datatypes_8h.html#40a40c6e9649a4e3806e76fef247d241">u_int8_t</a> </td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<a class="anchor" name="0246b9fac0b861d94e0e4cc9ae2e5070"></a><!-- doxytag: member="datatypes.h::window_size_t" ref="0246b9fac0b861d94e0e4cc9ae2e5070" args="" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">typedef <a class="el" href="datatypes_8h.html#1382fcaa92d837ce7c0961788c8243d7">u_int32_t</a> <a class="el" href="datatypes_8h.html#0246b9fac0b861d94e0e4cc9ae2e5070">window_size_t</a> </td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<hr size="1"><address style="align: right;"><small>Generated on Sun Oct 7 23:43:49 2007 for anytun by +<a href="http://www.doxygen.org/index.html"> +<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address> +</body> +</html> diff --git a/doc/html/doxygen.css b/doc/html/doxygen.css new file mode 100644 index 0000000..c7db1a8 --- /dev/null +++ b/doc/html/doxygen.css @@ -0,0 +1,358 @@ +BODY,H1,H2,H3,H4,H5,H6,P,CENTER,TD,TH,UL,DL,DIV { + font-family: Geneva, Arial, Helvetica, sans-serif; +} +BODY,TD { + font-size: 90%; +} +H1 { + text-align: center; + font-size: 160%; +} +H2 { + font-size: 120%; +} +H3 { + font-size: 100%; +} +CAPTION { font-weight: bold } +DIV.qindex { + width: 100%; + background-color: #e8eef2; + border: 1px solid #84b0c7; + text-align: center; + margin: 2px; + padding: 2px; + line-height: 140%; +} +DIV.nav { + width: 100%; + background-color: #e8eef2; + border: 1px solid #84b0c7; + text-align: center; + margin: 2px; + padding: 2px; + line-height: 140%; +} +DIV.navtab { + background-color: #e8eef2; + border: 1px solid #84b0c7; + text-align: center; + margin: 2px; + margin-right: 15px; + padding: 2px; +} +TD.navtab { + font-size: 70%; +} +A.qindex { + text-decoration: none; + font-weight: bold; + color: #1A419D; +} +A.qindex:visited { + text-decoration: none; + font-weight: bold; + color: #1A419D +} +A.qindex:hover { + text-decoration: none; + background-color: #ddddff; +} +A.qindexHL { + text-decoration: none; + font-weight: bold; + background-color: #6666cc; + color: #ffffff; + border: 1px double #9295C2; +} +A.qindexHL:hover { + text-decoration: none; + background-color: #6666cc; + color: #ffffff; +} +A.qindexHL:visited { text-decoration: none; background-color: #6666cc; color: #ffffff } +A.el { text-decoration: none; font-weight: bold } +A.elRef { font-weight: bold } +A.code:link { text-decoration: none; font-weight: normal; color: #0000FF} +A.code:visited { text-decoration: none; font-weight: normal; color: #0000FF} +A.codeRef:link { font-weight: normal; color: #0000FF} +A.codeRef:visited { font-weight: normal; color: #0000FF} +A:hover { text-decoration: none; background-color: #f2f2ff } +DL.el { margin-left: -1cm } +.fragment { + font-family: monospace, fixed; + font-size: 95%; +} +PRE.fragment { + border: 1px solid #CCCCCC; + background-color: #f5f5f5; + margin-top: 4px; + margin-bottom: 4px; + margin-left: 2px; + margin-right: 8px; + padding-left: 6px; + padding-right: 6px; + padding-top: 4px; + padding-bottom: 4px; +} +DIV.ah { background-color: black; font-weight: bold; color: #ffffff; margin-bottom: 3px; margin-top: 3px } + +DIV.groupHeader { + margin-left: 16px; + margin-top: 12px; + margin-bottom: 6px; + font-weight: bold; +} +DIV.groupText { margin-left: 16px; font-style: italic; font-size: 90% } +BODY { + background: white; + color: black; + margin-right: 20px; + margin-left: 20px; +} +TD.indexkey { + background-color: #e8eef2; + font-weight: bold; + padding-right : 10px; + padding-top : 2px; + padding-left : 10px; + padding-bottom : 2px; + margin-left : 0px; + margin-right : 0px; + margin-top : 2px; + margin-bottom : 2px; + border: 1px solid #CCCCCC; +} +TD.indexvalue { + background-color: #e8eef2; + font-style: italic; + padding-right : 10px; + padding-top : 2px; + padding-left : 10px; + padding-bottom : 2px; + margin-left : 0px; + margin-right : 0px; + margin-top : 2px; + margin-bottom : 2px; + border: 1px solid #CCCCCC; +} +TR.memlist { + background-color: #f0f0f0; +} +P.formulaDsp { text-align: center; } +IMG.formulaDsp { } +IMG.formulaInl { vertical-align: middle; } +SPAN.keyword { color: #008000 } +SPAN.keywordtype { color: #604020 } +SPAN.keywordflow { color: #e08000 } +SPAN.comment { color: #800000 } +SPAN.preprocessor { color: #806020 } +SPAN.stringliteral { color: #002080 } +SPAN.charliteral { color: #008080 } +.mdescLeft { + padding: 0px 8px 4px 8px; + font-size: 80%; + font-style: italic; + background-color: #FAFAFA; + border-top: 1px none #E0E0E0; + border-right: 1px none #E0E0E0; + border-bottom: 1px none #E0E0E0; + border-left: 1px none #E0E0E0; + margin: 0px; +} +.mdescRight { + padding: 0px 8px 4px 8px; + font-size: 80%; + font-style: italic; + background-color: #FAFAFA; + border-top: 1px none #E0E0E0; + border-right: 1px none #E0E0E0; + border-bottom: 1px none #E0E0E0; + border-left: 1px none #E0E0E0; + margin: 0px; +} +.memItemLeft { + padding: 1px 0px 0px 8px; + margin: 4px; + border-top-width: 1px; + border-right-width: 1px; + border-bottom-width: 1px; + border-left-width: 1px; + border-top-color: #E0E0E0; + border-right-color: #E0E0E0; + border-bottom-color: #E0E0E0; + border-left-color: #E0E0E0; + border-top-style: solid; + border-right-style: none; + border-bottom-style: none; + border-left-style: none; + background-color: #FAFAFA; + font-size: 80%; +} +.memItemRight { + padding: 1px 8px 0px 8px; + margin: 4px; + border-top-width: 1px; + border-right-width: 1px; + border-bottom-width: 1px; + border-left-width: 1px; + border-top-color: #E0E0E0; + border-right-color: #E0E0E0; + border-bottom-color: #E0E0E0; + border-left-color: #E0E0E0; + border-top-style: solid; + border-right-style: none; + border-bottom-style: none; + border-left-style: none; + background-color: #FAFAFA; + font-size: 80%; +} +.memTemplItemLeft { + padding: 1px 0px 0px 8px; + margin: 4px; + border-top-width: 1px; + border-right-width: 1px; + border-bottom-width: 1px; + border-left-width: 1px; + border-top-color: #E0E0E0; + border-right-color: #E0E0E0; + border-bottom-color: #E0E0E0; + border-left-color: #E0E0E0; + border-top-style: none; + border-right-style: none; + border-bottom-style: none; + border-left-style: none; + background-color: #FAFAFA; + font-size: 80%; +} +.memTemplItemRight { + padding: 1px 8px 0px 8px; + margin: 4px; + border-top-width: 1px; + border-right-width: 1px; + border-bottom-width: 1px; + border-left-width: 1px; + border-top-color: #E0E0E0; + border-right-color: #E0E0E0; + border-bottom-color: #E0E0E0; + border-left-color: #E0E0E0; + border-top-style: none; + border-right-style: none; + border-bottom-style: none; + border-left-style: none; + background-color: #FAFAFA; + font-size: 80%; +} +.memTemplParams { + padding: 1px 0px 0px 8px; + margin: 4px; + border-top-width: 1px; + border-right-width: 1px; + border-bottom-width: 1px; + border-left-width: 1px; + border-top-color: #E0E0E0; + border-right-color: #E0E0E0; + border-bottom-color: #E0E0E0; + border-left-color: #E0E0E0; + border-top-style: solid; + border-right-style: none; + border-bottom-style: none; + border-left-style: none; + color: #606060; + background-color: #FAFAFA; + font-size: 80%; +} +.search { color: #003399; + font-weight: bold; +} +FORM.search { + margin-bottom: 0px; + margin-top: 0px; +} +INPUT.search { font-size: 75%; + color: #000080; + font-weight: normal; + background-color: #e8eef2; +} +TD.tiny { font-size: 75%; +} +a { + color: #1A41A8; +} +a:visited { + color: #2A3798; +} +.dirtab { padding: 4px; + border-collapse: collapse; + border: 1px solid #84b0c7; +} +TH.dirtab { background: #e8eef2; + font-weight: bold; +} +HR { height: 1px; + border: none; + border-top: 1px solid black; +} + +/* Style for detailed member documentation */ +.memtemplate { + font-size: 80%; + color: #606060; + font-weight: normal; +} +.memnav { + background-color: #e8eef2; + border: 1px solid #84b0c7; + text-align: center; + margin: 2px; + margin-right: 15px; + padding: 2px; +} +.memitem { + padding: 4px; + background-color: #eef3f5; + border-width: 1px; + border-style: solid; + border-color: #dedeee; + -moz-border-radius: 8px 8px 8px 8px; +} +.memname { + white-space: nowrap; + font-weight: bold; +} +.memdoc{ + padding-left: 10px; +} +.memproto { + background-color: #d5e1e8; + width: 100%; + border-width: 1px; + border-style: solid; + border-color: #84b0c7; + font-weight: bold; + -moz-border-radius: 8px 8px 8px 8px; +} +.paramkey { + text-align: right; +} +.paramtype { + white-space: nowrap; +} +.paramname { + color: #602020; + font-style: italic; + white-space: nowrap; +} +/* End Styling for detailed member documentation */ + +/* for the tree view */ +.ftvtree { + font-family: sans-serif; + margin:0.5em; +} +.directory { font-size: 9pt; font-weight: bold; } +.directory h3 { margin: 0px; margin-top: 1em; font-size: 11pt; } +.directory > h3 { margin-top: 0; } +.directory p { margin: 0px; white-space: nowrap; } +.directory div { display: none; margin: 0px; } +.directory img { vertical-align: -30%; } diff --git a/doc/html/doxygen.png b/doc/html/doxygen.png Binary files differnew file mode 100644 index 0000000..f0a274b --- /dev/null +++ b/doc/html/doxygen.png diff --git a/doc/html/files.html b/doc/html/files.html new file mode 100644 index 0000000..4fd1c04 --- /dev/null +++ b/doc/html/files.html @@ -0,0 +1,54 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> +<title>anytun: File Index</title> +<link href="doxygen.css" rel="stylesheet" type="text/css"> +<link href="tabs.css" rel="stylesheet" type="text/css"> +</head><body> +<!-- Generated by Doxygen 1.5.1 --> +<div class="tabs"> + <ul> + <li><a href="main.html"><span>Main Page</span></a></li> + <li><a href="namespaces.html"><span>Namespaces</span></a></li> + <li><a href="annotated.html"><span>Classes</span></a></li> + <li id="current"><a href="files.html"><span>Files</span></a></li> + </ul></div> +<div class="tabs"> + <ul> + <li id="current"><a href="files.html"><span>File List</span></a></li> + <li><a href="globals.html"><span>File Members</span></a></li> + </ul></div> +<h1>anytun File List</h1>Here is a list of all files with brief descriptions:<table> + <tr><td class="indexkey"><a class="el" href="anytun_8cpp.html">anytun.cpp</a></td><td class="indexvalue"></td></tr> + <tr><td class="indexkey"><a class="el" href="authAlgo_8cpp.html">authAlgo.cpp</a></td><td class="indexvalue"></td></tr> + <tr><td class="indexkey"><a class="el" href="authAlgo_8h.html">authAlgo.h</a> <a href="authAlgo_8h-source.html">[code]</a></td><td class="indexvalue"></td></tr> + <tr><td class="indexkey"><a class="el" href="buffer_8cpp.html">buffer.cpp</a></td><td class="indexvalue"></td></tr> + <tr><td class="indexkey"><a class="el" href="buffer_8h.html">buffer.h</a> <a href="buffer_8h-source.html">[code]</a></td><td class="indexvalue"></td></tr> + <tr><td class="indexkey"><a class="el" href="cypher_8cpp.html">cypher.cpp</a></td><td class="indexvalue"></td></tr> + <tr><td class="indexkey"><a class="el" href="cypher_8h.html">cypher.h</a> <a href="cypher_8h-source.html">[code]</a></td><td class="indexvalue"></td></tr> + <tr><td class="indexkey"><a class="el" href="datatypes_8h.html">datatypes.h</a> <a href="datatypes_8h-source.html">[code]</a></td><td class="indexvalue"></td></tr> + <tr><td class="indexkey"><a class="el" href="keyDerivation_8cpp.html">keyDerivation.cpp</a></td><td class="indexvalue"></td></tr> + <tr><td class="indexkey"><a class="el" href="keyDerivation_8h.html">keyDerivation.h</a> <a href="keyDerivation_8h-source.html">[code]</a></td><td class="indexvalue"></td></tr> + <tr><td class="indexkey"><a class="el" href="log_8cpp.html">log.cpp</a></td><td class="indexvalue"></td></tr> + <tr><td class="indexkey"><a class="el" href="log_8h.html">log.h</a> <a href="log_8h-source.html">[code]</a></td><td class="indexvalue"></td></tr> + <tr><td class="indexkey"><a class="el" href="options_8cpp.html">options.cpp</a></td><td class="indexvalue"></td></tr> + <tr><td class="indexkey"><a class="el" href="options_8h.html">options.h</a> <a href="options_8h-source.html">[code]</a></td><td class="indexvalue"></td></tr> + <tr><td class="indexkey"><a class="el" href="packet_8cpp.html">packet.cpp</a></td><td class="indexvalue"></td></tr> + <tr><td class="indexkey"><a class="el" href="packet_8h.html">packet.h</a> <a href="packet_8h-source.html">[code]</a></td><td class="indexvalue"></td></tr> + <tr><td class="indexkey"><a class="el" href="packetSource_8cpp.html">packetSource.cpp</a></td><td class="indexvalue"></td></tr> + <tr><td class="indexkey"><a class="el" href="packetSource_8h.html">packetSource.h</a> <a href="packetSource_8h-source.html">[code]</a></td><td class="indexvalue"></td></tr> + <tr><td class="indexkey"><a class="el" href="PracticalSocket_8cpp.html">PracticalSocket.cpp</a></td><td class="indexvalue"></td></tr> + <tr><td class="indexkey"><a class="el" href="PracticalSocket_8h.html">PracticalSocket.h</a> <a href="PracticalSocket_8h-source.html">[code]</a></td><td class="indexvalue"></td></tr> + <tr><td class="indexkey"><a class="el" href="satp_8py.html">satp.py</a></td><td class="indexvalue"></td></tr> + <tr><td class="indexkey"><a class="el" href="seqWindow_8cpp.html">seqWindow.cpp</a></td><td class="indexvalue"></td></tr> + <tr><td class="indexkey"><a class="el" href="seqWindow_8h.html">seqWindow.h</a> <a href="seqWindow_8h-source.html">[code]</a></td><td class="indexvalue"></td></tr> + <tr><td class="indexkey"><a class="el" href="signalController_8cpp.html">signalController.cpp</a></td><td class="indexvalue"></td></tr> + <tr><td class="indexkey"><a class="el" href="signalController_8h.html">signalController.h</a> <a href="signalController_8h-source.html">[code]</a></td><td class="indexvalue"></td></tr> + <tr><td class="indexkey"><a class="el" href="threadUtils_8hpp.html">threadUtils.hpp</a> <a href="threadUtils_8hpp-source.html">[code]</a></td><td class="indexvalue"></td></tr> + <tr><td class="indexkey"><a class="el" href="tunDevice_8cpp.html">tunDevice.cpp</a></td><td class="indexvalue"></td></tr> + <tr><td class="indexkey"><a class="el" href="tunDevice_8h.html">tunDevice.h</a> <a href="tunDevice_8h-source.html">[code]</a></td><td class="indexvalue"></td></tr> +</table> +<hr size="1"><address style="align: right;"><small>Generated on Sun Oct 7 23:43:50 2007 for anytun by +<a href="http://www.doxygen.org/index.html"> +<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address> +</body> +</html> diff --git a/doc/html/ftv2blank.png b/doc/html/ftv2blank.png Binary files differnew file mode 100644 index 0000000..493c3c0 --- /dev/null +++ b/doc/html/ftv2blank.png diff --git a/doc/html/ftv2doc.png b/doc/html/ftv2doc.png Binary files differnew file mode 100644 index 0000000..f72999f --- /dev/null +++ b/doc/html/ftv2doc.png diff --git a/doc/html/ftv2folderclosed.png b/doc/html/ftv2folderclosed.png Binary files differnew file mode 100644 index 0000000..d6d0634 --- /dev/null +++ b/doc/html/ftv2folderclosed.png diff --git a/doc/html/ftv2folderopen.png b/doc/html/ftv2folderopen.png Binary files differnew file mode 100644 index 0000000..bbe2c91 --- /dev/null +++ b/doc/html/ftv2folderopen.png diff --git a/doc/html/ftv2lastnode.png b/doc/html/ftv2lastnode.png Binary files differnew file mode 100644 index 0000000..e7b9ba9 --- /dev/null +++ b/doc/html/ftv2lastnode.png diff --git a/doc/html/ftv2link.png b/doc/html/ftv2link.png Binary files differnew file mode 100644 index 0000000..14f3fed --- /dev/null +++ b/doc/html/ftv2link.png diff --git a/doc/html/ftv2mlastnode.png b/doc/html/ftv2mlastnode.png Binary files differnew file mode 100644 index 0000000..09ceb6a --- /dev/null +++ b/doc/html/ftv2mlastnode.png diff --git a/doc/html/ftv2mnode.png b/doc/html/ftv2mnode.png Binary files differnew file mode 100644 index 0000000..3254c05 --- /dev/null +++ b/doc/html/ftv2mnode.png diff --git a/doc/html/ftv2node.png b/doc/html/ftv2node.png Binary files differnew file mode 100644 index 0000000..c9f06a5 --- /dev/null +++ b/doc/html/ftv2node.png diff --git a/doc/html/ftv2plastnode.png b/doc/html/ftv2plastnode.png Binary files differnew file mode 100644 index 0000000..0b07e00 --- /dev/null +++ b/doc/html/ftv2plastnode.png diff --git a/doc/html/ftv2pnode.png b/doc/html/ftv2pnode.png Binary files differnew file mode 100644 index 0000000..2001b79 --- /dev/null +++ b/doc/html/ftv2pnode.png diff --git a/doc/html/ftv2vertline.png b/doc/html/ftv2vertline.png Binary files differnew file mode 100644 index 0000000..b330f3a --- /dev/null +++ b/doc/html/ftv2vertline.png diff --git a/doc/html/functions.html b/doc/html/functions.html new file mode 100644 index 0000000..cf11b0f --- /dev/null +++ b/doc/html/functions.html @@ -0,0 +1,69 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> +<title>anytun: Class Members</title> +<link href="doxygen.css" rel="stylesheet" type="text/css"> +<link href="tabs.css" rel="stylesheet" type="text/css"> +</head><body> +<!-- Generated by Doxygen 1.5.1 --> +<div class="tabs"> + <ul> + <li><a href="main.html"><span>Main Page</span></a></li> + <li><a href="namespaces.html"><span>Namespaces</span></a></li> + <li id="current"><a href="annotated.html"><span>Classes</span></a></li> + <li><a href="files.html"><span>Files</span></a></li> + </ul></div> +<div class="tabs"> + <ul> + <li><a href="annotated.html"><span>Class List</span></a></li> + <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> + <li id="current"><a href="functions.html"><span>Class Members</span></a></li> + </ul></div> +<div class="tabs"> + <ul> + <li id="current"><a href="functions.html"><span>All</span></a></li> + <li><a href="functions_func.html"><span>Functions</span></a></li> + <li><a href="functions_vars.html"><span>Variables</span></a></li> + <li><a href="functions_type.html"><span>Typedefs</span></a></li> + <li><a href="functions_rela.html"><span>Related Functions</span></a></li> + </ul> +</div> +<div class="tabs"> + <ul> + <li id="current"><a href="functions.html#index__"><span>_</span></a></li> + <li><a href="functions_0x61.html#index_a"><span>a</span></a></li> + <li><a href="functions_0x62.html#index_b"><span>b</span></a></li> + <li><a href="functions_0x63.html#index_c"><span>c</span></a></li> + <li><a href="functions_0x64.html#index_d"><span>d</span></a></li> + <li><a href="functions_0x65.html#index_e"><span>e</span></a></li> + <li><a href="functions_0x66.html#index_f"><span>f</span></a></li> + <li><a href="functions_0x67.html#index_g"><span>g</span></a></li> + <li><a href="functions_0x68.html#index_h"><span>h</span></a></li> + <li><a href="functions_0x69.html#index_i"><span>i</span></a></li> + <li><a href="functions_0x6a.html#index_j"><span>j</span></a></li> + <li><a href="functions_0x6b.html#index_k"><span>k</span></a></li> + <li><a href="functions_0x6c.html#index_l"><span>l</span></a></li> + <li><a href="functions_0x6d.html#index_m"><span>m</span></a></li> + <li><a href="functions_0x6e.html#index_n"><span>n</span></a></li> + <li><a href="functions_0x6f.html#index_o"><span>o</span></a></li> + <li><a href="functions_0x70.html#index_p"><span>p</span></a></li> + <li><a href="functions_0x72.html#index_r"><span>r</span></a></li> + <li><a href="functions_0x73.html#index_s"><span>s</span></a></li> + <li><a href="functions_0x74.html#index_t"><span>t</span></a></li> + <li><a href="functions_0x75.html#index_u"><span>u</span></a></li> + <li><a href="functions_0x77.html#index_w"><span>w</span></a></li> + <li><a href="functions_0x7e.html#index_~"><span>~</span></a></li> + </ul> +</div> + +<p> +Here is a list of all class members with links to the classes they belong to: +<p> +<h3><a class="anchor" name="index__">- _ -</a></h3><ul> +<li>__packed__ +: <a class="el" href="classPacket.html#11b3534f67df6bb19963e6bc8090230b">Packet</a> +</ul> +<hr size="1"><address style="align: right;"><small>Generated on Sun Oct 7 23:43:49 2007 for anytun by +<a href="http://www.doxygen.org/index.html"> +<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address> +</body> +</html> diff --git a/doc/html/functions_0x61.html b/doc/html/functions_0x61.html new file mode 100644 index 0000000..f0c9059 --- /dev/null +++ b/doc/html/functions_0x61.html @@ -0,0 +1,86 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> +<title>anytun: Class Members</title> +<link href="doxygen.css" rel="stylesheet" type="text/css"> +<link href="tabs.css" rel="stylesheet" type="text/css"> +</head><body> +<!-- Generated by Doxygen 1.5.1 --> +<div class="tabs"> + <ul> + <li><a href="main.html"><span>Main Page</span></a></li> + <li><a href="namespaces.html"><span>Namespaces</span></a></li> + <li id="current"><a href="annotated.html"><span>Classes</span></a></li> + <li><a href="files.html"><span>Files</span></a></li> + </ul></div> +<div class="tabs"> + <ul> + <li><a href="annotated.html"><span>Class List</span></a></li> + <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> + <li id="current"><a href="functions.html"><span>Class Members</span></a></li> + </ul></div> +<div class="tabs"> + <ul> + <li id="current"><a href="functions.html"><span>All</span></a></li> + <li><a href="functions_func.html"><span>Functions</span></a></li> + <li><a href="functions_vars.html"><span>Variables</span></a></li> + <li><a href="functions_type.html"><span>Typedefs</span></a></li> + <li><a href="functions_rela.html"><span>Related Functions</span></a></li> + </ul> +</div> +<div class="tabs"> + <ul> + <li><a href="functions.html#index__"><span>_</span></a></li> + <li id="current"><a href="functions_0x61.html#index_a"><span>a</span></a></li> + <li><a href="functions_0x62.html#index_b"><span>b</span></a></li> + <li><a href="functions_0x63.html#index_c"><span>c</span></a></li> + <li><a href="functions_0x64.html#index_d"><span>d</span></a></li> + <li><a href="functions_0x65.html#index_e"><span>e</span></a></li> + <li><a href="functions_0x66.html#index_f"><span>f</span></a></li> + <li><a href="functions_0x67.html#index_g"><span>g</span></a></li> + <li><a href="functions_0x68.html#index_h"><span>h</span></a></li> + <li><a href="functions_0x69.html#index_i"><span>i</span></a></li> + <li><a href="functions_0x6a.html#index_j"><span>j</span></a></li> + <li><a href="functions_0x6b.html#index_k"><span>k</span></a></li> + <li><a href="functions_0x6c.html#index_l"><span>l</span></a></li> + <li><a href="functions_0x6d.html#index_m"><span>m</span></a></li> + <li><a href="functions_0x6e.html#index_n"><span>n</span></a></li> + <li><a href="functions_0x6f.html#index_o"><span>o</span></a></li> + <li><a href="functions_0x70.html#index_p"><span>p</span></a></li> + <li><a href="functions_0x72.html#index_r"><span>r</span></a></li> + <li><a href="functions_0x73.html#index_s"><span>s</span></a></li> + <li><a href="functions_0x74.html#index_t"><span>t</span></a></li> + <li><a href="functions_0x75.html#index_u"><span>u</span></a></li> + <li><a href="functions_0x77.html#index_w"><span>w</span></a></li> + <li><a href="functions_0x7e.html#index_~"><span>~</span></a></li> + </ul> +</div> + +<p> +Here is a list of all class members with links to the classes they belong to: +<p> +<h3><a class="anchor" name="index_a">- a -</a></h3><ul> +<li>a +: <a class="el" href="structParam.html#22172435ee2e6beb10acf92b2d68e40c">Param</a> +<li>accept() +: <a class="el" href="classTCPServerSocket.html#1d161137e1b069de7a7bfc14d3f8212c">TCPServerSocket</a> +<li>addAuthTag() +: <a class="el" href="classPacket.html#a7f8bb4bb127aad314eb0f0ef72447ed">Packet</a> +<li>addHeader() +: <a class="el" href="classPacket.html#2a682115c6802d0dd1ebbd3434a3a179">Packet</a> +<li>addPayloadType() +: <a class="el" href="classPacket.html#40849ee3c59a84c3899c409ed392b477">Packet</a> +<li>addSeqNr() +: <a class="el" href="classSeqWindow.html#255ca0fca3e701bd9e18d9fcb2c022a2">SeqWindow</a> +<li>AesIcmCypher +: <a class="el" href="classBuffer.html#41d791e5b640813dea34c24c11056581">Buffer</a> +, <a class="el" href="classAesIcmCypher.html#628abe54d9f3ac715dcaa0ae9ebf44bc">AesIcmCypher</a> +<li>auth_algo_ +: <a class="el" href="classOptions.html#061ed690bdfa12bfc1094ca18293e97a">Options</a> +<li>AuthAlgo() +: <a class="el" href="classAuthAlgo.html#22a200c372d9aeb73a4cbdd95ba30a0e">AuthAlgo</a> +</ul> +<hr size="1"><address style="align: right;"><small>Generated on Sun Oct 7 23:43:49 2007 for anytun by +<a href="http://www.doxygen.org/index.html"> +<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address> +</body> +</html> diff --git a/doc/html/functions_0x62.html b/doc/html/functions_0x62.html new file mode 100644 index 0000000..35b6647 --- /dev/null +++ b/doc/html/functions_0x62.html @@ -0,0 +1,73 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> +<title>anytun: Class Members</title> +<link href="doxygen.css" rel="stylesheet" type="text/css"> +<link href="tabs.css" rel="stylesheet" type="text/css"> +</head><body> +<!-- Generated by Doxygen 1.5.1 --> +<div class="tabs"> + <ul> + <li><a href="main.html"><span>Main Page</span></a></li> + <li><a href="namespaces.html"><span>Namespaces</span></a></li> + <li id="current"><a href="annotated.html"><span>Classes</span></a></li> + <li><a href="files.html"><span>Files</span></a></li> + </ul></div> +<div class="tabs"> + <ul> + <li><a href="annotated.html"><span>Class List</span></a></li> + <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> + <li id="current"><a href="functions.html"><span>Class Members</span></a></li> + </ul></div> +<div class="tabs"> + <ul> + <li id="current"><a href="functions.html"><span>All</span></a></li> + <li><a href="functions_func.html"><span>Functions</span></a></li> + <li><a href="functions_vars.html"><span>Variables</span></a></li> + <li><a href="functions_type.html"><span>Typedefs</span></a></li> + <li><a href="functions_rela.html"><span>Related Functions</span></a></li> + </ul> +</div> +<div class="tabs"> + <ul> + <li><a href="functions.html#index__"><span>_</span></a></li> + <li><a href="functions_0x61.html#index_a"><span>a</span></a></li> + <li id="current"><a href="functions_0x62.html#index_b"><span>b</span></a></li> + <li><a href="functions_0x63.html#index_c"><span>c</span></a></li> + <li><a href="functions_0x64.html#index_d"><span>d</span></a></li> + <li><a href="functions_0x65.html#index_e"><span>e</span></a></li> + <li><a href="functions_0x66.html#index_f"><span>f</span></a></li> + <li><a href="functions_0x67.html#index_g"><span>g</span></a></li> + <li><a href="functions_0x68.html#index_h"><span>h</span></a></li> + <li><a href="functions_0x69.html#index_i"><span>i</span></a></li> + <li><a href="functions_0x6a.html#index_j"><span>j</span></a></li> + <li><a href="functions_0x6b.html#index_k"><span>k</span></a></li> + <li><a href="functions_0x6c.html#index_l"><span>l</span></a></li> + <li><a href="functions_0x6d.html#index_m"><span>m</span></a></li> + <li><a href="functions_0x6e.html#index_n"><span>n</span></a></li> + <li><a href="functions_0x6f.html#index_o"><span>o</span></a></li> + <li><a href="functions_0x70.html#index_p"><span>p</span></a></li> + <li><a href="functions_0x72.html#index_r"><span>r</span></a></li> + <li><a href="functions_0x73.html#index_s"><span>s</span></a></li> + <li><a href="functions_0x74.html#index_t"><span>t</span></a></li> + <li><a href="functions_0x75.html#index_u"><span>u</span></a></li> + <li><a href="functions_0x77.html#index_w"><span>w</span></a></li> + <li><a href="functions_0x7e.html#index_~"><span>~</span></a></li> + </ul> +</div> + +<p> +Here is a list of all class members with links to the classes they belong to: +<p> +<h3><a class="anchor" name="index_b">- b -</a></h3><ul> +<li>broadcast() +: <a class="el" href="classCondition.html#15d88ea71e837f967d13d805d675cc5b">Condition</a> +<li>buf_ +: <a class="el" href="classBuffer.html#e60240b77a315e6b3c2bf88592d0be48">Buffer</a> +<li>Buffer() +: <a class="el" href="classBuffer.html#042fe5bc1f8d0c25d5707d6955d1654c">Buffer</a> +</ul> +<hr size="1"><address style="align: right;"><small>Generated on Sun Oct 7 23:43:49 2007 for anytun by +<a href="http://www.doxygen.org/index.html"> +<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address> +</body> +</html> diff --git a/doc/html/functions_0x63.html b/doc/html/functions_0x63.html new file mode 100644 index 0000000..679141a --- /dev/null +++ b/doc/html/functions_0x63.html @@ -0,0 +1,98 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> +<title>anytun: Class Members</title> +<link href="doxygen.css" rel="stylesheet" type="text/css"> +<link href="tabs.css" rel="stylesheet" type="text/css"> +</head><body> +<!-- Generated by Doxygen 1.5.1 --> +<div class="tabs"> + <ul> + <li><a href="main.html"><span>Main Page</span></a></li> + <li><a href="namespaces.html"><span>Namespaces</span></a></li> + <li id="current"><a href="annotated.html"><span>Classes</span></a></li> + <li><a href="files.html"><span>Files</span></a></li> + </ul></div> +<div class="tabs"> + <ul> + <li><a href="annotated.html"><span>Class List</span></a></li> + <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> + <li id="current"><a href="functions.html"><span>Class Members</span></a></li> + </ul></div> +<div class="tabs"> + <ul> + <li id="current"><a href="functions.html"><span>All</span></a></li> + <li><a href="functions_func.html"><span>Functions</span></a></li> + <li><a href="functions_vars.html"><span>Variables</span></a></li> + <li><a href="functions_type.html"><span>Typedefs</span></a></li> + <li><a href="functions_rela.html"><span>Related Functions</span></a></li> + </ul> +</div> +<div class="tabs"> + <ul> + <li><a href="functions.html#index__"><span>_</span></a></li> + <li><a href="functions_0x61.html#index_a"><span>a</span></a></li> + <li><a href="functions_0x62.html#index_b"><span>b</span></a></li> + <li id="current"><a href="functions_0x63.html#index_c"><span>c</span></a></li> + <li><a href="functions_0x64.html#index_d"><span>d</span></a></li> + <li><a href="functions_0x65.html#index_e"><span>e</span></a></li> + <li><a href="functions_0x66.html#index_f"><span>f</span></a></li> + <li><a href="functions_0x67.html#index_g"><span>g</span></a></li> + <li><a href="functions_0x68.html#index_h"><span>h</span></a></li> + <li><a href="functions_0x69.html#index_i"><span>i</span></a></li> + <li><a href="functions_0x6a.html#index_j"><span>j</span></a></li> + <li><a href="functions_0x6b.html#index_k"><span>k</span></a></li> + <li><a href="functions_0x6c.html#index_l"><span>l</span></a></li> + <li><a href="functions_0x6d.html#index_m"><span>m</span></a></li> + <li><a href="functions_0x6e.html#index_n"><span>n</span></a></li> + <li><a href="functions_0x6f.html#index_o"><span>o</span></a></li> + <li><a href="functions_0x70.html#index_p"><span>p</span></a></li> + <li><a href="functions_0x72.html#index_r"><span>r</span></a></li> + <li><a href="functions_0x73.html#index_s"><span>s</span></a></li> + <li><a href="functions_0x74.html#index_t"><span>t</span></a></li> + <li><a href="functions_0x75.html#index_u"><span>u</span></a></li> + <li><a href="functions_0x77.html#index_w"><span>w</span></a></li> + <li><a href="functions_0x7e.html#index_~"><span>~</span></a></li> + </ul> +</div> + +<p> +Here is a list of all class members with links to the classes they belong to: +<p> +<h3><a class="anchor" name="index_c">- c -</a></h3><ul> +<li>c +: <a class="el" href="structParam.html#4ef5a8757e2f89fcb1317a1969641149">Param</a> +<li>calc() +: <a class="el" href="classNullAuthAlgo.html#60eead12d6b32a576ad40d999a6151cf">NullAuthAlgo</a> +, <a class="el" href="classHmacAuthAlgo.html#af50c9aa6b61ff6f4631e3f78f77dc97">HmacAuthAlgo</a> +, <a class="el" href="classAuthAlgo.html#f53b44f90c33eb049da260947a75c916">AuthAlgo</a> +<li>cipher_ +: <a class="el" href="classAesIcmCypher.html#d74a46baaee2e0755902d134274eac9a">AesIcmCypher</a> +, <a class="el" href="classKeyDerivation.html#6b7dd9a922de96a8f76cf6c453adab28">KeyDerivation</a> +<li>cleanUp() +: <a class="el" href="classSocket.html#c5060aeb501044044351d5a85b3fc95f">Socket</a> +<li>clear() +: <a class="el" href="classSeqWindow.html#e9774163b8f7ac0ec081d1ba5b2daed2">SeqWindow</a> +, <a class="el" href="classKeyDerivation.html#8d8c405ee7c3753b4807b36a8cbe537a">KeyDerivation</a> +<li>close() +: <a class="el" href="classTunDevice.html#13986e13fe28da6c917293c40effb902">TunDevice</a> +<li>CommunicatingSocket() +: <a class="el" href="classCommunicatingSocket.html#27d758db782b3be7d28741e92cb613d1">CommunicatingSocket</a> +<li>cond +: <a class="el" href="classCondition.html#4c8982005641d63b696f671b28e3706d">Condition</a> +<li>Condition() +: <a class="el" href="classCondition.html#f11513db4fcbde93961fa0b65e7ab764">Condition</a> +, <a class="el" href="classMutex.html#0705c7682858f6dcf7fe85cba92f0a5c">Mutex</a> +<li>connect() +: <a class="el" href="classCommunicatingSocket.html#9192374d9baab8e189860aa8d913683c">CommunicatingSocket</a> +<li>Cypher() +: <a class="el" href="classCypher.html#5228228b0b2d83251ecce4516e87ddb1">Cypher</a> +<li>cypher() +: <a class="el" href="classCypher.html#1d51ce2235d38bded45f5e897be4435c">Cypher</a> +<li>cypher_ +: <a class="el" href="classOptions.html#bba16365a15a6a87c90f85e143bebb5f">Options</a> +</ul> +<hr size="1"><address style="align: right;"><small>Generated on Sun Oct 7 23:43:49 2007 for anytun by +<a href="http://www.doxygen.org/index.html"> +<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address> +</body> +</html> diff --git a/doc/html/functions_0x64.html b/doc/html/functions_0x64.html new file mode 100644 index 0000000..e9a8a48 --- /dev/null +++ b/doc/html/functions_0x64.html @@ -0,0 +1,79 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> +<title>anytun: Class Members</title> +<link href="doxygen.css" rel="stylesheet" type="text/css"> +<link href="tabs.css" rel="stylesheet" type="text/css"> +</head><body> +<!-- Generated by Doxygen 1.5.1 --> +<div class="tabs"> + <ul> + <li><a href="main.html"><span>Main Page</span></a></li> + <li><a href="namespaces.html"><span>Namespaces</span></a></li> + <li id="current"><a href="annotated.html"><span>Classes</span></a></li> + <li><a href="files.html"><span>Files</span></a></li> + </ul></div> +<div class="tabs"> + <ul> + <li><a href="annotated.html"><span>Class List</span></a></li> + <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> + <li id="current"><a href="functions.html"><span>Class Members</span></a></li> + </ul></div> +<div class="tabs"> + <ul> + <li id="current"><a href="functions.html"><span>All</span></a></li> + <li><a href="functions_func.html"><span>Functions</span></a></li> + <li><a href="functions_vars.html"><span>Variables</span></a></li> + <li><a href="functions_type.html"><span>Typedefs</span></a></li> + <li><a href="functions_rela.html"><span>Related Functions</span></a></li> + </ul> +</div> +<div class="tabs"> + <ul> + <li><a href="functions.html#index__"><span>_</span></a></li> + <li><a href="functions_0x61.html#index_a"><span>a</span></a></li> + <li><a href="functions_0x62.html#index_b"><span>b</span></a></li> + <li><a href="functions_0x63.html#index_c"><span>c</span></a></li> + <li id="current"><a href="functions_0x64.html#index_d"><span>d</span></a></li> + <li><a href="functions_0x65.html#index_e"><span>e</span></a></li> + <li><a href="functions_0x66.html#index_f"><span>f</span></a></li> + <li><a href="functions_0x67.html#index_g"><span>g</span></a></li> + <li><a href="functions_0x68.html#index_h"><span>h</span></a></li> + <li><a href="functions_0x69.html#index_i"><span>i</span></a></li> + <li><a href="functions_0x6a.html#index_j"><span>j</span></a></li> + <li><a href="functions_0x6b.html#index_k"><span>k</span></a></li> + <li><a href="functions_0x6c.html#index_l"><span>l</span></a></li> + <li><a href="functions_0x6d.html#index_m"><span>m</span></a></li> + <li><a href="functions_0x6e.html#index_n"><span>n</span></a></li> + <li><a href="functions_0x6f.html#index_o"><span>o</span></a></li> + <li><a href="functions_0x70.html#index_p"><span>p</span></a></li> + <li><a href="functions_0x72.html#index_r"><span>r</span></a></li> + <li><a href="functions_0x73.html#index_s"><span>s</span></a></li> + <li><a href="functions_0x74.html#index_t"><span>t</span></a></li> + <li><a href="functions_0x75.html#index_u"><span>u</span></a></li> + <li><a href="functions_0x77.html#index_w"><span>w</span></a></li> + <li><a href="functions_0x7e.html#index_~"><span>~</span></a></li> + </ul> +</div> + +<p> +Here is a list of all class members with links to the classes they belong to: +<p> +<h3><a class="anchor" name="index_d">- d -</a></h3><ul> +<li>dev +: <a class="el" href="structParam.html#1fa9d0f89264543bbad03a9e4e0c5f44">Param</a> +<li>dev_ +: <a class="el" href="classTunDevice.html#239c85381dfcf1776303778d1784df51">TunDevice</a> +<li>dev_name_ +: <a class="el" href="classOptions.html#3b094d71270549c85ca372f060bfe22c">Options</a> +<li>dev_type_ +: <a class="el" href="classOptions.html#b0c850a5e29599156af92cf5b3ddff28">Options</a> +<li>disconnect() +: <a class="el" href="classUDPSocket.html#7482e8e61cef160e1a7c0d6ac15c01be">UDPSocket</a> +<li>down() +: <a class="el" href="classSemaphore.html#71126a13a22f2722e22a2b69860a5371">Semaphore</a> +</ul> +<hr size="1"><address style="align: right;"><small>Generated on Sun Oct 7 23:43:49 2007 for anytun by +<a href="http://www.doxygen.org/index.html"> +<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address> +</body> +</html> diff --git a/doc/html/functions_0x65.html b/doc/html/functions_0x65.html new file mode 100644 index 0000000..e5cb735 --- /dev/null +++ b/doc/html/functions_0x65.html @@ -0,0 +1,69 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> +<title>anytun: Class Members</title> +<link href="doxygen.css" rel="stylesheet" type="text/css"> +<link href="tabs.css" rel="stylesheet" type="text/css"> +</head><body> +<!-- Generated by Doxygen 1.5.1 --> +<div class="tabs"> + <ul> + <li><a href="main.html"><span>Main Page</span></a></li> + <li><a href="namespaces.html"><span>Namespaces</span></a></li> + <li id="current"><a href="annotated.html"><span>Classes</span></a></li> + <li><a href="files.html"><span>Files</span></a></li> + </ul></div> +<div class="tabs"> + <ul> + <li><a href="annotated.html"><span>Class List</span></a></li> + <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> + <li id="current"><a href="functions.html"><span>Class Members</span></a></li> + </ul></div> +<div class="tabs"> + <ul> + <li id="current"><a href="functions.html"><span>All</span></a></li> + <li><a href="functions_func.html"><span>Functions</span></a></li> + <li><a href="functions_vars.html"><span>Variables</span></a></li> + <li><a href="functions_type.html"><span>Typedefs</span></a></li> + <li><a href="functions_rela.html"><span>Related Functions</span></a></li> + </ul> +</div> +<div class="tabs"> + <ul> + <li><a href="functions.html#index__"><span>_</span></a></li> + <li><a href="functions_0x61.html#index_a"><span>a</span></a></li> + <li><a href="functions_0x62.html#index_b"><span>b</span></a></li> + <li><a href="functions_0x63.html#index_c"><span>c</span></a></li> + <li><a href="functions_0x64.html#index_d"><span>d</span></a></li> + <li id="current"><a href="functions_0x65.html#index_e"><span>e</span></a></li> + <li><a href="functions_0x66.html#index_f"><span>f</span></a></li> + <li><a href="functions_0x67.html#index_g"><span>g</span></a></li> + <li><a href="functions_0x68.html#index_h"><span>h</span></a></li> + <li><a href="functions_0x69.html#index_i"><span>i</span></a></li> + <li><a href="functions_0x6a.html#index_j"><span>j</span></a></li> + <li><a href="functions_0x6b.html#index_k"><span>k</span></a></li> + <li><a href="functions_0x6c.html#index_l"><span>l</span></a></li> + <li><a href="functions_0x6d.html#index_m"><span>m</span></a></li> + <li><a href="functions_0x6e.html#index_n"><span>n</span></a></li> + <li><a href="functions_0x6f.html#index_o"><span>o</span></a></li> + <li><a href="functions_0x70.html#index_p"><span>p</span></a></li> + <li><a href="functions_0x72.html#index_r"><span>r</span></a></li> + <li><a href="functions_0x73.html#index_s"><span>s</span></a></li> + <li><a href="functions_0x74.html#index_t"><span>t</span></a></li> + <li><a href="functions_0x75.html#index_u"><span>u</span></a></li> + <li><a href="functions_0x77.html#index_w"><span>w</span></a></li> + <li><a href="functions_0x7e.html#index_~"><span>~</span></a></li> + </ul> +</div> + +<p> +Here is a list of all class members with links to the classes they belong to: +<p> +<h3><a class="anchor" name="index_e">- e -</a></h3><ul> +<li>exor() +: <a class="el" href="classCypher.html#bf33a7a59ed1cdf711030236de6635b0">Cypher</a> +</ul> +<hr size="1"><address style="align: right;"><small>Generated on Sun Oct 7 23:43:49 2007 for anytun by +<a href="http://www.doxygen.org/index.html"> +<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address> +</body> +</html> diff --git a/doc/html/functions_0x66.html b/doc/html/functions_0x66.html new file mode 100644 index 0000000..952d4a3 --- /dev/null +++ b/doc/html/functions_0x66.html @@ -0,0 +1,109 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> +<title>anytun: Class Members</title> +<link href="doxygen.css" rel="stylesheet" type="text/css"> +<link href="tabs.css" rel="stylesheet" type="text/css"> +</head><body> +<!-- Generated by Doxygen 1.5.1 --> +<div class="tabs"> + <ul> + <li><a href="main.html"><span>Main Page</span></a></li> + <li><a href="namespaces.html"><span>Namespaces</span></a></li> + <li id="current"><a href="annotated.html"><span>Classes</span></a></li> + <li><a href="files.html"><span>Files</span></a></li> + </ul></div> +<div class="tabs"> + <ul> + <li><a href="annotated.html"><span>Class List</span></a></li> + <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> + <li id="current"><a href="functions.html"><span>Class Members</span></a></li> + </ul></div> +<div class="tabs"> + <ul> + <li id="current"><a href="functions.html"><span>All</span></a></li> + <li><a href="functions_func.html"><span>Functions</span></a></li> + <li><a href="functions_vars.html"><span>Variables</span></a></li> + <li><a href="functions_type.html"><span>Typedefs</span></a></li> + <li><a href="functions_rela.html"><span>Related Functions</span></a></li> + </ul> +</div> +<div class="tabs"> + <ul> + <li><a href="functions.html#index__"><span>_</span></a></li> + <li><a href="functions_0x61.html#index_a"><span>a</span></a></li> + <li><a href="functions_0x62.html#index_b"><span>b</span></a></li> + <li><a href="functions_0x63.html#index_c"><span>c</span></a></li> + <li><a href="functions_0x64.html#index_d"><span>d</span></a></li> + <li><a href="functions_0x65.html#index_e"><span>e</span></a></li> + <li id="current"><a href="functions_0x66.html#index_f"><span>f</span></a></li> + <li><a href="functions_0x67.html#index_g"><span>g</span></a></li> + <li><a href="functions_0x68.html#index_h"><span>h</span></a></li> + <li><a href="functions_0x69.html#index_i"><span>i</span></a></li> + <li><a href="functions_0x6a.html#index_j"><span>j</span></a></li> + <li><a href="functions_0x6b.html#index_k"><span>k</span></a></li> + <li><a href="functions_0x6c.html#index_l"><span>l</span></a></li> + <li><a href="functions_0x6d.html#index_m"><span>m</span></a></li> + <li><a href="functions_0x6e.html#index_n"><span>n</span></a></li> + <li><a href="functions_0x6f.html#index_o"><span>o</span></a></li> + <li><a href="functions_0x70.html#index_p"><span>p</span></a></li> + <li><a href="functions_0x72.html#index_r"><span>r</span></a></li> + <li><a href="functions_0x73.html#index_s"><span>s</span></a></li> + <li><a href="functions_0x74.html#index_t"><span>t</span></a></li> + <li><a href="functions_0x75.html#index_u"><span>u</span></a></li> + <li><a href="functions_0x77.html#index_w"><span>w</span></a></li> + <li><a href="functions_0x7e.html#index_~"><span>~</span></a></li> + </ul> +</div> + +<p> +Here is a list of all class members with links to the classes they belong to: +<p> +<h3><a class="anchor" name="index_f">- f -</a></h3><ul> +<li>FAC_AUTH +: <a class="el" href="classLog.html#6f6fde7b6433d827c05cfefe16f9b333">Log</a> +<li>FAC_AUTHPRIV +: <a class="el" href="classLog.html#5245bb60b9c33e31027ea1f9a77d8053">Log</a> +<li>FAC_CRON +: <a class="el" href="classLog.html#6a455dfca6d859f77ed79b6d92ad659a">Log</a> +<li>FAC_DAEMON +: <a class="el" href="classLog.html#6395030c0b8fa7f36b6fe0f6b837055d">Log</a> +<li>FAC_FTP +: <a class="el" href="classLog.html#9b822438fee8c8a0f4bb56c0e4415c95">Log</a> +<li>FAC_LOCAL0 +: <a class="el" href="classLog.html#e6271aefc4c8749e602da64f284f0d08">Log</a> +<li>FAC_LOCAL1 +: <a class="el" href="classLog.html#b553df5af8dd47f2e9d29569b26b7713">Log</a> +<li>FAC_LOCAL2 +: <a class="el" href="classLog.html#1e79b43d3ed6f44281f1d6f4d6e2a829">Log</a> +<li>FAC_LOCAL3 +: <a class="el" href="classLog.html#467961bf9b0b73dd863a29e29642ed62">Log</a> +<li>FAC_LOCAL4 +: <a class="el" href="classLog.html#2dfec8266dc4bfd9f4a37a6a6a193724">Log</a> +<li>FAC_LOCAL5 +: <a class="el" href="classLog.html#8c8f287b845408f62e9971869764193d">Log</a> +<li>FAC_LOCAL6 +: <a class="el" href="classLog.html#c7c45c9e1daa96ecb60ff12064a3dc6e">Log</a> +<li>FAC_LOCAL7 +: <a class="el" href="classLog.html#886a44fb4cec033f0f7c028f530fe97c">Log</a> +<li>FAC_LPR +: <a class="el" href="classLog.html#28a1239643de68f79ad6c2337acfd2ea">Log</a> +<li>FAC_MAIL +: <a class="el" href="classLog.html#5cf4b465d8ecff58bd62ac064663917b">Log</a> +<li>FAC_NEWS +: <a class="el" href="classLog.html#b9f56520aeae70b9d98396f67ad1310b">Log</a> +<li>FAC_SYSLOG +: <a class="el" href="classLog.html#be74100156fee45add0417bc9f460f30">Log</a> +<li>FAC_USER +: <a class="el" href="classLog.html#9418bab5d66822411ce1f85823d8425b">Log</a> +<li>FAC_UUCP +: <a class="el" href="classLog.html#d5b2e5f3987835ec077013c6a263ed5f">Log</a> +<li>facility +: <a class="el" href="classLog.html#844dc5894a51dce933ae2109868652a0">Log</a> +<li>fields_desc +: <a class="el" href="classsatp_1_1SATP.html#e51015e8537b5ec7aa53ba87bf638c15">satp::SATP</a> +</ul> +<hr size="1"><address style="align: right;"><small>Generated on Sun Oct 7 23:43:49 2007 for anytun by +<a href="http://www.doxygen.org/index.html"> +<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address> +</body> +</html> diff --git a/doc/html/functions_0x67.html b/doc/html/functions_0x67.html new file mode 100644 index 0000000..85b0e5c --- /dev/null +++ b/doc/html/functions_0x67.html @@ -0,0 +1,132 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> +<title>anytun: Class Members</title> +<link href="doxygen.css" rel="stylesheet" type="text/css"> +<link href="tabs.css" rel="stylesheet" type="text/css"> +</head><body> +<!-- Generated by Doxygen 1.5.1 --> +<div class="tabs"> + <ul> + <li><a href="main.html"><span>Main Page</span></a></li> + <li><a href="namespaces.html"><span>Namespaces</span></a></li> + <li id="current"><a href="annotated.html"><span>Classes</span></a></li> + <li><a href="files.html"><span>Files</span></a></li> + </ul></div> +<div class="tabs"> + <ul> + <li><a href="annotated.html"><span>Class List</span></a></li> + <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> + <li id="current"><a href="functions.html"><span>Class Members</span></a></li> + </ul></div> +<div class="tabs"> + <ul> + <li id="current"><a href="functions.html"><span>All</span></a></li> + <li><a href="functions_func.html"><span>Functions</span></a></li> + <li><a href="functions_vars.html"><span>Variables</span></a></li> + <li><a href="functions_type.html"><span>Typedefs</span></a></li> + <li><a href="functions_rela.html"><span>Related Functions</span></a></li> + </ul> +</div> +<div class="tabs"> + <ul> + <li><a href="functions.html#index__"><span>_</span></a></li> + <li><a href="functions_0x61.html#index_a"><span>a</span></a></li> + <li><a href="functions_0x62.html#index_b"><span>b</span></a></li> + <li><a href="functions_0x63.html#index_c"><span>c</span></a></li> + <li><a href="functions_0x64.html#index_d"><span>d</span></a></li> + <li><a href="functions_0x65.html#index_e"><span>e</span></a></li> + <li><a href="functions_0x66.html#index_f"><span>f</span></a></li> + <li id="current"><a href="functions_0x67.html#index_g"><span>g</span></a></li> + <li><a href="functions_0x68.html#index_h"><span>h</span></a></li> + <li><a href="functions_0x69.html#index_i"><span>i</span></a></li> + <li><a href="functions_0x6a.html#index_j"><span>j</span></a></li> + <li><a href="functions_0x6b.html#index_k"><span>k</span></a></li> + <li><a href="functions_0x6c.html#index_l"><span>l</span></a></li> + <li><a href="functions_0x6d.html#index_m"><span>m</span></a></li> + <li><a href="functions_0x6e.html#index_n"><span>n</span></a></li> + <li><a href="functions_0x6f.html#index_o"><span>o</span></a></li> + <li><a href="functions_0x70.html#index_p"><span>p</span></a></li> + <li><a href="functions_0x72.html#index_r"><span>r</span></a></li> + <li><a href="functions_0x73.html#index_s"><span>s</span></a></li> + <li><a href="functions_0x74.html#index_t"><span>t</span></a></li> + <li><a href="functions_0x75.html#index_u"><span>u</span></a></li> + <li><a href="functions_0x77.html#index_w"><span>w</span></a></li> + <li><a href="functions_0x7e.html#index_~"><span>~</span></a></li> + </ul> +</div> + +<p> +Here is a list of all class members with links to the classes they belong to: +<p> +<h3><a class="anchor" name="index_g">- g -</a></h3><ul> +<li>gcrypt_initialized_ +: <a class="el" href="classAesIcmCypher.html#04da5690d9102c6b3fe5bf78a8827ac1">AesIcmCypher</a> +<li>GCRYPT_SEC_MEM +: <a class="el" href="classAesIcmCypher.html#4d1dea41b9745bca5a2d84fcefe3558c">AesIcmCypher</a> +<li>generate() +: <a class="el" href="classKeyDerivation.html#025e21ecdd0389b768eaa61fed660c86">KeyDerivation</a> +<li>getActualName() +: <a class="el" href="classTunDevice.html#e02f8972f75b11b69280fba9b6649cab">TunDevice</a> +<li>getAuthAlgo() +: <a class="el" href="classOptions.html#ee7bd7127b7ab35e287fb479288e9641">Options</a> +<li>getAuthTag() +: <a class="el" href="classPacket.html#ba55c639065c177a7006d8392f50eddc">Packet</a> +<li>getBitStream() +: <a class="el" href="classCypher.html#7ddf1bcd476978daa97148ec406d6483">Cypher</a> +, <a class="el" href="classNullCypher.html#ca537adca8ea9af8b6f248df12ebcf36">NullCypher</a> +, <a class="el" href="classAesIcmCypher.html#ebac1fbb9a4cb56411fcd45ca63f47a1">AesIcmCypher</a> +<li>getBuf() +: <a class="el" href="classBuffer.html#7890e20c6c77eb631c39728ea08b35b8">Buffer</a> +<li>getCypher() +: <a class="el" href="classOptions.html#71845d106fb9ccef0f8b682a125f4ffd">Options</a> +<li>getDevName() +: <a class="el" href="classOptions.html#acd35d4f958a4611ba10fc844583b744">Options</a> +<li>getDevType() +: <a class="el" href="classOptions.html#0762384e71fb10883a8fe245a389cee6">Options</a> +<li>getFacility() +: <a class="el" href="classLog.html#238b6e5d47bb83307737f0c809fad669">Log</a> +<li>getForeignAddress() +: <a class="el" href="classCommunicatingSocket.html#13f9eca30ef56836cf23c163c848c09e">CommunicatingSocket</a> +<li>getForeignPort() +: <a class="el" href="classCommunicatingSocket.html#184fbb4775184b87ebd886a5587eb1a3">CommunicatingSocket</a> +<li>getIfconfigParamLocal() +: <a class="el" href="classOptions.html#5354b737aa30d786c79f43547c78dc09">Options</a> +<li>getIfconfigParamRemoteNetmask() +: <a class="el" href="classOptions.html#ee9e8bcc21c6c8c81fc4ed79991d42d5">Options</a> +<li>getLength() +: <a class="el" href="classSeqWindow.html#5d39959927c79c54d133ed77b297ad7c">SeqWindow</a> +, <a class="el" href="classBuffer.html#09ced241e4d0a46c52f0f20398076435">Buffer</a> +<li>getLocalAddr() +: <a class="el" href="classOptions.html#0b1ca05363913a66db8dcb829ebc21e2">Options</a> +<li>getLocalAddress() +: <a class="el" href="classSocket.html#0fca07bdfa97874fba1a17995ed7cda3">Socket</a> +<li>getLocalPort() +: <a class="el" href="classSocket.html#e01143b667d69483a2f53d0f4ce7eeed">Socket</a> +, <a class="el" href="classOptions.html#44a66c61b99fc0d1a953493a3cd4dcab">Options</a> +<li>getLogName() +: <a class="el" href="classLog.html#9090c0fbbc5a3223dbd361a827788c17">Log</a> +<li>getPayloadType() +: <a class="el" href="classPacket.html#ed7f5cc79b40a11eddefd4b421544498">Packet</a> +<li>getProgname() +: <a class="el" href="classOptions.html#af7b2ab27fc4b1a74ef89e9fdd0cfb22">Options</a> +<li>getRemoteAddr() +: <a class="el" href="classOptions.html#46343d900b4dd2ab8e0a7a2a9274e885">Options</a> +<li>getRemotePort() +: <a class="el" href="classOptions.html#4d2089d4216557810410f31ffa2dfc8b">Options</a> +<li>getSenderId() +: <a class="el" href="classPacket.html#096829acfcf98c3ffff60bd335cbb919">Packet</a> +, <a class="el" href="classOptions.html#049d0dbe0f6ca10cc18d87924fb2322d">Options</a> +<li>getSeqNr() +: <a class="el" href="classPacket.html#6572b9df8c1f5f0de9fcb8e5c669de50">Packet</a> +<li>getSeqWindowSize() +: <a class="el" href="classOptions.html#893c688302a091bcf99cb327b23774fa">Options</a> +<li>getType() +: <a class="el" href="classTunDevice.html#b57512464007681dcc92820adb3deb0f">TunDevice</a> +<li>getTypeString() +: <a class="el" href="classTunDevice.html#0cecbc6a7e58d294dd005e7d523173bd">TunDevice</a> +</ul> +<hr size="1"><address style="align: right;"><small>Generated on Sun Oct 7 23:43:49 2007 for anytun by +<a href="http://www.doxygen.org/index.html"> +<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address> +</body> +</html> diff --git a/doc/html/functions_0x68.html b/doc/html/functions_0x68.html new file mode 100644 index 0000000..fd2c8f3 --- /dev/null +++ b/doc/html/functions_0x68.html @@ -0,0 +1,94 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> +<title>anytun: Class Members</title> +<link href="doxygen.css" rel="stylesheet" type="text/css"> +<link href="tabs.css" rel="stylesheet" type="text/css"> +</head><body> +<!-- Generated by Doxygen 1.5.1 --> +<div class="tabs"> + <ul> + <li><a href="main.html"><span>Main Page</span></a></li> + <li><a href="namespaces.html"><span>Namespaces</span></a></li> + <li id="current"><a href="annotated.html"><span>Classes</span></a></li> + <li><a href="files.html"><span>Files</span></a></li> + </ul></div> +<div class="tabs"> + <ul> + <li><a href="annotated.html"><span>Class List</span></a></li> + <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> + <li id="current"><a href="functions.html"><span>Class Members</span></a></li> + </ul></div> +<div class="tabs"> + <ul> + <li id="current"><a href="functions.html"><span>All</span></a></li> + <li><a href="functions_func.html"><span>Functions</span></a></li> + <li><a href="functions_vars.html"><span>Variables</span></a></li> + <li><a href="functions_type.html"><span>Typedefs</span></a></li> + <li><a href="functions_rela.html"><span>Related Functions</span></a></li> + </ul> +</div> +<div class="tabs"> + <ul> + <li><a href="functions.html#index__"><span>_</span></a></li> + <li><a href="functions_0x61.html#index_a"><span>a</span></a></li> + <li><a href="functions_0x62.html#index_b"><span>b</span></a></li> + <li><a href="functions_0x63.html#index_c"><span>c</span></a></li> + <li><a href="functions_0x64.html#index_d"><span>d</span></a></li> + <li><a href="functions_0x65.html#index_e"><span>e</span></a></li> + <li><a href="functions_0x66.html#index_f"><span>f</span></a></li> + <li><a href="functions_0x67.html#index_g"><span>g</span></a></li> + <li id="current"><a href="functions_0x68.html#index_h"><span>h</span></a></li> + <li><a href="functions_0x69.html#index_i"><span>i</span></a></li> + <li><a href="functions_0x6a.html#index_j"><span>j</span></a></li> + <li><a href="functions_0x6b.html#index_k"><span>k</span></a></li> + <li><a href="functions_0x6c.html#index_l"><span>l</span></a></li> + <li><a href="functions_0x6d.html#index_m"><span>m</span></a></li> + <li><a href="functions_0x6e.html#index_n"><span>n</span></a></li> + <li><a href="functions_0x6f.html#index_o"><span>o</span></a></li> + <li><a href="functions_0x70.html#index_p"><span>p</span></a></li> + <li><a href="functions_0x72.html#index_r"><span>r</span></a></li> + <li><a href="functions_0x73.html#index_s"><span>s</span></a></li> + <li><a href="functions_0x74.html#index_t"><span>t</span></a></li> + <li><a href="functions_0x75.html#index_u"><span>u</span></a></li> + <li><a href="functions_0x77.html#index_w"><span>w</span></a></li> + <li><a href="functions_0x7e.html#index_~"><span>~</span></a></li> + </ul> +</div> + +<p> +Here is a list of all class members with links to the classes they belong to: +<p> +<h3><a class="anchor" name="index_h">- h -</a></h3><ul> +<li>handle() +: <a class="el" href="classSignalHandler.html#e3dbda0de9b4aa4544390818a0d29e28">SignalHandler</a> +, <a class="el" href="classSigIntHandler.html#6a7d9a841a5c9b1f50041a8c37774063">SigIntHandler</a> +, <a class="el" href="classSigTermHandler.html#820fa7f8bb5ef6390133c33c919dbf6f">SigTermHandler</a> +, <a class="el" href="classSigUsr2Handler.html#825a621f1ff10556bb8b289703273e7d">SigUsr2Handler</a> +, <a class="el" href="classSignalController.html#5df4d6ebe373117a9bf072035e16997f">SignalController</a> +, <a class="el" href="classSigQuitHandler.html#799f0272c91e7b1bf09411b80811b4dc">SigQuitHandler</a> +, <a class="el" href="classSigHupHandler.html#84734b7f79663badeedb720896302d4e">SigHupHandler</a> +, <a class="el" href="classSigUsr1Handler.html#578f3ea18e617689032fc165b6436695">SigUsr1Handler</a> +<li>handler +: <a class="el" href="classSignalController.html#f76d2f570d55019dd15921eba71efe0b">SignalController</a> +<li>HandlerMap +: <a class="el" href="classSignalController.html#659eb661ef3d40565d739a50bbe4b554">SignalController</a> +<li>has_auth_tag_ +: <a class="el" href="classPacket.html#849a965c46afc5fa7efe257212197abb">Packet</a> +<li>has_header_ +: <a class="el" href="classPacket.html#97b8eb52e7476174a0e91e2ccaf73306">Packet</a> +<li>has_payload_type_ +: <a class="el" href="classPacket.html#235c6c8c7362c46ca33a331713199a17">Packet</a> +<li>hasAuthTag() +: <a class="el" href="classPacket.html#bfe50722f18687bb0691061fb0ccb0ff">Packet</a> +<li>hasHeader() +: <a class="el" href="classPacket.html#a004c01dd99179b0a08109dce5fc6b03">Packet</a> +<li>hasPayloadType() +: <a class="el" href="classPacket.html#c78b8af0dc7c7badf85e75db0de54800">Packet</a> +<li>hasSeqNr() +: <a class="el" href="classSeqWindow.html#9e7714dda181863420c38975bd505aff">SeqWindow</a> +</ul> +<hr size="1"><address style="align: right;"><small>Generated on Sun Oct 7 23:43:49 2007 for anytun by +<a href="http://www.doxygen.org/index.html"> +<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address> +</body> +</html> diff --git a/doc/html/functions_0x69.html b/doc/html/functions_0x69.html new file mode 100644 index 0000000..ed98de0 --- /dev/null +++ b/doc/html/functions_0x69.html @@ -0,0 +1,86 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> +<title>anytun: Class Members</title> +<link href="doxygen.css" rel="stylesheet" type="text/css"> +<link href="tabs.css" rel="stylesheet" type="text/css"> +</head><body> +<!-- Generated by Doxygen 1.5.1 --> +<div class="tabs"> + <ul> + <li><a href="main.html"><span>Main Page</span></a></li> + <li><a href="namespaces.html"><span>Namespaces</span></a></li> + <li id="current"><a href="annotated.html"><span>Classes</span></a></li> + <li><a href="files.html"><span>Files</span></a></li> + </ul></div> +<div class="tabs"> + <ul> + <li><a href="annotated.html"><span>Class List</span></a></li> + <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> + <li id="current"><a href="functions.html"><span>Class Members</span></a></li> + </ul></div> +<div class="tabs"> + <ul> + <li id="current"><a href="functions.html"><span>All</span></a></li> + <li><a href="functions_func.html"><span>Functions</span></a></li> + <li><a href="functions_vars.html"><span>Variables</span></a></li> + <li><a href="functions_type.html"><span>Typedefs</span></a></li> + <li><a href="functions_rela.html"><span>Related Functions</span></a></li> + </ul> +</div> +<div class="tabs"> + <ul> + <li><a href="functions.html#index__"><span>_</span></a></li> + <li><a href="functions_0x61.html#index_a"><span>a</span></a></li> + <li><a href="functions_0x62.html#index_b"><span>b</span></a></li> + <li><a href="functions_0x63.html#index_c"><span>c</span></a></li> + <li><a href="functions_0x64.html#index_d"><span>d</span></a></li> + <li><a href="functions_0x65.html#index_e"><span>e</span></a></li> + <li><a href="functions_0x66.html#index_f"><span>f</span></a></li> + <li><a href="functions_0x67.html#index_g"><span>g</span></a></li> + <li><a href="functions_0x68.html#index_h"><span>h</span></a></li> + <li id="current"><a href="functions_0x69.html#index_i"><span>i</span></a></li> + <li><a href="functions_0x6a.html#index_j"><span>j</span></a></li> + <li><a href="functions_0x6b.html#index_k"><span>k</span></a></li> + <li><a href="functions_0x6c.html#index_l"><span>l</span></a></li> + <li><a href="functions_0x6d.html#index_m"><span>m</span></a></li> + <li><a href="functions_0x6e.html#index_n"><span>n</span></a></li> + <li><a href="functions_0x6f.html#index_o"><span>o</span></a></li> + <li><a href="functions_0x70.html#index_p"><span>p</span></a></li> + <li><a href="functions_0x72.html#index_r"><span>r</span></a></li> + <li><a href="functions_0x73.html#index_s"><span>s</span></a></li> + <li><a href="functions_0x74.html#index_t"><span>t</span></a></li> + <li><a href="functions_0x75.html#index_u"><span>u</span></a></li> + <li><a href="functions_0x77.html#index_w"><span>w</span></a></li> + <li><a href="functions_0x7e.html#index_~"><span>~</span></a></li> + </ul> +</div> + +<p> +Here is a list of all class members with links to the classes they belong to: +<p> +<h3><a class="anchor" name="index_i">- i -</a></h3><ul> +<li>ifconfig_param_local_ +: <a class="el" href="classOptions.html#fd0d76c7e1e2fa6fd9ee0538ff9124b0">Options</a> +<li>ifconfig_param_remote_netmask_ +: <a class="el" href="classOptions.html#cd2c34152754ab7818ee4bfe3e1b9936">Options</a> +<li>init() +: <a class="el" href="classSignalController.html#0d66065172b1c7ac0d55757d178e6911">SignalController</a> +, <a class="el" href="classKeyDerivation.html#5f03e97de1a041f6012d1fcfabf13773">KeyDerivation</a> +<li>inst +: <a class="el" href="classLog.html#aebf3ec6bf45b97cc842d9d53a5a6c0a">Log</a> +<li>instance() +: <a class="el" href="classLog.html#aa59866ce9e78db15ce7aaeb00fc1063">Log</a> +<li>instanceCleaner +: <a class="el" href="classLog.html#321cfbf9f58ebf3c9366bd6e0b5c18ce">Log</a> +<li>instMutex +: <a class="el" href="classLog.html#c561e8206daad55b4aa4ac8808f35314">Log</a> +<li>io_mutex_ +: <a class="el" href="classTunDevice.html#e130228e28996e644d2013089e704d4c">TunDevice</a> +<li>isOpen() +: <a class="el" href="classTunDevice.html#f63f3331789f043e44eb435b78c815b2">TunDevice</a> +</ul> +<hr size="1"><address style="align: right;"><small>Generated on Sun Oct 7 23:43:49 2007 for anytun by +<a href="http://www.doxygen.org/index.html"> +<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address> +</body> +</html> diff --git a/doc/html/functions_0x6a.html b/doc/html/functions_0x6a.html new file mode 100644 index 0000000..00ab2d4 --- /dev/null +++ b/doc/html/functions_0x6a.html @@ -0,0 +1,69 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> +<title>anytun: Class Members</title> +<link href="doxygen.css" rel="stylesheet" type="text/css"> +<link href="tabs.css" rel="stylesheet" type="text/css"> +</head><body> +<!-- Generated by Doxygen 1.5.1 --> +<div class="tabs"> + <ul> + <li><a href="main.html"><span>Main Page</span></a></li> + <li><a href="namespaces.html"><span>Namespaces</span></a></li> + <li id="current"><a href="annotated.html"><span>Classes</span></a></li> + <li><a href="files.html"><span>Files</span></a></li> + </ul></div> +<div class="tabs"> + <ul> + <li><a href="annotated.html"><span>Class List</span></a></li> + <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> + <li id="current"><a href="functions.html"><span>Class Members</span></a></li> + </ul></div> +<div class="tabs"> + <ul> + <li id="current"><a href="functions.html"><span>All</span></a></li> + <li><a href="functions_func.html"><span>Functions</span></a></li> + <li><a href="functions_vars.html"><span>Variables</span></a></li> + <li><a href="functions_type.html"><span>Typedefs</span></a></li> + <li><a href="functions_rela.html"><span>Related Functions</span></a></li> + </ul> +</div> +<div class="tabs"> + <ul> + <li><a href="functions.html#index__"><span>_</span></a></li> + <li><a href="functions_0x61.html#index_a"><span>a</span></a></li> + <li><a href="functions_0x62.html#index_b"><span>b</span></a></li> + <li><a href="functions_0x63.html#index_c"><span>c</span></a></li> + <li><a href="functions_0x64.html#index_d"><span>d</span></a></li> + <li><a href="functions_0x65.html#index_e"><span>e</span></a></li> + <li><a href="functions_0x66.html#index_f"><span>f</span></a></li> + <li><a href="functions_0x67.html#index_g"><span>g</span></a></li> + <li><a href="functions_0x68.html#index_h"><span>h</span></a></li> + <li><a href="functions_0x69.html#index_i"><span>i</span></a></li> + <li id="current"><a href="functions_0x6a.html#index_j"><span>j</span></a></li> + <li><a href="functions_0x6b.html#index_k"><span>k</span></a></li> + <li><a href="functions_0x6c.html#index_l"><span>l</span></a></li> + <li><a href="functions_0x6d.html#index_m"><span>m</span></a></li> + <li><a href="functions_0x6e.html#index_n"><span>n</span></a></li> + <li><a href="functions_0x6f.html#index_o"><span>o</span></a></li> + <li><a href="functions_0x70.html#index_p"><span>p</span></a></li> + <li><a href="functions_0x72.html#index_r"><span>r</span></a></li> + <li><a href="functions_0x73.html#index_s"><span>s</span></a></li> + <li><a href="functions_0x74.html#index_t"><span>t</span></a></li> + <li><a href="functions_0x75.html#index_u"><span>u</span></a></li> + <li><a href="functions_0x77.html#index_w"><span>w</span></a></li> + <li><a href="functions_0x7e.html#index_~"><span>~</span></a></li> + </ul> +</div> + +<p> +Here is a list of all class members with links to the classes they belong to: +<p> +<h3><a class="anchor" name="index_j">- j -</a></h3><ul> +<li>joinGroup() +: <a class="el" href="classUDPSocket.html#1b20c1e8bd49a9bd9b53dd4f1c8d4c11">UDPSocket</a> +</ul> +<hr size="1"><address style="align: right;"><small>Generated on Sun Oct 7 23:43:49 2007 for anytun by +<a href="http://www.doxygen.org/index.html"> +<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address> +</body> +</html> diff --git a/doc/html/functions_0x6b.html b/doc/html/functions_0x6b.html new file mode 100644 index 0000000..c103e47 --- /dev/null +++ b/doc/html/functions_0x6b.html @@ -0,0 +1,72 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> +<title>anytun: Class Members</title> +<link href="doxygen.css" rel="stylesheet" type="text/css"> +<link href="tabs.css" rel="stylesheet" type="text/css"> +</head><body> +<!-- Generated by Doxygen 1.5.1 --> +<div class="tabs"> + <ul> + <li><a href="main.html"><span>Main Page</span></a></li> + <li><a href="namespaces.html"><span>Namespaces</span></a></li> + <li id="current"><a href="annotated.html"><span>Classes</span></a></li> + <li><a href="files.html"><span>Files</span></a></li> + </ul></div> +<div class="tabs"> + <ul> + <li><a href="annotated.html"><span>Class List</span></a></li> + <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> + <li id="current"><a href="functions.html"><span>Class Members</span></a></li> + </ul></div> +<div class="tabs"> + <ul> + <li id="current"><a href="functions.html"><span>All</span></a></li> + <li><a href="functions_func.html"><span>Functions</span></a></li> + <li><a href="functions_vars.html"><span>Variables</span></a></li> + <li><a href="functions_type.html"><span>Typedefs</span></a></li> + <li><a href="functions_rela.html"><span>Related Functions</span></a></li> + </ul> +</div> +<div class="tabs"> + <ul> + <li><a href="functions.html#index__"><span>_</span></a></li> + <li><a href="functions_0x61.html#index_a"><span>a</span></a></li> + <li><a href="functions_0x62.html#index_b"><span>b</span></a></li> + <li><a href="functions_0x63.html#index_c"><span>c</span></a></li> + <li><a href="functions_0x64.html#index_d"><span>d</span></a></li> + <li><a href="functions_0x65.html#index_e"><span>e</span></a></li> + <li><a href="functions_0x66.html#index_f"><span>f</span></a></li> + <li><a href="functions_0x67.html#index_g"><span>g</span></a></li> + <li><a href="functions_0x68.html#index_h"><span>h</span></a></li> + <li><a href="functions_0x69.html#index_i"><span>i</span></a></li> + <li><a href="functions_0x6a.html#index_j"><span>j</span></a></li> + <li id="current"><a href="functions_0x6b.html#index_k"><span>k</span></a></li> + <li><a href="functions_0x6c.html#index_l"><span>l</span></a></li> + <li><a href="functions_0x6d.html#index_m"><span>m</span></a></li> + <li><a href="functions_0x6e.html#index_n"><span>n</span></a></li> + <li><a href="functions_0x6f.html#index_o"><span>o</span></a></li> + <li><a href="functions_0x70.html#index_p"><span>p</span></a></li> + <li><a href="functions_0x72.html#index_r"><span>r</span></a></li> + <li><a href="functions_0x73.html#index_s"><span>s</span></a></li> + <li><a href="functions_0x74.html#index_t"><span>t</span></a></li> + <li><a href="functions_0x75.html#index_u"><span>u</span></a></li> + <li><a href="functions_0x77.html#index_w"><span>w</span></a></li> + <li><a href="functions_0x7e.html#index_~"><span>~</span></a></li> + </ul> +</div> + +<p> +Here is a list of all class members with links to the classes they belong to: +<p> +<h3><a class="anchor" name="index_k">- k -</a></h3><ul> +<li>kd +: <a class="el" href="structParam.html#6cfe55741cae1cf1bdde27561f292d8a">Param</a> +<li>KeyDerivation() +: <a class="el" href="classKeyDerivation.html#07c3735d1b2e1285b6c427a2706ebc67">KeyDerivation</a> +, <a class="el" href="classBuffer.html#1d039eb05e29b8eeadca9b474bb6d49f">Buffer</a> +</ul> +<hr size="1"><address style="align: right;"><small>Generated on Sun Oct 7 23:43:49 2007 for anytun by +<a href="http://www.doxygen.org/index.html"> +<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address> +</body> +</html> diff --git a/doc/html/functions_0x6c.html b/doc/html/functions_0x6c.html new file mode 100644 index 0000000..33c53d9 --- /dev/null +++ b/doc/html/functions_0x6c.html @@ -0,0 +1,94 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> +<title>anytun: Class Members</title> +<link href="doxygen.css" rel="stylesheet" type="text/css"> +<link href="tabs.css" rel="stylesheet" type="text/css"> +</head><body> +<!-- Generated by Doxygen 1.5.1 --> +<div class="tabs"> + <ul> + <li><a href="main.html"><span>Main Page</span></a></li> + <li><a href="namespaces.html"><span>Namespaces</span></a></li> + <li id="current"><a href="annotated.html"><span>Classes</span></a></li> + <li><a href="files.html"><span>Files</span></a></li> + </ul></div> +<div class="tabs"> + <ul> + <li><a href="annotated.html"><span>Class List</span></a></li> + <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> + <li id="current"><a href="functions.html"><span>Class Members</span></a></li> + </ul></div> +<div class="tabs"> + <ul> + <li id="current"><a href="functions.html"><span>All</span></a></li> + <li><a href="functions_func.html"><span>Functions</span></a></li> + <li><a href="functions_vars.html"><span>Variables</span></a></li> + <li><a href="functions_type.html"><span>Typedefs</span></a></li> + <li><a href="functions_rela.html"><span>Related Functions</span></a></li> + </ul> +</div> +<div class="tabs"> + <ul> + <li><a href="functions.html#index__"><span>_</span></a></li> + <li><a href="functions_0x61.html#index_a"><span>a</span></a></li> + <li><a href="functions_0x62.html#index_b"><span>b</span></a></li> + <li><a href="functions_0x63.html#index_c"><span>c</span></a></li> + <li><a href="functions_0x64.html#index_d"><span>d</span></a></li> + <li><a href="functions_0x65.html#index_e"><span>e</span></a></li> + <li><a href="functions_0x66.html#index_f"><span>f</span></a></li> + <li><a href="functions_0x67.html#index_g"><span>g</span></a></li> + <li><a href="functions_0x68.html#index_h"><span>h</span></a></li> + <li><a href="functions_0x69.html#index_i"><span>i</span></a></li> + <li><a href="functions_0x6a.html#index_j"><span>j</span></a></li> + <li><a href="functions_0x6b.html#index_k"><span>k</span></a></li> + <li id="current"><a href="functions_0x6c.html#index_l"><span>l</span></a></li> + <li><a href="functions_0x6d.html#index_m"><span>m</span></a></li> + <li><a href="functions_0x6e.html#index_n"><span>n</span></a></li> + <li><a href="functions_0x6f.html#index_o"><span>o</span></a></li> + <li><a href="functions_0x70.html#index_p"><span>p</span></a></li> + <li><a href="functions_0x72.html#index_r"><span>r</span></a></li> + <li><a href="functions_0x73.html#index_s"><span>s</span></a></li> + <li><a href="functions_0x74.html#index_t"><span>t</span></a></li> + <li><a href="functions_0x75.html#index_u"><span>u</span></a></li> + <li><a href="functions_0x77.html#index_w"><span>w</span></a></li> + <li><a href="functions_0x7e.html#index_~"><span>~</span></a></li> + </ul> +</div> + +<p> +Here is a list of all class members with links to the classes they belong to: +<p> +<h3><a class="anchor" name="index_l">- l -</a></h3><ul> +<li>ld_kdr_ +: <a class="el" href="classKeyDerivation.html#426dcd34d3b60191a3db55dd970eeb17">KeyDerivation</a> +<li>leaveGroup() +: <a class="el" href="classUDPSocket.html#78835eaeca8a5ac039b4579c795e3640">UDPSocket</a> +<li>leftByteShift() +: <a class="el" href="classBuffer.html#13200a4925b1b3c08f99e09ccb6854a1">Buffer</a> +<li>length_ +: <a class="el" href="classBuffer.html#d3a779d2403b5183427f12554e2f51c3">Buffer</a> +<li>local_addr_ +: <a class="el" href="classOptions.html#d331507d07c87908a5b199a209a3e97e">Options</a> +<li>local_port_ +: <a class="el" href="classOptions.html#744fc32e1b4f5c930251a8b0013f7f0a">Options</a> +<li>lock() +: <a class="el" href="classMutex.html#d91be808bf0a60a16f10b897ec246d3a">Mutex</a> +<li>Lock() +: <a class="el" href="classLock.html#2c786576eddddb484a6a02a7dea52904">Lock</a> +, <a class="el" href="classMutex.html#5bf7608e05250fb524a1229bcf83ece3">Mutex</a> +, <a class="el" href="classLock.html#5aba40fb170cf8fbfbe241ecac4b66b2">Lock</a> +<li>Log() +: <a class="el" href="classLog.html#f6071a60aa52b6c1b511f99b4bc1b8fe">Log</a> +<li>log +: <a class="el" href="classLogStringBuilder.html#499c5b058df61e2215368592d21aacf1">LogStringBuilder</a> +<li>logName +: <a class="el" href="classLog.html#8abf9fa58d7af501f25415eb37fd71a0">Log</a> +<li>LogStringBuilder() +: <a class="el" href="classLogStringBuilder.html#5df8c8d7ab7615c8552de3d4d21d3417">LogStringBuilder</a> +, <a class="el" href="classLog.html#16ded253dbe65c503d1d853dcf5460d6">Log</a> +</ul> +<hr size="1"><address style="align: right;"><small>Generated on Sun Oct 7 23:43:49 2007 for anytun by +<a href="http://www.doxygen.org/index.html"> +<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address> +</body> +</html> diff --git a/doc/html/functions_0x6d.html b/doc/html/functions_0x6d.html new file mode 100644 index 0000000..faf5624 --- /dev/null +++ b/doc/html/functions_0x6d.html @@ -0,0 +1,86 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> +<title>anytun: Class Members</title> +<link href="doxygen.css" rel="stylesheet" type="text/css"> +<link href="tabs.css" rel="stylesheet" type="text/css"> +</head><body> +<!-- Generated by Doxygen 1.5.1 --> +<div class="tabs"> + <ul> + <li><a href="main.html"><span>Main Page</span></a></li> + <li><a href="namespaces.html"><span>Namespaces</span></a></li> + <li id="current"><a href="annotated.html"><span>Classes</span></a></li> + <li><a href="files.html"><span>Files</span></a></li> + </ul></div> +<div class="tabs"> + <ul> + <li><a href="annotated.html"><span>Class List</span></a></li> + <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> + <li id="current"><a href="functions.html"><span>Class Members</span></a></li> + </ul></div> +<div class="tabs"> + <ul> + <li id="current"><a href="functions.html"><span>All</span></a></li> + <li><a href="functions_func.html"><span>Functions</span></a></li> + <li><a href="functions_vars.html"><span>Variables</span></a></li> + <li><a href="functions_type.html"><span>Typedefs</span></a></li> + <li><a href="functions_rela.html"><span>Related Functions</span></a></li> + </ul> +</div> +<div class="tabs"> + <ul> + <li><a href="functions.html#index__"><span>_</span></a></li> + <li><a href="functions_0x61.html#index_a"><span>a</span></a></li> + <li><a href="functions_0x62.html#index_b"><span>b</span></a></li> + <li><a href="functions_0x63.html#index_c"><span>c</span></a></li> + <li><a href="functions_0x64.html#index_d"><span>d</span></a></li> + <li><a href="functions_0x65.html#index_e"><span>e</span></a></li> + <li><a href="functions_0x66.html#index_f"><span>f</span></a></li> + <li><a href="functions_0x67.html#index_g"><span>g</span></a></li> + <li><a href="functions_0x68.html#index_h"><span>h</span></a></li> + <li><a href="functions_0x69.html#index_i"><span>i</span></a></li> + <li><a href="functions_0x6a.html#index_j"><span>j</span></a></li> + <li><a href="functions_0x6b.html#index_k"><span>k</span></a></li> + <li><a href="functions_0x6c.html#index_l"><span>l</span></a></li> + <li id="current"><a href="functions_0x6d.html#index_m"><span>m</span></a></li> + <li><a href="functions_0x6e.html#index_n"><span>n</span></a></li> + <li><a href="functions_0x6f.html#index_o"><span>o</span></a></li> + <li><a href="functions_0x70.html#index_p"><span>p</span></a></li> + <li><a href="functions_0x72.html#index_r"><span>r</span></a></li> + <li><a href="functions_0x73.html#index_s"><span>s</span></a></li> + <li><a href="functions_0x74.html#index_t"><span>t</span></a></li> + <li><a href="functions_0x75.html#index_u"><span>u</span></a></li> + <li><a href="functions_0x77.html#index_w"><span>w</span></a></li> + <li><a href="functions_0x7e.html#index_~"><span>~</span></a></li> + </ul> +</div> + +<p> +Here is a list of all class members with links to the classes they belong to: +<p> +<h3><a class="anchor" name="index_m">- m -</a></h3><ul> +<li>MIN_GCRYPT_VERSION +: <a class="el" href="classAesIcmCypher.html#605842d12379711d74401d0923b5d76e">AesIcmCypher</a> +, <a class="el" href="classKeyDerivation.html#9aaf24245f7dec6e68fc24541abce94b">KeyDerivation</a> +<li>msg() +: <a class="el" href="classLog.html#7077dc047eb915d2fae46e36f5040f85">Log</a> +<li>mutex +: <a class="el" href="classOptions.html#3effd9220086fd43e36884295f89bd7c">Options</a> +<li>Mutex() +: <a class="el" href="classMutex.html#7f1ad3a125c7a02b2ca338240bd1d978">Mutex</a> +<li>mutex +: <a class="el" href="classLock.html#41f8817641e260bddb93a7a710736037">Lock</a> +, <a class="el" href="classMutex.html#8feb0b01916c1feedd1f0c0dcd74081b">Mutex</a> +<li>Mutex() +: <a class="el" href="classMutex.html#593423d868daf926c7b0d63a833ae29a">Mutex</a> +<li>mutex +: <a class="el" href="classCondition.html#01622814c6a21250677c2b9cbfc86bfb">Condition</a> +, <a class="el" href="classLog.html#d69b96c96c1b6aa0c3d67e07ca131e85">Log</a> +<li>mutex_ +: <a class="el" href="classSeqWindow.html#87ec44a9a7398ecbcb92d90ba95b37a0">SeqWindow</a> +</ul> +<hr size="1"><address style="align: right;"><small>Generated on Sun Oct 7 23:43:49 2007 for anytun by +<a href="http://www.doxygen.org/index.html"> +<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address> +</body> +</html> diff --git a/doc/html/functions_0x6e.html b/doc/html/functions_0x6e.html new file mode 100644 index 0000000..0f5d2ea --- /dev/null +++ b/doc/html/functions_0x6e.html @@ -0,0 +1,69 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> +<title>anytun: Class Members</title> +<link href="doxygen.css" rel="stylesheet" type="text/css"> +<link href="tabs.css" rel="stylesheet" type="text/css"> +</head><body> +<!-- Generated by Doxygen 1.5.1 --> +<div class="tabs"> + <ul> + <li><a href="main.html"><span>Main Page</span></a></li> + <li><a href="namespaces.html"><span>Namespaces</span></a></li> + <li id="current"><a href="annotated.html"><span>Classes</span></a></li> + <li><a href="files.html"><span>Files</span></a></li> + </ul></div> +<div class="tabs"> + <ul> + <li><a href="annotated.html"><span>Class List</span></a></li> + <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> + <li id="current"><a href="functions.html"><span>Class Members</span></a></li> + </ul></div> +<div class="tabs"> + <ul> + <li id="current"><a href="functions.html"><span>All</span></a></li> + <li><a href="functions_func.html"><span>Functions</span></a></li> + <li><a href="functions_vars.html"><span>Variables</span></a></li> + <li><a href="functions_type.html"><span>Typedefs</span></a></li> + <li><a href="functions_rela.html"><span>Related Functions</span></a></li> + </ul> +</div> +<div class="tabs"> + <ul> + <li><a href="functions.html#index__"><span>_</span></a></li> + <li><a href="functions_0x61.html#index_a"><span>a</span></a></li> + <li><a href="functions_0x62.html#index_b"><span>b</span></a></li> + <li><a href="functions_0x63.html#index_c"><span>c</span></a></li> + <li><a href="functions_0x64.html#index_d"><span>d</span></a></li> + <li><a href="functions_0x65.html#index_e"><span>e</span></a></li> + <li><a href="functions_0x66.html#index_f"><span>f</span></a></li> + <li><a href="functions_0x67.html#index_g"><span>g</span></a></li> + <li><a href="functions_0x68.html#index_h"><span>h</span></a></li> + <li><a href="functions_0x69.html#index_i"><span>i</span></a></li> + <li><a href="functions_0x6a.html#index_j"><span>j</span></a></li> + <li><a href="functions_0x6b.html#index_k"><span>k</span></a></li> + <li><a href="functions_0x6c.html#index_l"><span>l</span></a></li> + <li><a href="functions_0x6d.html#index_m"><span>m</span></a></li> + <li id="current"><a href="functions_0x6e.html#index_n"><span>n</span></a></li> + <li><a href="functions_0x6f.html#index_o"><span>o</span></a></li> + <li><a href="functions_0x70.html#index_p"><span>p</span></a></li> + <li><a href="functions_0x72.html#index_r"><span>r</span></a></li> + <li><a href="functions_0x73.html#index_s"><span>s</span></a></li> + <li><a href="functions_0x74.html#index_t"><span>t</span></a></li> + <li><a href="functions_0x75.html#index_u"><span>u</span></a></li> + <li><a href="functions_0x77.html#index_w"><span>w</span></a></li> + <li><a href="functions_0x7e.html#index_~"><span>~</span></a></li> + </ul> +</div> + +<p> +Here is a list of all class members with links to the classes they belong to: +<p> +<h3><a class="anchor" name="index_n">- n -</a></h3><ul> +<li>name +: <a class="el" href="classsatp_1_1SATP.html#e9e415324a6a9fbe14971c1ffd334139">satp::SATP</a> +</ul> +<hr size="1"><address style="align: right;"><small>Generated on Sun Oct 7 23:43:49 2007 for anytun by +<a href="http://www.doxygen.org/index.html"> +<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address> +</body> +</html> diff --git a/doc/html/functions_0x6f.html b/doc/html/functions_0x6f.html new file mode 100644 index 0000000..f959ddf --- /dev/null +++ b/doc/html/functions_0x6f.html @@ -0,0 +1,91 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> +<title>anytun: Class Members</title> +<link href="doxygen.css" rel="stylesheet" type="text/css"> +<link href="tabs.css" rel="stylesheet" type="text/css"> +</head><body> +<!-- Generated by Doxygen 1.5.1 --> +<div class="tabs"> + <ul> + <li><a href="main.html"><span>Main Page</span></a></li> + <li><a href="namespaces.html"><span>Namespaces</span></a></li> + <li id="current"><a href="annotated.html"><span>Classes</span></a></li> + <li><a href="files.html"><span>Files</span></a></li> + </ul></div> +<div class="tabs"> + <ul> + <li><a href="annotated.html"><span>Class List</span></a></li> + <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> + <li id="current"><a href="functions.html"><span>Class Members</span></a></li> + </ul></div> +<div class="tabs"> + <ul> + <li id="current"><a href="functions.html"><span>All</span></a></li> + <li><a href="functions_func.html"><span>Functions</span></a></li> + <li><a href="functions_vars.html"><span>Variables</span></a></li> + <li><a href="functions_type.html"><span>Typedefs</span></a></li> + <li><a href="functions_rela.html"><span>Related Functions</span></a></li> + </ul> +</div> +<div class="tabs"> + <ul> + <li><a href="functions.html#index__"><span>_</span></a></li> + <li><a href="functions_0x61.html#index_a"><span>a</span></a></li> + <li><a href="functions_0x62.html#index_b"><span>b</span></a></li> + <li><a href="functions_0x63.html#index_c"><span>c</span></a></li> + <li><a href="functions_0x64.html#index_d"><span>d</span></a></li> + <li><a href="functions_0x65.html#index_e"><span>e</span></a></li> + <li><a href="functions_0x66.html#index_f"><span>f</span></a></li> + <li><a href="functions_0x67.html#index_g"><span>g</span></a></li> + <li><a href="functions_0x68.html#index_h"><span>h</span></a></li> + <li><a href="functions_0x69.html#index_i"><span>i</span></a></li> + <li><a href="functions_0x6a.html#index_j"><span>j</span></a></li> + <li><a href="functions_0x6b.html#index_k"><span>k</span></a></li> + <li><a href="functions_0x6c.html#index_l"><span>l</span></a></li> + <li><a href="functions_0x6d.html#index_m"><span>m</span></a></li> + <li><a href="functions_0x6e.html#index_n"><span>n</span></a></li> + <li id="current"><a href="functions_0x6f.html#index_o"><span>o</span></a></li> + <li><a href="functions_0x70.html#index_p"><span>p</span></a></li> + <li><a href="functions_0x72.html#index_r"><span>r</span></a></li> + <li><a href="functions_0x73.html#index_s"><span>s</span></a></li> + <li><a href="functions_0x74.html#index_t"><span>t</span></a></li> + <li><a href="functions_0x75.html#index_u"><span>u</span></a></li> + <li><a href="functions_0x77.html#index_w"><span>w</span></a></li> + <li><a href="functions_0x7e.html#index_~"><span>~</span></a></li> + </ul> +</div> + +<p> +Here is a list of all class members with links to the classes they belong to: +<p> +<h3><a class="anchor" name="index_o">- o -</a></h3><ul> +<li>open() +: <a class="el" href="classLog.html#f91976ebadd955414799131cb442d24c">Log</a> +, <a class="el" href="classTunDevice.html#323ddcfd4ac60d0dbfe6ebb5bbb9a323">TunDevice</a> +<li>operator u_int8_t *() +: <a class="el" href="classBuffer.html#dcf367d5f1b7fced7aa61bb919af7943">Buffer</a> +<li>operator<<() +: <a class="el" href="classLogStringBuilder.html#9b4f26f5e64aacc172c0818073117e42">LogStringBuilder</a> +<li>operator=() +: <a class="el" href="classMutex.html#030a11400d00ef97813c6b232a5e3f43">Mutex</a> +, <a class="el" href="classSignalController.html#7bfe78f3e8c5d40ddd51c313d30cf6a2">SignalController</a> +, <a class="el" href="classTunDevice.html#de33e9a7a951b43f2f7e24d8fe9c311e">TunDevice</a> +, <a class="el" href="classLog.html#076b147c2bc9b2167074e9bc51a24af7">Log</a> +, <a class="el" href="classSocket.html#1ef8f4c222c32756c8b1537323702df8">Socket</a> +, <a class="el" href="classLock.html#6beb534a89b213d70e4b3bb9b3cde217">Lock</a> +, <a class="el" href="classSeqWindow.html#37887e66297163fe301c77f2977a2a2b">SeqWindow</a> +, <a class="el" href="classBuffer.html#14cec0d3bf4f3f1a4a9930a8c53eb43a">Buffer</a> +<li>operator[]() +: <a class="el" href="classBuffer.html#763882c627db10206f78b090556b00fa">Buffer</a> +<li>operator^() +: <a class="el" href="classBuffer.html#d56159a415541fcff34ef8aed1eb7183">Buffer</a> +<li>opt +: <a class="el" href="structParam.html#f690604eb7652c5f5407815c5022b46c">Param</a> +<li>Options() +: <a class="el" href="classOptions.html#b72fb640172a6109e34c8a5366563753">Options</a> +</ul> +<hr size="1"><address style="align: right;"><small>Generated on Sun Oct 7 23:43:49 2007 for anytun by +<a href="http://www.doxygen.org/index.html"> +<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address> +</body> +</html> diff --git a/doc/html/functions_0x70.html b/doc/html/functions_0x70.html new file mode 100644 index 0000000..8332b6f --- /dev/null +++ b/doc/html/functions_0x70.html @@ -0,0 +1,97 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> +<title>anytun: Class Members</title> +<link href="doxygen.css" rel="stylesheet" type="text/css"> +<link href="tabs.css" rel="stylesheet" type="text/css"> +</head><body> +<!-- Generated by Doxygen 1.5.1 --> +<div class="tabs"> + <ul> + <li><a href="main.html"><span>Main Page</span></a></li> + <li><a href="namespaces.html"><span>Namespaces</span></a></li> + <li id="current"><a href="annotated.html"><span>Classes</span></a></li> + <li><a href="files.html"><span>Files</span></a></li> + </ul></div> +<div class="tabs"> + <ul> + <li><a href="annotated.html"><span>Class List</span></a></li> + <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> + <li id="current"><a href="functions.html"><span>Class Members</span></a></li> + </ul></div> +<div class="tabs"> + <ul> + <li id="current"><a href="functions.html"><span>All</span></a></li> + <li><a href="functions_func.html"><span>Functions</span></a></li> + <li><a href="functions_vars.html"><span>Variables</span></a></li> + <li><a href="functions_type.html"><span>Typedefs</span></a></li> + <li><a href="functions_rela.html"><span>Related Functions</span></a></li> + </ul> +</div> +<div class="tabs"> + <ul> + <li><a href="functions.html#index__"><span>_</span></a></li> + <li><a href="functions_0x61.html#index_a"><span>a</span></a></li> + <li><a href="functions_0x62.html#index_b"><span>b</span></a></li> + <li><a href="functions_0x63.html#index_c"><span>c</span></a></li> + <li><a href="functions_0x64.html#index_d"><span>d</span></a></li> + <li><a href="functions_0x65.html#index_e"><span>e</span></a></li> + <li><a href="functions_0x66.html#index_f"><span>f</span></a></li> + <li><a href="functions_0x67.html#index_g"><span>g</span></a></li> + <li><a href="functions_0x68.html#index_h"><span>h</span></a></li> + <li><a href="functions_0x69.html#index_i"><span>i</span></a></li> + <li><a href="functions_0x6a.html#index_j"><span>j</span></a></li> + <li><a href="functions_0x6b.html#index_k"><span>k</span></a></li> + <li><a href="functions_0x6c.html#index_l"><span>l</span></a></li> + <li><a href="functions_0x6d.html#index_m"><span>m</span></a></li> + <li><a href="functions_0x6e.html#index_n"><span>n</span></a></li> + <li><a href="functions_0x6f.html#index_o"><span>o</span></a></li> + <li id="current"><a href="functions_0x70.html#index_p"><span>p</span></a></li> + <li><a href="functions_0x72.html#index_r"><span>r</span></a></li> + <li><a href="functions_0x73.html#index_s"><span>s</span></a></li> + <li><a href="functions_0x74.html#index_t"><span>t</span></a></li> + <li><a href="functions_0x75.html#index_u"><span>u</span></a></li> + <li><a href="functions_0x77.html#index_w"><span>w</span></a></li> + <li><a href="functions_0x7e.html#index_~"><span>~</span></a></li> + </ul> +</div> + +<p> +Here is a list of all class members with links to the classes they belong to: +<p> +<h3><a class="anchor" name="index_p">- p -</a></h3><ul> +<li>Packet() +: <a class="el" href="classPacket.html#abcfb963c0d5bc0fa554668f92989622">Packet</a> +<li>parse() +: <a class="el" href="classOptions.html#eef7f9799ffcc31221a54dc9ed3b3e81">Options</a> +<li>printHexDump() +: <a class="el" href="classBuffer.html#13d927c471a7516b37bc9ad8fc1741ce">Buffer</a> +<li>printOptions() +: <a class="el" href="classOptions.html#cac40a32d05b48e49595d8d19cf8af47">Options</a> +<li>printUsage() +: <a class="el" href="classOptions.html#5a64af47966f3c0a54a8c3a3385065e3">Options</a> +<li>prio +: <a class="el" href="classLogStringBuilder.html#89d48a7590de117fec0b40c0babbaee5">LogStringBuilder</a> +<li>PRIO_ALERT +: <a class="el" href="classLog.html#77741b4b68493a7b082f856c9a70cae6">Log</a> +<li>PRIO_CRIT +: <a class="el" href="classLog.html#275d2db1310f0b9663ac1e048cadd389">Log</a> +<li>PRIO_DEBUG +: <a class="el" href="classLog.html#f9aad3521e9eda1c156009188cc0674b">Log</a> +<li>PRIO_EMERG +: <a class="el" href="classLog.html#3b068a7b9c9a7bd3a42d519daea16564">Log</a> +<li>PRIO_ERR +: <a class="el" href="classLog.html#d3769cb6592629a056ffeaa4ce1f3d46">Log</a> +<li>PRIO_INFO +: <a class="el" href="classLog.html#3c50bb6ae5eff66436d72a53c50b0f6b">Log</a> +<li>PRIO_NOTICE +: <a class="el" href="classLog.html#783504697beb7cc8905d0296704d62f2">Log</a> +<li>PRIO_WARNING +: <a class="el" href="classLog.html#ef36517c65a41f4cf69d4795ec84b4a2">Log</a> +<li>progname_ +: <a class="el" href="classOptions.html#aed7d0eeae21d7d00eb35dccea48b9f3">Options</a> +</ul> +<hr size="1"><address style="align: right;"><small>Generated on Sun Oct 7 23:43:49 2007 for anytun by +<a href="http://www.doxygen.org/index.html"> +<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address> +</body> +</html> diff --git a/doc/html/functions_0x72.html b/doc/html/functions_0x72.html new file mode 100644 index 0000000..c3389f1 --- /dev/null +++ b/doc/html/functions_0x72.html @@ -0,0 +1,95 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> +<title>anytun: Class Members</title> +<link href="doxygen.css" rel="stylesheet" type="text/css"> +<link href="tabs.css" rel="stylesheet" type="text/css"> +</head><body> +<!-- Generated by Doxygen 1.5.1 --> +<div class="tabs"> + <ul> + <li><a href="main.html"><span>Main Page</span></a></li> + <li><a href="namespaces.html"><span>Namespaces</span></a></li> + <li id="current"><a href="annotated.html"><span>Classes</span></a></li> + <li><a href="files.html"><span>Files</span></a></li> + </ul></div> +<div class="tabs"> + <ul> + <li><a href="annotated.html"><span>Class List</span></a></li> + <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> + <li id="current"><a href="functions.html"><span>Class Members</span></a></li> + </ul></div> +<div class="tabs"> + <ul> + <li id="current"><a href="functions.html"><span>All</span></a></li> + <li><a href="functions_func.html"><span>Functions</span></a></li> + <li><a href="functions_vars.html"><span>Variables</span></a></li> + <li><a href="functions_type.html"><span>Typedefs</span></a></li> + <li><a href="functions_rela.html"><span>Related Functions</span></a></li> + </ul> +</div> +<div class="tabs"> + <ul> + <li><a href="functions.html#index__"><span>_</span></a></li> + <li><a href="functions_0x61.html#index_a"><span>a</span></a></li> + <li><a href="functions_0x62.html#index_b"><span>b</span></a></li> + <li><a href="functions_0x63.html#index_c"><span>c</span></a></li> + <li><a href="functions_0x64.html#index_d"><span>d</span></a></li> + <li><a href="functions_0x65.html#index_e"><span>e</span></a></li> + <li><a href="functions_0x66.html#index_f"><span>f</span></a></li> + <li><a href="functions_0x67.html#index_g"><span>g</span></a></li> + <li><a href="functions_0x68.html#index_h"><span>h</span></a></li> + <li><a href="functions_0x69.html#index_i"><span>i</span></a></li> + <li><a href="functions_0x6a.html#index_j"><span>j</span></a></li> + <li><a href="functions_0x6b.html#index_k"><span>k</span></a></li> + <li><a href="functions_0x6c.html#index_l"><span>l</span></a></li> + <li><a href="functions_0x6d.html#index_m"><span>m</span></a></li> + <li><a href="functions_0x6e.html#index_n"><span>n</span></a></li> + <li><a href="functions_0x6f.html#index_o"><span>o</span></a></li> + <li><a href="functions_0x70.html#index_p"><span>p</span></a></li> + <li id="current"><a href="functions_0x72.html#index_r"><span>r</span></a></li> + <li><a href="functions_0x73.html#index_s"><span>s</span></a></li> + <li><a href="functions_0x74.html#index_t"><span>t</span></a></li> + <li><a href="functions_0x75.html#index_u"><span>u</span></a></li> + <li><a href="functions_0x77.html#index_w"><span>w</span></a></li> + <li><a href="functions_0x7e.html#index_~"><span>~</span></a></li> + </ul> +</div> + +<p> +Here is a list of all class members with links to the classes they belong to: +<p> +<h3><a class="anchor" name="index_r">- r -</a></h3><ul> +<li>read() +: <a class="el" href="classTunDevice.html#553498887edc92f7b7e31e3bf04fb8fb">TunDevice</a> +<li>recv() +: <a class="el" href="classUDPPacketSource.html#a1f7daded0f9ead5599160bae9317eb8">UDPPacketSource</a> +, <a class="el" href="classPacketSource.html#95901be715656540a7273c6c0dc1234e">PacketSource</a> +, <a class="el" href="classCommunicatingSocket.html#7cf1fd470c0060171b68df9f68c7bd01">CommunicatingSocket</a> +<li>recvFrom() +: <a class="el" href="classUDPSocket.html#bcd5c064e2496bd8b1888fd4e1b68949">UDPSocket</a> +<li>remote_addr_ +: <a class="el" href="classOptions.html#af81d4d836e3ca1850b8b474d61944de">Options</a> +<li>remote_port_ +: <a class="el" href="classOptions.html#8481cdc79ca8bde93af9b945838f4559">Options</a> +<li>removeAuthTag() +: <a class="el" href="classPacket.html#3e3dfca708baf59791f0608b8a57924c">Packet</a> +<li>removeHeader() +: <a class="el" href="classPacket.html#24c2a41630d79411086d952c8f732c8c">Packet</a> +<li>removePayloadType() +: <a class="el" href="classPacket.html#6433e4d5eef9216f4e70b338cb4d2e4d">Packet</a> +<li>resizeBack() +: <a class="el" href="classBuffer.html#5698b2d64238f1f38578dc8e9e2b1bc9">Buffer</a> +<li>resizeFront() +: <a class="el" href="classBuffer.html#fe4b10487b4930e0407bdf61857629d6">Buffer</a> +<li>resolveService() +: <a class="el" href="classSocket.html#982c63b25c5b756321a74074a275adbc">Socket</a> +<li>rightByteShift() +: <a class="el" href="classBuffer.html#298949899f3f78e4a8b3df7fa5ec532d">Buffer</a> +<li>run() +: <a class="el" href="classSignalController.html#0f7657b70cb2e8457539d9f844a93619">SignalController</a> +</ul> +<hr size="1"><address style="align: right;"><small>Generated on Sun Oct 7 23:43:49 2007 for anytun by +<a href="http://www.doxygen.org/index.html"> +<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address> +</body> +</html> diff --git a/doc/html/functions_0x73.html b/doc/html/functions_0x73.html new file mode 100644 index 0000000..54bc48d --- /dev/null +++ b/doc/html/functions_0x73.html @@ -0,0 +1,188 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> +<title>anytun: Class Members</title> +<link href="doxygen.css" rel="stylesheet" type="text/css"> +<link href="tabs.css" rel="stylesheet" type="text/css"> +</head><body> +<!-- Generated by Doxygen 1.5.1 --> +<div class="tabs"> + <ul> + <li><a href="main.html"><span>Main Page</span></a></li> + <li><a href="namespaces.html"><span>Namespaces</span></a></li> + <li id="current"><a href="annotated.html"><span>Classes</span></a></li> + <li><a href="files.html"><span>Files</span></a></li> + </ul></div> +<div class="tabs"> + <ul> + <li><a href="annotated.html"><span>Class List</span></a></li> + <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> + <li id="current"><a href="functions.html"><span>Class Members</span></a></li> + </ul></div> +<div class="tabs"> + <ul> + <li id="current"><a href="functions.html"><span>All</span></a></li> + <li><a href="functions_func.html"><span>Functions</span></a></li> + <li><a href="functions_vars.html"><span>Variables</span></a></li> + <li><a href="functions_type.html"><span>Typedefs</span></a></li> + <li><a href="functions_rela.html"><span>Related Functions</span></a></li> + </ul> +</div> +<div class="tabs"> + <ul> + <li><a href="functions.html#index__"><span>_</span></a></li> + <li><a href="functions_0x61.html#index_a"><span>a</span></a></li> + <li><a href="functions_0x62.html#index_b"><span>b</span></a></li> + <li><a href="functions_0x63.html#index_c"><span>c</span></a></li> + <li><a href="functions_0x64.html#index_d"><span>d</span></a></li> + <li><a href="functions_0x65.html#index_e"><span>e</span></a></li> + <li><a href="functions_0x66.html#index_f"><span>f</span></a></li> + <li><a href="functions_0x67.html#index_g"><span>g</span></a></li> + <li><a href="functions_0x68.html#index_h"><span>h</span></a></li> + <li><a href="functions_0x69.html#index_i"><span>i</span></a></li> + <li><a href="functions_0x6a.html#index_j"><span>j</span></a></li> + <li><a href="functions_0x6b.html#index_k"><span>k</span></a></li> + <li><a href="functions_0x6c.html#index_l"><span>l</span></a></li> + <li><a href="functions_0x6d.html#index_m"><span>m</span></a></li> + <li><a href="functions_0x6e.html#index_n"><span>n</span></a></li> + <li><a href="functions_0x6f.html#index_o"><span>o</span></a></li> + <li><a href="functions_0x70.html#index_p"><span>p</span></a></li> + <li><a href="functions_0x72.html#index_r"><span>r</span></a></li> + <li id="current"><a href="functions_0x73.html#index_s"><span>s</span></a></li> + <li><a href="functions_0x74.html#index_t"><span>t</span></a></li> + <li><a href="functions_0x75.html#index_u"><span>u</span></a></li> + <li><a href="functions_0x77.html#index_w"><span>w</span></a></li> + <li><a href="functions_0x7e.html#index_~"><span>~</span></a></li> + </ul> +</div> + +<p> +Here is a list of all class members with links to the classes they belong to: +<p> +<h3><a class="anchor" name="index_s">- s -</a></h3><ul> +<li>salt_ +: <a class="el" href="classAesIcmCypher.html#a62620f7280574b142a0eb29880f5083">AesIcmCypher</a> +, <a class="el" href="classKeyDerivation.html#52e057f1085920a61ea44c5c9936865c">KeyDerivation</a> +<li>sem +: <a class="el" href="classSemaphore.html#23e62b0971c229ddf106e3ff71d688d6">Semaphore</a> +<li>Semaphore() +: <a class="el" href="classSemaphore.html#570698c680a467b9b0a708635149d54a">Semaphore</a> +<li>send() +: <a class="el" href="classPacketSource.html#ffc5eb2c89d1395443432c3cc6b7898b">PacketSource</a> +, <a class="el" href="classUDPPacketSource.html#376a3b0c861aeb7561e8a9f6866292b9">UDPPacketSource</a> +, <a class="el" href="classCommunicatingSocket.html#ca4e86085c064641e86ae24ea29bbb94">CommunicatingSocket</a> +<li>sender_ +: <a class="el" href="classSeqWindow.html#8bfc3742cacc75e9a72de13ff6ad98a2">SeqWindow</a> +<li>sender_id +: <a class="el" href="structPacket_1_1HeaderStruct.html#c129b7cda1d848a579b689bacdabddea">Packet::HeaderStruct</a> +<li>sender_id_ +: <a class="el" href="classOptions.html#f166d5f4f6fd17c761ac9a6d7e48d362">Options</a> +<li>SenderMap +: <a class="el" href="classSeqWindow.html#127195f139c8d5d07ed93799c2d6821a">SeqWindow</a> +<li>sendTo() +: <a class="el" href="classUDPSocket.html#41a3595e226f273953cbd38618af5d5b">UDPSocket</a> +<li>seq +: <a class="el" href="structParam.html#dc6a71f9fa352d3ecb312e2e33354f4e">Param</a> +<li>seq_nr +: <a class="el" href="structPacket_1_1HeaderStruct.html#4b7b9bf68b204ca98171b7f818685521">Packet::HeaderStruct</a> +<li>seq_window_size_ +: <a class="el" href="classOptions.html#d2a0398f717a96602f8c402db12699a5">Options</a> +<li>SeqDeque +: <a class="el" href="classSeqWindow.html#cf2d07003c8ca868146cffb4dd1d5ca7">SeqWindow</a> +<li>SeqWindow() +: <a class="el" href="classSeqWindow.html#8d513ab9ef2984ea93dad7e4026185c8">SeqWindow</a> +<li>setAuthAlgo() +: <a class="el" href="classOptions.html#c093c83be9a50c1dfd5170ff14b647c5">Options</a> +<li>setBroadcast() +: <a class="el" href="classUDPSocket.html#316f08a017aa160643812f3c08734d27">UDPSocket</a> +<li>setCypher() +: <a class="el" href="classOptions.html#b3218cd91b41551042595b5216766c00">Options</a> +<li>setDevName() +: <a class="el" href="classOptions.html#8217facd595355be2b4f1130179e3746">Options</a> +<li>setDevType() +: <a class="el" href="classOptions.html#d2a4cc3b2ecabba72396648a7a07cc29">Options</a> +<li>setFacility() +: <a class="el" href="classLog.html#828e15ec0e9108b9fc43d74da77a902c">Log</a> +<li>setIfconfigParamLocal() +: <a class="el" href="classOptions.html#93e1367e5db67df81d2afac1ee5c6c73">Options</a> +<li>setIfconfigParamRemoteNetmask() +: <a class="el" href="classOptions.html#d0760cecce7395f5022b921642674326">Options</a> +<li>setKey() +: <a class="el" href="classCypher.html#7320b82d14391ab7d25271aa5114e190">Cypher</a> +, <a class="el" href="classAesIcmCypher.html#605a38676ef12ad0b69628c5d53ef007">AesIcmCypher</a> +<li>setListen() +: <a class="el" href="classTCPServerSocket.html#1f39a2e6721ab62d8875a234eb300bab">TCPServerSocket</a> +<li>setLocalAddr() +: <a class="el" href="classOptions.html#bf7ebb3ee98c6d31dd5c5b0732188de5">Options</a> +<li>setLocalAddressAndPort() +: <a class="el" href="classSocket.html#a6b986410bc2e606ba27d01fa7cb8836">Socket</a> +<li>setLocalPort() +: <a class="el" href="classSocket.html#773fe4a35146002de76952e16fdebcfa">Socket</a> +, <a class="el" href="classOptions.html#a4b5b364bf2880fcbcd3fe059ccde7eb">Options</a> +<li>setLogKDRate() +: <a class="el" href="classKeyDerivation.html#1c6d7a055b6b5b88076e15218f936663">KeyDerivation</a> +<li>setLogName() +: <a class="el" href="classLog.html#f8cf0541a8284aabd5fe924a9cd2eab8">Log</a> +<li>setMulticastTTL() +: <a class="el" href="classUDPSocket.html#4dcfff33b45d1b84b5a602fc6f4a27f8">UDPSocket</a> +<li>setProgname() +: <a class="el" href="classOptions.html#1267ce6d4b43ab9c0f8827c434b33b1b">Options</a> +<li>setRemoteAddr() +: <a class="el" href="classOptions.html#d0848af5b5e029a4ea14fe6fb82d3f46">Options</a> +<li>setRemoteAddrPort() +: <a class="el" href="classOptions.html#79249268d3b284f9e254f874cedeef41">Options</a> +<li>setRemotePort() +: <a class="el" href="classOptions.html#cbd3e9a4e230c2537d86127a092efd40">Options</a> +<li>setSalt() +: <a class="el" href="classCypher.html#2546ef49e5ce8abe8062186d5f6b2ef8">Cypher</a> +, <a class="el" href="classAesIcmCypher.html#6741487a9d6dfe3ae76bb168ed711259">AesIcmCypher</a> +<li>setSenderId() +: <a class="el" href="classPacket.html#01c7b848ec415740565c87b374085bdc">Packet</a> +, <a class="el" href="classOptions.html#d10f65b29130c7e31a332e22f77650b0">Options</a> +<li>setSeqNr() +: <a class="el" href="classPacket.html#1b89ed1be19d6b9c1a12e0f6b1ae8ed2">Packet</a> +<li>setSeqWindowSize() +: <a class="el" href="classOptions.html#077dda754c64b01d6736aa4f7862ce6b">Options</a> +<li>SigHupHandler() +: <a class="el" href="classSigHupHandler.html#a1ee03b63ca11d8b5aae82fae1f2d6a3">SigHupHandler</a> +<li>SigIntHandler() +: <a class="el" href="classSigIntHandler.html#ac25b5ac048a76d4c0c26d5ad4c4273d">SigIntHandler</a> +<li>signal() +: <a class="el" href="classCondition.html#974c8fd419e6014028dc4147cc49ce56">Condition</a> +<li>SignalController() +: <a class="el" href="classSignalController.html#d057c96011d444cce15e2a398a0a8bbf">SignalController</a> +, <a class="el" href="classSignalHandler.html#9b5c65d0274d45f20c9ed28852dd66fa">SignalHandler</a> +, <a class="el" href="classSignalController.html#31af143ea1219cd000abe91aeccc84bc">SignalController</a> +<li>SignalHandler() +: <a class="el" href="classSignalHandler.html#8f920534650e9cd3cdfbe3c3f8409b4d">SignalHandler</a> +<li>sigNum +: <a class="el" href="classSignalHandler.html#0585573af0ea6bebf37bda54e5c3c39d">SignalHandler</a> +<li>sigQueue +: <a class="el" href="classSignalController.html#543fa6d49a071df92cdfcc7bc96de161">SignalController</a> +<li>sigQueueMutex +: <a class="el" href="classSignalController.html#6b7853059aa422fac6c2cc77e00d28ee">SignalController</a> +<li>sigQueueSem +: <a class="el" href="classSignalController.html#4dfee82061341e1af5ca827333c8bd10">SignalController</a> +<li>SigQuitHandler() +: <a class="el" href="classSigQuitHandler.html#45885e5ddfa14f9bfc13c72de425e1c6">SigQuitHandler</a> +<li>SigTermHandler() +: <a class="el" href="classSigTermHandler.html#8f6c3da13e1ec7fc8ef122bd0db457e4">SigTermHandler</a> +<li>SigUsr1Handler() +: <a class="el" href="classSigUsr1Handler.html#aabaa57b0f2bb331a85f95cf90dd121d">SigUsr1Handler</a> +<li>SigUsr2Handler() +: <a class="el" href="classSigUsr2Handler.html#30478acdc28555b412d80f1419af622a">SigUsr2Handler</a> +<li>sockDesc +: <a class="el" href="classSocket.html#d5704d2fdfb062139e1f88831617bbfb">Socket</a> +<li>Socket() +: <a class="el" href="classSocket.html#53e00027bab2125a2b407914c6148589">Socket</a> +<li>SocketException() +: <a class="el" href="classSocketException.html#bb5bcecd9d9e20868c237ec5a82cf5c3">SocketException</a> +<li>src +: <a class="el" href="structParam.html#fa5715cd7dc0833ea8f9afcbd1db455c">Param</a> +<li>stream +: <a class="el" href="classLogStringBuilder.html#405447561d3d7337cc093dad6c6d81b5">LogStringBuilder</a> +</ul> +<hr size="1"><address style="align: right;"><small>Generated on Sun Oct 7 23:43:49 2007 for anytun by +<a href="http://www.doxygen.org/index.html"> +<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address> +</body> +</html> diff --git a/doc/html/functions_0x74.html b/doc/html/functions_0x74.html new file mode 100644 index 0000000..382a229 --- /dev/null +++ b/doc/html/functions_0x74.html @@ -0,0 +1,83 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> +<title>anytun: Class Members</title> +<link href="doxygen.css" rel="stylesheet" type="text/css"> +<link href="tabs.css" rel="stylesheet" type="text/css"> +</head><body> +<!-- Generated by Doxygen 1.5.1 --> +<div class="tabs"> + <ul> + <li><a href="main.html"><span>Main Page</span></a></li> + <li><a href="namespaces.html"><span>Namespaces</span></a></li> + <li id="current"><a href="annotated.html"><span>Classes</span></a></li> + <li><a href="files.html"><span>Files</span></a></li> + </ul></div> +<div class="tabs"> + <ul> + <li><a href="annotated.html"><span>Class List</span></a></li> + <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> + <li id="current"><a href="functions.html"><span>Class Members</span></a></li> + </ul></div> +<div class="tabs"> + <ul> + <li id="current"><a href="functions.html"><span>All</span></a></li> + <li><a href="functions_func.html"><span>Functions</span></a></li> + <li><a href="functions_vars.html"><span>Variables</span></a></li> + <li><a href="functions_type.html"><span>Typedefs</span></a></li> + <li><a href="functions_rela.html"><span>Related Functions</span></a></li> + </ul> +</div> +<div class="tabs"> + <ul> + <li><a href="functions.html#index__"><span>_</span></a></li> + <li><a href="functions_0x61.html#index_a"><span>a</span></a></li> + <li><a href="functions_0x62.html#index_b"><span>b</span></a></li> + <li><a href="functions_0x63.html#index_c"><span>c</span></a></li> + <li><a href="functions_0x64.html#index_d"><span>d</span></a></li> + <li><a href="functions_0x65.html#index_e"><span>e</span></a></li> + <li><a href="functions_0x66.html#index_f"><span>f</span></a></li> + <li><a href="functions_0x67.html#index_g"><span>g</span></a></li> + <li><a href="functions_0x68.html#index_h"><span>h</span></a></li> + <li><a href="functions_0x69.html#index_i"><span>i</span></a></li> + <li><a href="functions_0x6a.html#index_j"><span>j</span></a></li> + <li><a href="functions_0x6b.html#index_k"><span>k</span></a></li> + <li><a href="functions_0x6c.html#index_l"><span>l</span></a></li> + <li><a href="functions_0x6d.html#index_m"><span>m</span></a></li> + <li><a href="functions_0x6e.html#index_n"><span>n</span></a></li> + <li><a href="functions_0x6f.html#index_o"><span>o</span></a></li> + <li><a href="functions_0x70.html#index_p"><span>p</span></a></li> + <li><a href="functions_0x72.html#index_r"><span>r</span></a></li> + <li><a href="functions_0x73.html#index_s"><span>s</span></a></li> + <li id="current"><a href="functions_0x74.html#index_t"><span>t</span></a></li> + <li><a href="functions_0x75.html#index_u"><span>u</span></a></li> + <li><a href="functions_0x77.html#index_w"><span>w</span></a></li> + <li><a href="functions_0x7e.html#index_~"><span>~</span></a></li> + </ul> +</div> + +<p> +Here is a list of all class members with links to the classes they belong to: +<p> +<h3><a class="anchor" name="index_t">- t -</a></h3><ul> +<li>TCPServerSocket +: <a class="el" href="classTCPSocket.html#e8bcdc0d25881a17b23e557296236fa9">TCPSocket</a> +, <a class="el" href="classTCPServerSocket.html#e559a3154527d09fe14a8e5ee1f53d7a">TCPServerSocket</a> +<li>TCPSocket() +: <a class="el" href="classTCPSocket.html#4763ac3be0d7d5e143884bef45e351c5">TCPSocket</a> +<li>thread +: <a class="el" href="classSignalController.html#79c5fbfa55aa9edc2a45c5ed3197b782">SignalController</a> +<li>TunDevice +: <a class="el" href="classBuffer.html#51b494563d277beb4740f86c519f30fb">Buffer</a> +, <a class="el" href="classTunDevice.html#4587b54228b4240334ad4614211df394">TunDevice</a> +<li>TYPE_TAP +: <a class="el" href="classTunDevice.html#b4ce6b158bbe4fe051b6fea8cd3d6cd3">TunDevice</a> +<li>TYPE_TUN +: <a class="el" href="classTunDevice.html#ea416d7f03ef22bf1d166d33b47fd993">TunDevice</a> +<li>TYPE_UNDEF +: <a class="el" href="classTunDevice.html#ec146b27c7755747c1cc1511e4482875">TunDevice</a> +</ul> +<hr size="1"><address style="align: right;"><small>Generated on Sun Oct 7 23:43:49 2007 for anytun by +<a href="http://www.doxygen.org/index.html"> +<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address> +</body> +</html> diff --git a/doc/html/functions_0x75.html b/doc/html/functions_0x75.html new file mode 100644 index 0000000..d5a5715 --- /dev/null +++ b/doc/html/functions_0x75.html @@ -0,0 +1,78 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> +<title>anytun: Class Members</title> +<link href="doxygen.css" rel="stylesheet" type="text/css"> +<link href="tabs.css" rel="stylesheet" type="text/css"> +</head><body> +<!-- Generated by Doxygen 1.5.1 --> +<div class="tabs"> + <ul> + <li><a href="main.html"><span>Main Page</span></a></li> + <li><a href="namespaces.html"><span>Namespaces</span></a></li> + <li id="current"><a href="annotated.html"><span>Classes</span></a></li> + <li><a href="files.html"><span>Files</span></a></li> + </ul></div> +<div class="tabs"> + <ul> + <li><a href="annotated.html"><span>Class List</span></a></li> + <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> + <li id="current"><a href="functions.html"><span>Class Members</span></a></li> + </ul></div> +<div class="tabs"> + <ul> + <li id="current"><a href="functions.html"><span>All</span></a></li> + <li><a href="functions_func.html"><span>Functions</span></a></li> + <li><a href="functions_vars.html"><span>Variables</span></a></li> + <li><a href="functions_type.html"><span>Typedefs</span></a></li> + <li><a href="functions_rela.html"><span>Related Functions</span></a></li> + </ul> +</div> +<div class="tabs"> + <ul> + <li><a href="functions.html#index__"><span>_</span></a></li> + <li><a href="functions_0x61.html#index_a"><span>a</span></a></li> + <li><a href="functions_0x62.html#index_b"><span>b</span></a></li> + <li><a href="functions_0x63.html#index_c"><span>c</span></a></li> + <li><a href="functions_0x64.html#index_d"><span>d</span></a></li> + <li><a href="functions_0x65.html#index_e"><span>e</span></a></li> + <li><a href="functions_0x66.html#index_f"><span>f</span></a></li> + <li><a href="functions_0x67.html#index_g"><span>g</span></a></li> + <li><a href="functions_0x68.html#index_h"><span>h</span></a></li> + <li><a href="functions_0x69.html#index_i"><span>i</span></a></li> + <li><a href="functions_0x6a.html#index_j"><span>j</span></a></li> + <li><a href="functions_0x6b.html#index_k"><span>k</span></a></li> + <li><a href="functions_0x6c.html#index_l"><span>l</span></a></li> + <li><a href="functions_0x6d.html#index_m"><span>m</span></a></li> + <li><a href="functions_0x6e.html#index_n"><span>n</span></a></li> + <li><a href="functions_0x6f.html#index_o"><span>o</span></a></li> + <li><a href="functions_0x70.html#index_p"><span>p</span></a></li> + <li><a href="functions_0x72.html#index_r"><span>r</span></a></li> + <li><a href="functions_0x73.html#index_s"><span>s</span></a></li> + <li><a href="functions_0x74.html#index_t"><span>t</span></a></li> + <li id="current"><a href="functions_0x75.html#index_u"><span>u</span></a></li> + <li><a href="functions_0x77.html#index_w"><span>w</span></a></li> + <li><a href="functions_0x7e.html#index_~"><span>~</span></a></li> + </ul> +</div> + +<p> +Here is a list of all class members with links to the classes they belong to: +<p> +<h3><a class="anchor" name="index_u">- u -</a></h3><ul> +<li>UDPPacketSource +: <a class="el" href="classBuffer.html#940a382a5e3a8622e6689e13dc453481">Buffer</a> +, <a class="el" href="classUDPPacketSource.html#b9fd5944db99fd0f89c12b0d74ba5e74">UDPPacketSource</a> +<li>UDPSocket() +: <a class="el" href="classUDPSocket.html#14dcb55c4b60b12d4a7fff648cbb825f">UDPSocket</a> +<li>unlock() +: <a class="el" href="classMutex.html#546a5b797ba29959357586aa2b3740a8">Mutex</a> +<li>up() +: <a class="el" href="classSemaphore.html#15fb190263808234fc2562f39f523082">Semaphore</a> +<li>userMessage +: <a class="el" href="classSocketException.html#dcfeba6d4ce5754b48ae9d37b07a7e87">SocketException</a> +</ul> +<hr size="1"><address style="align: right;"><small>Generated on Sun Oct 7 23:43:49 2007 for anytun by +<a href="http://www.doxygen.org/index.html"> +<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address> +</body> +</html> diff --git a/doc/html/functions_0x77.html b/doc/html/functions_0x77.html new file mode 100644 index 0000000..a1c0d92 --- /dev/null +++ b/doc/html/functions_0x77.html @@ -0,0 +1,81 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> +<title>anytun: Class Members</title> +<link href="doxygen.css" rel="stylesheet" type="text/css"> +<link href="tabs.css" rel="stylesheet" type="text/css"> +</head><body> +<!-- Generated by Doxygen 1.5.1 --> +<div class="tabs"> + <ul> + <li><a href="main.html"><span>Main Page</span></a></li> + <li><a href="namespaces.html"><span>Namespaces</span></a></li> + <li id="current"><a href="annotated.html"><span>Classes</span></a></li> + <li><a href="files.html"><span>Files</span></a></li> + </ul></div> +<div class="tabs"> + <ul> + <li><a href="annotated.html"><span>Class List</span></a></li> + <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> + <li id="current"><a href="functions.html"><span>Class Members</span></a></li> + </ul></div> +<div class="tabs"> + <ul> + <li id="current"><a href="functions.html"><span>All</span></a></li> + <li><a href="functions_func.html"><span>Functions</span></a></li> + <li><a href="functions_vars.html"><span>Variables</span></a></li> + <li><a href="functions_type.html"><span>Typedefs</span></a></li> + <li><a href="functions_rela.html"><span>Related Functions</span></a></li> + </ul> +</div> +<div class="tabs"> + <ul> + <li><a href="functions.html#index__"><span>_</span></a></li> + <li><a href="functions_0x61.html#index_a"><span>a</span></a></li> + <li><a href="functions_0x62.html#index_b"><span>b</span></a></li> + <li><a href="functions_0x63.html#index_c"><span>c</span></a></li> + <li><a href="functions_0x64.html#index_d"><span>d</span></a></li> + <li><a href="functions_0x65.html#index_e"><span>e</span></a></li> + <li><a href="functions_0x66.html#index_f"><span>f</span></a></li> + <li><a href="functions_0x67.html#index_g"><span>g</span></a></li> + <li><a href="functions_0x68.html#index_h"><span>h</span></a></li> + <li><a href="functions_0x69.html#index_i"><span>i</span></a></li> + <li><a href="functions_0x6a.html#index_j"><span>j</span></a></li> + <li><a href="functions_0x6b.html#index_k"><span>k</span></a></li> + <li><a href="functions_0x6c.html#index_l"><span>l</span></a></li> + <li><a href="functions_0x6d.html#index_m"><span>m</span></a></li> + <li><a href="functions_0x6e.html#index_n"><span>n</span></a></li> + <li><a href="functions_0x6f.html#index_o"><span>o</span></a></li> + <li><a href="functions_0x70.html#index_p"><span>p</span></a></li> + <li><a href="functions_0x72.html#index_r"><span>r</span></a></li> + <li><a href="functions_0x73.html#index_s"><span>s</span></a></li> + <li><a href="functions_0x74.html#index_t"><span>t</span></a></li> + <li><a href="functions_0x75.html#index_u"><span>u</span></a></li> + <li id="current"><a href="functions_0x77.html#index_w"><span>w</span></a></li> + <li><a href="functions_0x7e.html#index_~"><span>~</span></a></li> + </ul> +</div> + +<p> +Here is a list of all class members with links to the classes they belong to: +<p> +<h3><a class="anchor" name="index_w">- w -</a></h3><ul> +<li>wait() +: <a class="el" href="classCondition.html#0bb9ca22c3c755d0ed8c7483a857567a">Condition</a> +<li>what() +: <a class="el" href="classSocketException.html#534b0625abe62cad2bae94758aa6eb42">SocketException</a> +<li>window_size_ +: <a class="el" href="classSeqWindow.html#ef85ba28f8a655dc8c8d34aeddb8eea0">SeqWindow</a> +<li>withAuthTag() +: <a class="el" href="classPacket.html#5c947adee9eef0a662a4dc49d95dbe8e">Packet</a> +<li>withHeader() +: <a class="el" href="classPacket.html#ce9e40180f64d44fe1d8da14ac9e5df2">Packet</a> +<li>withPayloadType() +: <a class="el" href="classPacket.html#c7ecfc05376afd00af89cb328e194a1d">Packet</a> +<li>write() +: <a class="el" href="classTunDevice.html#958bc73a627cc5d404ed87204547134d">TunDevice</a> +</ul> +<hr size="1"><address style="align: right;"><small>Generated on Sun Oct 7 23:43:49 2007 for anytun by +<a href="http://www.doxygen.org/index.html"> +<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address> +</body> +</html> diff --git a/doc/html/functions_0x7e.html b/doc/html/functions_0x7e.html new file mode 100644 index 0000000..e172300 --- /dev/null +++ b/doc/html/functions_0x7e.html @@ -0,0 +1,105 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> +<title>anytun: Class Members</title> +<link href="doxygen.css" rel="stylesheet" type="text/css"> +<link href="tabs.css" rel="stylesheet" type="text/css"> +</head><body> +<!-- Generated by Doxygen 1.5.1 --> +<div class="tabs"> + <ul> + <li><a href="main.html"><span>Main Page</span></a></li> + <li><a href="namespaces.html"><span>Namespaces</span></a></li> + <li id="current"><a href="annotated.html"><span>Classes</span></a></li> + <li><a href="files.html"><span>Files</span></a></li> + </ul></div> +<div class="tabs"> + <ul> + <li><a href="annotated.html"><span>Class List</span></a></li> + <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> + <li id="current"><a href="functions.html"><span>Class Members</span></a></li> + </ul></div> +<div class="tabs"> + <ul> + <li id="current"><a href="functions.html"><span>All</span></a></li> + <li><a href="functions_func.html"><span>Functions</span></a></li> + <li><a href="functions_vars.html"><span>Variables</span></a></li> + <li><a href="functions_type.html"><span>Typedefs</span></a></li> + <li><a href="functions_rela.html"><span>Related Functions</span></a></li> + </ul> +</div> +<div class="tabs"> + <ul> + <li><a href="functions.html#index__"><span>_</span></a></li> + <li><a href="functions_0x61.html#index_a"><span>a</span></a></li> + <li><a href="functions_0x62.html#index_b"><span>b</span></a></li> + <li><a href="functions_0x63.html#index_c"><span>c</span></a></li> + <li><a href="functions_0x64.html#index_d"><span>d</span></a></li> + <li><a href="functions_0x65.html#index_e"><span>e</span></a></li> + <li><a href="functions_0x66.html#index_f"><span>f</span></a></li> + <li><a href="functions_0x67.html#index_g"><span>g</span></a></li> + <li><a href="functions_0x68.html#index_h"><span>h</span></a></li> + <li><a href="functions_0x69.html#index_i"><span>i</span></a></li> + <li><a href="functions_0x6a.html#index_j"><span>j</span></a></li> + <li><a href="functions_0x6b.html#index_k"><span>k</span></a></li> + <li><a href="functions_0x6c.html#index_l"><span>l</span></a></li> + <li><a href="functions_0x6d.html#index_m"><span>m</span></a></li> + <li><a href="functions_0x6e.html#index_n"><span>n</span></a></li> + <li><a href="functions_0x6f.html#index_o"><span>o</span></a></li> + <li><a href="functions_0x70.html#index_p"><span>p</span></a></li> + <li><a href="functions_0x72.html#index_r"><span>r</span></a></li> + <li><a href="functions_0x73.html#index_s"><span>s</span></a></li> + <li><a href="functions_0x74.html#index_t"><span>t</span></a></li> + <li><a href="functions_0x75.html#index_u"><span>u</span></a></li> + <li><a href="functions_0x77.html#index_w"><span>w</span></a></li> + <li id="current"><a href="functions_0x7e.html#index_~"><span>~</span></a></li> + </ul> +</div> + +<p> +Here is a list of all class members with links to the classes they belong to: +<p> +<h3><a class="anchor" name="index_~">- ~ -</a></h3><ul> +<li>~AesIcmCypher() +: <a class="el" href="classAesIcmCypher.html#fdf9ab22374ffdad856f172eefacbd17">AesIcmCypher</a> +<li>~AuthAlgo() +: <a class="el" href="classAuthAlgo.html#e3428186b4e005e879e26c2b8e04fa4a">AuthAlgo</a> +<li>~Buffer() +: <a class="el" href="classBuffer.html#59b8743e4a5f731bdd0c4185c9ef263b">Buffer</a> +<li>~Condition() +: <a class="el" href="classCondition.html#b42f6d2dfb2d0de4bed4ed5032d4a8fc">Condition</a> +<li>~Cypher() +: <a class="el" href="classCypher.html#70c94525f7bacb956cdd940fba7fb4c8">Cypher</a> +<li>~instanceCleaner() +: <a class="el" href="classLog_1_1instanceCleaner.html#5e2dd96e4f58345bd2067cd40fbec865">Log::instanceCleaner</a> +<li>~KeyDerivation() +: <a class="el" href="classKeyDerivation.html#ccce2c32370be2388ca0a977fef1f6cc">KeyDerivation</a> +<li>~Lock() +: <a class="el" href="classLock.html#7ab6d9485c8665bb3643710432882971">Lock</a> +<li>~Log() +: <a class="el" href="classLog.html#0fbfda88fbee5027c89f6eb121059360">Log</a> +<li>~LogStringBuilder() +: <a class="el" href="classLogStringBuilder.html#c63707864e0005008cc4a67d8dec9933">LogStringBuilder</a> +<li>~Mutex() +: <a class="el" href="classMutex.html#c9e9182407f5f74892318607888e9be4">Mutex</a> +<li>~PacketSource() +: <a class="el" href="classPacketSource.html#fdaad665e453cf5a047935b07a050ef4">PacketSource</a> +<li>~Semaphore() +: <a class="el" href="classSemaphore.html#633658a6fde276bffc912028725c6ade">Semaphore</a> +<li>~SeqWindow() +: <a class="el" href="classSeqWindow.html#d125bcc4751a746427f04dda7fd65a10">SeqWindow</a> +<li>~SignalController() +: <a class="el" href="classSignalController.html#e8d687dc4fcc75bffff50e8cda37c7aa">SignalController</a> +<li>~SignalHandler() +: <a class="el" href="classSignalHandler.html#a1109d38f8b43bde75420aaeecc1f2b7">SignalHandler</a> +<li>~Socket() +: <a class="el" href="classSocket.html#eac4eb6379a543d38ed88977d3b6630a">Socket</a> +<li>~SocketException() +: <a class="el" href="classSocketException.html#659557c899329aea01977c980c4db9b9">SocketException</a> +<li>~TunDevice() +: <a class="el" href="classTunDevice.html#2c6196d270bf4d0e99ff4f860391faed">TunDevice</a> +</ul> +<hr size="1"><address style="align: right;"><small>Generated on Sun Oct 7 23:43:49 2007 for anytun by +<a href="http://www.doxygen.org/index.html"> +<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address> +</body> +</html> diff --git a/doc/html/functions_func.html b/doc/html/functions_func.html new file mode 100644 index 0000000..47226f1 --- /dev/null +++ b/doc/html/functions_func.html @@ -0,0 +1,78 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> +<title>anytun: Class Members - Functions</title> +<link href="doxygen.css" rel="stylesheet" type="text/css"> +<link href="tabs.css" rel="stylesheet" type="text/css"> +</head><body> +<!-- Generated by Doxygen 1.5.1 --> +<div class="tabs"> + <ul> + <li><a href="main.html"><span>Main Page</span></a></li> + <li><a href="namespaces.html"><span>Namespaces</span></a></li> + <li id="current"><a href="annotated.html"><span>Classes</span></a></li> + <li><a href="files.html"><span>Files</span></a></li> + </ul></div> +<div class="tabs"> + <ul> + <li><a href="annotated.html"><span>Class List</span></a></li> + <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> + <li id="current"><a href="functions.html"><span>Class Members</span></a></li> + </ul></div> +<div class="tabs"> + <ul> + <li><a href="functions.html"><span>All</span></a></li> + <li id="current"><a href="functions_func.html"><span>Functions</span></a></li> + <li><a href="functions_vars.html"><span>Variables</span></a></li> + <li><a href="functions_type.html"><span>Typedefs</span></a></li> + <li><a href="functions_rela.html"><span>Related Functions</span></a></li> + </ul> +</div> +<div class="tabs"> + <ul> + <li id="current"><a href="functions_func.html#index_a"><span>a</span></a></li> + <li><a href="functions_func_0x62.html#index_b"><span>b</span></a></li> + <li><a href="functions_func_0x63.html#index_c"><span>c</span></a></li> + <li><a href="functions_func_0x64.html#index_d"><span>d</span></a></li> + <li><a href="functions_func_0x65.html#index_e"><span>e</span></a></li> + <li><a href="functions_func_0x67.html#index_g"><span>g</span></a></li> + <li><a href="functions_func_0x68.html#index_h"><span>h</span></a></li> + <li><a href="functions_func_0x69.html#index_i"><span>i</span></a></li> + <li><a href="functions_func_0x6a.html#index_j"><span>j</span></a></li> + <li><a href="functions_func_0x6b.html#index_k"><span>k</span></a></li> + <li><a href="functions_func_0x6c.html#index_l"><span>l</span></a></li> + <li><a href="functions_func_0x6d.html#index_m"><span>m</span></a></li> + <li><a href="functions_func_0x6f.html#index_o"><span>o</span></a></li> + <li><a href="functions_func_0x70.html#index_p"><span>p</span></a></li> + <li><a href="functions_func_0x72.html#index_r"><span>r</span></a></li> + <li><a href="functions_func_0x73.html#index_s"><span>s</span></a></li> + <li><a href="functions_func_0x74.html#index_t"><span>t</span></a></li> + <li><a href="functions_func_0x75.html#index_u"><span>u</span></a></li> + <li><a href="functions_func_0x77.html#index_w"><span>w</span></a></li> + <li><a href="functions_func_0x7e.html#index_~"><span>~</span></a></li> + </ul> +</div> + +<p> + +<p> +<h3><a class="anchor" name="index_a">- a -</a></h3><ul> +<li>accept() +: <a class="el" href="classTCPServerSocket.html#1d161137e1b069de7a7bfc14d3f8212c">TCPServerSocket</a> +<li>addAuthTag() +: <a class="el" href="classPacket.html#a7f8bb4bb127aad314eb0f0ef72447ed">Packet</a> +<li>addHeader() +: <a class="el" href="classPacket.html#2a682115c6802d0dd1ebbd3434a3a179">Packet</a> +<li>addPayloadType() +: <a class="el" href="classPacket.html#40849ee3c59a84c3899c409ed392b477">Packet</a> +<li>addSeqNr() +: <a class="el" href="classSeqWindow.html#255ca0fca3e701bd9e18d9fcb2c022a2">SeqWindow</a> +<li>AesIcmCypher() +: <a class="el" href="classAesIcmCypher.html#628abe54d9f3ac715dcaa0ae9ebf44bc">AesIcmCypher</a> +<li>AuthAlgo() +: <a class="el" href="classAuthAlgo.html#22a200c372d9aeb73a4cbdd95ba30a0e">AuthAlgo</a> +</ul> +<hr size="1"><address style="align: right;"><small>Generated on Sun Oct 7 23:43:49 2007 for anytun by +<a href="http://www.doxygen.org/index.html"> +<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address> +</body> +</html> diff --git a/doc/html/functions_func_0x62.html b/doc/html/functions_func_0x62.html new file mode 100644 index 0000000..2129cb3 --- /dev/null +++ b/doc/html/functions_func_0x62.html @@ -0,0 +1,68 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> +<title>anytun: Class Members - Functions</title> +<link href="doxygen.css" rel="stylesheet" type="text/css"> +<link href="tabs.css" rel="stylesheet" type="text/css"> +</head><body> +<!-- Generated by Doxygen 1.5.1 --> +<div class="tabs"> + <ul> + <li><a href="main.html"><span>Main Page</span></a></li> + <li><a href="namespaces.html"><span>Namespaces</span></a></li> + <li id="current"><a href="annotated.html"><span>Classes</span></a></li> + <li><a href="files.html"><span>Files</span></a></li> + </ul></div> +<div class="tabs"> + <ul> + <li><a href="annotated.html"><span>Class List</span></a></li> + <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> + <li id="current"><a href="functions.html"><span>Class Members</span></a></li> + </ul></div> +<div class="tabs"> + <ul> + <li><a href="functions.html"><span>All</span></a></li> + <li id="current"><a href="functions_func.html"><span>Functions</span></a></li> + <li><a href="functions_vars.html"><span>Variables</span></a></li> + <li><a href="functions_type.html"><span>Typedefs</span></a></li> + <li><a href="functions_rela.html"><span>Related Functions</span></a></li> + </ul> +</div> +<div class="tabs"> + <ul> + <li><a href="functions_func.html#index_a"><span>a</span></a></li> + <li id="current"><a href="functions_func_0x62.html#index_b"><span>b</span></a></li> + <li><a href="functions_func_0x63.html#index_c"><span>c</span></a></li> + <li><a href="functions_func_0x64.html#index_d"><span>d</span></a></li> + <li><a href="functions_func_0x65.html#index_e"><span>e</span></a></li> + <li><a href="functions_func_0x67.html#index_g"><span>g</span></a></li> + <li><a href="functions_func_0x68.html#index_h"><span>h</span></a></li> + <li><a href="functions_func_0x69.html#index_i"><span>i</span></a></li> + <li><a href="functions_func_0x6a.html#index_j"><span>j</span></a></li> + <li><a href="functions_func_0x6b.html#index_k"><span>k</span></a></li> + <li><a href="functions_func_0x6c.html#index_l"><span>l</span></a></li> + <li><a href="functions_func_0x6d.html#index_m"><span>m</span></a></li> + <li><a href="functions_func_0x6f.html#index_o"><span>o</span></a></li> + <li><a href="functions_func_0x70.html#index_p"><span>p</span></a></li> + <li><a href="functions_func_0x72.html#index_r"><span>r</span></a></li> + <li><a href="functions_func_0x73.html#index_s"><span>s</span></a></li> + <li><a href="functions_func_0x74.html#index_t"><span>t</span></a></li> + <li><a href="functions_func_0x75.html#index_u"><span>u</span></a></li> + <li><a href="functions_func_0x77.html#index_w"><span>w</span></a></li> + <li><a href="functions_func_0x7e.html#index_~"><span>~</span></a></li> + </ul> +</div> + +<p> + +<p> +<h3><a class="anchor" name="index_b">- b -</a></h3><ul> +<li>broadcast() +: <a class="el" href="classCondition.html#15d88ea71e837f967d13d805d675cc5b">Condition</a> +<li>Buffer() +: <a class="el" href="classBuffer.html#5c58aa9e491f709011408ee7837d57d0">Buffer</a> +</ul> +<hr size="1"><address style="align: right;"><small>Generated on Sun Oct 7 23:43:49 2007 for anytun by +<a href="http://www.doxygen.org/index.html"> +<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address> +</body> +</html> diff --git a/doc/html/functions_func_0x63.html b/doc/html/functions_func_0x63.html new file mode 100644 index 0000000..f67bc59 --- /dev/null +++ b/doc/html/functions_func_0x63.html @@ -0,0 +1,85 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> +<title>anytun: Class Members - Functions</title> +<link href="doxygen.css" rel="stylesheet" type="text/css"> +<link href="tabs.css" rel="stylesheet" type="text/css"> +</head><body> +<!-- Generated by Doxygen 1.5.1 --> +<div class="tabs"> + <ul> + <li><a href="main.html"><span>Main Page</span></a></li> + <li><a href="namespaces.html"><span>Namespaces</span></a></li> + <li id="current"><a href="annotated.html"><span>Classes</span></a></li> + <li><a href="files.html"><span>Files</span></a></li> + </ul></div> +<div class="tabs"> + <ul> + <li><a href="annotated.html"><span>Class List</span></a></li> + <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> + <li id="current"><a href="functions.html"><span>Class Members</span></a></li> + </ul></div> +<div class="tabs"> + <ul> + <li><a href="functions.html"><span>All</span></a></li> + <li id="current"><a href="functions_func.html"><span>Functions</span></a></li> + <li><a href="functions_vars.html"><span>Variables</span></a></li> + <li><a href="functions_type.html"><span>Typedefs</span></a></li> + <li><a href="functions_rela.html"><span>Related Functions</span></a></li> + </ul> +</div> +<div class="tabs"> + <ul> + <li><a href="functions_func.html#index_a"><span>a</span></a></li> + <li><a href="functions_func_0x62.html#index_b"><span>b</span></a></li> + <li id="current"><a href="functions_func_0x63.html#index_c"><span>c</span></a></li> + <li><a href="functions_func_0x64.html#index_d"><span>d</span></a></li> + <li><a href="functions_func_0x65.html#index_e"><span>e</span></a></li> + <li><a href="functions_func_0x67.html#index_g"><span>g</span></a></li> + <li><a href="functions_func_0x68.html#index_h"><span>h</span></a></li> + <li><a href="functions_func_0x69.html#index_i"><span>i</span></a></li> + <li><a href="functions_func_0x6a.html#index_j"><span>j</span></a></li> + <li><a href="functions_func_0x6b.html#index_k"><span>k</span></a></li> + <li><a href="functions_func_0x6c.html#index_l"><span>l</span></a></li> + <li><a href="functions_func_0x6d.html#index_m"><span>m</span></a></li> + <li><a href="functions_func_0x6f.html#index_o"><span>o</span></a></li> + <li><a href="functions_func_0x70.html#index_p"><span>p</span></a></li> + <li><a href="functions_func_0x72.html#index_r"><span>r</span></a></li> + <li><a href="functions_func_0x73.html#index_s"><span>s</span></a></li> + <li><a href="functions_func_0x74.html#index_t"><span>t</span></a></li> + <li><a href="functions_func_0x75.html#index_u"><span>u</span></a></li> + <li><a href="functions_func_0x77.html#index_w"><span>w</span></a></li> + <li><a href="functions_func_0x7e.html#index_~"><span>~</span></a></li> + </ul> +</div> + +<p> + +<p> +<h3><a class="anchor" name="index_c">- c -</a></h3><ul> +<li>calc() +: <a class="el" href="classAuthAlgo.html#f53b44f90c33eb049da260947a75c916">AuthAlgo</a> +, <a class="el" href="classNullAuthAlgo.html#60eead12d6b32a576ad40d999a6151cf">NullAuthAlgo</a> +, <a class="el" href="classHmacAuthAlgo.html#af50c9aa6b61ff6f4631e3f78f77dc97">HmacAuthAlgo</a> +<li>cleanUp() +: <a class="el" href="classSocket.html#c5060aeb501044044351d5a85b3fc95f">Socket</a> +<li>clear() +: <a class="el" href="classSeqWindow.html#e9774163b8f7ac0ec081d1ba5b2daed2">SeqWindow</a> +, <a class="el" href="classKeyDerivation.html#8d8c405ee7c3753b4807b36a8cbe537a">KeyDerivation</a> +<li>close() +: <a class="el" href="classTunDevice.html#13986e13fe28da6c917293c40effb902">TunDevice</a> +<li>CommunicatingSocket() +: <a class="el" href="classCommunicatingSocket.html#0017517b8d6e761fde0c40475af3b2ab">CommunicatingSocket</a> +<li>Condition() +: <a class="el" href="classCondition.html#f11513db4fcbde93961fa0b65e7ab764">Condition</a> +<li>connect() +: <a class="el" href="classCommunicatingSocket.html#9192374d9baab8e189860aa8d913683c">CommunicatingSocket</a> +<li>cypher() +: <a class="el" href="classCypher.html#1d51ce2235d38bded45f5e897be4435c">Cypher</a> +<li>Cypher() +: <a class="el" href="classCypher.html#5228228b0b2d83251ecce4516e87ddb1">Cypher</a> +</ul> +<hr size="1"><address style="align: right;"><small>Generated on Sun Oct 7 23:43:49 2007 for anytun by +<a href="http://www.doxygen.org/index.html"> +<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address> +</body> +</html> diff --git a/doc/html/functions_func_0x64.html b/doc/html/functions_func_0x64.html new file mode 100644 index 0000000..16166b2 --- /dev/null +++ b/doc/html/functions_func_0x64.html @@ -0,0 +1,68 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> +<title>anytun: Class Members - Functions</title> +<link href="doxygen.css" rel="stylesheet" type="text/css"> +<link href="tabs.css" rel="stylesheet" type="text/css"> +</head><body> +<!-- Generated by Doxygen 1.5.1 --> +<div class="tabs"> + <ul> + <li><a href="main.html"><span>Main Page</span></a></li> + <li><a href="namespaces.html"><span>Namespaces</span></a></li> + <li id="current"><a href="annotated.html"><span>Classes</span></a></li> + <li><a href="files.html"><span>Files</span></a></li> + </ul></div> +<div class="tabs"> + <ul> + <li><a href="annotated.html"><span>Class List</span></a></li> + <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> + <li id="current"><a href="functions.html"><span>Class Members</span></a></li> + </ul></div> +<div class="tabs"> + <ul> + <li><a href="functions.html"><span>All</span></a></li> + <li id="current"><a href="functions_func.html"><span>Functions</span></a></li> + <li><a href="functions_vars.html"><span>Variables</span></a></li> + <li><a href="functions_type.html"><span>Typedefs</span></a></li> + <li><a href="functions_rela.html"><span>Related Functions</span></a></li> + </ul> +</div> +<div class="tabs"> + <ul> + <li><a href="functions_func.html#index_a"><span>a</span></a></li> + <li><a href="functions_func_0x62.html#index_b"><span>b</span></a></li> + <li><a href="functions_func_0x63.html#index_c"><span>c</span></a></li> + <li id="current"><a href="functions_func_0x64.html#index_d"><span>d</span></a></li> + <li><a href="functions_func_0x65.html#index_e"><span>e</span></a></li> + <li><a href="functions_func_0x67.html#index_g"><span>g</span></a></li> + <li><a href="functions_func_0x68.html#index_h"><span>h</span></a></li> + <li><a href="functions_func_0x69.html#index_i"><span>i</span></a></li> + <li><a href="functions_func_0x6a.html#index_j"><span>j</span></a></li> + <li><a href="functions_func_0x6b.html#index_k"><span>k</span></a></li> + <li><a href="functions_func_0x6c.html#index_l"><span>l</span></a></li> + <li><a href="functions_func_0x6d.html#index_m"><span>m</span></a></li> + <li><a href="functions_func_0x6f.html#index_o"><span>o</span></a></li> + <li><a href="functions_func_0x70.html#index_p"><span>p</span></a></li> + <li><a href="functions_func_0x72.html#index_r"><span>r</span></a></li> + <li><a href="functions_func_0x73.html#index_s"><span>s</span></a></li> + <li><a href="functions_func_0x74.html#index_t"><span>t</span></a></li> + <li><a href="functions_func_0x75.html#index_u"><span>u</span></a></li> + <li><a href="functions_func_0x77.html#index_w"><span>w</span></a></li> + <li><a href="functions_func_0x7e.html#index_~"><span>~</span></a></li> + </ul> +</div> + +<p> + +<p> +<h3><a class="anchor" name="index_d">- d -</a></h3><ul> +<li>disconnect() +: <a class="el" href="classUDPSocket.html#7482e8e61cef160e1a7c0d6ac15c01be">UDPSocket</a> +<li>down() +: <a class="el" href="classSemaphore.html#71126a13a22f2722e22a2b69860a5371">Semaphore</a> +</ul> +<hr size="1"><address style="align: right;"><small>Generated on Sun Oct 7 23:43:49 2007 for anytun by +<a href="http://www.doxygen.org/index.html"> +<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address> +</body> +</html> diff --git a/doc/html/functions_func_0x65.html b/doc/html/functions_func_0x65.html new file mode 100644 index 0000000..e57ffd0 --- /dev/null +++ b/doc/html/functions_func_0x65.html @@ -0,0 +1,66 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> +<title>anytun: Class Members - Functions</title> +<link href="doxygen.css" rel="stylesheet" type="text/css"> +<link href="tabs.css" rel="stylesheet" type="text/css"> +</head><body> +<!-- Generated by Doxygen 1.5.1 --> +<div class="tabs"> + <ul> + <li><a href="main.html"><span>Main Page</span></a></li> + <li><a href="namespaces.html"><span>Namespaces</span></a></li> + <li id="current"><a href="annotated.html"><span>Classes</span></a></li> + <li><a href="files.html"><span>Files</span></a></li> + </ul></div> +<div class="tabs"> + <ul> + <li><a href="annotated.html"><span>Class List</span></a></li> + <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> + <li id="current"><a href="functions.html"><span>Class Members</span></a></li> + </ul></div> +<div class="tabs"> + <ul> + <li><a href="functions.html"><span>All</span></a></li> + <li id="current"><a href="functions_func.html"><span>Functions</span></a></li> + <li><a href="functions_vars.html"><span>Variables</span></a></li> + <li><a href="functions_type.html"><span>Typedefs</span></a></li> + <li><a href="functions_rela.html"><span>Related Functions</span></a></li> + </ul> +</div> +<div class="tabs"> + <ul> + <li><a href="functions_func.html#index_a"><span>a</span></a></li> + <li><a href="functions_func_0x62.html#index_b"><span>b</span></a></li> + <li><a href="functions_func_0x63.html#index_c"><span>c</span></a></li> + <li><a href="functions_func_0x64.html#index_d"><span>d</span></a></li> + <li id="current"><a href="functions_func_0x65.html#index_e"><span>e</span></a></li> + <li><a href="functions_func_0x67.html#index_g"><span>g</span></a></li> + <li><a href="functions_func_0x68.html#index_h"><span>h</span></a></li> + <li><a href="functions_func_0x69.html#index_i"><span>i</span></a></li> + <li><a href="functions_func_0x6a.html#index_j"><span>j</span></a></li> + <li><a href="functions_func_0x6b.html#index_k"><span>k</span></a></li> + <li><a href="functions_func_0x6c.html#index_l"><span>l</span></a></li> + <li><a href="functions_func_0x6d.html#index_m"><span>m</span></a></li> + <li><a href="functions_func_0x6f.html#index_o"><span>o</span></a></li> + <li><a href="functions_func_0x70.html#index_p"><span>p</span></a></li> + <li><a href="functions_func_0x72.html#index_r"><span>r</span></a></li> + <li><a href="functions_func_0x73.html#index_s"><span>s</span></a></li> + <li><a href="functions_func_0x74.html#index_t"><span>t</span></a></li> + <li><a href="functions_func_0x75.html#index_u"><span>u</span></a></li> + <li><a href="functions_func_0x77.html#index_w"><span>w</span></a></li> + <li><a href="functions_func_0x7e.html#index_~"><span>~</span></a></li> + </ul> +</div> + +<p> + +<p> +<h3><a class="anchor" name="index_e">- e -</a></h3><ul> +<li>exor() +: <a class="el" href="classCypher.html#bf33a7a59ed1cdf711030236de6635b0">Cypher</a> +</ul> +<hr size="1"><address style="align: right;"><small>Generated on Sun Oct 7 23:43:49 2007 for anytun by +<a href="http://www.doxygen.org/index.html"> +<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address> +</body> +</html> diff --git a/doc/html/functions_func_0x67.html b/doc/html/functions_func_0x67.html new file mode 100644 index 0000000..db6ee05 --- /dev/null +++ b/doc/html/functions_func_0x67.html @@ -0,0 +1,125 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> +<title>anytun: Class Members - Functions</title> +<link href="doxygen.css" rel="stylesheet" type="text/css"> +<link href="tabs.css" rel="stylesheet" type="text/css"> +</head><body> +<!-- Generated by Doxygen 1.5.1 --> +<div class="tabs"> + <ul> + <li><a href="main.html"><span>Main Page</span></a></li> + <li><a href="namespaces.html"><span>Namespaces</span></a></li> + <li id="current"><a href="annotated.html"><span>Classes</span></a></li> + <li><a href="files.html"><span>Files</span></a></li> + </ul></div> +<div class="tabs"> + <ul> + <li><a href="annotated.html"><span>Class List</span></a></li> + <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> + <li id="current"><a href="functions.html"><span>Class Members</span></a></li> + </ul></div> +<div class="tabs"> + <ul> + <li><a href="functions.html"><span>All</span></a></li> + <li id="current"><a href="functions_func.html"><span>Functions</span></a></li> + <li><a href="functions_vars.html"><span>Variables</span></a></li> + <li><a href="functions_type.html"><span>Typedefs</span></a></li> + <li><a href="functions_rela.html"><span>Related Functions</span></a></li> + </ul> +</div> +<div class="tabs"> + <ul> + <li><a href="functions_func.html#index_a"><span>a</span></a></li> + <li><a href="functions_func_0x62.html#index_b"><span>b</span></a></li> + <li><a href="functions_func_0x63.html#index_c"><span>c</span></a></li> + <li><a href="functions_func_0x64.html#index_d"><span>d</span></a></li> + <li><a href="functions_func_0x65.html#index_e"><span>e</span></a></li> + <li id="current"><a href="functions_func_0x67.html#index_g"><span>g</span></a></li> + <li><a href="functions_func_0x68.html#index_h"><span>h</span></a></li> + <li><a href="functions_func_0x69.html#index_i"><span>i</span></a></li> + <li><a href="functions_func_0x6a.html#index_j"><span>j</span></a></li> + <li><a href="functions_func_0x6b.html#index_k"><span>k</span></a></li> + <li><a href="functions_func_0x6c.html#index_l"><span>l</span></a></li> + <li><a href="functions_func_0x6d.html#index_m"><span>m</span></a></li> + <li><a href="functions_func_0x6f.html#index_o"><span>o</span></a></li> + <li><a href="functions_func_0x70.html#index_p"><span>p</span></a></li> + <li><a href="functions_func_0x72.html#index_r"><span>r</span></a></li> + <li><a href="functions_func_0x73.html#index_s"><span>s</span></a></li> + <li><a href="functions_func_0x74.html#index_t"><span>t</span></a></li> + <li><a href="functions_func_0x75.html#index_u"><span>u</span></a></li> + <li><a href="functions_func_0x77.html#index_w"><span>w</span></a></li> + <li><a href="functions_func_0x7e.html#index_~"><span>~</span></a></li> + </ul> +</div> + +<p> + +<p> +<h3><a class="anchor" name="index_g">- g -</a></h3><ul> +<li>generate() +: <a class="el" href="classKeyDerivation.html#025e21ecdd0389b768eaa61fed660c86">KeyDerivation</a> +<li>getActualName() +: <a class="el" href="classTunDevice.html#e02f8972f75b11b69280fba9b6649cab">TunDevice</a> +<li>getAuthAlgo() +: <a class="el" href="classOptions.html#ee7bd7127b7ab35e287fb479288e9641">Options</a> +<li>getAuthTag() +: <a class="el" href="classPacket.html#ba55c639065c177a7006d8392f50eddc">Packet</a> +<li>getBitStream() +: <a class="el" href="classNullCypher.html#ca537adca8ea9af8b6f248df12ebcf36">NullCypher</a> +, <a class="el" href="classAesIcmCypher.html#ebac1fbb9a4cb56411fcd45ca63f47a1">AesIcmCypher</a> +, <a class="el" href="classCypher.html#7ddf1bcd476978daa97148ec406d6483">Cypher</a> +<li>getBuf() +: <a class="el" href="classBuffer.html#7890e20c6c77eb631c39728ea08b35b8">Buffer</a> +<li>getCypher() +: <a class="el" href="classOptions.html#71845d106fb9ccef0f8b682a125f4ffd">Options</a> +<li>getDevName() +: <a class="el" href="classOptions.html#acd35d4f958a4611ba10fc844583b744">Options</a> +<li>getDevType() +: <a class="el" href="classOptions.html#0762384e71fb10883a8fe245a389cee6">Options</a> +<li>getFacility() +: <a class="el" href="classLog.html#238b6e5d47bb83307737f0c809fad669">Log</a> +<li>getForeignAddress() +: <a class="el" href="classCommunicatingSocket.html#13f9eca30ef56836cf23c163c848c09e">CommunicatingSocket</a> +<li>getForeignPort() +: <a class="el" href="classCommunicatingSocket.html#184fbb4775184b87ebd886a5587eb1a3">CommunicatingSocket</a> +<li>getIfconfigParamLocal() +: <a class="el" href="classOptions.html#5354b737aa30d786c79f43547c78dc09">Options</a> +<li>getIfconfigParamRemoteNetmask() +: <a class="el" href="classOptions.html#ee9e8bcc21c6c8c81fc4ed79991d42d5">Options</a> +<li>getLength() +: <a class="el" href="classBuffer.html#09ced241e4d0a46c52f0f20398076435">Buffer</a> +, <a class="el" href="classSeqWindow.html#5d39959927c79c54d133ed77b297ad7c">SeqWindow</a> +<li>getLocalAddr() +: <a class="el" href="classOptions.html#0b1ca05363913a66db8dcb829ebc21e2">Options</a> +<li>getLocalAddress() +: <a class="el" href="classSocket.html#0fca07bdfa97874fba1a17995ed7cda3">Socket</a> +<li>getLocalPort() +: <a class="el" href="classOptions.html#44a66c61b99fc0d1a953493a3cd4dcab">Options</a> +, <a class="el" href="classSocket.html#e01143b667d69483a2f53d0f4ce7eeed">Socket</a> +<li>getLogName() +: <a class="el" href="classLog.html#9090c0fbbc5a3223dbd361a827788c17">Log</a> +<li>getPayloadType() +: <a class="el" href="classPacket.html#ed7f5cc79b40a11eddefd4b421544498">Packet</a> +<li>getProgname() +: <a class="el" href="classOptions.html#af7b2ab27fc4b1a74ef89e9fdd0cfb22">Options</a> +<li>getRemoteAddr() +: <a class="el" href="classOptions.html#46343d900b4dd2ab8e0a7a2a9274e885">Options</a> +<li>getRemotePort() +: <a class="el" href="classOptions.html#4d2089d4216557810410f31ffa2dfc8b">Options</a> +<li>getSenderId() +: <a class="el" href="classPacket.html#096829acfcf98c3ffff60bd335cbb919">Packet</a> +, <a class="el" href="classOptions.html#049d0dbe0f6ca10cc18d87924fb2322d">Options</a> +<li>getSeqNr() +: <a class="el" href="classPacket.html#6572b9df8c1f5f0de9fcb8e5c669de50">Packet</a> +<li>getSeqWindowSize() +: <a class="el" href="classOptions.html#893c688302a091bcf99cb327b23774fa">Options</a> +<li>getType() +: <a class="el" href="classTunDevice.html#b57512464007681dcc92820adb3deb0f">TunDevice</a> +<li>getTypeString() +: <a class="el" href="classTunDevice.html#0cecbc6a7e58d294dd005e7d523173bd">TunDevice</a> +</ul> +<hr size="1"><address style="align: right;"><small>Generated on Sun Oct 7 23:43:49 2007 for anytun by +<a href="http://www.doxygen.org/index.html"> +<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address> +</body> +</html> diff --git a/doc/html/functions_func_0x68.html b/doc/html/functions_func_0x68.html new file mode 100644 index 0000000..317578f --- /dev/null +++ b/doc/html/functions_func_0x68.html @@ -0,0 +1,81 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> +<title>anytun: Class Members - Functions</title> +<link href="doxygen.css" rel="stylesheet" type="text/css"> +<link href="tabs.css" rel="stylesheet" type="text/css"> +</head><body> +<!-- Generated by Doxygen 1.5.1 --> +<div class="tabs"> + <ul> + <li><a href="main.html"><span>Main Page</span></a></li> + <li><a href="namespaces.html"><span>Namespaces</span></a></li> + <li id="current"><a href="annotated.html"><span>Classes</span></a></li> + <li><a href="files.html"><span>Files</span></a></li> + </ul></div> +<div class="tabs"> + <ul> + <li><a href="annotated.html"><span>Class List</span></a></li> + <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> + <li id="current"><a href="functions.html"><span>Class Members</span></a></li> + </ul></div> +<div class="tabs"> + <ul> + <li><a href="functions.html"><span>All</span></a></li> + <li id="current"><a href="functions_func.html"><span>Functions</span></a></li> + <li><a href="functions_vars.html"><span>Variables</span></a></li> + <li><a href="functions_type.html"><span>Typedefs</span></a></li> + <li><a href="functions_rela.html"><span>Related Functions</span></a></li> + </ul> +</div> +<div class="tabs"> + <ul> + <li><a href="functions_func.html#index_a"><span>a</span></a></li> + <li><a href="functions_func_0x62.html#index_b"><span>b</span></a></li> + <li><a href="functions_func_0x63.html#index_c"><span>c</span></a></li> + <li><a href="functions_func_0x64.html#index_d"><span>d</span></a></li> + <li><a href="functions_func_0x65.html#index_e"><span>e</span></a></li> + <li><a href="functions_func_0x67.html#index_g"><span>g</span></a></li> + <li id="current"><a href="functions_func_0x68.html#index_h"><span>h</span></a></li> + <li><a href="functions_func_0x69.html#index_i"><span>i</span></a></li> + <li><a href="functions_func_0x6a.html#index_j"><span>j</span></a></li> + <li><a href="functions_func_0x6b.html#index_k"><span>k</span></a></li> + <li><a href="functions_func_0x6c.html#index_l"><span>l</span></a></li> + <li><a href="functions_func_0x6d.html#index_m"><span>m</span></a></li> + <li><a href="functions_func_0x6f.html#index_o"><span>o</span></a></li> + <li><a href="functions_func_0x70.html#index_p"><span>p</span></a></li> + <li><a href="functions_func_0x72.html#index_r"><span>r</span></a></li> + <li><a href="functions_func_0x73.html#index_s"><span>s</span></a></li> + <li><a href="functions_func_0x74.html#index_t"><span>t</span></a></li> + <li><a href="functions_func_0x75.html#index_u"><span>u</span></a></li> + <li><a href="functions_func_0x77.html#index_w"><span>w</span></a></li> + <li><a href="functions_func_0x7e.html#index_~"><span>~</span></a></li> + </ul> +</div> + +<p> + +<p> +<h3><a class="anchor" name="index_h">- h -</a></h3><ul> +<li>handle() +: <a class="el" href="classSignalHandler.html#e3dbda0de9b4aa4544390818a0d29e28">SignalHandler</a> +, <a class="el" href="classSigHupHandler.html#84734b7f79663badeedb720896302d4e">SigHupHandler</a> +, <a class="el" href="classSigTermHandler.html#820fa7f8bb5ef6390133c33c919dbf6f">SigTermHandler</a> +, <a class="el" href="classSigUsr1Handler.html#578f3ea18e617689032fc165b6436695">SigUsr1Handler</a> +, <a class="el" href="classSigUsr2Handler.html#825a621f1ff10556bb8b289703273e7d">SigUsr2Handler</a> +, <a class="el" href="classSigIntHandler.html#6a7d9a841a5c9b1f50041a8c37774063">SigIntHandler</a> +, <a class="el" href="classSigQuitHandler.html#799f0272c91e7b1bf09411b80811b4dc">SigQuitHandler</a> +, <a class="el" href="classSignalController.html#5df4d6ebe373117a9bf072035e16997f">SignalController</a> +<li>hasAuthTag() +: <a class="el" href="classPacket.html#bfe50722f18687bb0691061fb0ccb0ff">Packet</a> +<li>hasHeader() +: <a class="el" href="classPacket.html#a004c01dd99179b0a08109dce5fc6b03">Packet</a> +<li>hasPayloadType() +: <a class="el" href="classPacket.html#c78b8af0dc7c7badf85e75db0de54800">Packet</a> +<li>hasSeqNr() +: <a class="el" href="classSeqWindow.html#9e7714dda181863420c38975bd505aff">SeqWindow</a> +</ul> +<hr size="1"><address style="align: right;"><small>Generated on Sun Oct 7 23:43:49 2007 for anytun by +<a href="http://www.doxygen.org/index.html"> +<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address> +</body> +</html> diff --git a/doc/html/functions_func_0x69.html b/doc/html/functions_func_0x69.html new file mode 100644 index 0000000..aa8722a --- /dev/null +++ b/doc/html/functions_func_0x69.html @@ -0,0 +1,71 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> +<title>anytun: Class Members - Functions</title> +<link href="doxygen.css" rel="stylesheet" type="text/css"> +<link href="tabs.css" rel="stylesheet" type="text/css"> +</head><body> +<!-- Generated by Doxygen 1.5.1 --> +<div class="tabs"> + <ul> + <li><a href="main.html"><span>Main Page</span></a></li> + <li><a href="namespaces.html"><span>Namespaces</span></a></li> + <li id="current"><a href="annotated.html"><span>Classes</span></a></li> + <li><a href="files.html"><span>Files</span></a></li> + </ul></div> +<div class="tabs"> + <ul> + <li><a href="annotated.html"><span>Class List</span></a></li> + <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> + <li id="current"><a href="functions.html"><span>Class Members</span></a></li> + </ul></div> +<div class="tabs"> + <ul> + <li><a href="functions.html"><span>All</span></a></li> + <li id="current"><a href="functions_func.html"><span>Functions</span></a></li> + <li><a href="functions_vars.html"><span>Variables</span></a></li> + <li><a href="functions_type.html"><span>Typedefs</span></a></li> + <li><a href="functions_rela.html"><span>Related Functions</span></a></li> + </ul> +</div> +<div class="tabs"> + <ul> + <li><a href="functions_func.html#index_a"><span>a</span></a></li> + <li><a href="functions_func_0x62.html#index_b"><span>b</span></a></li> + <li><a href="functions_func_0x63.html#index_c"><span>c</span></a></li> + <li><a href="functions_func_0x64.html#index_d"><span>d</span></a></li> + <li><a href="functions_func_0x65.html#index_e"><span>e</span></a></li> + <li><a href="functions_func_0x67.html#index_g"><span>g</span></a></li> + <li><a href="functions_func_0x68.html#index_h"><span>h</span></a></li> + <li id="current"><a href="functions_func_0x69.html#index_i"><span>i</span></a></li> + <li><a href="functions_func_0x6a.html#index_j"><span>j</span></a></li> + <li><a href="functions_func_0x6b.html#index_k"><span>k</span></a></li> + <li><a href="functions_func_0x6c.html#index_l"><span>l</span></a></li> + <li><a href="functions_func_0x6d.html#index_m"><span>m</span></a></li> + <li><a href="functions_func_0x6f.html#index_o"><span>o</span></a></li> + <li><a href="functions_func_0x70.html#index_p"><span>p</span></a></li> + <li><a href="functions_func_0x72.html#index_r"><span>r</span></a></li> + <li><a href="functions_func_0x73.html#index_s"><span>s</span></a></li> + <li><a href="functions_func_0x74.html#index_t"><span>t</span></a></li> + <li><a href="functions_func_0x75.html#index_u"><span>u</span></a></li> + <li><a href="functions_func_0x77.html#index_w"><span>w</span></a></li> + <li><a href="functions_func_0x7e.html#index_~"><span>~</span></a></li> + </ul> +</div> + +<p> + +<p> +<h3><a class="anchor" name="index_i">- i -</a></h3><ul> +<li>init() +: <a class="el" href="classKeyDerivation.html#5f03e97de1a041f6012d1fcfabf13773">KeyDerivation</a> +, <a class="el" href="classSignalController.html#0d66065172b1c7ac0d55757d178e6911">SignalController</a> +<li>instance() +: <a class="el" href="classLog.html#aa59866ce9e78db15ce7aaeb00fc1063">Log</a> +<li>isOpen() +: <a class="el" href="classTunDevice.html#f63f3331789f043e44eb435b78c815b2">TunDevice</a> +</ul> +<hr size="1"><address style="align: right;"><small>Generated on Sun Oct 7 23:43:49 2007 for anytun by +<a href="http://www.doxygen.org/index.html"> +<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address> +</body> +</html> diff --git a/doc/html/functions_func_0x6a.html b/doc/html/functions_func_0x6a.html new file mode 100644 index 0000000..d51ed2f --- /dev/null +++ b/doc/html/functions_func_0x6a.html @@ -0,0 +1,66 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> +<title>anytun: Class Members - Functions</title> +<link href="doxygen.css" rel="stylesheet" type="text/css"> +<link href="tabs.css" rel="stylesheet" type="text/css"> +</head><body> +<!-- Generated by Doxygen 1.5.1 --> +<div class="tabs"> + <ul> + <li><a href="main.html"><span>Main Page</span></a></li> + <li><a href="namespaces.html"><span>Namespaces</span></a></li> + <li id="current"><a href="annotated.html"><span>Classes</span></a></li> + <li><a href="files.html"><span>Files</span></a></li> + </ul></div> +<div class="tabs"> + <ul> + <li><a href="annotated.html"><span>Class List</span></a></li> + <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> + <li id="current"><a href="functions.html"><span>Class Members</span></a></li> + </ul></div> +<div class="tabs"> + <ul> + <li><a href="functions.html"><span>All</span></a></li> + <li id="current"><a href="functions_func.html"><span>Functions</span></a></li> + <li><a href="functions_vars.html"><span>Variables</span></a></li> + <li><a href="functions_type.html"><span>Typedefs</span></a></li> + <li><a href="functions_rela.html"><span>Related Functions</span></a></li> + </ul> +</div> +<div class="tabs"> + <ul> + <li><a href="functions_func.html#index_a"><span>a</span></a></li> + <li><a href="functions_func_0x62.html#index_b"><span>b</span></a></li> + <li><a href="functions_func_0x63.html#index_c"><span>c</span></a></li> + <li><a href="functions_func_0x64.html#index_d"><span>d</span></a></li> + <li><a href="functions_func_0x65.html#index_e"><span>e</span></a></li> + <li><a href="functions_func_0x67.html#index_g"><span>g</span></a></li> + <li><a href="functions_func_0x68.html#index_h"><span>h</span></a></li> + <li><a href="functions_func_0x69.html#index_i"><span>i</span></a></li> + <li id="current"><a href="functions_func_0x6a.html#index_j"><span>j</span></a></li> + <li><a href="functions_func_0x6b.html#index_k"><span>k</span></a></li> + <li><a href="functions_func_0x6c.html#index_l"><span>l</span></a></li> + <li><a href="functions_func_0x6d.html#index_m"><span>m</span></a></li> + <li><a href="functions_func_0x6f.html#index_o"><span>o</span></a></li> + <li><a href="functions_func_0x70.html#index_p"><span>p</span></a></li> + <li><a href="functions_func_0x72.html#index_r"><span>r</span></a></li> + <li><a href="functions_func_0x73.html#index_s"><span>s</span></a></li> + <li><a href="functions_func_0x74.html#index_t"><span>t</span></a></li> + <li><a href="functions_func_0x75.html#index_u"><span>u</span></a></li> + <li><a href="functions_func_0x77.html#index_w"><span>w</span></a></li> + <li><a href="functions_func_0x7e.html#index_~"><span>~</span></a></li> + </ul> +</div> + +<p> + +<p> +<h3><a class="anchor" name="index_j">- j -</a></h3><ul> +<li>joinGroup() +: <a class="el" href="classUDPSocket.html#1b20c1e8bd49a9bd9b53dd4f1c8d4c11">UDPSocket</a> +</ul> +<hr size="1"><address style="align: right;"><small>Generated on Sun Oct 7 23:43:49 2007 for anytun by +<a href="http://www.doxygen.org/index.html"> +<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address> +</body> +</html> diff --git a/doc/html/functions_func_0x6b.html b/doc/html/functions_func_0x6b.html new file mode 100644 index 0000000..45cf46d --- /dev/null +++ b/doc/html/functions_func_0x6b.html @@ -0,0 +1,66 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> +<title>anytun: Class Members - Functions</title> +<link href="doxygen.css" rel="stylesheet" type="text/css"> +<link href="tabs.css" rel="stylesheet" type="text/css"> +</head><body> +<!-- Generated by Doxygen 1.5.1 --> +<div class="tabs"> + <ul> + <li><a href="main.html"><span>Main Page</span></a></li> + <li><a href="namespaces.html"><span>Namespaces</span></a></li> + <li id="current"><a href="annotated.html"><span>Classes</span></a></li> + <li><a href="files.html"><span>Files</span></a></li> + </ul></div> +<div class="tabs"> + <ul> + <li><a href="annotated.html"><span>Class List</span></a></li> + <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> + <li id="current"><a href="functions.html"><span>Class Members</span></a></li> + </ul></div> +<div class="tabs"> + <ul> + <li><a href="functions.html"><span>All</span></a></li> + <li id="current"><a href="functions_func.html"><span>Functions</span></a></li> + <li><a href="functions_vars.html"><span>Variables</span></a></li> + <li><a href="functions_type.html"><span>Typedefs</span></a></li> + <li><a href="functions_rela.html"><span>Related Functions</span></a></li> + </ul> +</div> +<div class="tabs"> + <ul> + <li><a href="functions_func.html#index_a"><span>a</span></a></li> + <li><a href="functions_func_0x62.html#index_b"><span>b</span></a></li> + <li><a href="functions_func_0x63.html#index_c"><span>c</span></a></li> + <li><a href="functions_func_0x64.html#index_d"><span>d</span></a></li> + <li><a href="functions_func_0x65.html#index_e"><span>e</span></a></li> + <li><a href="functions_func_0x67.html#index_g"><span>g</span></a></li> + <li><a href="functions_func_0x68.html#index_h"><span>h</span></a></li> + <li><a href="functions_func_0x69.html#index_i"><span>i</span></a></li> + <li><a href="functions_func_0x6a.html#index_j"><span>j</span></a></li> + <li id="current"><a href="functions_func_0x6b.html#index_k"><span>k</span></a></li> + <li><a href="functions_func_0x6c.html#index_l"><span>l</span></a></li> + <li><a href="functions_func_0x6d.html#index_m"><span>m</span></a></li> + <li><a href="functions_func_0x6f.html#index_o"><span>o</span></a></li> + <li><a href="functions_func_0x70.html#index_p"><span>p</span></a></li> + <li><a href="functions_func_0x72.html#index_r"><span>r</span></a></li> + <li><a href="functions_func_0x73.html#index_s"><span>s</span></a></li> + <li><a href="functions_func_0x74.html#index_t"><span>t</span></a></li> + <li><a href="functions_func_0x75.html#index_u"><span>u</span></a></li> + <li><a href="functions_func_0x77.html#index_w"><span>w</span></a></li> + <li><a href="functions_func_0x7e.html#index_~"><span>~</span></a></li> + </ul> +</div> + +<p> + +<p> +<h3><a class="anchor" name="index_k">- k -</a></h3><ul> +<li>KeyDerivation() +: <a class="el" href="classKeyDerivation.html#07c3735d1b2e1285b6c427a2706ebc67">KeyDerivation</a> +</ul> +<hr size="1"><address style="align: right;"><small>Generated on Sun Oct 7 23:43:49 2007 for anytun by +<a href="http://www.doxygen.org/index.html"> +<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address> +</body> +</html> diff --git a/doc/html/functions_func_0x6c.html b/doc/html/functions_func_0x6c.html new file mode 100644 index 0000000..7a49dbd --- /dev/null +++ b/doc/html/functions_func_0x6c.html @@ -0,0 +1,76 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> +<title>anytun: Class Members - Functions</title> +<link href="doxygen.css" rel="stylesheet" type="text/css"> +<link href="tabs.css" rel="stylesheet" type="text/css"> +</head><body> +<!-- Generated by Doxygen 1.5.1 --> +<div class="tabs"> + <ul> + <li><a href="main.html"><span>Main Page</span></a></li> + <li><a href="namespaces.html"><span>Namespaces</span></a></li> + <li id="current"><a href="annotated.html"><span>Classes</span></a></li> + <li><a href="files.html"><span>Files</span></a></li> + </ul></div> +<div class="tabs"> + <ul> + <li><a href="annotated.html"><span>Class List</span></a></li> + <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> + <li id="current"><a href="functions.html"><span>Class Members</span></a></li> + </ul></div> +<div class="tabs"> + <ul> + <li><a href="functions.html"><span>All</span></a></li> + <li id="current"><a href="functions_func.html"><span>Functions</span></a></li> + <li><a href="functions_vars.html"><span>Variables</span></a></li> + <li><a href="functions_type.html"><span>Typedefs</span></a></li> + <li><a href="functions_rela.html"><span>Related Functions</span></a></li> + </ul> +</div> +<div class="tabs"> + <ul> + <li><a href="functions_func.html#index_a"><span>a</span></a></li> + <li><a href="functions_func_0x62.html#index_b"><span>b</span></a></li> + <li><a href="functions_func_0x63.html#index_c"><span>c</span></a></li> + <li><a href="functions_func_0x64.html#index_d"><span>d</span></a></li> + <li><a href="functions_func_0x65.html#index_e"><span>e</span></a></li> + <li><a href="functions_func_0x67.html#index_g"><span>g</span></a></li> + <li><a href="functions_func_0x68.html#index_h"><span>h</span></a></li> + <li><a href="functions_func_0x69.html#index_i"><span>i</span></a></li> + <li><a href="functions_func_0x6a.html#index_j"><span>j</span></a></li> + <li><a href="functions_func_0x6b.html#index_k"><span>k</span></a></li> + <li id="current"><a href="functions_func_0x6c.html#index_l"><span>l</span></a></li> + <li><a href="functions_func_0x6d.html#index_m"><span>m</span></a></li> + <li><a href="functions_func_0x6f.html#index_o"><span>o</span></a></li> + <li><a href="functions_func_0x70.html#index_p"><span>p</span></a></li> + <li><a href="functions_func_0x72.html#index_r"><span>r</span></a></li> + <li><a href="functions_func_0x73.html#index_s"><span>s</span></a></li> + <li><a href="functions_func_0x74.html#index_t"><span>t</span></a></li> + <li><a href="functions_func_0x75.html#index_u"><span>u</span></a></li> + <li><a href="functions_func_0x77.html#index_w"><span>w</span></a></li> + <li><a href="functions_func_0x7e.html#index_~"><span>~</span></a></li> + </ul> +</div> + +<p> + +<p> +<h3><a class="anchor" name="index_l">- l -</a></h3><ul> +<li>leaveGroup() +: <a class="el" href="classUDPSocket.html#78835eaeca8a5ac039b4579c795e3640">UDPSocket</a> +<li>leftByteShift() +: <a class="el" href="classBuffer.html#13200a4925b1b3c08f99e09ccb6854a1">Buffer</a> +<li>Lock() +: <a class="el" href="classLock.html#2c786576eddddb484a6a02a7dea52904">Lock</a> +<li>lock() +: <a class="el" href="classMutex.html#d91be808bf0a60a16f10b897ec246d3a">Mutex</a> +<li>Log() +: <a class="el" href="classLog.html#756aec21ec377fbc703f787e7f5fb832">Log</a> +<li>LogStringBuilder() +: <a class="el" href="classLogStringBuilder.html#a9393394f93ca644c8a851fb8fe04e24">LogStringBuilder</a> +</ul> +<hr size="1"><address style="align: right;"><small>Generated on Sun Oct 7 23:43:49 2007 for anytun by +<a href="http://www.doxygen.org/index.html"> +<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address> +</body> +</html> diff --git a/doc/html/functions_func_0x6d.html b/doc/html/functions_func_0x6d.html new file mode 100644 index 0000000..3dd680b --- /dev/null +++ b/doc/html/functions_func_0x6d.html @@ -0,0 +1,68 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> +<title>anytun: Class Members - Functions</title> +<link href="doxygen.css" rel="stylesheet" type="text/css"> +<link href="tabs.css" rel="stylesheet" type="text/css"> +</head><body> +<!-- Generated by Doxygen 1.5.1 --> +<div class="tabs"> + <ul> + <li><a href="main.html"><span>Main Page</span></a></li> + <li><a href="namespaces.html"><span>Namespaces</span></a></li> + <li id="current"><a href="annotated.html"><span>Classes</span></a></li> + <li><a href="files.html"><span>Files</span></a></li> + </ul></div> +<div class="tabs"> + <ul> + <li><a href="annotated.html"><span>Class List</span></a></li> + <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> + <li id="current"><a href="functions.html"><span>Class Members</span></a></li> + </ul></div> +<div class="tabs"> + <ul> + <li><a href="functions.html"><span>All</span></a></li> + <li id="current"><a href="functions_func.html"><span>Functions</span></a></li> + <li><a href="functions_vars.html"><span>Variables</span></a></li> + <li><a href="functions_type.html"><span>Typedefs</span></a></li> + <li><a href="functions_rela.html"><span>Related Functions</span></a></li> + </ul> +</div> +<div class="tabs"> + <ul> + <li><a href="functions_func.html#index_a"><span>a</span></a></li> + <li><a href="functions_func_0x62.html#index_b"><span>b</span></a></li> + <li><a href="functions_func_0x63.html#index_c"><span>c</span></a></li> + <li><a href="functions_func_0x64.html#index_d"><span>d</span></a></li> + <li><a href="functions_func_0x65.html#index_e"><span>e</span></a></li> + <li><a href="functions_func_0x67.html#index_g"><span>g</span></a></li> + <li><a href="functions_func_0x68.html#index_h"><span>h</span></a></li> + <li><a href="functions_func_0x69.html#index_i"><span>i</span></a></li> + <li><a href="functions_func_0x6a.html#index_j"><span>j</span></a></li> + <li><a href="functions_func_0x6b.html#index_k"><span>k</span></a></li> + <li><a href="functions_func_0x6c.html#index_l"><span>l</span></a></li> + <li id="current"><a href="functions_func_0x6d.html#index_m"><span>m</span></a></li> + <li><a href="functions_func_0x6f.html#index_o"><span>o</span></a></li> + <li><a href="functions_func_0x70.html#index_p"><span>p</span></a></li> + <li><a href="functions_func_0x72.html#index_r"><span>r</span></a></li> + <li><a href="functions_func_0x73.html#index_s"><span>s</span></a></li> + <li><a href="functions_func_0x74.html#index_t"><span>t</span></a></li> + <li><a href="functions_func_0x75.html#index_u"><span>u</span></a></li> + <li><a href="functions_func_0x77.html#index_w"><span>w</span></a></li> + <li><a href="functions_func_0x7e.html#index_~"><span>~</span></a></li> + </ul> +</div> + +<p> + +<p> +<h3><a class="anchor" name="index_m">- m -</a></h3><ul> +<li>msg() +: <a class="el" href="classLog.html#7077dc047eb915d2fae46e36f5040f85">Log</a> +<li>Mutex() +: <a class="el" href="classMutex.html#7f1ad3a125c7a02b2ca338240bd1d978">Mutex</a> +</ul> +<hr size="1"><address style="align: right;"><small>Generated on Sun Oct 7 23:43:49 2007 for anytun by +<a href="http://www.doxygen.org/index.html"> +<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address> +</body> +</html> diff --git a/doc/html/functions_func_0x6f.html b/doc/html/functions_func_0x6f.html new file mode 100644 index 0000000..135dfdd --- /dev/null +++ b/doc/html/functions_func_0x6f.html @@ -0,0 +1,86 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> +<title>anytun: Class Members - Functions</title> +<link href="doxygen.css" rel="stylesheet" type="text/css"> +<link href="tabs.css" rel="stylesheet" type="text/css"> +</head><body> +<!-- Generated by Doxygen 1.5.1 --> +<div class="tabs"> + <ul> + <li><a href="main.html"><span>Main Page</span></a></li> + <li><a href="namespaces.html"><span>Namespaces</span></a></li> + <li id="current"><a href="annotated.html"><span>Classes</span></a></li> + <li><a href="files.html"><span>Files</span></a></li> + </ul></div> +<div class="tabs"> + <ul> + <li><a href="annotated.html"><span>Class List</span></a></li> + <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> + <li id="current"><a href="functions.html"><span>Class Members</span></a></li> + </ul></div> +<div class="tabs"> + <ul> + <li><a href="functions.html"><span>All</span></a></li> + <li id="current"><a href="functions_func.html"><span>Functions</span></a></li> + <li><a href="functions_vars.html"><span>Variables</span></a></li> + <li><a href="functions_type.html"><span>Typedefs</span></a></li> + <li><a href="functions_rela.html"><span>Related Functions</span></a></li> + </ul> +</div> +<div class="tabs"> + <ul> + <li><a href="functions_func.html#index_a"><span>a</span></a></li> + <li><a href="functions_func_0x62.html#index_b"><span>b</span></a></li> + <li><a href="functions_func_0x63.html#index_c"><span>c</span></a></li> + <li><a href="functions_func_0x64.html#index_d"><span>d</span></a></li> + <li><a href="functions_func_0x65.html#index_e"><span>e</span></a></li> + <li><a href="functions_func_0x67.html#index_g"><span>g</span></a></li> + <li><a href="functions_func_0x68.html#index_h"><span>h</span></a></li> + <li><a href="functions_func_0x69.html#index_i"><span>i</span></a></li> + <li><a href="functions_func_0x6a.html#index_j"><span>j</span></a></li> + <li><a href="functions_func_0x6b.html#index_k"><span>k</span></a></li> + <li><a href="functions_func_0x6c.html#index_l"><span>l</span></a></li> + <li><a href="functions_func_0x6d.html#index_m"><span>m</span></a></li> + <li id="current"><a href="functions_func_0x6f.html#index_o"><span>o</span></a></li> + <li><a href="functions_func_0x70.html#index_p"><span>p</span></a></li> + <li><a href="functions_func_0x72.html#index_r"><span>r</span></a></li> + <li><a href="functions_func_0x73.html#index_s"><span>s</span></a></li> + <li><a href="functions_func_0x74.html#index_t"><span>t</span></a></li> + <li><a href="functions_func_0x75.html#index_u"><span>u</span></a></li> + <li><a href="functions_func_0x77.html#index_w"><span>w</span></a></li> + <li><a href="functions_func_0x7e.html#index_~"><span>~</span></a></li> + </ul> +</div> + +<p> + +<p> +<h3><a class="anchor" name="index_o">- o -</a></h3><ul> +<li>open() +: <a class="el" href="classLog.html#f91976ebadd955414799131cb442d24c">Log</a> +, <a class="el" href="classTunDevice.html#323ddcfd4ac60d0dbfe6ebb5bbb9a323">TunDevice</a> +<li>operator u_int8_t *() +: <a class="el" href="classBuffer.html#dcf367d5f1b7fced7aa61bb919af7943">Buffer</a> +<li>operator<<() +: <a class="el" href="classLogStringBuilder.html#9b4f26f5e64aacc172c0818073117e42">LogStringBuilder</a> +<li>operator=() +: <a class="el" href="classLog.html#076b147c2bc9b2167074e9bc51a24af7">Log</a> +, <a class="el" href="classBuffer.html#14cec0d3bf4f3f1a4a9930a8c53eb43a">Buffer</a> +, <a class="el" href="classSeqWindow.html#37887e66297163fe301c77f2977a2a2b">SeqWindow</a> +, <a class="el" href="classTunDevice.html#de33e9a7a951b43f2f7e24d8fe9c311e">TunDevice</a> +, <a class="el" href="classSocket.html#1ef8f4c222c32756c8b1537323702df8">Socket</a> +, <a class="el" href="classSignalController.html#7bfe78f3e8c5d40ddd51c313d30cf6a2">SignalController</a> +, <a class="el" href="classLock.html#6beb534a89b213d70e4b3bb9b3cde217">Lock</a> +, <a class="el" href="classMutex.html#030a11400d00ef97813c6b232a5e3f43">Mutex</a> +<li>operator[]() +: <a class="el" href="classBuffer.html#e5a9559862374ebd9dfcfc1204890497">Buffer</a> +<li>operator^() +: <a class="el" href="classBuffer.html#d56159a415541fcff34ef8aed1eb7183">Buffer</a> +<li>Options() +: <a class="el" href="classOptions.html#b72fb640172a6109e34c8a5366563753">Options</a> +</ul> +<hr size="1"><address style="align: right;"><small>Generated on Sun Oct 7 23:43:49 2007 for anytun by +<a href="http://www.doxygen.org/index.html"> +<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address> +</body> +</html> diff --git a/doc/html/functions_func_0x70.html b/doc/html/functions_func_0x70.html new file mode 100644 index 0000000..acba6e1 --- /dev/null +++ b/doc/html/functions_func_0x70.html @@ -0,0 +1,74 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> +<title>anytun: Class Members - Functions</title> +<link href="doxygen.css" rel="stylesheet" type="text/css"> +<link href="tabs.css" rel="stylesheet" type="text/css"> +</head><body> +<!-- Generated by Doxygen 1.5.1 --> +<div class="tabs"> + <ul> + <li><a href="main.html"><span>Main Page</span></a></li> + <li><a href="namespaces.html"><span>Namespaces</span></a></li> + <li id="current"><a href="annotated.html"><span>Classes</span></a></li> + <li><a href="files.html"><span>Files</span></a></li> + </ul></div> +<div class="tabs"> + <ul> + <li><a href="annotated.html"><span>Class List</span></a></li> + <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> + <li id="current"><a href="functions.html"><span>Class Members</span></a></li> + </ul></div> +<div class="tabs"> + <ul> + <li><a href="functions.html"><span>All</span></a></li> + <li id="current"><a href="functions_func.html"><span>Functions</span></a></li> + <li><a href="functions_vars.html"><span>Variables</span></a></li> + <li><a href="functions_type.html"><span>Typedefs</span></a></li> + <li><a href="functions_rela.html"><span>Related Functions</span></a></li> + </ul> +</div> +<div class="tabs"> + <ul> + <li><a href="functions_func.html#index_a"><span>a</span></a></li> + <li><a href="functions_func_0x62.html#index_b"><span>b</span></a></li> + <li><a href="functions_func_0x63.html#index_c"><span>c</span></a></li> + <li><a href="functions_func_0x64.html#index_d"><span>d</span></a></li> + <li><a href="functions_func_0x65.html#index_e"><span>e</span></a></li> + <li><a href="functions_func_0x67.html#index_g"><span>g</span></a></li> + <li><a href="functions_func_0x68.html#index_h"><span>h</span></a></li> + <li><a href="functions_func_0x69.html#index_i"><span>i</span></a></li> + <li><a href="functions_func_0x6a.html#index_j"><span>j</span></a></li> + <li><a href="functions_func_0x6b.html#index_k"><span>k</span></a></li> + <li><a href="functions_func_0x6c.html#index_l"><span>l</span></a></li> + <li><a href="functions_func_0x6d.html#index_m"><span>m</span></a></li> + <li><a href="functions_func_0x6f.html#index_o"><span>o</span></a></li> + <li id="current"><a href="functions_func_0x70.html#index_p"><span>p</span></a></li> + <li><a href="functions_func_0x72.html#index_r"><span>r</span></a></li> + <li><a href="functions_func_0x73.html#index_s"><span>s</span></a></li> + <li><a href="functions_func_0x74.html#index_t"><span>t</span></a></li> + <li><a href="functions_func_0x75.html#index_u"><span>u</span></a></li> + <li><a href="functions_func_0x77.html#index_w"><span>w</span></a></li> + <li><a href="functions_func_0x7e.html#index_~"><span>~</span></a></li> + </ul> +</div> + +<p> + +<p> +<h3><a class="anchor" name="index_p">- p -</a></h3><ul> +<li>Packet() +: <a class="el" href="classPacket.html#abcfb963c0d5bc0fa554668f92989622">Packet</a> +<li>parse() +: <a class="el" href="classOptions.html#eef7f9799ffcc31221a54dc9ed3b3e81">Options</a> +<li>printHexDump() +: <a class="el" href="classBuffer.html#13d927c471a7516b37bc9ad8fc1741ce">Buffer</a> +<li>printOptions() +: <a class="el" href="classOptions.html#cac40a32d05b48e49595d8d19cf8af47">Options</a> +<li>printUsage() +: <a class="el" href="classOptions.html#5a64af47966f3c0a54a8c3a3385065e3">Options</a> +</ul> +<hr size="1"><address style="align: right;"><small>Generated on Sun Oct 7 23:43:49 2007 for anytun by +<a href="http://www.doxygen.org/index.html"> +<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address> +</body> +</html> diff --git a/doc/html/functions_func_0x72.html b/doc/html/functions_func_0x72.html new file mode 100644 index 0000000..30ed054 --- /dev/null +++ b/doc/html/functions_func_0x72.html @@ -0,0 +1,88 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> +<title>anytun: Class Members - Functions</title> +<link href="doxygen.css" rel="stylesheet" type="text/css"> +<link href="tabs.css" rel="stylesheet" type="text/css"> +</head><body> +<!-- Generated by Doxygen 1.5.1 --> +<div class="tabs"> + <ul> + <li><a href="main.html"><span>Main Page</span></a></li> + <li><a href="namespaces.html"><span>Namespaces</span></a></li> + <li id="current"><a href="annotated.html"><span>Classes</span></a></li> + <li><a href="files.html"><span>Files</span></a></li> + </ul></div> +<div class="tabs"> + <ul> + <li><a href="annotated.html"><span>Class List</span></a></li> + <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> + <li id="current"><a href="functions.html"><span>Class Members</span></a></li> + </ul></div> +<div class="tabs"> + <ul> + <li><a href="functions.html"><span>All</span></a></li> + <li id="current"><a href="functions_func.html"><span>Functions</span></a></li> + <li><a href="functions_vars.html"><span>Variables</span></a></li> + <li><a href="functions_type.html"><span>Typedefs</span></a></li> + <li><a href="functions_rela.html"><span>Related Functions</span></a></li> + </ul> +</div> +<div class="tabs"> + <ul> + <li><a href="functions_func.html#index_a"><span>a</span></a></li> + <li><a href="functions_func_0x62.html#index_b"><span>b</span></a></li> + <li><a href="functions_func_0x63.html#index_c"><span>c</span></a></li> + <li><a href="functions_func_0x64.html#index_d"><span>d</span></a></li> + <li><a href="functions_func_0x65.html#index_e"><span>e</span></a></li> + <li><a href="functions_func_0x67.html#index_g"><span>g</span></a></li> + <li><a href="functions_func_0x68.html#index_h"><span>h</span></a></li> + <li><a href="functions_func_0x69.html#index_i"><span>i</span></a></li> + <li><a href="functions_func_0x6a.html#index_j"><span>j</span></a></li> + <li><a href="functions_func_0x6b.html#index_k"><span>k</span></a></li> + <li><a href="functions_func_0x6c.html#index_l"><span>l</span></a></li> + <li><a href="functions_func_0x6d.html#index_m"><span>m</span></a></li> + <li><a href="functions_func_0x6f.html#index_o"><span>o</span></a></li> + <li><a href="functions_func_0x70.html#index_p"><span>p</span></a></li> + <li id="current"><a href="functions_func_0x72.html#index_r"><span>r</span></a></li> + <li><a href="functions_func_0x73.html#index_s"><span>s</span></a></li> + <li><a href="functions_func_0x74.html#index_t"><span>t</span></a></li> + <li><a href="functions_func_0x75.html#index_u"><span>u</span></a></li> + <li><a href="functions_func_0x77.html#index_w"><span>w</span></a></li> + <li><a href="functions_func_0x7e.html#index_~"><span>~</span></a></li> + </ul> +</div> + +<p> + +<p> +<h3><a class="anchor" name="index_r">- r -</a></h3><ul> +<li>read() +: <a class="el" href="classTunDevice.html#553498887edc92f7b7e31e3bf04fb8fb">TunDevice</a> +<li>recv() +: <a class="el" href="classUDPPacketSource.html#a1f7daded0f9ead5599160bae9317eb8">UDPPacketSource</a> +, <a class="el" href="classCommunicatingSocket.html#7cf1fd470c0060171b68df9f68c7bd01">CommunicatingSocket</a> +, <a class="el" href="classPacketSource.html#95901be715656540a7273c6c0dc1234e">PacketSource</a> +<li>recvFrom() +: <a class="el" href="classUDPSocket.html#bcd5c064e2496bd8b1888fd4e1b68949">UDPSocket</a> +<li>removeAuthTag() +: <a class="el" href="classPacket.html#3e3dfca708baf59791f0608b8a57924c">Packet</a> +<li>removeHeader() +: <a class="el" href="classPacket.html#24c2a41630d79411086d952c8f732c8c">Packet</a> +<li>removePayloadType() +: <a class="el" href="classPacket.html#6433e4d5eef9216f4e70b338cb4d2e4d">Packet</a> +<li>resizeBack() +: <a class="el" href="classBuffer.html#5698b2d64238f1f38578dc8e9e2b1bc9">Buffer</a> +<li>resizeFront() +: <a class="el" href="classBuffer.html#fe4b10487b4930e0407bdf61857629d6">Buffer</a> +<li>resolveService() +: <a class="el" href="classSocket.html#982c63b25c5b756321a74074a275adbc">Socket</a> +<li>rightByteShift() +: <a class="el" href="classBuffer.html#298949899f3f78e4a8b3df7fa5ec532d">Buffer</a> +<li>run() +: <a class="el" href="classSignalController.html#0f7657b70cb2e8457539d9f844a93619">SignalController</a> +</ul> +<hr size="1"><address style="align: right;"><small>Generated on Sun Oct 7 23:43:49 2007 for anytun by +<a href="http://www.doxygen.org/index.html"> +<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address> +</body> +</html> diff --git a/doc/html/functions_func_0x73.html b/doc/html/functions_func_0x73.html new file mode 100644 index 0000000..48b0410 --- /dev/null +++ b/doc/html/functions_func_0x73.html @@ -0,0 +1,148 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> +<title>anytun: Class Members - Functions</title> +<link href="doxygen.css" rel="stylesheet" type="text/css"> +<link href="tabs.css" rel="stylesheet" type="text/css"> +</head><body> +<!-- Generated by Doxygen 1.5.1 --> +<div class="tabs"> + <ul> + <li><a href="main.html"><span>Main Page</span></a></li> + <li><a href="namespaces.html"><span>Namespaces</span></a></li> + <li id="current"><a href="annotated.html"><span>Classes</span></a></li> + <li><a href="files.html"><span>Files</span></a></li> + </ul></div> +<div class="tabs"> + <ul> + <li><a href="annotated.html"><span>Class List</span></a></li> + <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> + <li id="current"><a href="functions.html"><span>Class Members</span></a></li> + </ul></div> +<div class="tabs"> + <ul> + <li><a href="functions.html"><span>All</span></a></li> + <li id="current"><a href="functions_func.html"><span>Functions</span></a></li> + <li><a href="functions_vars.html"><span>Variables</span></a></li> + <li><a href="functions_type.html"><span>Typedefs</span></a></li> + <li><a href="functions_rela.html"><span>Related Functions</span></a></li> + </ul> +</div> +<div class="tabs"> + <ul> + <li><a href="functions_func.html#index_a"><span>a</span></a></li> + <li><a href="functions_func_0x62.html#index_b"><span>b</span></a></li> + <li><a href="functions_func_0x63.html#index_c"><span>c</span></a></li> + <li><a href="functions_func_0x64.html#index_d"><span>d</span></a></li> + <li><a href="functions_func_0x65.html#index_e"><span>e</span></a></li> + <li><a href="functions_func_0x67.html#index_g"><span>g</span></a></li> + <li><a href="functions_func_0x68.html#index_h"><span>h</span></a></li> + <li><a href="functions_func_0x69.html#index_i"><span>i</span></a></li> + <li><a href="functions_func_0x6a.html#index_j"><span>j</span></a></li> + <li><a href="functions_func_0x6b.html#index_k"><span>k</span></a></li> + <li><a href="functions_func_0x6c.html#index_l"><span>l</span></a></li> + <li><a href="functions_func_0x6d.html#index_m"><span>m</span></a></li> + <li><a href="functions_func_0x6f.html#index_o"><span>o</span></a></li> + <li><a href="functions_func_0x70.html#index_p"><span>p</span></a></li> + <li><a href="functions_func_0x72.html#index_r"><span>r</span></a></li> + <li id="current"><a href="functions_func_0x73.html#index_s"><span>s</span></a></li> + <li><a href="functions_func_0x74.html#index_t"><span>t</span></a></li> + <li><a href="functions_func_0x75.html#index_u"><span>u</span></a></li> + <li><a href="functions_func_0x77.html#index_w"><span>w</span></a></li> + <li><a href="functions_func_0x7e.html#index_~"><span>~</span></a></li> + </ul> +</div> + +<p> + +<p> +<h3><a class="anchor" name="index_s">- s -</a></h3><ul> +<li>Semaphore() +: <a class="el" href="classSemaphore.html#570698c680a467b9b0a708635149d54a">Semaphore</a> +<li>send() +: <a class="el" href="classCommunicatingSocket.html#ca4e86085c064641e86ae24ea29bbb94">CommunicatingSocket</a> +, <a class="el" href="classPacketSource.html#ffc5eb2c89d1395443432c3cc6b7898b">PacketSource</a> +, <a class="el" href="classUDPPacketSource.html#376a3b0c861aeb7561e8a9f6866292b9">UDPPacketSource</a> +<li>sendTo() +: <a class="el" href="classUDPSocket.html#41a3595e226f273953cbd38618af5d5b">UDPSocket</a> +<li>SeqWindow() +: <a class="el" href="classSeqWindow.html#8d513ab9ef2984ea93dad7e4026185c8">SeqWindow</a> +<li>setAuthAlgo() +: <a class="el" href="classOptions.html#c093c83be9a50c1dfd5170ff14b647c5">Options</a> +<li>setBroadcast() +: <a class="el" href="classUDPSocket.html#316f08a017aa160643812f3c08734d27">UDPSocket</a> +<li>setCypher() +: <a class="el" href="classOptions.html#b3218cd91b41551042595b5216766c00">Options</a> +<li>setDevName() +: <a class="el" href="classOptions.html#8217facd595355be2b4f1130179e3746">Options</a> +<li>setDevType() +: <a class="el" href="classOptions.html#d2a4cc3b2ecabba72396648a7a07cc29">Options</a> +<li>setFacility() +: <a class="el" href="classLog.html#828e15ec0e9108b9fc43d74da77a902c">Log</a> +<li>setIfconfigParamLocal() +: <a class="el" href="classOptions.html#93e1367e5db67df81d2afac1ee5c6c73">Options</a> +<li>setIfconfigParamRemoteNetmask() +: <a class="el" href="classOptions.html#d0760cecce7395f5022b921642674326">Options</a> +<li>setKey() +: <a class="el" href="classCypher.html#7320b82d14391ab7d25271aa5114e190">Cypher</a> +, <a class="el" href="classAesIcmCypher.html#605a38676ef12ad0b69628c5d53ef007">AesIcmCypher</a> +<li>setListen() +: <a class="el" href="classTCPServerSocket.html#1f39a2e6721ab62d8875a234eb300bab">TCPServerSocket</a> +<li>setLocalAddr() +: <a class="el" href="classOptions.html#bf7ebb3ee98c6d31dd5c5b0732188de5">Options</a> +<li>setLocalAddressAndPort() +: <a class="el" href="classSocket.html#a6b986410bc2e606ba27d01fa7cb8836">Socket</a> +<li>setLocalPort() +: <a class="el" href="classOptions.html#a4b5b364bf2880fcbcd3fe059ccde7eb">Options</a> +, <a class="el" href="classSocket.html#773fe4a35146002de76952e16fdebcfa">Socket</a> +<li>setLogKDRate() +: <a class="el" href="classKeyDerivation.html#1c6d7a055b6b5b88076e15218f936663">KeyDerivation</a> +<li>setLogName() +: <a class="el" href="classLog.html#f8cf0541a8284aabd5fe924a9cd2eab8">Log</a> +<li>setMulticastTTL() +: <a class="el" href="classUDPSocket.html#4dcfff33b45d1b84b5a602fc6f4a27f8">UDPSocket</a> +<li>setProgname() +: <a class="el" href="classOptions.html#1267ce6d4b43ab9c0f8827c434b33b1b">Options</a> +<li>setRemoteAddr() +: <a class="el" href="classOptions.html#d0848af5b5e029a4ea14fe6fb82d3f46">Options</a> +<li>setRemoteAddrPort() +: <a class="el" href="classOptions.html#79249268d3b284f9e254f874cedeef41">Options</a> +<li>setRemotePort() +: <a class="el" href="classOptions.html#cbd3e9a4e230c2537d86127a092efd40">Options</a> +<li>setSalt() +: <a class="el" href="classAesIcmCypher.html#6741487a9d6dfe3ae76bb168ed711259">AesIcmCypher</a> +, <a class="el" href="classCypher.html#2546ef49e5ce8abe8062186d5f6b2ef8">Cypher</a> +<li>setSenderId() +: <a class="el" href="classOptions.html#d10f65b29130c7e31a332e22f77650b0">Options</a> +, <a class="el" href="classPacket.html#01c7b848ec415740565c87b374085bdc">Packet</a> +<li>setSeqNr() +: <a class="el" href="classPacket.html#1b89ed1be19d6b9c1a12e0f6b1ae8ed2">Packet</a> +<li>setSeqWindowSize() +: <a class="el" href="classOptions.html#077dda754c64b01d6736aa4f7862ce6b">Options</a> +<li>SigHupHandler() +: <a class="el" href="classSigHupHandler.html#a1ee03b63ca11d8b5aae82fae1f2d6a3">SigHupHandler</a> +<li>SigIntHandler() +: <a class="el" href="classSigIntHandler.html#ac25b5ac048a76d4c0c26d5ad4c4273d">SigIntHandler</a> +<li>signal() +: <a class="el" href="classCondition.html#974c8fd419e6014028dc4147cc49ce56">Condition</a> +<li>SignalController() +: <a class="el" href="classSignalController.html#31af143ea1219cd000abe91aeccc84bc">SignalController</a> +<li>SignalHandler() +: <a class="el" href="classSignalHandler.html#8f920534650e9cd3cdfbe3c3f8409b4d">SignalHandler</a> +<li>SigQuitHandler() +: <a class="el" href="classSigQuitHandler.html#45885e5ddfa14f9bfc13c72de425e1c6">SigQuitHandler</a> +<li>SigTermHandler() +: <a class="el" href="classSigTermHandler.html#8f6c3da13e1ec7fc8ef122bd0db457e4">SigTermHandler</a> +<li>SigUsr1Handler() +: <a class="el" href="classSigUsr1Handler.html#aabaa57b0f2bb331a85f95cf90dd121d">SigUsr1Handler</a> +<li>SigUsr2Handler() +: <a class="el" href="classSigUsr2Handler.html#30478acdc28555b412d80f1419af622a">SigUsr2Handler</a> +<li>Socket() +: <a class="el" href="classSocket.html#6a2609eef6559336a595a336f138d395">Socket</a> +<li>SocketException() +: <a class="el" href="classSocketException.html#bb5bcecd9d9e20868c237ec5a82cf5c3">SocketException</a> +</ul> +<hr size="1"><address style="align: right;"><small>Generated on Sun Oct 7 23:43:49 2007 for anytun by +<a href="http://www.doxygen.org/index.html"> +<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address> +</body> +</html> diff --git a/doc/html/functions_func_0x74.html b/doc/html/functions_func_0x74.html new file mode 100644 index 0000000..bb82ff7 --- /dev/null +++ b/doc/html/functions_func_0x74.html @@ -0,0 +1,70 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> +<title>anytun: Class Members - Functions</title> +<link href="doxygen.css" rel="stylesheet" type="text/css"> +<link href="tabs.css" rel="stylesheet" type="text/css"> +</head><body> +<!-- Generated by Doxygen 1.5.1 --> +<div class="tabs"> + <ul> + <li><a href="main.html"><span>Main Page</span></a></li> + <li><a href="namespaces.html"><span>Namespaces</span></a></li> + <li id="current"><a href="annotated.html"><span>Classes</span></a></li> + <li><a href="files.html"><span>Files</span></a></li> + </ul></div> +<div class="tabs"> + <ul> + <li><a href="annotated.html"><span>Class List</span></a></li> + <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> + <li id="current"><a href="functions.html"><span>Class Members</span></a></li> + </ul></div> +<div class="tabs"> + <ul> + <li><a href="functions.html"><span>All</span></a></li> + <li id="current"><a href="functions_func.html"><span>Functions</span></a></li> + <li><a href="functions_vars.html"><span>Variables</span></a></li> + <li><a href="functions_type.html"><span>Typedefs</span></a></li> + <li><a href="functions_rela.html"><span>Related Functions</span></a></li> + </ul> +</div> +<div class="tabs"> + <ul> + <li><a href="functions_func.html#index_a"><span>a</span></a></li> + <li><a href="functions_func_0x62.html#index_b"><span>b</span></a></li> + <li><a href="functions_func_0x63.html#index_c"><span>c</span></a></li> + <li><a href="functions_func_0x64.html#index_d"><span>d</span></a></li> + <li><a href="functions_func_0x65.html#index_e"><span>e</span></a></li> + <li><a href="functions_func_0x67.html#index_g"><span>g</span></a></li> + <li><a href="functions_func_0x68.html#index_h"><span>h</span></a></li> + <li><a href="functions_func_0x69.html#index_i"><span>i</span></a></li> + <li><a href="functions_func_0x6a.html#index_j"><span>j</span></a></li> + <li><a href="functions_func_0x6b.html#index_k"><span>k</span></a></li> + <li><a href="functions_func_0x6c.html#index_l"><span>l</span></a></li> + <li><a href="functions_func_0x6d.html#index_m"><span>m</span></a></li> + <li><a href="functions_func_0x6f.html#index_o"><span>o</span></a></li> + <li><a href="functions_func_0x70.html#index_p"><span>p</span></a></li> + <li><a href="functions_func_0x72.html#index_r"><span>r</span></a></li> + <li><a href="functions_func_0x73.html#index_s"><span>s</span></a></li> + <li id="current"><a href="functions_func_0x74.html#index_t"><span>t</span></a></li> + <li><a href="functions_func_0x75.html#index_u"><span>u</span></a></li> + <li><a href="functions_func_0x77.html#index_w"><span>w</span></a></li> + <li><a href="functions_func_0x7e.html#index_~"><span>~</span></a></li> + </ul> +</div> + +<p> + +<p> +<h3><a class="anchor" name="index_t">- t -</a></h3><ul> +<li>TCPServerSocket() +: <a class="el" href="classTCPServerSocket.html#e559a3154527d09fe14a8e5ee1f53d7a">TCPServerSocket</a> +<li>TCPSocket() +: <a class="el" href="classTCPSocket.html#7b246b66f6dc3246ab2777b771e5f917">TCPSocket</a> +<li>TunDevice() +: <a class="el" href="classTunDevice.html#4587b54228b4240334ad4614211df394">TunDevice</a> +</ul> +<hr size="1"><address style="align: right;"><small>Generated on Sun Oct 7 23:43:49 2007 for anytun by +<a href="http://www.doxygen.org/index.html"> +<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address> +</body> +</html> diff --git a/doc/html/functions_func_0x75.html b/doc/html/functions_func_0x75.html new file mode 100644 index 0000000..8a1b881 --- /dev/null +++ b/doc/html/functions_func_0x75.html @@ -0,0 +1,72 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> +<title>anytun: Class Members - Functions</title> +<link href="doxygen.css" rel="stylesheet" type="text/css"> +<link href="tabs.css" rel="stylesheet" type="text/css"> +</head><body> +<!-- Generated by Doxygen 1.5.1 --> +<div class="tabs"> + <ul> + <li><a href="main.html"><span>Main Page</span></a></li> + <li><a href="namespaces.html"><span>Namespaces</span></a></li> + <li id="current"><a href="annotated.html"><span>Classes</span></a></li> + <li><a href="files.html"><span>Files</span></a></li> + </ul></div> +<div class="tabs"> + <ul> + <li><a href="annotated.html"><span>Class List</span></a></li> + <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> + <li id="current"><a href="functions.html"><span>Class Members</span></a></li> + </ul></div> +<div class="tabs"> + <ul> + <li><a href="functions.html"><span>All</span></a></li> + <li id="current"><a href="functions_func.html"><span>Functions</span></a></li> + <li><a href="functions_vars.html"><span>Variables</span></a></li> + <li><a href="functions_type.html"><span>Typedefs</span></a></li> + <li><a href="functions_rela.html"><span>Related Functions</span></a></li> + </ul> +</div> +<div class="tabs"> + <ul> + <li><a href="functions_func.html#index_a"><span>a</span></a></li> + <li><a href="functions_func_0x62.html#index_b"><span>b</span></a></li> + <li><a href="functions_func_0x63.html#index_c"><span>c</span></a></li> + <li><a href="functions_func_0x64.html#index_d"><span>d</span></a></li> + <li><a href="functions_func_0x65.html#index_e"><span>e</span></a></li> + <li><a href="functions_func_0x67.html#index_g"><span>g</span></a></li> + <li><a href="functions_func_0x68.html#index_h"><span>h</span></a></li> + <li><a href="functions_func_0x69.html#index_i"><span>i</span></a></li> + <li><a href="functions_func_0x6a.html#index_j"><span>j</span></a></li> + <li><a href="functions_func_0x6b.html#index_k"><span>k</span></a></li> + <li><a href="functions_func_0x6c.html#index_l"><span>l</span></a></li> + <li><a href="functions_func_0x6d.html#index_m"><span>m</span></a></li> + <li><a href="functions_func_0x6f.html#index_o"><span>o</span></a></li> + <li><a href="functions_func_0x70.html#index_p"><span>p</span></a></li> + <li><a href="functions_func_0x72.html#index_r"><span>r</span></a></li> + <li><a href="functions_func_0x73.html#index_s"><span>s</span></a></li> + <li><a href="functions_func_0x74.html#index_t"><span>t</span></a></li> + <li id="current"><a href="functions_func_0x75.html#index_u"><span>u</span></a></li> + <li><a href="functions_func_0x77.html#index_w"><span>w</span></a></li> + <li><a href="functions_func_0x7e.html#index_~"><span>~</span></a></li> + </ul> +</div> + +<p> + +<p> +<h3><a class="anchor" name="index_u">- u -</a></h3><ul> +<li>UDPPacketSource() +: <a class="el" href="classUDPPacketSource.html#1dda248d4d7b03cb8301557271abc40e">UDPPacketSource</a> +<li>UDPSocket() +: <a class="el" href="classUDPSocket.html#4f86f3023f5a08f6355802599a10e100">UDPSocket</a> +<li>unlock() +: <a class="el" href="classMutex.html#546a5b797ba29959357586aa2b3740a8">Mutex</a> +<li>up() +: <a class="el" href="classSemaphore.html#15fb190263808234fc2562f39f523082">Semaphore</a> +</ul> +<hr size="1"><address style="align: right;"><small>Generated on Sun Oct 7 23:43:49 2007 for anytun by +<a href="http://www.doxygen.org/index.html"> +<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address> +</body> +</html> diff --git a/doc/html/functions_func_0x77.html b/doc/html/functions_func_0x77.html new file mode 100644 index 0000000..831b9bd --- /dev/null +++ b/doc/html/functions_func_0x77.html @@ -0,0 +1,76 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> +<title>anytun: Class Members - Functions</title> +<link href="doxygen.css" rel="stylesheet" type="text/css"> +<link href="tabs.css" rel="stylesheet" type="text/css"> +</head><body> +<!-- Generated by Doxygen 1.5.1 --> +<div class="tabs"> + <ul> + <li><a href="main.html"><span>Main Page</span></a></li> + <li><a href="namespaces.html"><span>Namespaces</span></a></li> + <li id="current"><a href="annotated.html"><span>Classes</span></a></li> + <li><a href="files.html"><span>Files</span></a></li> + </ul></div> +<div class="tabs"> + <ul> + <li><a href="annotated.html"><span>Class List</span></a></li> + <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> + <li id="current"><a href="functions.html"><span>Class Members</span></a></li> + </ul></div> +<div class="tabs"> + <ul> + <li><a href="functions.html"><span>All</span></a></li> + <li id="current"><a href="functions_func.html"><span>Functions</span></a></li> + <li><a href="functions_vars.html"><span>Variables</span></a></li> + <li><a href="functions_type.html"><span>Typedefs</span></a></li> + <li><a href="functions_rela.html"><span>Related Functions</span></a></li> + </ul> +</div> +<div class="tabs"> + <ul> + <li><a href="functions_func.html#index_a"><span>a</span></a></li> + <li><a href="functions_func_0x62.html#index_b"><span>b</span></a></li> + <li><a href="functions_func_0x63.html#index_c"><span>c</span></a></li> + <li><a href="functions_func_0x64.html#index_d"><span>d</span></a></li> + <li><a href="functions_func_0x65.html#index_e"><span>e</span></a></li> + <li><a href="functions_func_0x67.html#index_g"><span>g</span></a></li> + <li><a href="functions_func_0x68.html#index_h"><span>h</span></a></li> + <li><a href="functions_func_0x69.html#index_i"><span>i</span></a></li> + <li><a href="functions_func_0x6a.html#index_j"><span>j</span></a></li> + <li><a href="functions_func_0x6b.html#index_k"><span>k</span></a></li> + <li><a href="functions_func_0x6c.html#index_l"><span>l</span></a></li> + <li><a href="functions_func_0x6d.html#index_m"><span>m</span></a></li> + <li><a href="functions_func_0x6f.html#index_o"><span>o</span></a></li> + <li><a href="functions_func_0x70.html#index_p"><span>p</span></a></li> + <li><a href="functions_func_0x72.html#index_r"><span>r</span></a></li> + <li><a href="functions_func_0x73.html#index_s"><span>s</span></a></li> + <li><a href="functions_func_0x74.html#index_t"><span>t</span></a></li> + <li><a href="functions_func_0x75.html#index_u"><span>u</span></a></li> + <li id="current"><a href="functions_func_0x77.html#index_w"><span>w</span></a></li> + <li><a href="functions_func_0x7e.html#index_~"><span>~</span></a></li> + </ul> +</div> + +<p> + +<p> +<h3><a class="anchor" name="index_w">- w -</a></h3><ul> +<li>wait() +: <a class="el" href="classCondition.html#0bb9ca22c3c755d0ed8c7483a857567a">Condition</a> +<li>what() +: <a class="el" href="classSocketException.html#534b0625abe62cad2bae94758aa6eb42">SocketException</a> +<li>withAuthTag() +: <a class="el" href="classPacket.html#5c947adee9eef0a662a4dc49d95dbe8e">Packet</a> +<li>withHeader() +: <a class="el" href="classPacket.html#ce9e40180f64d44fe1d8da14ac9e5df2">Packet</a> +<li>withPayloadType() +: <a class="el" href="classPacket.html#c7ecfc05376afd00af89cb328e194a1d">Packet</a> +<li>write() +: <a class="el" href="classTunDevice.html#958bc73a627cc5d404ed87204547134d">TunDevice</a> +</ul> +<hr size="1"><address style="align: right;"><small>Generated on Sun Oct 7 23:43:49 2007 for anytun by +<a href="http://www.doxygen.org/index.html"> +<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address> +</body> +</html> diff --git a/doc/html/functions_func_0x7e.html b/doc/html/functions_func_0x7e.html new file mode 100644 index 0000000..312a881 --- /dev/null +++ b/doc/html/functions_func_0x7e.html @@ -0,0 +1,102 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> +<title>anytun: Class Members - Functions</title> +<link href="doxygen.css" rel="stylesheet" type="text/css"> +<link href="tabs.css" rel="stylesheet" type="text/css"> +</head><body> +<!-- Generated by Doxygen 1.5.1 --> +<div class="tabs"> + <ul> + <li><a href="main.html"><span>Main Page</span></a></li> + <li><a href="namespaces.html"><span>Namespaces</span></a></li> + <li id="current"><a href="annotated.html"><span>Classes</span></a></li> + <li><a href="files.html"><span>Files</span></a></li> + </ul></div> +<div class="tabs"> + <ul> + <li><a href="annotated.html"><span>Class List</span></a></li> + <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> + <li id="current"><a href="functions.html"><span>Class Members</span></a></li> + </ul></div> +<div class="tabs"> + <ul> + <li><a href="functions.html"><span>All</span></a></li> + <li id="current"><a href="functions_func.html"><span>Functions</span></a></li> + <li><a href="functions_vars.html"><span>Variables</span></a></li> + <li><a href="functions_type.html"><span>Typedefs</span></a></li> + <li><a href="functions_rela.html"><span>Related Functions</span></a></li> + </ul> +</div> +<div class="tabs"> + <ul> + <li><a href="functions_func.html#index_a"><span>a</span></a></li> + <li><a href="functions_func_0x62.html#index_b"><span>b</span></a></li> + <li><a href="functions_func_0x63.html#index_c"><span>c</span></a></li> + <li><a href="functions_func_0x64.html#index_d"><span>d</span></a></li> + <li><a href="functions_func_0x65.html#index_e"><span>e</span></a></li> + <li><a href="functions_func_0x67.html#index_g"><span>g</span></a></li> + <li><a href="functions_func_0x68.html#index_h"><span>h</span></a></li> + <li><a href="functions_func_0x69.html#index_i"><span>i</span></a></li> + <li><a href="functions_func_0x6a.html#index_j"><span>j</span></a></li> + <li><a href="functions_func_0x6b.html#index_k"><span>k</span></a></li> + <li><a href="functions_func_0x6c.html#index_l"><span>l</span></a></li> + <li><a href="functions_func_0x6d.html#index_m"><span>m</span></a></li> + <li><a href="functions_func_0x6f.html#index_o"><span>o</span></a></li> + <li><a href="functions_func_0x70.html#index_p"><span>p</span></a></li> + <li><a href="functions_func_0x72.html#index_r"><span>r</span></a></li> + <li><a href="functions_func_0x73.html#index_s"><span>s</span></a></li> + <li><a href="functions_func_0x74.html#index_t"><span>t</span></a></li> + <li><a href="functions_func_0x75.html#index_u"><span>u</span></a></li> + <li><a href="functions_func_0x77.html#index_w"><span>w</span></a></li> + <li id="current"><a href="functions_func_0x7e.html#index_~"><span>~</span></a></li> + </ul> +</div> + +<p> + +<p> +<h3><a class="anchor" name="index_~">- ~ -</a></h3><ul> +<li>~AesIcmCypher() +: <a class="el" href="classAesIcmCypher.html#fdf9ab22374ffdad856f172eefacbd17">AesIcmCypher</a> +<li>~AuthAlgo() +: <a class="el" href="classAuthAlgo.html#e3428186b4e005e879e26c2b8e04fa4a">AuthAlgo</a> +<li>~Buffer() +: <a class="el" href="classBuffer.html#59b8743e4a5f731bdd0c4185c9ef263b">Buffer</a> +<li>~Condition() +: <a class="el" href="classCondition.html#b42f6d2dfb2d0de4bed4ed5032d4a8fc">Condition</a> +<li>~Cypher() +: <a class="el" href="classCypher.html#70c94525f7bacb956cdd940fba7fb4c8">Cypher</a> +<li>~instanceCleaner() +: <a class="el" href="classLog_1_1instanceCleaner.html#5e2dd96e4f58345bd2067cd40fbec865">Log::instanceCleaner</a> +<li>~KeyDerivation() +: <a class="el" href="classKeyDerivation.html#ccce2c32370be2388ca0a977fef1f6cc">KeyDerivation</a> +<li>~Lock() +: <a class="el" href="classLock.html#7ab6d9485c8665bb3643710432882971">Lock</a> +<li>~Log() +: <a class="el" href="classLog.html#0fbfda88fbee5027c89f6eb121059360">Log</a> +<li>~LogStringBuilder() +: <a class="el" href="classLogStringBuilder.html#c63707864e0005008cc4a67d8dec9933">LogStringBuilder</a> +<li>~Mutex() +: <a class="el" href="classMutex.html#c9e9182407f5f74892318607888e9be4">Mutex</a> +<li>~PacketSource() +: <a class="el" href="classPacketSource.html#fdaad665e453cf5a047935b07a050ef4">PacketSource</a> +<li>~Semaphore() +: <a class="el" href="classSemaphore.html#633658a6fde276bffc912028725c6ade">Semaphore</a> +<li>~SeqWindow() +: <a class="el" href="classSeqWindow.html#d125bcc4751a746427f04dda7fd65a10">SeqWindow</a> +<li>~SignalController() +: <a class="el" href="classSignalController.html#e8d687dc4fcc75bffff50e8cda37c7aa">SignalController</a> +<li>~SignalHandler() +: <a class="el" href="classSignalHandler.html#a1109d38f8b43bde75420aaeecc1f2b7">SignalHandler</a> +<li>~Socket() +: <a class="el" href="classSocket.html#eac4eb6379a543d38ed88977d3b6630a">Socket</a> +<li>~SocketException() +: <a class="el" href="classSocketException.html#659557c899329aea01977c980c4db9b9">SocketException</a> +<li>~TunDevice() +: <a class="el" href="classTunDevice.html#2c6196d270bf4d0e99ff4f860391faed">TunDevice</a> +</ul> +<hr size="1"><address style="align: right;"><small>Generated on Sun Oct 7 23:43:49 2007 for anytun by +<a href="http://www.doxygen.org/index.html"> +<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address> +</body> +</html> diff --git a/doc/html/functions_rela.html b/doc/html/functions_rela.html new file mode 100644 index 0000000..dda54a4 --- /dev/null +++ b/doc/html/functions_rela.html @@ -0,0 +1,58 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> +<title>anytun: Class Members - Related Functions</title> +<link href="doxygen.css" rel="stylesheet" type="text/css"> +<link href="tabs.css" rel="stylesheet" type="text/css"> +</head><body> +<!-- Generated by Doxygen 1.5.1 --> +<div class="tabs"> + <ul> + <li><a href="main.html"><span>Main Page</span></a></li> + <li><a href="namespaces.html"><span>Namespaces</span></a></li> + <li id="current"><a href="annotated.html"><span>Classes</span></a></li> + <li><a href="files.html"><span>Files</span></a></li> + </ul></div> +<div class="tabs"> + <ul> + <li><a href="annotated.html"><span>Class List</span></a></li> + <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> + <li id="current"><a href="functions.html"><span>Class Members</span></a></li> + </ul></div> +<div class="tabs"> + <ul> + <li><a href="functions.html"><span>All</span></a></li> + <li><a href="functions_func.html"><span>Functions</span></a></li> + <li><a href="functions_vars.html"><span>Variables</span></a></li> + <li><a href="functions_type.html"><span>Typedefs</span></a></li> + <li id="current"><a href="functions_rela.html"><span>Related Functions</span></a></li> + </ul> +</div> + +<p> +<ul> +<li>AesIcmCypher +: <a class="el" href="classBuffer.html#41d791e5b640813dea34c24c11056581">Buffer</a> +<li>Condition +: <a class="el" href="classMutex.html#0705c7682858f6dcf7fe85cba92f0a5c">Mutex</a> +<li>instanceCleaner +: <a class="el" href="classLog.html#321cfbf9f58ebf3c9366bd6e0b5c18ce">Log</a> +<li>KeyDerivation +: <a class="el" href="classBuffer.html#1d039eb05e29b8eeadca9b474bb6d49f">Buffer</a> +<li>Lock +: <a class="el" href="classMutex.html#5bf7608e05250fb524a1229bcf83ece3">Mutex</a> +<li>LogStringBuilder +: <a class="el" href="classLog.html#16ded253dbe65c503d1d853dcf5460d6">Log</a> +<li>SignalController +: <a class="el" href="classSignalHandler.html#9b5c65d0274d45f20c9ed28852dd66fa">SignalHandler</a> +<li>TCPServerSocket +: <a class="el" href="classTCPSocket.html#e8bcdc0d25881a17b23e557296236fa9">TCPSocket</a> +<li>TunDevice +: <a class="el" href="classBuffer.html#51b494563d277beb4740f86c519f30fb">Buffer</a> +<li>UDPPacketSource +: <a class="el" href="classBuffer.html#940a382a5e3a8622e6689e13dc453481">Buffer</a> +</ul> +<hr size="1"><address style="align: right;"><small>Generated on Sun Oct 7 23:43:49 2007 for anytun by +<a href="http://www.doxygen.org/index.html"> +<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address> +</body> +</html> diff --git a/doc/html/functions_type.html b/doc/html/functions_type.html new file mode 100644 index 0000000..682dc77 --- /dev/null +++ b/doc/html/functions_type.html @@ -0,0 +1,44 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> +<title>anytun: Class Members - Typedefs</title> +<link href="doxygen.css" rel="stylesheet" type="text/css"> +<link href="tabs.css" rel="stylesheet" type="text/css"> +</head><body> +<!-- Generated by Doxygen 1.5.1 --> +<div class="tabs"> + <ul> + <li><a href="main.html"><span>Main Page</span></a></li> + <li><a href="namespaces.html"><span>Namespaces</span></a></li> + <li id="current"><a href="annotated.html"><span>Classes</span></a></li> + <li><a href="files.html"><span>Files</span></a></li> + </ul></div> +<div class="tabs"> + <ul> + <li><a href="annotated.html"><span>Class List</span></a></li> + <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> + <li id="current"><a href="functions.html"><span>Class Members</span></a></li> + </ul></div> +<div class="tabs"> + <ul> + <li><a href="functions.html"><span>All</span></a></li> + <li><a href="functions_func.html"><span>Functions</span></a></li> + <li><a href="functions_vars.html"><span>Variables</span></a></li> + <li id="current"><a href="functions_type.html"><span>Typedefs</span></a></li> + <li><a href="functions_rela.html"><span>Related Functions</span></a></li> + </ul> +</div> + +<p> +<ul> +<li>HandlerMap +: <a class="el" href="classSignalController.html#659eb661ef3d40565d739a50bbe4b554">SignalController</a> +<li>SenderMap +: <a class="el" href="classSeqWindow.html#127195f139c8d5d07ed93799c2d6821a">SeqWindow</a> +<li>SeqDeque +: <a class="el" href="classSeqWindow.html#cf2d07003c8ca868146cffb4dd1d5ca7">SeqWindow</a> +</ul> +<hr size="1"><address style="align: right;"><small>Generated on Sun Oct 7 23:43:49 2007 for anytun by +<a href="http://www.doxygen.org/index.html"> +<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address> +</body> +</html> diff --git a/doc/html/functions_vars.html b/doc/html/functions_vars.html new file mode 100644 index 0000000..fa5bcea --- /dev/null +++ b/doc/html/functions_vars.html @@ -0,0 +1,287 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> +<title>anytun: Class Members - Variables</title> +<link href="doxygen.css" rel="stylesheet" type="text/css"> +<link href="tabs.css" rel="stylesheet" type="text/css"> +</head><body> +<!-- Generated by Doxygen 1.5.1 --> +<div class="tabs"> + <ul> + <li><a href="main.html"><span>Main Page</span></a></li> + <li><a href="namespaces.html"><span>Namespaces</span></a></li> + <li id="current"><a href="annotated.html"><span>Classes</span></a></li> + <li><a href="files.html"><span>Files</span></a></li> + </ul></div> +<div class="tabs"> + <ul> + <li><a href="annotated.html"><span>Class List</span></a></li> + <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> + <li id="current"><a href="functions.html"><span>Class Members</span></a></li> + </ul></div> +<div class="tabs"> + <ul> + <li><a href="functions.html"><span>All</span></a></li> + <li><a href="functions_func.html"><span>Functions</span></a></li> + <li id="current"><a href="functions_vars.html"><span>Variables</span></a></li> + <li><a href="functions_type.html"><span>Typedefs</span></a></li> + <li><a href="functions_rela.html"><span>Related Functions</span></a></li> + </ul> +</div> +<div class="tabs"> + <ul> + <li><a href="#index__"><span>_</span></a></li> + <li><a href="#index_a"><span>a</span></a></li> + <li><a href="#index_b"><span>b</span></a></li> + <li><a href="#index_c"><span>c</span></a></li> + <li><a href="#index_d"><span>d</span></a></li> + <li><a href="#index_f"><span>f</span></a></li> + <li><a href="#index_g"><span>g</span></a></li> + <li><a href="#index_h"><span>h</span></a></li> + <li><a href="#index_i"><span>i</span></a></li> + <li><a href="#index_k"><span>k</span></a></li> + <li><a href="#index_l"><span>l</span></a></li> + <li><a href="#index_m"><span>m</span></a></li> + <li><a href="#index_n"><span>n</span></a></li> + <li><a href="#index_o"><span>o</span></a></li> + <li><a href="#index_p"><span>p</span></a></li> + <li><a href="#index_r"><span>r</span></a></li> + <li><a href="#index_s"><span>s</span></a></li> + <li><a href="#index_t"><span>t</span></a></li> + <li><a href="#index_u"><span>u</span></a></li> + <li><a href="#index_w"><span>w</span></a></li> + </ul> +</div> + +<p> + +<p> +<h3><a class="anchor" name="index__">- _ -</a></h3><ul> +<li>__packed__ +: <a class="el" href="classPacket.html#11b3534f67df6bb19963e6bc8090230b">Packet</a> +</ul> +<h3><a class="anchor" name="index_a">- a -</a></h3><ul> +<li>a +: <a class="el" href="structParam.html#22172435ee2e6beb10acf92b2d68e40c">Param</a> +<li>auth_algo_ +: <a class="el" href="classOptions.html#061ed690bdfa12bfc1094ca18293e97a">Options</a> +</ul> +<h3><a class="anchor" name="index_b">- b -</a></h3><ul> +<li>buf_ +: <a class="el" href="classBuffer.html#e60240b77a315e6b3c2bf88592d0be48">Buffer</a> +</ul> +<h3><a class="anchor" name="index_c">- c -</a></h3><ul> +<li>c +: <a class="el" href="structParam.html#4ef5a8757e2f89fcb1317a1969641149">Param</a> +<li>cipher_ +: <a class="el" href="classAesIcmCypher.html#d74a46baaee2e0755902d134274eac9a">AesIcmCypher</a> +, <a class="el" href="classKeyDerivation.html#6b7dd9a922de96a8f76cf6c453adab28">KeyDerivation</a> +<li>cond +: <a class="el" href="classCondition.html#4c8982005641d63b696f671b28e3706d">Condition</a> +<li>cypher_ +: <a class="el" href="classOptions.html#bba16365a15a6a87c90f85e143bebb5f">Options</a> +</ul> +<h3><a class="anchor" name="index_d">- d -</a></h3><ul> +<li>dev +: <a class="el" href="structParam.html#1fa9d0f89264543bbad03a9e4e0c5f44">Param</a> +<li>dev_ +: <a class="el" href="classTunDevice.html#239c85381dfcf1776303778d1784df51">TunDevice</a> +<li>dev_name_ +: <a class="el" href="classOptions.html#3b094d71270549c85ca372f060bfe22c">Options</a> +<li>dev_type_ +: <a class="el" href="classOptions.html#b0c850a5e29599156af92cf5b3ddff28">Options</a> +</ul> +<h3><a class="anchor" name="index_f">- f -</a></h3><ul> +<li>FAC_AUTH +: <a class="el" href="classLog.html#6f6fde7b6433d827c05cfefe16f9b333">Log</a> +<li>FAC_AUTHPRIV +: <a class="el" href="classLog.html#5245bb60b9c33e31027ea1f9a77d8053">Log</a> +<li>FAC_CRON +: <a class="el" href="classLog.html#6a455dfca6d859f77ed79b6d92ad659a">Log</a> +<li>FAC_DAEMON +: <a class="el" href="classLog.html#6395030c0b8fa7f36b6fe0f6b837055d">Log</a> +<li>FAC_FTP +: <a class="el" href="classLog.html#9b822438fee8c8a0f4bb56c0e4415c95">Log</a> +<li>FAC_LOCAL0 +: <a class="el" href="classLog.html#e6271aefc4c8749e602da64f284f0d08">Log</a> +<li>FAC_LOCAL1 +: <a class="el" href="classLog.html#b553df5af8dd47f2e9d29569b26b7713">Log</a> +<li>FAC_LOCAL2 +: <a class="el" href="classLog.html#1e79b43d3ed6f44281f1d6f4d6e2a829">Log</a> +<li>FAC_LOCAL3 +: <a class="el" href="classLog.html#467961bf9b0b73dd863a29e29642ed62">Log</a> +<li>FAC_LOCAL4 +: <a class="el" href="classLog.html#2dfec8266dc4bfd9f4a37a6a6a193724">Log</a> +<li>FAC_LOCAL5 +: <a class="el" href="classLog.html#8c8f287b845408f62e9971869764193d">Log</a> +<li>FAC_LOCAL6 +: <a class="el" href="classLog.html#c7c45c9e1daa96ecb60ff12064a3dc6e">Log</a> +<li>FAC_LOCAL7 +: <a class="el" href="classLog.html#886a44fb4cec033f0f7c028f530fe97c">Log</a> +<li>FAC_LPR +: <a class="el" href="classLog.html#28a1239643de68f79ad6c2337acfd2ea">Log</a> +<li>FAC_MAIL +: <a class="el" href="classLog.html#5cf4b465d8ecff58bd62ac064663917b">Log</a> +<li>FAC_NEWS +: <a class="el" href="classLog.html#b9f56520aeae70b9d98396f67ad1310b">Log</a> +<li>FAC_SYSLOG +: <a class="el" href="classLog.html#be74100156fee45add0417bc9f460f30">Log</a> +<li>FAC_USER +: <a class="el" href="classLog.html#9418bab5d66822411ce1f85823d8425b">Log</a> +<li>FAC_UUCP +: <a class="el" href="classLog.html#d5b2e5f3987835ec077013c6a263ed5f">Log</a> +<li>facility +: <a class="el" href="classLog.html#844dc5894a51dce933ae2109868652a0">Log</a> +<li>fields_desc +: <a class="el" href="classsatp_1_1SATP.html#e51015e8537b5ec7aa53ba87bf638c15">satp::SATP</a> +</ul> +<h3><a class="anchor" name="index_g">- g -</a></h3><ul> +<li>gcrypt_initialized_ +: <a class="el" href="classAesIcmCypher.html#04da5690d9102c6b3fe5bf78a8827ac1">AesIcmCypher</a> +<li>GCRYPT_SEC_MEM +: <a class="el" href="classAesIcmCypher.html#4d1dea41b9745bca5a2d84fcefe3558c">AesIcmCypher</a> +</ul> +<h3><a class="anchor" name="index_h">- h -</a></h3><ul> +<li>handler +: <a class="el" href="classSignalController.html#f76d2f570d55019dd15921eba71efe0b">SignalController</a> +<li>has_auth_tag_ +: <a class="el" href="classPacket.html#849a965c46afc5fa7efe257212197abb">Packet</a> +<li>has_header_ +: <a class="el" href="classPacket.html#97b8eb52e7476174a0e91e2ccaf73306">Packet</a> +<li>has_payload_type_ +: <a class="el" href="classPacket.html#235c6c8c7362c46ca33a331713199a17">Packet</a> +</ul> +<h3><a class="anchor" name="index_i">- i -</a></h3><ul> +<li>ifconfig_param_local_ +: <a class="el" href="classOptions.html#fd0d76c7e1e2fa6fd9ee0538ff9124b0">Options</a> +<li>ifconfig_param_remote_netmask_ +: <a class="el" href="classOptions.html#cd2c34152754ab7818ee4bfe3e1b9936">Options</a> +<li>inst +: <a class="el" href="classLog.html#aebf3ec6bf45b97cc842d9d53a5a6c0a">Log</a> +<li>instMutex +: <a class="el" href="classLog.html#c561e8206daad55b4aa4ac8808f35314">Log</a> +<li>io_mutex_ +: <a class="el" href="classTunDevice.html#e130228e28996e644d2013089e704d4c">TunDevice</a> +</ul> +<h3><a class="anchor" name="index_k">- k -</a></h3><ul> +<li>kd +: <a class="el" href="structParam.html#6cfe55741cae1cf1bdde27561f292d8a">Param</a> +</ul> +<h3><a class="anchor" name="index_l">- l -</a></h3><ul> +<li>ld_kdr_ +: <a class="el" href="classKeyDerivation.html#426dcd34d3b60191a3db55dd970eeb17">KeyDerivation</a> +<li>length_ +: <a class="el" href="classBuffer.html#d3a779d2403b5183427f12554e2f51c3">Buffer</a> +<li>local_addr_ +: <a class="el" href="classOptions.html#d331507d07c87908a5b199a209a3e97e">Options</a> +<li>local_port_ +: <a class="el" href="classOptions.html#744fc32e1b4f5c930251a8b0013f7f0a">Options</a> +<li>log +: <a class="el" href="classLogStringBuilder.html#499c5b058df61e2215368592d21aacf1">LogStringBuilder</a> +<li>logName +: <a class="el" href="classLog.html#8abf9fa58d7af501f25415eb37fd71a0">Log</a> +</ul> +<h3><a class="anchor" name="index_m">- m -</a></h3><ul> +<li>MIN_GCRYPT_VERSION +: <a class="el" href="classAesIcmCypher.html#605842d12379711d74401d0923b5d76e">AesIcmCypher</a> +, <a class="el" href="classKeyDerivation.html#9aaf24245f7dec6e68fc24541abce94b">KeyDerivation</a> +<li>mutex +: <a class="el" href="classLock.html#41f8817641e260bddb93a7a710736037">Lock</a> +, <a class="el" href="classMutex.html#8feb0b01916c1feedd1f0c0dcd74081b">Mutex</a> +, <a class="el" href="classCondition.html#01622814c6a21250677c2b9cbfc86bfb">Condition</a> +, <a class="el" href="classOptions.html#3effd9220086fd43e36884295f89bd7c">Options</a> +, <a class="el" href="classLog.html#d69b96c96c1b6aa0c3d67e07ca131e85">Log</a> +<li>mutex_ +: <a class="el" href="classSeqWindow.html#87ec44a9a7398ecbcb92d90ba95b37a0">SeqWindow</a> +</ul> +<h3><a class="anchor" name="index_n">- n -</a></h3><ul> +<li>name +: <a class="el" href="classsatp_1_1SATP.html#e9e415324a6a9fbe14971c1ffd334139">satp::SATP</a> +</ul> +<h3><a class="anchor" name="index_o">- o -</a></h3><ul> +<li>opt +: <a class="el" href="structParam.html#f690604eb7652c5f5407815c5022b46c">Param</a> +</ul> +<h3><a class="anchor" name="index_p">- p -</a></h3><ul> +<li>prio +: <a class="el" href="classLogStringBuilder.html#89d48a7590de117fec0b40c0babbaee5">LogStringBuilder</a> +<li>PRIO_ALERT +: <a class="el" href="classLog.html#77741b4b68493a7b082f856c9a70cae6">Log</a> +<li>PRIO_CRIT +: <a class="el" href="classLog.html#275d2db1310f0b9663ac1e048cadd389">Log</a> +<li>PRIO_DEBUG +: <a class="el" href="classLog.html#f9aad3521e9eda1c156009188cc0674b">Log</a> +<li>PRIO_EMERG +: <a class="el" href="classLog.html#3b068a7b9c9a7bd3a42d519daea16564">Log</a> +<li>PRIO_ERR +: <a class="el" href="classLog.html#d3769cb6592629a056ffeaa4ce1f3d46">Log</a> +<li>PRIO_INFO +: <a class="el" href="classLog.html#3c50bb6ae5eff66436d72a53c50b0f6b">Log</a> +<li>PRIO_NOTICE +: <a class="el" href="classLog.html#783504697beb7cc8905d0296704d62f2">Log</a> +<li>PRIO_WARNING +: <a class="el" href="classLog.html#ef36517c65a41f4cf69d4795ec84b4a2">Log</a> +<li>progname_ +: <a class="el" href="classOptions.html#aed7d0eeae21d7d00eb35dccea48b9f3">Options</a> +</ul> +<h3><a class="anchor" name="index_r">- r -</a></h3><ul> +<li>remote_addr_ +: <a class="el" href="classOptions.html#af81d4d836e3ca1850b8b474d61944de">Options</a> +<li>remote_port_ +: <a class="el" href="classOptions.html#8481cdc79ca8bde93af9b945838f4559">Options</a> +</ul> +<h3><a class="anchor" name="index_s">- s -</a></h3><ul> +<li>salt_ +: <a class="el" href="classAesIcmCypher.html#a62620f7280574b142a0eb29880f5083">AesIcmCypher</a> +, <a class="el" href="classKeyDerivation.html#52e057f1085920a61ea44c5c9936865c">KeyDerivation</a> +<li>sem +: <a class="el" href="classSemaphore.html#23e62b0971c229ddf106e3ff71d688d6">Semaphore</a> +<li>sender_ +: <a class="el" href="classSeqWindow.html#8bfc3742cacc75e9a72de13ff6ad98a2">SeqWindow</a> +<li>sender_id +: <a class="el" href="structPacket_1_1HeaderStruct.html#c129b7cda1d848a579b689bacdabddea">Packet::HeaderStruct</a> +<li>sender_id_ +: <a class="el" href="classOptions.html#f166d5f4f6fd17c761ac9a6d7e48d362">Options</a> +<li>seq +: <a class="el" href="structParam.html#dc6a71f9fa352d3ecb312e2e33354f4e">Param</a> +<li>seq_nr +: <a class="el" href="structPacket_1_1HeaderStruct.html#4b7b9bf68b204ca98171b7f818685521">Packet::HeaderStruct</a> +<li>seq_window_size_ +: <a class="el" href="classOptions.html#d2a0398f717a96602f8c402db12699a5">Options</a> +<li>sigNum +: <a class="el" href="classSignalHandler.html#0585573af0ea6bebf37bda54e5c3c39d">SignalHandler</a> +<li>sigQueue +: <a class="el" href="classSignalController.html#543fa6d49a071df92cdfcc7bc96de161">SignalController</a> +<li>sigQueueMutex +: <a class="el" href="classSignalController.html#6b7853059aa422fac6c2cc77e00d28ee">SignalController</a> +<li>sigQueueSem +: <a class="el" href="classSignalController.html#4dfee82061341e1af5ca827333c8bd10">SignalController</a> +<li>sockDesc +: <a class="el" href="classSocket.html#d5704d2fdfb062139e1f88831617bbfb">Socket</a> +<li>src +: <a class="el" href="structParam.html#fa5715cd7dc0833ea8f9afcbd1db455c">Param</a> +<li>stream +: <a class="el" href="classLogStringBuilder.html#405447561d3d7337cc093dad6c6d81b5">LogStringBuilder</a> +</ul> +<h3><a class="anchor" name="index_t">- t -</a></h3><ul> +<li>thread +: <a class="el" href="classSignalController.html#79c5fbfa55aa9edc2a45c5ed3197b782">SignalController</a> +<li>TYPE_TAP +: <a class="el" href="classTunDevice.html#b4ce6b158bbe4fe051b6fea8cd3d6cd3">TunDevice</a> +<li>TYPE_TUN +: <a class="el" href="classTunDevice.html#ea416d7f03ef22bf1d166d33b47fd993">TunDevice</a> +<li>TYPE_UNDEF +: <a class="el" href="classTunDevice.html#ec146b27c7755747c1cc1511e4482875">TunDevice</a> +</ul> +<h3><a class="anchor" name="index_u">- u -</a></h3><ul> +<li>userMessage +: <a class="el" href="classSocketException.html#dcfeba6d4ce5754b48ae9d37b07a7e87">SocketException</a> +</ul> +<h3><a class="anchor" name="index_w">- w -</a></h3><ul> +<li>window_size_ +: <a class="el" href="classSeqWindow.html#ef85ba28f8a655dc8c8d34aeddb8eea0">SeqWindow</a> +</ul> +<hr size="1"><address style="align: right;"><small>Generated on Sun Oct 7 23:43:49 2007 for anytun by +<a href="http://www.doxygen.org/index.html"> +<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address> +</body> +</html> diff --git a/doc/html/globals.html b/doc/html/globals.html new file mode 100644 index 0000000..3b8d399 --- /dev/null +++ b/doc/html/globals.html @@ -0,0 +1,149 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> +<title>anytun: Class Members</title> +<link href="doxygen.css" rel="stylesheet" type="text/css"> +<link href="tabs.css" rel="stylesheet" type="text/css"> +</head><body> +<!-- Generated by Doxygen 1.5.1 --> +<div class="tabs"> + <ul> + <li><a href="main.html"><span>Main Page</span></a></li> + <li><a href="namespaces.html"><span>Namespaces</span></a></li> + <li><a href="annotated.html"><span>Classes</span></a></li> + <li id="current"><a href="files.html"><span>Files</span></a></li> + </ul></div> +<div class="tabs"> + <ul> + <li><a href="files.html"><span>File List</span></a></li> + <li id="current"><a href="globals.html"><span>File Members</span></a></li> + </ul></div> +<div class="tabs"> + <ul> + <li id="current"><a href="globals.html"><span>All</span></a></li> + <li><a href="globals_func.html"><span>Functions</span></a></li> + <li><a href="globals_vars.html"><span>Variables</span></a></li> + <li><a href="globals_type.html"><span>Typedefs</span></a></li> + <li><a href="globals_enum.html"><span>Enumerations</span></a></li> + <li><a href="globals_eval.html"><span>Enumerator</span></a></li> + <li><a href="globals_defs.html"><span>Defines</span></a></li> + </ul> +</div> +<div class="tabs"> + <ul> + <li><a href="#index_a"><span>a</span></a></li> + <li><a href="#index_c"><span>c</span></a></li> + <li><a href="#index_f"><span>f</span></a></li> + <li><a href="#index_i"><span>i</span></a></li> + <li><a href="#index_l"><span>l</span></a></li> + <li><a href="#index_m"><span>m</span></a></li> + <li><a href="#index_p"><span>p</span></a></li> + <li><a href="#index_r"><span>r</span></a></li> + <li><a href="#index_s"><span>s</span></a></li> + <li><a href="#index_u"><span>u</span></a></li> + <li><a href="#index_w"><span>w</span></a></li> + </ul> +</div> + +<p> +Here is a list of all file members with links to the files they belong to: +<p> +<h3><a class="anchor" name="index_a">- a -</a></h3><ul> +<li>auth_tag_t +: <a class="el" href="datatypes_8h.html#3618ec768f7f5b8ed61f2ad534e1882d">datatypes.h</a> +<li>AUTH_TAG_T_HTON +: <a class="el" href="datatypes_8h.html#e08ddfb4ec6d5f44e41d776eec5d6c4b">datatypes.h</a> +<li>AUTH_TAG_T_NTOH +: <a class="el" href="datatypes_8h.html#dfe492fa271ed259fdca87aec19b6e4c">datatypes.h</a> +</ul> +<h3><a class="anchor" name="index_c">- c -</a></h3><ul> +<li>cLog +: <a class="el" href="log_8cpp.html#dabafeab912880de79e232735f44ce33">log.cpp</a> +, <a class="el" href="log_8h.html#dabafeab912880de79e232735f44ce33">log.h</a> +</ul> +<h3><a class="anchor" name="index_f">- f -</a></h3><ul> +<li>fillAddr() +: <a class="el" href="PracticalSocket_8cpp.html#155e03535e1d5c1f5df7ceafe63dbdb0">PracticalSocket.cpp</a> +</ul> +<h3><a class="anchor" name="index_i">- i -</a></h3><ul> +<li>int16 +: <a class="el" href="datatypes_8h.html#259fa4834387bd68627ddf37bb3ebdb9">datatypes.h</a> +<li>int32 +: <a class="el" href="datatypes_8h.html#43d43196463bde49cb067f5c20ab8481">datatypes.h</a> +<li>int8_t +: <a class="el" href="datatypes_8h.html#ef44329758059c91c76d334e8fc09700">datatypes.h</a> +</ul> +<h3><a class="anchor" name="index_l">- l -</a></h3><ul> +<li>label_satp_encryption +: <a class="el" href="keyDerivation_8h.html#4829fcd87054af9b3ced79bbac1ce1eb4cece0d357861fb1d1b4087f05284543">keyDerivation.h</a> +<li>label_satp_msg_auth +: <a class="el" href="keyDerivation_8h.html#4829fcd87054af9b3ced79bbac1ce1ebd45276cca55df72c149b44bbf80757c3">keyDerivation.h</a> +<li>label_satp_salt +: <a class="el" href="keyDerivation_8h.html#4829fcd87054af9b3ced79bbac1ce1eb78eb4c963e5ca87676c0a713e2fd9aa4">keyDerivation.h</a> +</ul> +<h3><a class="anchor" name="index_m">- m -</a></h3><ul> +<li>main() +: <a class="el" href="anytun_8cpp.html#0ddf1224851353fc92bfbff6f499fa97">anytun.cpp</a> +<li>MIN_GCRYPT_VERSION +: <a class="el" href="keyDerivation_8h.html#6dcd6ca1447ccea53a7975c2a18f6a83">keyDerivation.h</a> +</ul> +<h3><a class="anchor" name="index_p">- p -</a></h3><ul> +<li>PARSE_BOOL_PARAM +: <a class="el" href="options_8cpp.html#b2c4e3c2031ae2187d3995f4b4848e10">options.cpp</a> +<li>PARSE_INVERSE_BOOL_PARAM +: <a class="el" href="options_8cpp.html#0d965a5094bb6aa3a39c4ff7ea99a13f">options.cpp</a> +<li>PARSE_SCALAR_PARAM +: <a class="el" href="options_8cpp.html#8c39923ab70d37dd4ac5c17b7b41df93">options.cpp</a> +<li>PARSE_SCALAR_PARAM2 +: <a class="el" href="options_8cpp.html#ff99f765434c4a73e4b4b9f5d71022e2">options.cpp</a> +<li>payload_type_t +: <a class="el" href="datatypes_8h.html#cb4c65fa561443848e729372d970654d">datatypes.h</a> +<li>PAYLOAD_TYPE_T_HTON +: <a class="el" href="datatypes_8h.html#173b0a15f5670e90c9bf443d70822753">datatypes.h</a> +<li>PAYLOAD_TYPE_T_NTOH +: <a class="el" href="datatypes_8h.html#2974b1523b0f364e348edb469cf2814f">datatypes.h</a> +<li>PAYLOAD_TYPE_TAP +: <a class="el" href="anytun_8cpp.html#f591627e223468579b78887ef91cb0ac">anytun.cpp</a> +<li>PAYLOAD_TYPE_TUN +: <a class="el" href="anytun_8cpp.html#21c6078872dcc3914076daa2c1ec841a">anytun.cpp</a> +</ul> +<h3><a class="anchor" name="index_r">- r -</a></h3><ul> +<li>raw_type +: <a class="el" href="PracticalSocket_8cpp.html#ba7a57aadc5c75eaab8ee698d0fa6608">PracticalSocket.cpp</a> +<li>receiver() +: <a class="el" href="anytun_8cpp.html#1a93139691e3d8cf8a996c973c5ca0ac">anytun.cpp</a> +</ul> +<h3><a class="anchor" name="index_s">- s -</a></h3><ul> +<li>satp_prf_label +: <a class="el" href="keyDerivation_8h.html#4829fcd87054af9b3ced79bbac1ce1eb">keyDerivation.h</a> +<li>sender() +: <a class="el" href="anytun_8cpp.html#0f2bdeb94d90f5229b9e904e592b24fd">anytun.cpp</a> +<li>sender_id_t +: <a class="el" href="datatypes_8h.html#c8be006c348a522ae126f67f7b2aaf4e">datatypes.h</a> +<li>SENDER_ID_T_HTON +: <a class="el" href="datatypes_8h.html#8ecfc6bb5938ad141419ba4f62fc2eca">datatypes.h</a> +<li>SENDER_ID_T_NTOH +: <a class="el" href="datatypes_8h.html#f0e02829fc534eac0fdec4712459dea4">datatypes.h</a> +<li>seq_nr_t +: <a class="el" href="datatypes_8h.html#317be74a3176b4149a817241bd69f9b2">datatypes.h</a> +<li>SEQ_NR_T_HTON +: <a class="el" href="datatypes_8h.html#18c9cf2c5be6cb1e16a319a4da44989b">datatypes.h</a> +<li>SEQ_NR_T_NTOH +: <a class="el" href="datatypes_8h.html#4c349b0b408b8f654c8713c205f33f60">datatypes.h</a> +</ul> +<h3><a class="anchor" name="index_u">- u -</a></h3><ul> +<li>u_int16_t +: <a class="el" href="datatypes_8h.html#3aa89f830bb876725b238e6a2a67a809">datatypes.h</a> +<li>u_int32_t +: <a class="el" href="datatypes_8h.html#1382fcaa92d837ce7c0961788c8243d7">datatypes.h</a> +<li>u_int8_t +: <a class="el" href="datatypes_8h.html#40a40c6e9649a4e3806e76fef247d241">datatypes.h</a> +</ul> +<h3><a class="anchor" name="index_w">- w -</a></h3><ul> +<li>window_size_t +: <a class="el" href="datatypes_8h.html#0246b9fac0b861d94e0e4cc9ae2e5070">datatypes.h</a> +</ul> +<hr size="1"><address style="align: right;"><small>Generated on Sun Oct 7 23:43:50 2007 for anytun by +<a href="http://www.doxygen.org/index.html"> +<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address> +</body> +</html> diff --git a/doc/html/globals_defs.html b/doc/html/globals_defs.html new file mode 100644 index 0000000..182c110 --- /dev/null +++ b/doc/html/globals_defs.html @@ -0,0 +1,67 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> +<title>anytun: Class Members</title> +<link href="doxygen.css" rel="stylesheet" type="text/css"> +<link href="tabs.css" rel="stylesheet" type="text/css"> +</head><body> +<!-- Generated by Doxygen 1.5.1 --> +<div class="tabs"> + <ul> + <li><a href="main.html"><span>Main Page</span></a></li> + <li><a href="namespaces.html"><span>Namespaces</span></a></li> + <li><a href="annotated.html"><span>Classes</span></a></li> + <li id="current"><a href="files.html"><span>Files</span></a></li> + </ul></div> +<div class="tabs"> + <ul> + <li><a href="files.html"><span>File List</span></a></li> + <li id="current"><a href="globals.html"><span>File Members</span></a></li> + </ul></div> +<div class="tabs"> + <ul> + <li><a href="globals.html"><span>All</span></a></li> + <li><a href="globals_func.html"><span>Functions</span></a></li> + <li><a href="globals_vars.html"><span>Variables</span></a></li> + <li><a href="globals_type.html"><span>Typedefs</span></a></li> + <li><a href="globals_enum.html"><span>Enumerations</span></a></li> + <li><a href="globals_eval.html"><span>Enumerator</span></a></li> + <li id="current"><a href="globals_defs.html"><span>Defines</span></a></li> + </ul> +</div> + +<p> +<ul> +<li>AUTH_TAG_T_HTON +: <a class="el" href="datatypes_8h.html#e08ddfb4ec6d5f44e41d776eec5d6c4b">datatypes.h</a> +<li>AUTH_TAG_T_NTOH +: <a class="el" href="datatypes_8h.html#dfe492fa271ed259fdca87aec19b6e4c">datatypes.h</a> +<li>PARSE_BOOL_PARAM +: <a class="el" href="options_8cpp.html#b2c4e3c2031ae2187d3995f4b4848e10">options.cpp</a> +<li>PARSE_INVERSE_BOOL_PARAM +: <a class="el" href="options_8cpp.html#0d965a5094bb6aa3a39c4ff7ea99a13f">options.cpp</a> +<li>PARSE_SCALAR_PARAM +: <a class="el" href="options_8cpp.html#8c39923ab70d37dd4ac5c17b7b41df93">options.cpp</a> +<li>PARSE_SCALAR_PARAM2 +: <a class="el" href="options_8cpp.html#ff99f765434c4a73e4b4b9f5d71022e2">options.cpp</a> +<li>PAYLOAD_TYPE_T_HTON +: <a class="el" href="datatypes_8h.html#173b0a15f5670e90c9bf443d70822753">datatypes.h</a> +<li>PAYLOAD_TYPE_T_NTOH +: <a class="el" href="datatypes_8h.html#2974b1523b0f364e348edb469cf2814f">datatypes.h</a> +<li>PAYLOAD_TYPE_TAP +: <a class="el" href="anytun_8cpp.html#f591627e223468579b78887ef91cb0ac">anytun.cpp</a> +<li>PAYLOAD_TYPE_TUN +: <a class="el" href="anytun_8cpp.html#21c6078872dcc3914076daa2c1ec841a">anytun.cpp</a> +<li>SENDER_ID_T_HTON +: <a class="el" href="datatypes_8h.html#8ecfc6bb5938ad141419ba4f62fc2eca">datatypes.h</a> +<li>SENDER_ID_T_NTOH +: <a class="el" href="datatypes_8h.html#f0e02829fc534eac0fdec4712459dea4">datatypes.h</a> +<li>SEQ_NR_T_HTON +: <a class="el" href="datatypes_8h.html#18c9cf2c5be6cb1e16a319a4da44989b">datatypes.h</a> +<li>SEQ_NR_T_NTOH +: <a class="el" href="datatypes_8h.html#4c349b0b408b8f654c8713c205f33f60">datatypes.h</a> +</ul> +<hr size="1"><address style="align: right;"><small>Generated on Sun Oct 7 23:43:50 2007 for anytun by +<a href="http://www.doxygen.org/index.html"> +<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address> +</body> +</html> diff --git a/doc/html/globals_enum.html b/doc/html/globals_enum.html new file mode 100644 index 0000000..c13d622 --- /dev/null +++ b/doc/html/globals_enum.html @@ -0,0 +1,41 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> +<title>anytun: Class Members</title> +<link href="doxygen.css" rel="stylesheet" type="text/css"> +<link href="tabs.css" rel="stylesheet" type="text/css"> +</head><body> +<!-- Generated by Doxygen 1.5.1 --> +<div class="tabs"> + <ul> + <li><a href="main.html"><span>Main Page</span></a></li> + <li><a href="namespaces.html"><span>Namespaces</span></a></li> + <li><a href="annotated.html"><span>Classes</span></a></li> + <li id="current"><a href="files.html"><span>Files</span></a></li> + </ul></div> +<div class="tabs"> + <ul> + <li><a href="files.html"><span>File List</span></a></li> + <li id="current"><a href="globals.html"><span>File Members</span></a></li> + </ul></div> +<div class="tabs"> + <ul> + <li><a href="globals.html"><span>All</span></a></li> + <li><a href="globals_func.html"><span>Functions</span></a></li> + <li><a href="globals_vars.html"><span>Variables</span></a></li> + <li><a href="globals_type.html"><span>Typedefs</span></a></li> + <li id="current"><a href="globals_enum.html"><span>Enumerations</span></a></li> + <li><a href="globals_eval.html"><span>Enumerator</span></a></li> + <li><a href="globals_defs.html"><span>Defines</span></a></li> + </ul> +</div> + +<p> +<ul> +<li>satp_prf_label +: <a class="el" href="keyDerivation_8h.html#4829fcd87054af9b3ced79bbac1ce1eb">keyDerivation.h</a> +</ul> +<hr size="1"><address style="align: right;"><small>Generated on Sun Oct 7 23:43:50 2007 for anytun by +<a href="http://www.doxygen.org/index.html"> +<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address> +</body> +</html> diff --git a/doc/html/globals_eval.html b/doc/html/globals_eval.html new file mode 100644 index 0000000..81be342 --- /dev/null +++ b/doc/html/globals_eval.html @@ -0,0 +1,45 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> +<title>anytun: Class Members</title> +<link href="doxygen.css" rel="stylesheet" type="text/css"> +<link href="tabs.css" rel="stylesheet" type="text/css"> +</head><body> +<!-- Generated by Doxygen 1.5.1 --> +<div class="tabs"> + <ul> + <li><a href="main.html"><span>Main Page</span></a></li> + <li><a href="namespaces.html"><span>Namespaces</span></a></li> + <li><a href="annotated.html"><span>Classes</span></a></li> + <li id="current"><a href="files.html"><span>Files</span></a></li> + </ul></div> +<div class="tabs"> + <ul> + <li><a href="files.html"><span>File List</span></a></li> + <li id="current"><a href="globals.html"><span>File Members</span></a></li> + </ul></div> +<div class="tabs"> + <ul> + <li><a href="globals.html"><span>All</span></a></li> + <li><a href="globals_func.html"><span>Functions</span></a></li> + <li><a href="globals_vars.html"><span>Variables</span></a></li> + <li><a href="globals_type.html"><span>Typedefs</span></a></li> + <li><a href="globals_enum.html"><span>Enumerations</span></a></li> + <li id="current"><a href="globals_eval.html"><span>Enumerator</span></a></li> + <li><a href="globals_defs.html"><span>Defines</span></a></li> + </ul> +</div> + +<p> +<ul> +<li>label_satp_encryption +: <a class="el" href="keyDerivation_8h.html#4829fcd87054af9b3ced79bbac1ce1eb4cece0d357861fb1d1b4087f05284543">keyDerivation.h</a> +<li>label_satp_msg_auth +: <a class="el" href="keyDerivation_8h.html#4829fcd87054af9b3ced79bbac1ce1ebd45276cca55df72c149b44bbf80757c3">keyDerivation.h</a> +<li>label_satp_salt +: <a class="el" href="keyDerivation_8h.html#4829fcd87054af9b3ced79bbac1ce1eb78eb4c963e5ca87676c0a713e2fd9aa4">keyDerivation.h</a> +</ul> +<hr size="1"><address style="align: right;"><small>Generated on Sun Oct 7 23:43:50 2007 for anytun by +<a href="http://www.doxygen.org/index.html"> +<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address> +</body> +</html> diff --git a/doc/html/globals_func.html b/doc/html/globals_func.html new file mode 100644 index 0000000..54a30fc --- /dev/null +++ b/doc/html/globals_func.html @@ -0,0 +1,47 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> +<title>anytun: Class Members</title> +<link href="doxygen.css" rel="stylesheet" type="text/css"> +<link href="tabs.css" rel="stylesheet" type="text/css"> +</head><body> +<!-- Generated by Doxygen 1.5.1 --> +<div class="tabs"> + <ul> + <li><a href="main.html"><span>Main Page</span></a></li> + <li><a href="namespaces.html"><span>Namespaces</span></a></li> + <li><a href="annotated.html"><span>Classes</span></a></li> + <li id="current"><a href="files.html"><span>Files</span></a></li> + </ul></div> +<div class="tabs"> + <ul> + <li><a href="files.html"><span>File List</span></a></li> + <li id="current"><a href="globals.html"><span>File Members</span></a></li> + </ul></div> +<div class="tabs"> + <ul> + <li><a href="globals.html"><span>All</span></a></li> + <li id="current"><a href="globals_func.html"><span>Functions</span></a></li> + <li><a href="globals_vars.html"><span>Variables</span></a></li> + <li><a href="globals_type.html"><span>Typedefs</span></a></li> + <li><a href="globals_enum.html"><span>Enumerations</span></a></li> + <li><a href="globals_eval.html"><span>Enumerator</span></a></li> + <li><a href="globals_defs.html"><span>Defines</span></a></li> + </ul> +</div> + +<p> +<ul> +<li>fillAddr() +: <a class="el" href="PracticalSocket_8cpp.html#155e03535e1d5c1f5df7ceafe63dbdb0">PracticalSocket.cpp</a> +<li>main() +: <a class="el" href="anytun_8cpp.html#0ddf1224851353fc92bfbff6f499fa97">anytun.cpp</a> +<li>receiver() +: <a class="el" href="anytun_8cpp.html#1a93139691e3d8cf8a996c973c5ca0ac">anytun.cpp</a> +<li>sender() +: <a class="el" href="anytun_8cpp.html#0f2bdeb94d90f5229b9e904e592b24fd">anytun.cpp</a> +</ul> +<hr size="1"><address style="align: right;"><small>Generated on Sun Oct 7 23:43:50 2007 for anytun by +<a href="http://www.doxygen.org/index.html"> +<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address> +</body> +</html> diff --git a/doc/html/globals_type.html b/doc/html/globals_type.html new file mode 100644 index 0000000..e34e716 --- /dev/null +++ b/doc/html/globals_type.html @@ -0,0 +1,63 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> +<title>anytun: Class Members</title> +<link href="doxygen.css" rel="stylesheet" type="text/css"> +<link href="tabs.css" rel="stylesheet" type="text/css"> +</head><body> +<!-- Generated by Doxygen 1.5.1 --> +<div class="tabs"> + <ul> + <li><a href="main.html"><span>Main Page</span></a></li> + <li><a href="namespaces.html"><span>Namespaces</span></a></li> + <li><a href="annotated.html"><span>Classes</span></a></li> + <li id="current"><a href="files.html"><span>Files</span></a></li> + </ul></div> +<div class="tabs"> + <ul> + <li><a href="files.html"><span>File List</span></a></li> + <li id="current"><a href="globals.html"><span>File Members</span></a></li> + </ul></div> +<div class="tabs"> + <ul> + <li><a href="globals.html"><span>All</span></a></li> + <li><a href="globals_func.html"><span>Functions</span></a></li> + <li><a href="globals_vars.html"><span>Variables</span></a></li> + <li id="current"><a href="globals_type.html"><span>Typedefs</span></a></li> + <li><a href="globals_enum.html"><span>Enumerations</span></a></li> + <li><a href="globals_eval.html"><span>Enumerator</span></a></li> + <li><a href="globals_defs.html"><span>Defines</span></a></li> + </ul> +</div> + +<p> +<ul> +<li>auth_tag_t +: <a class="el" href="datatypes_8h.html#3618ec768f7f5b8ed61f2ad534e1882d">datatypes.h</a> +<li>int16 +: <a class="el" href="datatypes_8h.html#259fa4834387bd68627ddf37bb3ebdb9">datatypes.h</a> +<li>int32 +: <a class="el" href="datatypes_8h.html#43d43196463bde49cb067f5c20ab8481">datatypes.h</a> +<li>int8_t +: <a class="el" href="datatypes_8h.html#ef44329758059c91c76d334e8fc09700">datatypes.h</a> +<li>payload_type_t +: <a class="el" href="datatypes_8h.html#cb4c65fa561443848e729372d970654d">datatypes.h</a> +<li>raw_type +: <a class="el" href="PracticalSocket_8cpp.html#ba7a57aadc5c75eaab8ee698d0fa6608">PracticalSocket.cpp</a> +<li>sender_id_t +: <a class="el" href="datatypes_8h.html#c8be006c348a522ae126f67f7b2aaf4e">datatypes.h</a> +<li>seq_nr_t +: <a class="el" href="datatypes_8h.html#317be74a3176b4149a817241bd69f9b2">datatypes.h</a> +<li>u_int16_t +: <a class="el" href="datatypes_8h.html#3aa89f830bb876725b238e6a2a67a809">datatypes.h</a> +<li>u_int32_t +: <a class="el" href="datatypes_8h.html#1382fcaa92d837ce7c0961788c8243d7">datatypes.h</a> +<li>u_int8_t +: <a class="el" href="datatypes_8h.html#40a40c6e9649a4e3806e76fef247d241">datatypes.h</a> +<li>window_size_t +: <a class="el" href="datatypes_8h.html#0246b9fac0b861d94e0e4cc9ae2e5070">datatypes.h</a> +</ul> +<hr size="1"><address style="align: right;"><small>Generated on Sun Oct 7 23:43:50 2007 for anytun by +<a href="http://www.doxygen.org/index.html"> +<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address> +</body> +</html> diff --git a/doc/html/globals_vars.html b/doc/html/globals_vars.html new file mode 100644 index 0000000..41911f5 --- /dev/null +++ b/doc/html/globals_vars.html @@ -0,0 +1,44 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> +<title>anytun: Class Members</title> +<link href="doxygen.css" rel="stylesheet" type="text/css"> +<link href="tabs.css" rel="stylesheet" type="text/css"> +</head><body> +<!-- Generated by Doxygen 1.5.1 --> +<div class="tabs"> + <ul> + <li><a href="main.html"><span>Main Page</span></a></li> + <li><a href="namespaces.html"><span>Namespaces</span></a></li> + <li><a href="annotated.html"><span>Classes</span></a></li> + <li id="current"><a href="files.html"><span>Files</span></a></li> + </ul></div> +<div class="tabs"> + <ul> + <li><a href="files.html"><span>File List</span></a></li> + <li id="current"><a href="globals.html"><span>File Members</span></a></li> + </ul></div> +<div class="tabs"> + <ul> + <li><a href="globals.html"><span>All</span></a></li> + <li><a href="globals_func.html"><span>Functions</span></a></li> + <li id="current"><a href="globals_vars.html"><span>Variables</span></a></li> + <li><a href="globals_type.html"><span>Typedefs</span></a></li> + <li><a href="globals_enum.html"><span>Enumerations</span></a></li> + <li><a href="globals_eval.html"><span>Enumerator</span></a></li> + <li><a href="globals_defs.html"><span>Defines</span></a></li> + </ul> +</div> + +<p> +<ul> +<li>cLog +: <a class="el" href="log_8cpp.html#dabafeab912880de79e232735f44ce33">log.cpp</a> +, <a class="el" href="log_8h.html#dabafeab912880de79e232735f44ce33">log.h</a> +<li>MIN_GCRYPT_VERSION +: <a class="el" href="keyDerivation_8h.html#6dcd6ca1447ccea53a7975c2a18f6a83">keyDerivation.h</a> +</ul> +<hr size="1"><address style="align: right;"><small>Generated on Sun Oct 7 23:43:50 2007 for anytun by +<a href="http://www.doxygen.org/index.html"> +<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address> +</body> +</html> diff --git a/doc/html/hierarchy.html b/doc/html/hierarchy.html new file mode 100644 index 0000000..07e4558 --- /dev/null +++ b/doc/html/hierarchy.html @@ -0,0 +1,84 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> +<title>anytun: Hierarchical Index</title> +<link href="doxygen.css" rel="stylesheet" type="text/css"> +<link href="tabs.css" rel="stylesheet" type="text/css"> +</head><body> +<!-- Generated by Doxygen 1.5.1 --> +<div class="tabs"> + <ul> + <li><a href="main.html"><span>Main Page</span></a></li> + <li><a href="namespaces.html"><span>Namespaces</span></a></li> + <li id="current"><a href="annotated.html"><span>Classes</span></a></li> + <li><a href="files.html"><span>Files</span></a></li> + </ul></div> +<div class="tabs"> + <ul> + <li><a href="annotated.html"><span>Class List</span></a></li> + <li id="current"><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> + <li><a href="functions.html"><span>Class Members</span></a></li> + </ul></div> +<h1>anytun Class Hierarchy</h1>This inheritance list is sorted roughly, but not completely, alphabetically:<ul> +<li><a class="el" href="classAuthAlgo.html">AuthAlgo</a> +<ul> +<li><a class="el" href="classHmacAuthAlgo.html">HmacAuthAlgo</a> +<li><a class="el" href="classNullAuthAlgo.html">NullAuthAlgo</a> +</ul> +<li><a class="el" href="classBuffer.html">Buffer</a> +<ul> +<li><a class="el" href="classPacket.html">Packet</a> +<ul> +<li><a class="el" href="classsatp_1_1SATP.html">satp::SATP</a> +</ul> +</ul> +<li><a class="el" href="classCondition.html">Condition</a> +<li><a class="el" href="classCypher.html">Cypher</a> +<ul> +<li><a class="el" href="classAesIcmCypher.html">AesIcmCypher</a> +<li><a class="el" href="classNullCypher.html">NullCypher</a> +</ul> +<li><a class="el" href="classKeyDerivation.html">KeyDerivation</a> +<li><a class="el" href="classLock.html">Lock</a> +<li><a class="el" href="classLog.html">Log</a> +<li><a class="el" href="classLog_1_1instanceCleaner.html">Log::instanceCleaner</a> +<li><a class="el" href="classLogStringBuilder.html">LogStringBuilder</a> +<li><a class="el" href="classMutex.html">Mutex</a> +<li><a class="el" href="classOptions.html">Options</a> +<li><a class="el" href="structPacket_1_1HeaderStruct.html">Packet::HeaderStruct</a> +<li><a class="el" href="classPacketSource.html">PacketSource</a> +<ul> +<li><a class="el" href="classUDPPacketSource.html">UDPPacketSource</a> +</ul> +<li><a class="el" href="structParam.html">Param</a> +<li><a class="el" href="classSemaphore.html">Semaphore</a> +<li><a class="el" href="classSeqWindow.html">SeqWindow</a> +<li><a class="el" href="classSignalController.html">SignalController</a> +<li><a class="el" href="classSignalHandler.html">SignalHandler</a> +<ul> +<li><a class="el" href="classSigHupHandler.html">SigHupHandler</a> +<li><a class="el" href="classSigIntHandler.html">SigIntHandler</a> +<li><a class="el" href="classSigQuitHandler.html">SigQuitHandler</a> +<li><a class="el" href="classSigTermHandler.html">SigTermHandler</a> +<li><a class="el" href="classSigUsr1Handler.html">SigUsr1Handler</a> +<li><a class="el" href="classSigUsr2Handler.html">SigUsr2Handler</a> +</ul> +<li><a class="el" href="classSocket.html">Socket</a> +<ul> +<li><a class="el" href="classCommunicatingSocket.html">CommunicatingSocket</a> +<ul> +<li><a class="el" href="classTCPSocket.html">TCPSocket</a> +<li><a class="el" href="classUDPSocket.html">UDPSocket</a> +<ul> +<li><a class="el" href="classUDPPacketSource.html">UDPPacketSource</a> +</ul> +</ul> +<li><a class="el" href="classTCPServerSocket.html">TCPServerSocket</a> +</ul> +<li><a class="el" href="classSocketException.html">SocketException</a> +<li><a class="el" href="classTunDevice.html">TunDevice</a> +</ul> +<hr size="1"><address style="align: right;"><small>Generated on Sun Oct 7 23:43:49 2007 for anytun by +<a href="http://www.doxygen.org/index.html"> +<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address> +</body> +</html> diff --git a/doc/html/index.html b/doc/html/index.html new file mode 100644 index 0000000..1b8693f --- /dev/null +++ b/doc/html/index.html @@ -0,0 +1,8 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> +<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> +<title>anytun</title></head> +<frameset cols="250,*"> + <frame src="tree.html" name="treefrm"> + <frame src="main.html" name="basefrm"> +</frameset> +</html> diff --git a/doc/html/keyDerivation_8cpp.html b/doc/html/keyDerivation_8cpp.html new file mode 100644 index 0000000..d6e5b1e --- /dev/null +++ b/doc/html/keyDerivation_8cpp.html @@ -0,0 +1,30 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> +<title>anytun: keyDerivation.cpp File Reference</title> +<link href="doxygen.css" rel="stylesheet" type="text/css"> +<link href="tabs.css" rel="stylesheet" type="text/css"> +</head><body> +<!-- Generated by Doxygen 1.5.1 --> +<div class="tabs"> + <ul> + <li><a href="main.html"><span>Main Page</span></a></li> + <li><a href="namespaces.html"><span>Namespaces</span></a></li> + <li><a href="annotated.html"><span>Classes</span></a></li> + <li id="current"><a href="files.html"><span>Files</span></a></li> + </ul></div> +<div class="tabs"> + <ul> + <li><a href="files.html"><span>File List</span></a></li> + <li><a href="globals.html"><span>File Members</span></a></li> + </ul></div> +<h1>keyDerivation.cpp File Reference</h1><code>#include "<a class="el" href="keyDerivation_8h-source.html">keyDerivation.h</a>"</code><br> +<code>#include <iostream></code><br> +<code>#include <srtp/crypto_kernel.h></code><br> +<table border="0" cellpadding="0" cellspacing="0"> +<tr><td></td></tr> +</table> +<hr size="1"><address style="align: right;"><small>Generated on Sun Oct 7 23:43:49 2007 for anytun by +<a href="http://www.doxygen.org/index.html"> +<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address> +</body> +</html> diff --git a/doc/html/keyDerivation_8h-source.html b/doc/html/keyDerivation_8h-source.html new file mode 100644 index 0000000..38ccb23 --- /dev/null +++ b/doc/html/keyDerivation_8h-source.html @@ -0,0 +1,97 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> +<title>anytun: keyDerivation.h Source File</title> +<link href="doxygen.css" rel="stylesheet" type="text/css"> +<link href="tabs.css" rel="stylesheet" type="text/css"> +</head><body> +<!-- Generated by Doxygen 1.5.1 --> +<div class="tabs"> + <ul> + <li><a href="main.html"><span>Main Page</span></a></li> + <li><a href="namespaces.html"><span>Namespaces</span></a></li> + <li><a href="annotated.html"><span>Classes</span></a></li> + <li id="current"><a href="files.html"><span>Files</span></a></li> + </ul></div> +<div class="tabs"> + <ul> + <li><a href="files.html"><span>File List</span></a></li> + <li><a href="globals.html"><span>File Members</span></a></li> + </ul></div> +<h1>keyDerivation.h</h1><a href="keyDerivation_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">/*</span> +<a name="l00002"></a>00002 <span class="comment"> * anytun</span> +<a name="l00003"></a>00003 <span class="comment"> *</span> +<a name="l00004"></a>00004 <span class="comment"> * The secure anycast tunneling protocol (satp) defines a protocol used</span> +<a name="l00005"></a>00005 <span class="comment"> * for communication between any combination of unicast and anycast</span> +<a name="l00006"></a>00006 <span class="comment"> * tunnel endpoints. It has less protocol overhead than IPSec in Tunnel</span> +<a name="l00007"></a>00007 <span class="comment"> * mode and allows tunneling of every ETHER TYPE protocol (e.g.</span> +<a name="l00008"></a>00008 <span class="comment"> * ethernet, ip, arp ...). satp directly includes cryptography and</span> +<a name="l00009"></a>00009 <span class="comment"> * message authentication based on the methodes used by SRTP. It is</span> +<a name="l00010"></a>00010 <span class="comment"> * intended to deliver a generic, scaleable and secure solution for</span> +<a name="l00011"></a>00011 <span class="comment"> * tunneling and relaying of packets of any protocol.</span> +<a name="l00012"></a>00012 <span class="comment"> *</span> +<a name="l00013"></a>00013 <span class="comment"> *</span> +<a name="l00014"></a>00014 <span class="comment"> * Copyright (C) 2007 anytun.org <satp@wirdorange.org></span> +<a name="l00015"></a>00015 <span class="comment"> *</span> +<a name="l00016"></a>00016 <span class="comment"> * This program is free software; you can redistribute it and/or modify</span> +<a name="l00017"></a>00017 <span class="comment"> * it under the terms of the GNU General Public License version 2</span> +<a name="l00018"></a>00018 <span class="comment"> * as published by the Free Software Foundation.</span> +<a name="l00019"></a>00019 <span class="comment"> *</span> +<a name="l00020"></a>00020 <span class="comment"> * This program is distributed in the hope that it will be useful,</span> +<a name="l00021"></a>00021 <span class="comment"> * but WITHOUT ANY WARRANTY; without even the implied warranty of</span> +<a name="l00022"></a>00022 <span class="comment"> * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the</span> +<a name="l00023"></a>00023 <span class="comment"> * GNU General Public License for more details.</span> +<a name="l00024"></a>00024 <span class="comment"> *</span> +<a name="l00025"></a>00025 <span class="comment"> * You should have received a copy of the GNU General Public License</span> +<a name="l00026"></a>00026 <span class="comment"> * along with this program (see the file COPYING included with this</span> +<a name="l00027"></a>00027 <span class="comment"> * distribution); if not, write to the Free Software Foundation, Inc.,</span> +<a name="l00028"></a>00028 <span class="comment"> * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA</span> +<a name="l00029"></a>00029 <span class="comment"> */</span> +<a name="l00030"></a>00030 +<a name="l00031"></a>00031 <span class="preprocessor">#ifndef _KEYDERIVATION_H_</span> +<a name="l00032"></a>00032 <span class="preprocessor"></span><span class="preprocessor">#define _KEYDERIVATION_H_</span> +<a name="l00033"></a>00033 <span class="preprocessor"></span> +<a name="l00034"></a>00034 <span class="preprocessor">#include "<a class="code" href="datatypes_8h.html">datatypes.h</a>"</span> +<a name="l00035"></a>00035 <span class="preprocessor">#include "<a class="code" href="buffer_8h.html">buffer.h</a>"</span> +<a name="l00036"></a>00036 +<a name="l00037"></a>00037 <span class="preprocessor">#include <string></span> +<a name="l00038"></a>00038 +<a name="l00039"></a>00039 <span class="keyword">extern</span> <span class="stringliteral">"C"</span> { +<a name="l00040"></a>00040 <span class="preprocessor"> #include <srtp/crypto_kernel.h></span> +<a name="l00041"></a>00041 <span class="preprocessor"> #include <gcrypt.h></span> +<a name="l00042"></a>00042 } +<a name="l00043"></a>00043 +<a name="l00044"></a>00044 +<a name="l00045"></a><a class="code" href="keyDerivation_8h.html#4829fcd87054af9b3ced79bbac1ce1eb">00045</a> <span class="keyword">typedef</span> <span class="keyword">enum</span> { +<a name="l00046"></a>00046 <a class="code" href="keyDerivation_8h.html#4829fcd87054af9b3ced79bbac1ce1eb4cece0d357861fb1d1b4087f05284543">label_satp_encryption</a> = 0x00, +<a name="l00047"></a>00047 <a class="code" href="keyDerivation_8h.html#4829fcd87054af9b3ced79bbac1ce1ebd45276cca55df72c149b44bbf80757c3">label_satp_msg_auth</a> = 0x01, +<a name="l00048"></a>00048 <a class="code" href="keyDerivation_8h.html#4829fcd87054af9b3ced79bbac1ce1eb78eb4c963e5ca87676c0a713e2fd9aa4">label_satp_salt</a> = 0x02, +<a name="l00049"></a>00049 } <a class="code" href="keyDerivation_8h.html#4829fcd87054af9b3ced79bbac1ce1eb">satp_prf_label</a>; +<a name="l00050"></a>00050 +<a name="l00051"></a><a class="code" href="classKeyDerivation.html">00051</a> <span class="keyword">class </span><a class="code" href="classKeyDerivation.html">KeyDerivation</a> +<a name="l00052"></a>00052 { +<a name="l00053"></a>00053 <span class="keyword">public</span>: +<a name="l00054"></a><a class="code" href="classKeyDerivation.html#07c3735d1b2e1285b6c427a2706ebc67">00054</a> <a class="code" href="classKeyDerivation.html#07c3735d1b2e1285b6c427a2706ebc67">KeyDerivation</a>() : <a class="code" href="classKeyDerivation.html#426dcd34d3b60191a3db55dd970eeb17">ld_kdr_</a>(-1), <a class="code" href="classKeyDerivation.html#6b7dd9a922de96a8f76cf6c453adab28">cipher_</a>(NULL) {}; +<a name="l00055"></a><a class="code" href="classKeyDerivation.html#ccce2c32370be2388ca0a977fef1f6cc">00055</a> <span class="keyword">virtual</span> <a class="code" href="classKeyDerivation.html#ccce2c32370be2388ca0a977fef1f6cc">~KeyDerivation</a>() {}; +<a name="l00056"></a>00056 +<a name="l00057"></a>00057 <span class="keywordtype">void</span> <a class="code" href="classKeyDerivation.html#5f03e97de1a041f6012d1fcfabf13773">init</a>(<a class="code" href="classBuffer.html">Buffer</a> key, <a class="code" href="classBuffer.html">Buffer</a> salt); +<a name="l00058"></a>00058 err_status_t <a class="code" href="classKeyDerivation.html#1c6d7a055b6b5b88076e15218f936663">setLogKDRate</a>(<span class="keyword">const</span> uint8_t ld_rate); +<a name="l00059"></a>00059 err_status_t <a class="code" href="classKeyDerivation.html#025e21ecdd0389b768eaa61fed660c86">generate</a>(<a class="code" href="keyDerivation_8h.html#4829fcd87054af9b3ced79bbac1ce1eb">satp_prf_label</a> label, <a class="code" href="datatypes_8h.html#317be74a3176b4149a817241bd69f9b2">seq_nr_t</a> seq_nr, <a class="code" href="classBuffer.html">Buffer</a>& key, uint32_t length); +<a name="l00060"></a>00060 <span class="keywordtype">void</span> <a class="code" href="classKeyDerivation.html#8d8c405ee7c3753b4807b36a8cbe537a">clear</a>(); +<a name="l00061"></a>00061 +<a name="l00062"></a><a class="code" href="classKeyDerivation.html#9aaf24245f7dec6e68fc24541abce94b">00062</a> <span class="keyword">static</span> <span class="keyword">const</span> std::string <a class="code" href="classKeyDerivation.html#9aaf24245f7dec6e68fc24541abce94b">MIN_GCRYPT_VERSION</a>; +<a name="l00063"></a>00063 +<a name="l00064"></a>00064 <span class="keyword">protected</span>: +<a name="l00065"></a><a class="code" href="classKeyDerivation.html#426dcd34d3b60191a3db55dd970eeb17">00065</a> <a class="code" href="datatypes_8h.html#ef44329758059c91c76d334e8fc09700">int8_t</a> <a class="code" href="classKeyDerivation.html#426dcd34d3b60191a3db55dd970eeb17">ld_kdr_</a>; <span class="comment">// ld(key_derivation_rate)</span> +<a name="l00066"></a><a class="code" href="classKeyDerivation.html#52e057f1085920a61ea44c5c9936865c">00066</a> <a class="code" href="classBuffer.html">Buffer</a> <a class="code" href="classKeyDerivation.html#52e057f1085920a61ea44c5c9936865c">salt_</a>; +<a name="l00067"></a>00067 +<a name="l00068"></a><a class="code" href="classKeyDerivation.html#6b7dd9a922de96a8f76cf6c453adab28">00068</a> gcry_cipher_hd_t <a class="code" href="classKeyDerivation.html#6b7dd9a922de96a8f76cf6c453adab28">cipher_</a>; +<a name="l00069"></a>00069 }; +<a name="l00070"></a>00070 +<a name="l00071"></a><a class="code" href="keyDerivation_8h.html#6dcd6ca1447ccea53a7975c2a18f6a83">00071</a> <span class="keyword">const</span> std::string <a class="code" href="keyDerivation_8h.html#6dcd6ca1447ccea53a7975c2a18f6a83">MIN_GCRYPT_VERSION</a> = <span class="stringliteral">"1.2.3"</span>; +<a name="l00072"></a>00072 +<a name="l00073"></a>00073 <span class="preprocessor">#endif</span> +</pre></div><hr size="1"><address style="align: right;"><small>Generated on Sun Oct 7 23:43:49 2007 for anytun by +<a href="http://www.doxygen.org/index.html"> +<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address> +</body> +</html> diff --git a/doc/html/keyDerivation_8h.html b/doc/html/keyDerivation_8h.html new file mode 100644 index 0000000..ba8fff3 --- /dev/null +++ b/doc/html/keyDerivation_8h.html @@ -0,0 +1,88 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> +<title>anytun: keyDerivation.h File Reference</title> +<link href="doxygen.css" rel="stylesheet" type="text/css"> +<link href="tabs.css" rel="stylesheet" type="text/css"> +</head><body> +<!-- Generated by Doxygen 1.5.1 --> +<div class="tabs"> + <ul> + <li><a href="main.html"><span>Main Page</span></a></li> + <li><a href="namespaces.html"><span>Namespaces</span></a></li> + <li><a href="annotated.html"><span>Classes</span></a></li> + <li id="current"><a href="files.html"><span>Files</span></a></li> + </ul></div> +<div class="tabs"> + <ul> + <li><a href="files.html"><span>File List</span></a></li> + <li><a href="globals.html"><span>File Members</span></a></li> + </ul></div> +<h1>keyDerivation.h File Reference</h1><code>#include "<a class="el" href="datatypes_8h-source.html">datatypes.h</a>"</code><br> +<code>#include "<a class="el" href="buffer_8h-source.html">buffer.h</a>"</code><br> +<code>#include <string></code><br> +<code>#include <srtp/crypto_kernel.h></code><br> +<code>#include <gcrypt.h></code><br> + +<p> +<a href="keyDerivation_8h-source.html">Go to the source code of this file.</a><table border="0" cellpadding="0" cellspacing="0"> +<tr><td></td></tr> +<tr><td colspan="2"><br><h2>Classes</h2></td></tr> +<tr><td class="memItemLeft" nowrap align="right" valign="top">class </td><td class="memItemRight" valign="bottom"><a class="el" href="classKeyDerivation.html">KeyDerivation</a></td></tr> + +<tr><td colspan="2"><br><h2>Enumerations</h2></td></tr> +<tr><td class="memItemLeft" nowrap align="right" valign="top">enum </td><td class="memItemRight" valign="bottom"><a class="el" href="keyDerivation_8h.html#4829fcd87054af9b3ced79bbac1ce1eb">satp_prf_label</a> { <a class="el" href="keyDerivation_8h.html#4829fcd87054af9b3ced79bbac1ce1eb4cece0d357861fb1d1b4087f05284543">label_satp_encryption</a> = 0x00, +<a class="el" href="keyDerivation_8h.html#4829fcd87054af9b3ced79bbac1ce1ebd45276cca55df72c149b44bbf80757c3">label_satp_msg_auth</a> = 0x01, +<a class="el" href="keyDerivation_8h.html#4829fcd87054af9b3ced79bbac1ce1eb78eb4c963e5ca87676c0a713e2fd9aa4">label_satp_salt</a> = 0x02 + }</td></tr> + +<tr><td colspan="2"><br><h2>Variables</h2></td></tr> +<tr><td class="memItemLeft" nowrap align="right" valign="top">const std::string </td><td class="memItemRight" valign="bottom"><a class="el" href="keyDerivation_8h.html#6dcd6ca1447ccea53a7975c2a18f6a83">MIN_GCRYPT_VERSION</a> = "1.2.3"</td></tr> + +</table> +<hr><h2>Enumeration Type Documentation</h2> +<a class="anchor" name="4829fcd87054af9b3ced79bbac1ce1eb"></a><!-- doxytag: member="keyDerivation.h::satp_prf_label" ref="4829fcd87054af9b3ced79bbac1ce1eb" args="" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">enum <a class="el" href="keyDerivation_8h.html#4829fcd87054af9b3ced79bbac1ce1eb">satp_prf_label</a> </td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> +<dl compact><dt><b>Enumerator: </b></dt><dd> +<table border="0" cellspacing="2" cellpadding="0"> +<tr><td valign="top"><em><a class="anchor" name="4829fcd87054af9b3ced79bbac1ce1eb4cece0d357861fb1d1b4087f05284543"></a><!-- doxytag: member="label_satp_encryption" ref="4829fcd87054af9b3ced79bbac1ce1eb4cece0d357861fb1d1b4087f05284543" args="" -->label_satp_encryption</em> </td><td> +</td></tr> +<tr><td valign="top"><em><a class="anchor" name="4829fcd87054af9b3ced79bbac1ce1ebd45276cca55df72c149b44bbf80757c3"></a><!-- doxytag: member="label_satp_msg_auth" ref="4829fcd87054af9b3ced79bbac1ce1ebd45276cca55df72c149b44bbf80757c3" args="" -->label_satp_msg_auth</em> </td><td> +</td></tr> +<tr><td valign="top"><em><a class="anchor" name="4829fcd87054af9b3ced79bbac1ce1eb78eb4c963e5ca87676c0a713e2fd9aa4"></a><!-- doxytag: member="label_satp_salt" ref="4829fcd87054af9b3ced79bbac1ce1eb78eb4c963e5ca87676c0a713e2fd9aa4" args="" -->label_satp_salt</em> </td><td> +</td></tr> +</table> +</dl> + +</div> +</div><p> +<hr><h2>Variable Documentation</h2> +<a class="anchor" name="6dcd6ca1447ccea53a7975c2a18f6a83"></a><!-- doxytag: member="keyDerivation.h::MIN_GCRYPT_VERSION" ref="6dcd6ca1447ccea53a7975c2a18f6a83" args="" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">const std::string <a class="el" href="keyDerivation_8h.html#6dcd6ca1447ccea53a7975c2a18f6a83">MIN_GCRYPT_VERSION</a> = "1.2.3" </td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<hr size="1"><address style="align: right;"><small>Generated on Sun Oct 7 23:43:49 2007 for anytun by +<a href="http://www.doxygen.org/index.html"> +<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address> +</body> +</html> diff --git a/doc/html/log_8cpp.html b/doc/html/log_8cpp.html new file mode 100644 index 0000000..f1ed570 --- /dev/null +++ b/doc/html/log_8cpp.html @@ -0,0 +1,51 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> +<title>anytun: log.cpp File Reference</title> +<link href="doxygen.css" rel="stylesheet" type="text/css"> +<link href="tabs.css" rel="stylesheet" type="text/css"> +</head><body> +<!-- Generated by Doxygen 1.5.1 --> +<div class="tabs"> + <ul> + <li><a href="main.html"><span>Main Page</span></a></li> + <li><a href="namespaces.html"><span>Namespaces</span></a></li> + <li><a href="annotated.html"><span>Classes</span></a></li> + <li id="current"><a href="files.html"><span>Files</span></a></li> + </ul></div> +<div class="tabs"> + <ul> + <li><a href="files.html"><span>File List</span></a></li> + <li><a href="globals.html"><span>File Members</span></a></li> + </ul></div> +<h1>log.cpp File Reference</h1><code>#include <iostream></code><br> +<code>#include <string></code><br> +<code>#include <syslog.h></code><br> +<code>#include "<a class="el" href="log_8h-source.html">log.h</a>"</code><br> +<code>#include "<a class="el" href="threadUtils_8hpp-source.html">threadUtils.hpp</a>"</code><br> +<table border="0" cellpadding="0" cellspacing="0"> +<tr><td></td></tr> +<tr><td colspan="2"><br><h2>Variables</h2></td></tr> +<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classLog.html">Log</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="log_8cpp.html#dabafeab912880de79e232735f44ce33">cLog</a> = Log::instance()</td></tr> + +</table> +<hr><h2>Variable Documentation</h2> +<a class="anchor" name="dabafeab912880de79e232735f44ce33"></a><!-- doxytag: member="log.cpp::cLog" ref="dabafeab912880de79e232735f44ce33" args="" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname"><a class="el" href="classLog.html">Log</a>& <a class="el" href="log_8h.html#dabafeab912880de79e232735f44ce33">cLog</a> = Log::instance() </td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<hr size="1"><address style="align: right;"><small>Generated on Sun Oct 7 23:43:49 2007 for anytun by +<a href="http://www.doxygen.org/index.html"> +<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address> +</body> +</html> diff --git a/doc/html/log_8h-source.html b/doc/html/log_8h-source.html new file mode 100644 index 0000000..d5599f9 --- /dev/null +++ b/doc/html/log_8h-source.html @@ -0,0 +1,150 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> +<title>anytun: log.h Source File</title> +<link href="doxygen.css" rel="stylesheet" type="text/css"> +<link href="tabs.css" rel="stylesheet" type="text/css"> +</head><body> +<!-- Generated by Doxygen 1.5.1 --> +<div class="tabs"> + <ul> + <li><a href="main.html"><span>Main Page</span></a></li> + <li><a href="namespaces.html"><span>Namespaces</span></a></li> + <li><a href="annotated.html"><span>Classes</span></a></li> + <li id="current"><a href="files.html"><span>Files</span></a></li> + </ul></div> +<div class="tabs"> + <ul> + <li><a href="files.html"><span>File List</span></a></li> + <li><a href="globals.html"><span>File Members</span></a></li> + </ul></div> +<h1>log.h</h1><a href="log_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">/*</span> +<a name="l00002"></a>00002 <span class="comment"> * anytun</span> +<a name="l00003"></a>00003 <span class="comment"> *</span> +<a name="l00004"></a>00004 <span class="comment"> * The secure anycast tunneling protocol (satp) defines a protocol used</span> +<a name="l00005"></a>00005 <span class="comment"> * for communication between any combination of unicast and anycast</span> +<a name="l00006"></a>00006 <span class="comment"> * tunnel endpoints. It has less protocol overhead than IPSec in Tunnel</span> +<a name="l00007"></a>00007 <span class="comment"> * mode and allows tunneling of every ETHER TYPE protocol (e.g.</span> +<a name="l00008"></a>00008 <span class="comment"> * ethernet, ip, arp ...). satp directly includes cryptography and</span> +<a name="l00009"></a>00009 <span class="comment"> * message authentication based on the methodes used by SRTP. It is</span> +<a name="l00010"></a>00010 <span class="comment"> * intended to deliver a generic, scaleable and secure solution for</span> +<a name="l00011"></a>00011 <span class="comment"> * tunneling and relaying of packets of any protocol.</span> +<a name="l00012"></a>00012 <span class="comment"> *</span> +<a name="l00013"></a>00013 <span class="comment"> *</span> +<a name="l00014"></a>00014 <span class="comment"> * Copyright (C) 2007 anytun.org <satp@wirdorange.org></span> +<a name="l00015"></a>00015 <span class="comment"> *</span> +<a name="l00016"></a>00016 <span class="comment"> * This program is free software; you can redistribute it and/or modify</span> +<a name="l00017"></a>00017 <span class="comment"> * it under the terms of the GNU General Public License version 2</span> +<a name="l00018"></a>00018 <span class="comment"> * as published by the Free Software Foundation.</span> +<a name="l00019"></a>00019 <span class="comment"> *</span> +<a name="l00020"></a>00020 <span class="comment"> * This program is distributed in the hope that it will be useful,</span> +<a name="l00021"></a>00021 <span class="comment"> * but WITHOUT ANY WARRANTY; without even the implied warranty of</span> +<a name="l00022"></a>00022 <span class="comment"> * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the</span> +<a name="l00023"></a>00023 <span class="comment"> * GNU General Public License for more details.</span> +<a name="l00024"></a>00024 <span class="comment"> *</span> +<a name="l00025"></a>00025 <span class="comment"> * You should have received a copy of the GNU General Public License</span> +<a name="l00026"></a>00026 <span class="comment"> * along with this program (see the file COPYING included with this</span> +<a name="l00027"></a>00027 <span class="comment"> * distribution); if not, write to the Free Software Foundation, Inc.,</span> +<a name="l00028"></a>00028 <span class="comment"> * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA</span> +<a name="l00029"></a>00029 <span class="comment"> */</span> +<a name="l00030"></a>00030 +<a name="l00031"></a>00031 <span class="preprocessor">#ifndef _LOG_H_</span> +<a name="l00032"></a>00032 <span class="preprocessor"></span><span class="preprocessor">#define _LOG_H_</span> +<a name="l00033"></a>00033 <span class="preprocessor"></span> +<a name="l00034"></a>00034 <span class="preprocessor">#include <string></span> +<a name="l00035"></a>00035 <span class="preprocessor">#include <sstream></span> +<a name="l00036"></a>00036 <span class="preprocessor">#include <syslog.h></span> +<a name="l00037"></a>00037 +<a name="l00038"></a>00038 <span class="preprocessor">#include "<a class="code" href="threadUtils_8hpp.html">threadUtils.hpp</a>"</span> +<a name="l00039"></a>00039 +<a name="l00040"></a>00040 <span class="keyword">class </span><a class="code" href="classLog.html">Log</a>; +<a name="l00041"></a>00041 +<a name="l00042"></a><a class="code" href="classLogStringBuilder.html">00042</a> <span class="keyword">class </span><a class="code" href="classLogStringBuilder.html">LogStringBuilder</a> +<a name="l00043"></a>00043 { +<a name="l00044"></a>00044 <span class="keyword">public</span>: +<a name="l00045"></a>00045 <a class="code" href="classLogStringBuilder.html#5df8c8d7ab7615c8552de3d4d21d3417">LogStringBuilder</a>(<a class="code" href="classLogStringBuilder.html">LogStringBuilder</a> <span class="keyword">const</span>& src); +<a name="l00046"></a>00046 <a class="code" href="classLogStringBuilder.html#5df8c8d7ab7615c8552de3d4d21d3417">LogStringBuilder</a>(<a class="code" href="classLog.html">Log</a>& l, <span class="keywordtype">int</span> p); +<a name="l00047"></a>00047 <a class="code" href="classLogStringBuilder.html#c63707864e0005008cc4a67d8dec9933">~LogStringBuilder</a>(); +<a name="l00048"></a>00048 +<a name="l00049"></a>00049 <span class="keyword">template</span><<span class="keyword">class</span> T> +<a name="l00050"></a><a class="code" href="classLogStringBuilder.html#9b4f26f5e64aacc172c0818073117e42">00050</a> std::ostream& <a class="code" href="classLogStringBuilder.html#9b4f26f5e64aacc172c0818073117e42">operator<<</a>(T <span class="keyword">const</span>& value) { <span class="keywordflow">return</span> <a class="code" href="classLogStringBuilder.html#405447561d3d7337cc093dad6c6d81b5">stream</a> << value; } +<a name="l00051"></a>00051 +<a name="l00052"></a>00052 <span class="keyword">private</span>: +<a name="l00053"></a><a class="code" href="classLogStringBuilder.html#499c5b058df61e2215368592d21aacf1">00053</a> <a class="code" href="classLog.html">Log</a>& <a class="code" href="classLogStringBuilder.html#499c5b058df61e2215368592d21aacf1">log</a>; +<a name="l00054"></a><a class="code" href="classLogStringBuilder.html#89d48a7590de117fec0b40c0babbaee5">00054</a> <span class="keywordtype">int</span> <a class="code" href="classLogStringBuilder.html#89d48a7590de117fec0b40c0babbaee5">prio</a>; +<a name="l00055"></a><a class="code" href="classLogStringBuilder.html#405447561d3d7337cc093dad6c6d81b5">00055</a> std::stringstream <a class="code" href="classLogStringBuilder.html#405447561d3d7337cc093dad6c6d81b5">stream</a>; +<a name="l00056"></a>00056 }; +<a name="l00057"></a>00057 +<a name="l00058"></a><a class="code" href="classLog.html">00058</a> <span class="keyword">class </span><a class="code" href="classLog.html">Log</a> : <span class="keyword">public</span> std::ostringstream +<a name="l00059"></a>00059 { +<a name="l00060"></a>00060 <span class="keyword">public</span>: +<a name="l00061"></a><a class="code" href="classLog.html#9418bab5d66822411ce1f85823d8425b">00061</a> <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">int</span> <a class="code" href="classLog.html#9418bab5d66822411ce1f85823d8425b">FAC_USER</a> = LOG_USER; +<a name="l00062"></a><a class="code" href="classLog.html#5cf4b465d8ecff58bd62ac064663917b">00062</a> <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">int</span> <a class="code" href="classLog.html#5cf4b465d8ecff58bd62ac064663917b">FAC_MAIL</a> = LOG_MAIL; +<a name="l00063"></a><a class="code" href="classLog.html#6395030c0b8fa7f36b6fe0f6b837055d">00063</a> <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">int</span> <a class="code" href="classLog.html#6395030c0b8fa7f36b6fe0f6b837055d">FAC_DAEMON</a> = LOG_DAEMON; +<a name="l00064"></a><a class="code" href="classLog.html#6f6fde7b6433d827c05cfefe16f9b333">00064</a> <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">int</span> <a class="code" href="classLog.html#6f6fde7b6433d827c05cfefe16f9b333">FAC_AUTH</a> = LOG_AUTH; +<a name="l00065"></a><a class="code" href="classLog.html#be74100156fee45add0417bc9f460f30">00065</a> <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">int</span> <a class="code" href="classLog.html#be74100156fee45add0417bc9f460f30">FAC_SYSLOG</a> = LOG_SYSLOG; +<a name="l00066"></a><a class="code" href="classLog.html#28a1239643de68f79ad6c2337acfd2ea">00066</a> <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">int</span> <a class="code" href="classLog.html#28a1239643de68f79ad6c2337acfd2ea">FAC_LPR</a> = LOG_LPR; +<a name="l00067"></a><a class="code" href="classLog.html#b9f56520aeae70b9d98396f67ad1310b">00067</a> <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">int</span> <a class="code" href="classLog.html#b9f56520aeae70b9d98396f67ad1310b">FAC_NEWS</a> = LOG_NEWS; +<a name="l00068"></a><a class="code" href="classLog.html#d5b2e5f3987835ec077013c6a263ed5f">00068</a> <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">int</span> <a class="code" href="classLog.html#d5b2e5f3987835ec077013c6a263ed5f">FAC_UUCP</a> = LOG_UUCP; +<a name="l00069"></a><a class="code" href="classLog.html#6a455dfca6d859f77ed79b6d92ad659a">00069</a> <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">int</span> <a class="code" href="classLog.html#6a455dfca6d859f77ed79b6d92ad659a">FAC_CRON</a> = LOG_CRON; +<a name="l00070"></a><a class="code" href="classLog.html#5245bb60b9c33e31027ea1f9a77d8053">00070</a> <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">int</span> <a class="code" href="classLog.html#5245bb60b9c33e31027ea1f9a77d8053">FAC_AUTHPRIV</a> = LOG_AUTHPRIV; +<a name="l00071"></a><a class="code" href="classLog.html#9b822438fee8c8a0f4bb56c0e4415c95">00071</a> <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">int</span> <a class="code" href="classLog.html#9b822438fee8c8a0f4bb56c0e4415c95">FAC_FTP</a> = LOG_FTP; +<a name="l00072"></a><a class="code" href="classLog.html#e6271aefc4c8749e602da64f284f0d08">00072</a> <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">int</span> <a class="code" href="classLog.html#e6271aefc4c8749e602da64f284f0d08">FAC_LOCAL0</a> = LOG_LOCAL0; +<a name="l00073"></a><a class="code" href="classLog.html#b553df5af8dd47f2e9d29569b26b7713">00073</a> <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">int</span> <a class="code" href="classLog.html#b553df5af8dd47f2e9d29569b26b7713">FAC_LOCAL1</a> = LOG_LOCAL1; +<a name="l00074"></a><a class="code" href="classLog.html#1e79b43d3ed6f44281f1d6f4d6e2a829">00074</a> <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">int</span> <a class="code" href="classLog.html#1e79b43d3ed6f44281f1d6f4d6e2a829">FAC_LOCAL2</a> = LOG_LOCAL2; +<a name="l00075"></a><a class="code" href="classLog.html#467961bf9b0b73dd863a29e29642ed62">00075</a> <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">int</span> <a class="code" href="classLog.html#467961bf9b0b73dd863a29e29642ed62">FAC_LOCAL3</a> = LOG_LOCAL3; +<a name="l00076"></a><a class="code" href="classLog.html#2dfec8266dc4bfd9f4a37a6a6a193724">00076</a> <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">int</span> <a class="code" href="classLog.html#2dfec8266dc4bfd9f4a37a6a6a193724">FAC_LOCAL4</a> = LOG_LOCAL4; +<a name="l00077"></a><a class="code" href="classLog.html#8c8f287b845408f62e9971869764193d">00077</a> <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">int</span> <a class="code" href="classLog.html#8c8f287b845408f62e9971869764193d">FAC_LOCAL5</a> = LOG_LOCAL5; +<a name="l00078"></a><a class="code" href="classLog.html#c7c45c9e1daa96ecb60ff12064a3dc6e">00078</a> <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">int</span> <a class="code" href="classLog.html#c7c45c9e1daa96ecb60ff12064a3dc6e">FAC_LOCAL6</a> = LOG_LOCAL6; +<a name="l00079"></a><a class="code" href="classLog.html#886a44fb4cec033f0f7c028f530fe97c">00079</a> <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">int</span> <a class="code" href="classLog.html#886a44fb4cec033f0f7c028f530fe97c">FAC_LOCAL7</a> = LOG_LOCAL7; +<a name="l00080"></a>00080 +<a name="l00081"></a><a class="code" href="classLog.html#3b068a7b9c9a7bd3a42d519daea16564">00081</a> <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">int</span> <a class="code" href="classLog.html#3b068a7b9c9a7bd3a42d519daea16564">PRIO_EMERG</a> = LOG_EMERG; +<a name="l00082"></a><a class="code" href="classLog.html#77741b4b68493a7b082f856c9a70cae6">00082</a> <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">int</span> <a class="code" href="classLog.html#77741b4b68493a7b082f856c9a70cae6">PRIO_ALERT</a> = LOG_ALERT; +<a name="l00083"></a><a class="code" href="classLog.html#275d2db1310f0b9663ac1e048cadd389">00083</a> <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">int</span> <a class="code" href="classLog.html#275d2db1310f0b9663ac1e048cadd389">PRIO_CRIT</a> = LOG_CRIT; +<a name="l00084"></a><a class="code" href="classLog.html#d3769cb6592629a056ffeaa4ce1f3d46">00084</a> <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">int</span> <a class="code" href="classLog.html#d3769cb6592629a056ffeaa4ce1f3d46">PRIO_ERR</a> = LOG_ERR; +<a name="l00085"></a><a class="code" href="classLog.html#ef36517c65a41f4cf69d4795ec84b4a2">00085</a> <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">int</span> <a class="code" href="classLog.html#ef36517c65a41f4cf69d4795ec84b4a2">PRIO_WARNING</a> = LOG_WARNING; +<a name="l00086"></a><a class="code" href="classLog.html#783504697beb7cc8905d0296704d62f2">00086</a> <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">int</span> <a class="code" href="classLog.html#783504697beb7cc8905d0296704d62f2">PRIO_NOTICE</a> = LOG_NOTICE; +<a name="l00087"></a><a class="code" href="classLog.html#3c50bb6ae5eff66436d72a53c50b0f6b">00087</a> <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">int</span> <a class="code" href="classLog.html#3c50bb6ae5eff66436d72a53c50b0f6b">PRIO_INFO</a> = LOG_INFO; +<a name="l00088"></a><a class="code" href="classLog.html#f9aad3521e9eda1c156009188cc0674b">00088</a> <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">int</span> <a class="code" href="classLog.html#f9aad3521e9eda1c156009188cc0674b">PRIO_DEBUG</a> = LOG_DEBUG; +<a name="l00089"></a>00089 +<a name="l00090"></a>00090 <span class="keyword">static</span> <a class="code" href="classLog.html">Log</a>& <a class="code" href="classLog.html#aa59866ce9e78db15ce7aaeb00fc1063">instance</a>(); +<a name="l00091"></a>00091 +<a name="l00092"></a>00092 <a class="code" href="classLog.html">Log</a>& <a class="code" href="classLog.html#f8cf0541a8284aabd5fe924a9cd2eab8">setLogName</a>(std::string newLogName); +<a name="l00093"></a><a class="code" href="classLog.html#9090c0fbbc5a3223dbd361a827788c17">00093</a> std::string <a class="code" href="classLog.html#9090c0fbbc5a3223dbd361a827788c17">getLogName</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code" href="classLog.html#8abf9fa58d7af501f25415eb37fd71a0">logName</a>; } +<a name="l00094"></a>00094 <a class="code" href="classLog.html">Log</a>& <a class="code" href="classLog.html#828e15ec0e9108b9fc43d74da77a902c">setFacility</a>(<span class="keywordtype">int</span> newFacility); +<a name="l00095"></a><a class="code" href="classLog.html#238b6e5d47bb83307737f0c809fad669">00095</a> <span class="keywordtype">int</span> <a class="code" href="classLog.html#238b6e5d47bb83307737f0c809fad669">getFacility</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code" href="classLog.html#844dc5894a51dce933ae2109868652a0">facility</a>; } +<a name="l00096"></a>00096 +<a name="l00097"></a><a class="code" href="classLog.html#7077dc047eb915d2fae46e36f5040f85">00097</a> <a class="code" href="classLogStringBuilder.html">LogStringBuilder</a> <a class="code" href="classLog.html#7077dc047eb915d2fae46e36f5040f85">msg</a>(<span class="keywordtype">int</span> prio=<a class="code" href="classLog.html#3c50bb6ae5eff66436d72a53c50b0f6b">PRIO_INFO</a>) { <span class="keywordflow">return</span> <a class="code" href="classLog.html#16ded253dbe65c503d1d853dcf5460d6">LogStringBuilder</a>(*<span class="keyword">this</span>, prio); } +<a name="l00098"></a>00098 +<a name="l00099"></a>00099 <span class="keyword">private</span>: +<a name="l00100"></a>00100 <a class="code" href="classLog.html#f6071a60aa52b6c1b511f99b4bc1b8fe">Log</a>(); +<a name="l00101"></a>00101 <a class="code" href="classLog.html#0fbfda88fbee5027c89f6eb121059360">~Log</a>(); +<a name="l00102"></a>00102 <a class="code" href="classLog.html#f6071a60aa52b6c1b511f99b4bc1b8fe">Log</a>(<span class="keyword">const</span> <a class="code" href="classLog.html">Log</a> &l); +<a name="l00103"></a>00103 <span class="keywordtype">void</span> <a class="code" href="classLog.html#076b147c2bc9b2167074e9bc51a24af7">operator=</a>(<span class="keyword">const</span> <a class="code" href="classLog.html">Log</a> &l); +<a name="l00104"></a>00104 +<a name="l00105"></a><a class="code" href="classLog.html#aebf3ec6bf45b97cc842d9d53a5a6c0a">00105</a> <span class="keyword">static</span> <a class="code" href="classLog.html">Log</a>* <a class="code" href="classLog.html#aebf3ec6bf45b97cc842d9d53a5a6c0a">inst</a>; +<a name="l00106"></a><a class="code" href="classLog.html#c561e8206daad55b4aa4ac8808f35314">00106</a> <span class="keyword">static</span> <a class="code" href="classMutex.html">Mutex</a> <a class="code" href="classLog.html#c561e8206daad55b4aa4ac8808f35314">instMutex</a>; +<a name="l00107"></a><a class="code" href="classLog_1_1instanceCleaner.html">00107</a> <span class="keyword">class </span><a class="code" href="classLog_1_1instanceCleaner.html">instanceCleaner</a> { +<a name="l00108"></a><a class="code" href="classLog_1_1instanceCleaner.html#5e2dd96e4f58345bd2067cd40fbec865">00108</a> <span class="keyword">public</span>: <a class="code" href="classLog_1_1instanceCleaner.html#5e2dd96e4f58345bd2067cd40fbec865">~instanceCleaner</a>() { +<a name="l00109"></a>00109 <span class="keywordflow">if</span>(<a class="code" href="classLog.html#aebf3ec6bf45b97cc842d9d53a5a6c0a">Log::inst</a> != 0) +<a name="l00110"></a>00110 <span class="keyword">delete</span> <a class="code" href="classLog.html#aebf3ec6bf45b97cc842d9d53a5a6c0a">Log::inst</a>; +<a name="l00111"></a>00111 } +<a name="l00112"></a>00112 }; +<a name="l00113"></a><a class="code" href="classLog.html#321cfbf9f58ebf3c9366bd6e0b5c18ce">00113</a> <span class="keyword">friend</span> <span class="keyword">class </span><a class="code" href="classLog_1_1instanceCleaner.html">instanceCleaner</a>; +<a name="l00114"></a>00114 +<a name="l00115"></a>00115 <span class="keywordtype">void</span> <a class="code" href="classLog.html#f91976ebadd955414799131cb442d24c">open</a>(); +<a name="l00116"></a>00116 +<a name="l00117"></a><a class="code" href="classLog.html#d69b96c96c1b6aa0c3d67e07ca131e85">00117</a> <a class="code" href="classMutex.html">Mutex</a> <a class="code" href="classLog.html#d69b96c96c1b6aa0c3d67e07ca131e85">mutex</a>; +<a name="l00118"></a><a class="code" href="classLog.html#16ded253dbe65c503d1d853dcf5460d6">00118</a> <span class="keyword">friend</span> <span class="keyword">class </span><a class="code" href="classLogStringBuilder.html">LogStringBuilder</a>; +<a name="l00119"></a>00119 +<a name="l00120"></a><a class="code" href="classLog.html#8abf9fa58d7af501f25415eb37fd71a0">00120</a> std::string <a class="code" href="classLog.html#8abf9fa58d7af501f25415eb37fd71a0">logName</a>; +<a name="l00121"></a><a class="code" href="classLog.html#844dc5894a51dce933ae2109868652a0">00121</a> <span class="keywordtype">int</span> <a class="code" href="classLog.html#844dc5894a51dce933ae2109868652a0">facility</a>; +<a name="l00122"></a>00122 }; +<a name="l00123"></a>00123 +<a name="l00124"></a>00124 <span class="keyword">extern</span> <a class="code" href="classLog.html">Log</a>& <a class="code" href="log_8cpp.html#dabafeab912880de79e232735f44ce33">cLog</a>; +<a name="l00125"></a>00125 +<a name="l00126"></a>00126 <span class="preprocessor">#endif</span> +</pre></div><hr size="1"><address style="align: right;"><small>Generated on Sun Oct 7 23:43:49 2007 for anytun by +<a href="http://www.doxygen.org/index.html"> +<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address> +</body> +</html> diff --git a/doc/html/log_8h.html b/doc/html/log_8h.html new file mode 100644 index 0000000..8968c01 --- /dev/null +++ b/doc/html/log_8h.html @@ -0,0 +1,59 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> +<title>anytun: log.h File Reference</title> +<link href="doxygen.css" rel="stylesheet" type="text/css"> +<link href="tabs.css" rel="stylesheet" type="text/css"> +</head><body> +<!-- Generated by Doxygen 1.5.1 --> +<div class="tabs"> + <ul> + <li><a href="main.html"><span>Main Page</span></a></li> + <li><a href="namespaces.html"><span>Namespaces</span></a></li> + <li><a href="annotated.html"><span>Classes</span></a></li> + <li id="current"><a href="files.html"><span>Files</span></a></li> + </ul></div> +<div class="tabs"> + <ul> + <li><a href="files.html"><span>File List</span></a></li> + <li><a href="globals.html"><span>File Members</span></a></li> + </ul></div> +<h1>log.h File Reference</h1><code>#include <string></code><br> +<code>#include <sstream></code><br> +<code>#include <syslog.h></code><br> +<code>#include "<a class="el" href="threadUtils_8hpp-source.html">threadUtils.hpp</a>"</code><br> + +<p> +<a href="log_8h-source.html">Go to the source code of this file.</a><table border="0" cellpadding="0" cellspacing="0"> +<tr><td></td></tr> +<tr><td colspan="2"><br><h2>Classes</h2></td></tr> +<tr><td class="memItemLeft" nowrap align="right" valign="top">class </td><td class="memItemRight" valign="bottom"><a class="el" href="classLogStringBuilder.html">LogStringBuilder</a></td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top">class </td><td class="memItemRight" valign="bottom"><a class="el" href="classLog.html">Log</a></td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top">class </td><td class="memItemRight" valign="bottom"><a class="el" href="classLog_1_1instanceCleaner.html">Log::instanceCleaner</a></td></tr> + +<tr><td colspan="2"><br><h2>Variables</h2></td></tr> +<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classLog.html">Log</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="log_8h.html#dabafeab912880de79e232735f44ce33">cLog</a></td></tr> + +</table> +<hr><h2>Variable Documentation</h2> +<a class="anchor" name="dabafeab912880de79e232735f44ce33"></a><!-- doxytag: member="log.h::cLog" ref="dabafeab912880de79e232735f44ce33" args="" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname"><a class="el" href="classLog.html">Log</a>& <a class="el" href="log_8h.html#dabafeab912880de79e232735f44ce33">cLog</a> </td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<hr size="1"><address style="align: right;"><small>Generated on Sun Oct 7 23:43:49 2007 for anytun by +<a href="http://www.doxygen.org/index.html"> +<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address> +</body> +</html> diff --git a/doc/html/main.html b/doc/html/main.html new file mode 100644 index 0000000..db41d95 --- /dev/null +++ b/doc/html/main.html @@ -0,0 +1,26 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> +<title>anytun: Main Page</title> +<link href="doxygen.css" rel="stylesheet" type="text/css"> +<link href="tabs.css" rel="stylesheet" type="text/css"> +</head><body> +<!-- Generated by Doxygen 1.5.1 --> +<div class="tabs"> + <ul> + <li id="current"><a href="main.html"><span>Main Page</span></a></li> + <li><a href="namespaces.html"><span>Namespaces</span></a></li> + <li><a href="annotated.html"><span>Classes</span></a></li> + <li><a href="files.html"><span>Files</span></a></li> + </ul></div> +<h1>anytun Documentation</h1> +<p> +anytun<p> +The secure anycast tunneling protocol (satp) defines a protocol used for communication between any combination of unicast and anycast tunnel endpoints. It has less protocol overhead than IPSec in Tunnel mode and allows tunneling of every ETHER TYPE protocol (e.g. ethernet, ip, arp ...). satp directly includes cryptography and message authentication based on the methodes used by SRTP. It is intended to deliver a generic, scaleable and secure solution for tunneling and relaying of packets of any protocol.<p> +Copyright (C) 2007 anytun.org <<a href="mailto:satp@wirdorange.org">satp@wirdorange.org</a>><p> +This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License version 2 as published by the Free Software Foundation.<p> +This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.<p> +You should have received a copy of the GNU General Public License along with this program (see the file COPYING included with this distribution); if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA <hr size="1"><address style="align: right;"><small>Generated on Sun Oct 7 23:43:49 2007 for anytun by +<a href="http://www.doxygen.org/index.html"> +<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address> +</body> +</html> diff --git a/doc/html/namespaces.html b/doc/html/namespaces.html new file mode 100644 index 0000000..7390571 --- /dev/null +++ b/doc/html/namespaces.html @@ -0,0 +1,24 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> +<title>anytun: Namespace Index</title> +<link href="doxygen.css" rel="stylesheet" type="text/css"> +<link href="tabs.css" rel="stylesheet" type="text/css"> +</head><body> +<!-- Generated by Doxygen 1.5.1 --> +<div class="tabs"> + <ul> + <li><a href="main.html"><span>Main Page</span></a></li> + <li id="current"><a href="namespaces.html"><span>Namespaces</span></a></li> + <li><a href="annotated.html"><span>Classes</span></a></li> + <li><a href="files.html"><span>Files</span></a></li> + </ul></div> +<h1>anytun Namespace List</h1>Here is a list of all namespaces with brief descriptions:<table> + <tr><td class="indexkey"><a class="el" href="namespacesatp.html">satp</a></td><td class="indexvalue"></td></tr> + <tr><td class="indexkey"><a class="el" href="namespacescapy_1_1_5.html">scapy::*</a></td><td class="indexvalue"></td></tr> + <tr><td class="indexkey"><a class="el" href="namespacestd.html">std</a></td><td class="indexvalue"></td></tr> +</table> +<hr size="1"><address style="align: right;"><small>Generated on Sun Oct 7 23:43:50 2007 for anytun by +<a href="http://www.doxygen.org/index.html"> +<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address> +</body> +</html> diff --git a/doc/html/namespacesatp.html b/doc/html/namespacesatp.html new file mode 100644 index 0000000..db10b4a --- /dev/null +++ b/doc/html/namespacesatp.html @@ -0,0 +1,27 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> +<title>anytun: satp Namespace Reference</title> +<link href="doxygen.css" rel="stylesheet" type="text/css"> +<link href="tabs.css" rel="stylesheet" type="text/css"> +</head><body> +<!-- Generated by Doxygen 1.5.1 --> +<div class="tabs"> + <ul> + <li><a href="main.html"><span>Main Page</span></a></li> + <li id="current"><a href="namespaces.html"><span>Namespaces</span></a></li> + <li><a href="annotated.html"><span>Classes</span></a></li> + <li><a href="files.html"><span>Files</span></a></li> + </ul></div> +<h1>satp Namespace Reference</h1> +<p> +<table border="0" cellpadding="0" cellspacing="0"> +<tr><td></td></tr> +<tr><td colspan="2"><br><h2>Classes</h2></td></tr> +<tr><td class="memItemLeft" nowrap align="right" valign="top">class </td><td class="memItemRight" valign="bottom"><a class="el" href="classsatp_1_1SATP.html">SATP</a></td></tr> + +</table> +<hr size="1"><address style="align: right;"><small>Generated on Sun Oct 7 23:43:50 2007 for anytun by +<a href="http://www.doxygen.org/index.html"> +<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address> +</body> +</html> diff --git a/doc/html/namespacescapy_1_1_5.html b/doc/html/namespacescapy_1_1_5.html new file mode 100644 index 0000000..1fdb06e --- /dev/null +++ b/doc/html/namespacescapy_1_1_5.html @@ -0,0 +1,24 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> +<title>anytun: scapy::* Namespace Reference</title> +<link href="doxygen.css" rel="stylesheet" type="text/css"> +<link href="tabs.css" rel="stylesheet" type="text/css"> +</head><body> +<!-- Generated by Doxygen 1.5.1 --> +<div class="tabs"> + <ul> + <li><a href="main.html"><span>Main Page</span></a></li> + <li id="current"><a href="namespaces.html"><span>Namespaces</span></a></li> + <li><a href="annotated.html"><span>Classes</span></a></li> + <li><a href="files.html"><span>Files</span></a></li> + </ul></div> +<h1>scapy::* Namespace Reference</h1> +<p> +<table border="0" cellpadding="0" cellspacing="0"> +<tr><td></td></tr> +</table> +<hr size="1"><address style="align: right;"><small>Generated on Sun Oct 7 23:43:50 2007 for anytun by +<a href="http://www.doxygen.org/index.html"> +<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address> +</body> +</html> diff --git a/doc/html/namespacestd.html b/doc/html/namespacestd.html new file mode 100644 index 0000000..f8d9d87 --- /dev/null +++ b/doc/html/namespacestd.html @@ -0,0 +1,24 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> +<title>anytun: std Namespace Reference</title> +<link href="doxygen.css" rel="stylesheet" type="text/css"> +<link href="tabs.css" rel="stylesheet" type="text/css"> +</head><body> +<!-- Generated by Doxygen 1.5.1 --> +<div class="tabs"> + <ul> + <li><a href="main.html"><span>Main Page</span></a></li> + <li id="current"><a href="namespaces.html"><span>Namespaces</span></a></li> + <li><a href="annotated.html"><span>Classes</span></a></li> + <li><a href="files.html"><span>Files</span></a></li> + </ul></div> +<h1>std Namespace Reference</h1> +<p> +<table border="0" cellpadding="0" cellspacing="0"> +<tr><td></td></tr> +</table> +<hr size="1"><address style="align: right;"><small>Generated on Sun Oct 7 23:43:50 2007 for anytun by +<a href="http://www.doxygen.org/index.html"> +<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address> +</body> +</html> diff --git a/doc/html/options_8cpp.html b/doc/html/options_8cpp.html new file mode 100644 index 0000000..da716ce --- /dev/null +++ b/doc/html/options_8cpp.html @@ -0,0 +1,175 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> +<title>anytun: options.cpp File Reference</title> +<link href="doxygen.css" rel="stylesheet" type="text/css"> +<link href="tabs.css" rel="stylesheet" type="text/css"> +</head><body> +<!-- Generated by Doxygen 1.5.1 --> +<div class="tabs"> + <ul> + <li><a href="main.html"><span>Main Page</span></a></li> + <li><a href="namespaces.html"><span>Namespaces</span></a></li> + <li><a href="annotated.html"><span>Classes</span></a></li> + <li id="current"><a href="files.html"><span>Files</span></a></li> + </ul></div> +<div class="tabs"> + <ul> + <li><a href="files.html"><span>File List</span></a></li> + <li><a href="globals.html"><span>File Members</span></a></li> + </ul></div> +<h1>options.cpp File Reference</h1><code>#include <iostream></code><br> +<code>#include <string></code><br> +<code>#include <sstream></code><br> +<code>#include "<a class="el" href="datatypes_8h-source.html">datatypes.h</a>"</code><br> +<code>#include "<a class="el" href="options_8h-source.html">options.h</a>"</code><br> +<table border="0" cellpadding="0" cellspacing="0"> +<tr><td></td></tr> +<tr><td colspan="2"><br><h2>Defines</h2></td></tr> +<tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="options_8cpp.html#b2c4e3c2031ae2187d3995f4b4848e10">PARSE_BOOL_PARAM</a>(SHORT, LONG, VALUE)</td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="options_8cpp.html#0d965a5094bb6aa3a39c4ff7ea99a13f">PARSE_INVERSE_BOOL_PARAM</a>(SHORT, LONG, VALUE)</td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="options_8cpp.html#8c39923ab70d37dd4ac5c17b7b41df93">PARSE_SCALAR_PARAM</a>(SHORT, LONG, VALUE)</td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="options_8cpp.html#ff99f765434c4a73e4b4b9f5d71022e2">PARSE_SCALAR_PARAM2</a>(SHORT, LONG, VALUE1, VALUE2)</td></tr> + +</table> +<hr><h2>Define Documentation</h2> +<a class="anchor" name="b2c4e3c2031ae2187d3995f4b4848e10"></a><!-- doxytag: member="options.cpp::PARSE_BOOL_PARAM" ref="b2c4e3c2031ae2187d3995f4b4848e10" args="(SHORT, LONG, VALUE)" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">#define PARSE_BOOL_PARAM </td> + <td>(</td> + <td class="paramtype">SHORT, <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype">LONG, <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype">VALUE </td> + <td class="paramname"> </td> + <td> ) </td> + <td width="100%"></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> +<b>Value:</b><div class="fragment"><pre class="fragment"><span class="keywordflow">else</span> <span class="keywordflow">if</span>(str == SHORT || str == LONG) \ + VALUE = <span class="keyword">true</span>; +</pre></div> +</div> +</div><p> +<a class="anchor" name="0d965a5094bb6aa3a39c4ff7ea99a13f"></a><!-- doxytag: member="options.cpp::PARSE_INVERSE_BOOL_PARAM" ref="0d965a5094bb6aa3a39c4ff7ea99a13f" args="(SHORT, LONG, VALUE)" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">#define PARSE_INVERSE_BOOL_PARAM </td> + <td>(</td> + <td class="paramtype">SHORT, <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype">LONG, <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype">VALUE </td> + <td class="paramname"> </td> + <td> ) </td> + <td width="100%"></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> +<b>Value:</b><div class="fragment"><pre class="fragment"><span class="keywordflow">else</span> <span class="keywordflow">if</span>(str == SHORT || str == LONG) \ + VALUE = <span class="keyword">false</span>; +</pre></div> +</div> +</div><p> +<a class="anchor" name="8c39923ab70d37dd4ac5c17b7b41df93"></a><!-- doxytag: member="options.cpp::PARSE_SCALAR_PARAM" ref="8c39923ab70d37dd4ac5c17b7b41df93" args="(SHORT, LONG, VALUE)" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">#define PARSE_SCALAR_PARAM </td> + <td>(</td> + <td class="paramtype">SHORT, <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype">LONG, <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype">VALUE </td> + <td class="paramname"> </td> + <td> ) </td> + <td width="100%"></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> +<b>Value:</b><div class="fragment"><pre class="fragment"><span class="keywordflow">else</span> <span class="keywordflow">if</span>(str == SHORT || str == LONG) \ + { \ + <span class="keywordflow">if</span>(argc < 1 || argv[i+1][0] == <span class="charliteral">'-'</span>) \ + <span class="keywordflow">return</span> <span class="keyword">false</span>; \ + std::stringstream tmp; \ + tmp << argv[i+1]; \ + tmp >> VALUE; \ + argc--; \ + i++; \ + } +</pre></div> +</div> +</div><p> +<a class="anchor" name="ff99f765434c4a73e4b4b9f5d71022e2"></a><!-- doxytag: member="options.cpp::PARSE_SCALAR_PARAM2" ref="ff99f765434c4a73e4b4b9f5d71022e2" args="(SHORT, LONG, VALUE1, VALUE2)" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">#define PARSE_SCALAR_PARAM2 </td> + <td>(</td> + <td class="paramtype">SHORT, <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype">LONG, <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype">VALUE1, <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype">VALUE2 </td> + <td class="paramname"> </td> + <td> ) </td> + <td width="100%"></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> +<b>Value:</b><div class="fragment"><pre class="fragment"><span class="keywordflow">else</span> <span class="keywordflow">if</span>(str == SHORT || str == LONG) \ + { \ + <span class="keywordflow">if</span>(argc < 2 || \ + argv[i+1][0] == <span class="charliteral">'-'</span> || argv[i+2][0] == <span class="charliteral">'-'</span>) \ + <span class="keywordflow">return</span> <span class="keyword">false</span>; \ + std::stringstream tmp; \ + tmp << argv[i+1] << <span class="stringliteral">" "</span> << argv[i+2]; \ + tmp >> VALUE1; \ + tmp >> VALUE2; \ + argc-=2; \ + i+=2; \ + } +</pre></div> +</div> +</div><p> +<hr size="1"><address style="align: right;"><small>Generated on Sun Oct 7 23:43:49 2007 for anytun by +<a href="http://www.doxygen.org/index.html"> +<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address> +</body> +</html> diff --git a/doc/html/options_8h-source.html b/doc/html/options_8h-source.html new file mode 100644 index 0000000..d053366 --- /dev/null +++ b/doc/html/options_8h-source.html @@ -0,0 +1,114 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> +<title>anytun: options.h Source File</title> +<link href="doxygen.css" rel="stylesheet" type="text/css"> +<link href="tabs.css" rel="stylesheet" type="text/css"> +</head><body> +<!-- Generated by Doxygen 1.5.1 --> +<div class="tabs"> + <ul> + <li><a href="main.html"><span>Main Page</span></a></li> + <li><a href="namespaces.html"><span>Namespaces</span></a></li> + <li><a href="annotated.html"><span>Classes</span></a></li> + <li id="current"><a href="files.html"><span>Files</span></a></li> + </ul></div> +<div class="tabs"> + <ul> + <li><a href="files.html"><span>File List</span></a></li> + <li><a href="globals.html"><span>File Members</span></a></li> + </ul></div> +<h1>options.h</h1><a href="options_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">/*</span> +<a name="l00002"></a>00002 <span class="comment"> * anytun</span> +<a name="l00003"></a>00003 <span class="comment"> *</span> +<a name="l00004"></a>00004 <span class="comment"> * The secure anycast tunneling protocol (satp) defines a protocol used</span> +<a name="l00005"></a>00005 <span class="comment"> * for communication between any combination of unicast and anycast</span> +<a name="l00006"></a>00006 <span class="comment"> * tunnel endpoints. It has less protocol overhead than IPSec in Tunnel</span> +<a name="l00007"></a>00007 <span class="comment"> * mode and allows tunneling of every ETHER TYPE protocol (e.g.</span> +<a name="l00008"></a>00008 <span class="comment"> * ethernet, ip, arp ...). satp directly includes cryptography and</span> +<a name="l00009"></a>00009 <span class="comment"> * message authentication based on the methodes used by SRTP. It is</span> +<a name="l00010"></a>00010 <span class="comment"> * intended to deliver a generic, scaleable and secure solution for</span> +<a name="l00011"></a>00011 <span class="comment"> * tunneling and relaying of packets of any protocol.</span> +<a name="l00012"></a>00012 <span class="comment"> *</span> +<a name="l00013"></a>00013 <span class="comment"> *</span> +<a name="l00014"></a>00014 <span class="comment"> * Copyright (C) 2007 anytun.org <satp@wirdorange.org></span> +<a name="l00015"></a>00015 <span class="comment"> *</span> +<a name="l00016"></a>00016 <span class="comment"> * This program is free software; you can redistribute it and/or modify</span> +<a name="l00017"></a>00017 <span class="comment"> * it under the terms of the GNU General Public License version 2</span> +<a name="l00018"></a>00018 <span class="comment"> * as published by the Free Software Foundation.</span> +<a name="l00019"></a>00019 <span class="comment"> *</span> +<a name="l00020"></a>00020 <span class="comment"> * This program is distributed in the hope that it will be useful,</span> +<a name="l00021"></a>00021 <span class="comment"> * but WITHOUT ANY WARRANTY; without even the implied warranty of</span> +<a name="l00022"></a>00022 <span class="comment"> * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the</span> +<a name="l00023"></a>00023 <span class="comment"> * GNU General Public License for more details.</span> +<a name="l00024"></a>00024 <span class="comment"> *</span> +<a name="l00025"></a>00025 <span class="comment"> * You should have received a copy of the GNU General Public License</span> +<a name="l00026"></a>00026 <span class="comment"> * along with this program (see the file COPYING included with this</span> +<a name="l00027"></a>00027 <span class="comment"> * distribution); if not, write to the Free Software Foundation, Inc.,</span> +<a name="l00028"></a>00028 <span class="comment"> * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA</span> +<a name="l00029"></a>00029 <span class="comment"> */</span> +<a name="l00030"></a>00030 +<a name="l00031"></a>00031 <span class="preprocessor">#ifndef _OPTIONS_H_</span> +<a name="l00032"></a>00032 <span class="preprocessor"></span><span class="preprocessor">#define _OPTIONS_H_</span> +<a name="l00033"></a>00033 <span class="preprocessor"></span> +<a name="l00034"></a>00034 <span class="preprocessor">#include "<a class="code" href="threadUtils_8hpp.html">threadUtils.hpp</a>"</span> +<a name="l00035"></a>00035 +<a name="l00036"></a><a class="code" href="classOptions.html">00036</a> <span class="keyword">class </span><a class="code" href="classOptions.html">Options</a> +<a name="l00037"></a>00037 { +<a name="l00038"></a>00038 <span class="keyword">public</span>: +<a name="l00039"></a>00039 <a class="code" href="classOptions.html#b72fb640172a6109e34c8a5366563753">Options</a>(); +<a name="l00040"></a>00040 <span class="keywordtype">bool</span> <a class="code" href="classOptions.html#eef7f9799ffcc31221a54dc9ed3b3e81">parse</a>(<span class="keywordtype">int</span> argc, <span class="keywordtype">char</span>* argv[]); +<a name="l00041"></a>00041 <span class="keywordtype">void</span> <a class="code" href="classOptions.html#5a64af47966f3c0a54a8c3a3385065e3">printUsage</a>(); +<a name="l00042"></a>00042 <span class="keywordtype">void</span> <a class="code" href="classOptions.html#cac40a32d05b48e49595d8d19cf8af47">printOptions</a>(); +<a name="l00043"></a>00043 +<a name="l00044"></a>00044 std::string <a class="code" href="classOptions.html#af7b2ab27fc4b1a74ef89e9fdd0cfb22">getProgname</a>(); +<a name="l00045"></a>00045 <a class="code" href="classOptions.html">Options</a>& <a class="code" href="classOptions.html#1267ce6d4b43ab9c0f8827c434b33b1b">setProgname</a>(std::string p); +<a name="l00046"></a>00046 <a class="code" href="datatypes_8h.html#c8be006c348a522ae126f67f7b2aaf4e">sender_id_t</a> <a class="code" href="classOptions.html#049d0dbe0f6ca10cc18d87924fb2322d">getSenderId</a>(); +<a name="l00047"></a>00047 <a class="code" href="classOptions.html">Options</a>& <a class="code" href="classOptions.html#d10f65b29130c7e31a332e22f77650b0">setSenderId</a>(<a class="code" href="datatypes_8h.html#c8be006c348a522ae126f67f7b2aaf4e">sender_id_t</a> s); +<a name="l00048"></a>00048 std::string <a class="code" href="classOptions.html#0b1ca05363913a66db8dcb829ebc21e2">getLocalAddr</a>(); +<a name="l00049"></a>00049 <a class="code" href="classOptions.html">Options</a>& <a class="code" href="classOptions.html#bf7ebb3ee98c6d31dd5c5b0732188de5">setLocalAddr</a>(std::string l); +<a name="l00050"></a>00050 <a class="code" href="datatypes_8h.html#3aa89f830bb876725b238e6a2a67a809">u_int16_t</a> <a class="code" href="classOptions.html#44a66c61b99fc0d1a953493a3cd4dcab">getLocalPort</a>(); +<a name="l00051"></a>00051 <a class="code" href="classOptions.html">Options</a>& <a class="code" href="classOptions.html#a4b5b364bf2880fcbcd3fe059ccde7eb">setLocalPort</a>(<a class="code" href="datatypes_8h.html#3aa89f830bb876725b238e6a2a67a809">u_int16_t</a> l); +<a name="l00052"></a>00052 std::string <a class="code" href="classOptions.html#46343d900b4dd2ab8e0a7a2a9274e885">getRemoteAddr</a>(); +<a name="l00053"></a>00053 <a class="code" href="classOptions.html">Options</a>& <a class="code" href="classOptions.html#d0848af5b5e029a4ea14fe6fb82d3f46">setRemoteAddr</a>(std::string r); +<a name="l00054"></a>00054 <a class="code" href="datatypes_8h.html#3aa89f830bb876725b238e6a2a67a809">u_int16_t</a> <a class="code" href="classOptions.html#4d2089d4216557810410f31ffa2dfc8b">getRemotePort</a>(); +<a name="l00055"></a>00055 <a class="code" href="classOptions.html">Options</a>& <a class="code" href="classOptions.html#cbd3e9a4e230c2537d86127a092efd40">setRemotePort</a>(<a class="code" href="datatypes_8h.html#3aa89f830bb876725b238e6a2a67a809">u_int16_t</a> r); +<a name="l00056"></a>00056 <a class="code" href="classOptions.html">Options</a>& <a class="code" href="classOptions.html#79249268d3b284f9e254f874cedeef41">setRemoteAddrPort</a>(std::string addr, <a class="code" href="datatypes_8h.html#3aa89f830bb876725b238e6a2a67a809">u_int16_t</a> port); +<a name="l00057"></a>00057 std::string <a class="code" href="classOptions.html#acd35d4f958a4611ba10fc844583b744">getDevName</a>(); +<a name="l00058"></a>00058 <a class="code" href="classOptions.html">Options</a>& <a class="code" href="classOptions.html#8217facd595355be2b4f1130179e3746">setDevName</a>(std::string d); +<a name="l00059"></a>00059 std::string <a class="code" href="classOptions.html#0762384e71fb10883a8fe245a389cee6">getDevType</a>(); +<a name="l00060"></a>00060 <a class="code" href="classOptions.html">Options</a>& <a class="code" href="classOptions.html#d2a4cc3b2ecabba72396648a7a07cc29">setDevType</a>(std::string d); +<a name="l00061"></a>00061 std::string <a class="code" href="classOptions.html#5354b737aa30d786c79f43547c78dc09">getIfconfigParamLocal</a>(); +<a name="l00062"></a>00062 <a class="code" href="classOptions.html">Options</a>& <a class="code" href="classOptions.html#93e1367e5db67df81d2afac1ee5c6c73">setIfconfigParamLocal</a>(std::string i); +<a name="l00063"></a>00063 std::string <a class="code" href="classOptions.html#ee9e8bcc21c6c8c81fc4ed79991d42d5">getIfconfigParamRemoteNetmask</a>(); +<a name="l00064"></a>00064 <a class="code" href="classOptions.html">Options</a>& <a class="code" href="classOptions.html#d0760cecce7395f5022b921642674326">setIfconfigParamRemoteNetmask</a>(std::string i); +<a name="l00065"></a>00065 <a class="code" href="datatypes_8h.html#0246b9fac0b861d94e0e4cc9ae2e5070">window_size_t</a> <a class="code" href="classOptions.html#893c688302a091bcf99cb327b23774fa">getSeqWindowSize</a>(); +<a name="l00066"></a>00066 <a class="code" href="classOptions.html">Options</a>& <a class="code" href="classOptions.html#077dda754c64b01d6736aa4f7862ce6b">setSeqWindowSize</a>(<a class="code" href="datatypes_8h.html#0246b9fac0b861d94e0e4cc9ae2e5070">window_size_t</a> s); +<a name="l00067"></a>00067 std::string <a class="code" href="classOptions.html#71845d106fb9ccef0f8b682a125f4ffd">getCypher</a>(); +<a name="l00068"></a>00068 <a class="code" href="classOptions.html">Options</a>& <a class="code" href="classOptions.html#b3218cd91b41551042595b5216766c00">setCypher</a>(std::string c); +<a name="l00069"></a>00069 std::string <a class="code" href="classOptions.html#ee7bd7127b7ab35e287fb479288e9641">getAuthAlgo</a>(); +<a name="l00070"></a>00070 <a class="code" href="classOptions.html">Options</a>& <a class="code" href="classOptions.html#c093c83be9a50c1dfd5170ff14b647c5">setAuthAlgo</a>(std::string a); +<a name="l00071"></a>00071 +<a name="l00072"></a>00072 <span class="keyword">private</span>: +<a name="l00073"></a><a class="code" href="classOptions.html#3effd9220086fd43e36884295f89bd7c">00073</a> <a class="code" href="classMutex.html">Mutex</a> <a class="code" href="classOptions.html#3effd9220086fd43e36884295f89bd7c">mutex</a>; +<a name="l00074"></a>00074 +<a name="l00075"></a><a class="code" href="classOptions.html#aed7d0eeae21d7d00eb35dccea48b9f3">00075</a> std::string <a class="code" href="classOptions.html#aed7d0eeae21d7d00eb35dccea48b9f3">progname_</a>; +<a name="l00076"></a><a class="code" href="classOptions.html#f166d5f4f6fd17c761ac9a6d7e48d362">00076</a> <a class="code" href="datatypes_8h.html#c8be006c348a522ae126f67f7b2aaf4e">sender_id_t</a> <a class="code" href="classOptions.html#f166d5f4f6fd17c761ac9a6d7e48d362">sender_id_</a>; +<a name="l00077"></a><a class="code" href="classOptions.html#d331507d07c87908a5b199a209a3e97e">00077</a> std::string <a class="code" href="classOptions.html#d331507d07c87908a5b199a209a3e97e">local_addr_</a>; +<a name="l00078"></a><a class="code" href="classOptions.html#744fc32e1b4f5c930251a8b0013f7f0a">00078</a> <a class="code" href="datatypes_8h.html#3aa89f830bb876725b238e6a2a67a809">u_int16_t</a> <a class="code" href="classOptions.html#744fc32e1b4f5c930251a8b0013f7f0a">local_port_</a>; +<a name="l00079"></a><a class="code" href="classOptions.html#af81d4d836e3ca1850b8b474d61944de">00079</a> std::string <a class="code" href="classOptions.html#af81d4d836e3ca1850b8b474d61944de">remote_addr_</a>; +<a name="l00080"></a><a class="code" href="classOptions.html#8481cdc79ca8bde93af9b945838f4559">00080</a> <a class="code" href="datatypes_8h.html#3aa89f830bb876725b238e6a2a67a809">u_int16_t</a> <a class="code" href="classOptions.html#8481cdc79ca8bde93af9b945838f4559">remote_port_</a>; +<a name="l00081"></a><a class="code" href="classOptions.html#3b094d71270549c85ca372f060bfe22c">00081</a> std::string <a class="code" href="classOptions.html#3b094d71270549c85ca372f060bfe22c">dev_name_</a>; +<a name="l00082"></a><a class="code" href="classOptions.html#b0c850a5e29599156af92cf5b3ddff28">00082</a> std::string <a class="code" href="classOptions.html#b0c850a5e29599156af92cf5b3ddff28">dev_type_</a>; +<a name="l00083"></a><a class="code" href="classOptions.html#fd0d76c7e1e2fa6fd9ee0538ff9124b0">00083</a> std::string <a class="code" href="classOptions.html#fd0d76c7e1e2fa6fd9ee0538ff9124b0">ifconfig_param_local_</a>; +<a name="l00084"></a><a class="code" href="classOptions.html#cd2c34152754ab7818ee4bfe3e1b9936">00084</a> std::string <a class="code" href="classOptions.html#cd2c34152754ab7818ee4bfe3e1b9936">ifconfig_param_remote_netmask_</a>; +<a name="l00085"></a><a class="code" href="classOptions.html#d2a0398f717a96602f8c402db12699a5">00085</a> <a class="code" href="datatypes_8h.html#0246b9fac0b861d94e0e4cc9ae2e5070">window_size_t</a> <a class="code" href="classOptions.html#d2a0398f717a96602f8c402db12699a5">seq_window_size_</a>; +<a name="l00086"></a><a class="code" href="classOptions.html#bba16365a15a6a87c90f85e143bebb5f">00086</a> std::string <a class="code" href="classOptions.html#bba16365a15a6a87c90f85e143bebb5f">cypher_</a>; +<a name="l00087"></a><a class="code" href="classOptions.html#061ed690bdfa12bfc1094ca18293e97a">00087</a> std::string <a class="code" href="classOptions.html#061ed690bdfa12bfc1094ca18293e97a">auth_algo_</a>; +<a name="l00088"></a>00088 }; +<a name="l00089"></a>00089 +<a name="l00090"></a>00090 <span class="preprocessor">#endif</span> +</pre></div><hr size="1"><address style="align: right;"><small>Generated on Sun Oct 7 23:43:49 2007 for anytun by +<a href="http://www.doxygen.org/index.html"> +<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address> +</body> +</html> diff --git a/doc/html/options_8h.html b/doc/html/options_8h.html new file mode 100644 index 0000000..f844812 --- /dev/null +++ b/doc/html/options_8h.html @@ -0,0 +1,33 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> +<title>anytun: options.h File Reference</title> +<link href="doxygen.css" rel="stylesheet" type="text/css"> +<link href="tabs.css" rel="stylesheet" type="text/css"> +</head><body> +<!-- Generated by Doxygen 1.5.1 --> +<div class="tabs"> + <ul> + <li><a href="main.html"><span>Main Page</span></a></li> + <li><a href="namespaces.html"><span>Namespaces</span></a></li> + <li><a href="annotated.html"><span>Classes</span></a></li> + <li id="current"><a href="files.html"><span>Files</span></a></li> + </ul></div> +<div class="tabs"> + <ul> + <li><a href="files.html"><span>File List</span></a></li> + <li><a href="globals.html"><span>File Members</span></a></li> + </ul></div> +<h1>options.h File Reference</h1><code>#include "<a class="el" href="threadUtils_8hpp-source.html">threadUtils.hpp</a>"</code><br> + +<p> +<a href="options_8h-source.html">Go to the source code of this file.</a><table border="0" cellpadding="0" cellspacing="0"> +<tr><td></td></tr> +<tr><td colspan="2"><br><h2>Classes</h2></td></tr> +<tr><td class="memItemLeft" nowrap align="right" valign="top">class </td><td class="memItemRight" valign="bottom"><a class="el" href="classOptions.html">Options</a></td></tr> + +</table> +<hr size="1"><address style="align: right;"><small>Generated on Sun Oct 7 23:43:49 2007 for anytun by +<a href="http://www.doxygen.org/index.html"> +<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address> +</body> +</html> diff --git a/doc/html/packetSource_8cpp.html b/doc/html/packetSource_8cpp.html new file mode 100644 index 0000000..2a05dee --- /dev/null +++ b/doc/html/packetSource_8cpp.html @@ -0,0 +1,31 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> +<title>anytun: packetSource.cpp File Reference</title> +<link href="doxygen.css" rel="stylesheet" type="text/css"> +<link href="tabs.css" rel="stylesheet" type="text/css"> +</head><body> +<!-- Generated by Doxygen 1.5.1 --> +<div class="tabs"> + <ul> + <li><a href="main.html"><span>Main Page</span></a></li> + <li><a href="namespaces.html"><span>Namespaces</span></a></li> + <li><a href="annotated.html"><span>Classes</span></a></li> + <li id="current"><a href="files.html"><span>Files</span></a></li> + </ul></div> +<div class="tabs"> + <ul> + <li><a href="files.html"><span>File List</span></a></li> + <li><a href="globals.html"><span>File Members</span></a></li> + </ul></div> +<h1>packetSource.cpp File Reference</h1><code>#include "<a class="el" href="datatypes_8h-source.html">datatypes.h</a>"</code><br> +<code>#include "<a class="el" href="packetSource_8h-source.html">packetSource.h</a>"</code><br> +<code>#include "<a class="el" href="buffer_8h-source.html">buffer.h</a>"</code><br> +<code>#include "<a class="el" href="PracticalSocket_8h-source.html">PracticalSocket.h</a>"</code><br> +<table border="0" cellpadding="0" cellspacing="0"> +<tr><td></td></tr> +</table> +<hr size="1"><address style="align: right;"><small>Generated on Sun Oct 7 23:43:49 2007 for anytun by +<a href="http://www.doxygen.org/index.html"> +<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address> +</body> +</html> diff --git a/doc/html/packetSource_8h-source.html b/doc/html/packetSource_8h-source.html new file mode 100644 index 0000000..fe8acf2 --- /dev/null +++ b/doc/html/packetSource_8h-source.html @@ -0,0 +1,78 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> +<title>anytun: packetSource.h Source File</title> +<link href="doxygen.css" rel="stylesheet" type="text/css"> +<link href="tabs.css" rel="stylesheet" type="text/css"> +</head><body> +<!-- Generated by Doxygen 1.5.1 --> +<div class="tabs"> + <ul> + <li><a href="main.html"><span>Main Page</span></a></li> + <li><a href="namespaces.html"><span>Namespaces</span></a></li> + <li><a href="annotated.html"><span>Classes</span></a></li> + <li id="current"><a href="files.html"><span>Files</span></a></li> + </ul></div> +<div class="tabs"> + <ul> + <li><a href="files.html"><span>File List</span></a></li> + <li><a href="globals.html"><span>File Members</span></a></li> + </ul></div> +<h1>packetSource.h</h1><a href="packetSource_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">/*</span> +<a name="l00002"></a>00002 <span class="comment"> * anytun</span> +<a name="l00003"></a>00003 <span class="comment"> *</span> +<a name="l00004"></a>00004 <span class="comment"> * The secure anycast tunneling protocol (satp) defines a protocol used</span> +<a name="l00005"></a>00005 <span class="comment"> * for communication between any combination of unicast and anycast</span> +<a name="l00006"></a>00006 <span class="comment"> * tunnel endpoints. It has less protocol overhead than IPSec in Tunnel</span> +<a name="l00007"></a>00007 <span class="comment"> * mode and allows tunneling of every ETHER TYPE protocol (e.g.</span> +<a name="l00008"></a>00008 <span class="comment"> * ethernet, ip, arp ...). satp directly includes cryptography and</span> +<a name="l00009"></a>00009 <span class="comment"> * message authentication based on the methodes used by SRTP. It is</span> +<a name="l00010"></a>00010 <span class="comment"> * intended to deliver a generic, scaleable and secure solution for</span> +<a name="l00011"></a>00011 <span class="comment"> * tunneling and relaying of packets of any protocol.</span> +<a name="l00012"></a>00012 <span class="comment"> *</span> +<a name="l00013"></a>00013 <span class="comment"> *</span> +<a name="l00014"></a>00014 <span class="comment"> * Copyright (C) 2007 anytun.org <satp@wirdorange.org></span> +<a name="l00015"></a>00015 <span class="comment"> *</span> +<a name="l00016"></a>00016 <span class="comment"> * This program is free software; you can redistribute it and/or modify</span> +<a name="l00017"></a>00017 <span class="comment"> * it under the terms of the GNU General Public License version 2</span> +<a name="l00018"></a>00018 <span class="comment"> * as published by the Free Software Foundation.</span> +<a name="l00019"></a>00019 <span class="comment"> *</span> +<a name="l00020"></a>00020 <span class="comment"> * This program is distributed in the hope that it will be useful,</span> +<a name="l00021"></a>00021 <span class="comment"> * but WITHOUT ANY WARRANTY; without even the implied warranty of</span> +<a name="l00022"></a>00022 <span class="comment"> * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the</span> +<a name="l00023"></a>00023 <span class="comment"> * GNU General Public License for more details.</span> +<a name="l00024"></a>00024 <span class="comment"> *</span> +<a name="l00025"></a>00025 <span class="comment"> * You should have received a copy of the GNU General Public License</span> +<a name="l00026"></a>00026 <span class="comment"> * along with this program (see the file COPYING included with this</span> +<a name="l00027"></a>00027 <span class="comment"> * distribution); if not, write to the Free Software Foundation, Inc.,</span> +<a name="l00028"></a>00028 <span class="comment"> * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA</span> +<a name="l00029"></a>00029 <span class="comment"> */</span> +<a name="l00030"></a>00030 +<a name="l00031"></a>00031 <span class="preprocessor">#include "<a class="code" href="datatypes_8h.html">datatypes.h</a>"</span> +<a name="l00032"></a>00032 <span class="preprocessor">#include "<a class="code" href="buffer_8h.html">buffer.h</a>"</span> +<a name="l00033"></a>00033 <span class="preprocessor">#include "<a class="code" href="PracticalSocket_8h.html">PracticalSocket.h</a>"</span> +<a name="l00034"></a>00034 +<a name="l00035"></a><a class="code" href="classPacketSource.html">00035</a> <span class="keyword">class </span><a class="code" href="classPacketSource.html">PacketSource</a> +<a name="l00036"></a>00036 { +<a name="l00037"></a>00037 <span class="keyword">public</span>: +<a name="l00038"></a><a class="code" href="classPacketSource.html#fdaad665e453cf5a047935b07a050ef4">00038</a> <span class="keyword">virtual</span> <a class="code" href="classPacketSource.html#fdaad665e453cf5a047935b07a050ef4">~PacketSource</a>() {} +<a name="l00039"></a>00039 +<a name="l00040"></a>00040 <span class="keyword">virtual</span> <a class="code" href="datatypes_8h.html#1382fcaa92d837ce7c0961788c8243d7">u_int32_t</a> <a class="code" href="classPacketSource.html#95901be715656540a7273c6c0dc1234e">recv</a>(<a class="code" href="classBuffer.html">Buffer</a>& buf, std::string& addr, <a class="code" href="datatypes_8h.html#3aa89f830bb876725b238e6a2a67a809">u_int16_t</a> &port) = 0; +<a name="l00041"></a>00041 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classPacketSource.html#ffc5eb2c89d1395443432c3cc6b7898b">send</a>(<a class="code" href="classBuffer.html">Buffer</a>& buf, std::string addr, <a class="code" href="datatypes_8h.html#3aa89f830bb876725b238e6a2a67a809">u_int16_t</a> port) = 0; +<a name="l00042"></a>00042 }; +<a name="l00043"></a>00043 +<a name="l00044"></a><a class="code" href="classUDPPacketSource.html">00044</a> <span class="keyword">class </span><a class="code" href="classUDPPacketSource.html">UDPPacketSource</a> : <span class="keyword">public</span> <a class="code" href="classPacketSource.html">PacketSource</a>, <span class="keyword">public</span> <a class="code" href="classUDPSocket.html">UDPSocket</a> +<a name="l00045"></a>00045 { +<a name="l00046"></a>00046 <span class="keyword">public</span>: +<a name="l00047"></a>00047 <a class="code" href="classUDPPacketSource.html#1dda248d4d7b03cb8301557271abc40e">UDPPacketSource</a>(); +<a name="l00048"></a>00048 <a class="code" href="classUDPPacketSource.html#1dda248d4d7b03cb8301557271abc40e">UDPPacketSource</a>(<a class="code" href="datatypes_8h.html#3aa89f830bb876725b238e6a2a67a809">u_int16_t</a> port); +<a name="l00049"></a>00049 <a class="code" href="classUDPPacketSource.html#1dda248d4d7b03cb8301557271abc40e">UDPPacketSource</a>(std::string localaddr, <a class="code" href="datatypes_8h.html#3aa89f830bb876725b238e6a2a67a809">u_int16_t</a> port); +<a name="l00050"></a>00050 +<a name="l00051"></a>00051 <a class="code" href="datatypes_8h.html#1382fcaa92d837ce7c0961788c8243d7">u_int32_t</a> <a class="code" href="classUDPPacketSource.html#a1f7daded0f9ead5599160bae9317eb8">recv</a>(<a class="code" href="classBuffer.html">Buffer</a>& buf, std::string& addr, <a class="code" href="datatypes_8h.html#3aa89f830bb876725b238e6a2a67a809">u_int16_t</a> &port); +<a name="l00052"></a>00052 <span class="keywordtype">void</span> <a class="code" href="classUDPPacketSource.html#376a3b0c861aeb7561e8a9f6866292b9">send</a>(<a class="code" href="classBuffer.html">Buffer</a>& buf, std::string addr, <a class="code" href="datatypes_8h.html#3aa89f830bb876725b238e6a2a67a809">u_int16_t</a> port); +<a name="l00053"></a>00053 }; +<a name="l00054"></a>00054 +</pre></div><hr size="1"><address style="align: right;"><small>Generated on Sun Oct 7 23:43:49 2007 for anytun by +<a href="http://www.doxygen.org/index.html"> +<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address> +</body> +</html> diff --git a/doc/html/packetSource_8h.html b/doc/html/packetSource_8h.html new file mode 100644 index 0000000..a547ac2 --- /dev/null +++ b/doc/html/packetSource_8h.html @@ -0,0 +1,37 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> +<title>anytun: packetSource.h File Reference</title> +<link href="doxygen.css" rel="stylesheet" type="text/css"> +<link href="tabs.css" rel="stylesheet" type="text/css"> +</head><body> +<!-- Generated by Doxygen 1.5.1 --> +<div class="tabs"> + <ul> + <li><a href="main.html"><span>Main Page</span></a></li> + <li><a href="namespaces.html"><span>Namespaces</span></a></li> + <li><a href="annotated.html"><span>Classes</span></a></li> + <li id="current"><a href="files.html"><span>Files</span></a></li> + </ul></div> +<div class="tabs"> + <ul> + <li><a href="files.html"><span>File List</span></a></li> + <li><a href="globals.html"><span>File Members</span></a></li> + </ul></div> +<h1>packetSource.h File Reference</h1><code>#include "<a class="el" href="datatypes_8h-source.html">datatypes.h</a>"</code><br> +<code>#include "<a class="el" href="buffer_8h-source.html">buffer.h</a>"</code><br> +<code>#include "<a class="el" href="PracticalSocket_8h-source.html">PracticalSocket.h</a>"</code><br> + +<p> +<a href="packetSource_8h-source.html">Go to the source code of this file.</a><table border="0" cellpadding="0" cellspacing="0"> +<tr><td></td></tr> +<tr><td colspan="2"><br><h2>Classes</h2></td></tr> +<tr><td class="memItemLeft" nowrap align="right" valign="top">class </td><td class="memItemRight" valign="bottom"><a class="el" href="classPacketSource.html">PacketSource</a></td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top">class </td><td class="memItemRight" valign="bottom"><a class="el" href="classUDPPacketSource.html">UDPPacketSource</a></td></tr> + +</table> +<hr size="1"><address style="align: right;"><small>Generated on Sun Oct 7 23:43:49 2007 for anytun by +<a href="http://www.doxygen.org/index.html"> +<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address> +</body> +</html> diff --git a/doc/html/packet_8cpp.html b/doc/html/packet_8cpp.html new file mode 100644 index 0000000..3d8792f --- /dev/null +++ b/doc/html/packet_8cpp.html @@ -0,0 +1,31 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> +<title>anytun: packet.cpp File Reference</title> +<link href="doxygen.css" rel="stylesheet" type="text/css"> +<link href="tabs.css" rel="stylesheet" type="text/css"> +</head><body> +<!-- Generated by Doxygen 1.5.1 --> +<div class="tabs"> + <ul> + <li><a href="main.html"><span>Main Page</span></a></li> + <li><a href="namespaces.html"><span>Namespaces</span></a></li> + <li><a href="annotated.html"><span>Classes</span></a></li> + <li id="current"><a href="files.html"><span>Files</span></a></li> + </ul></div> +<div class="tabs"> + <ul> + <li><a href="files.html"><span>File List</span></a></li> + <li><a href="globals.html"><span>File Members</span></a></li> + </ul></div> +<h1>packet.cpp File Reference</h1><code>#include <stdexcept></code><br> +<code>#include <arpa/inet.h></code><br> +<code>#include "<a class="el" href="datatypes_8h-source.html">datatypes.h</a>"</code><br> +<code>#include "<a class="el" href="packet_8h-source.html">packet.h</a>"</code><br> +<table border="0" cellpadding="0" cellspacing="0"> +<tr><td></td></tr> +</table> +<hr size="1"><address style="align: right;"><small>Generated on Sun Oct 7 23:43:49 2007 for anytun by +<a href="http://www.doxygen.org/index.html"> +<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address> +</body> +</html> diff --git a/doc/html/packet_8h-source.html b/doc/html/packet_8h-source.html new file mode 100644 index 0000000..cc3f8ec --- /dev/null +++ b/doc/html/packet_8h-source.html @@ -0,0 +1,100 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> +<title>anytun: packet.h Source File</title> +<link href="doxygen.css" rel="stylesheet" type="text/css"> +<link href="tabs.css" rel="stylesheet" type="text/css"> +</head><body> +<!-- Generated by Doxygen 1.5.1 --> +<div class="tabs"> + <ul> + <li><a href="main.html"><span>Main Page</span></a></li> + <li><a href="namespaces.html"><span>Namespaces</span></a></li> + <li><a href="annotated.html"><span>Classes</span></a></li> + <li id="current"><a href="files.html"><span>Files</span></a></li> + </ul></div> +<div class="tabs"> + <ul> + <li><a href="files.html"><span>File List</span></a></li> + <li><a href="globals.html"><span>File Members</span></a></li> + </ul></div> +<h1>packet.h</h1><a href="packet_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">/*</span> +<a name="l00002"></a>00002 <span class="comment"> * anytun</span> +<a name="l00003"></a>00003 <span class="comment"> *</span> +<a name="l00004"></a>00004 <span class="comment"> * The secure anycast tunneling protocol (satp) defines a protocol used</span> +<a name="l00005"></a>00005 <span class="comment"> * for communication between any combination of unicast and anycast</span> +<a name="l00006"></a>00006 <span class="comment"> * tunnel endpoints. It has less protocol overhead than IPSec in Tunnel</span> +<a name="l00007"></a>00007 <span class="comment"> * mode and allows tunneling of every ETHER TYPE protocol (e.g.</span> +<a name="l00008"></a>00008 <span class="comment"> * ethernet, ip, arp ...). satp directly includes cryptography and</span> +<a name="l00009"></a>00009 <span class="comment"> * message authentication based on the methodes used by SRTP. It is</span> +<a name="l00010"></a>00010 <span class="comment"> * intended to deliver a generic, scaleable and secure solution for</span> +<a name="l00011"></a>00011 <span class="comment"> * tunneling and relaying of packets of any protocol.</span> +<a name="l00012"></a>00012 <span class="comment"> *</span> +<a name="l00013"></a>00013 <span class="comment"> *</span> +<a name="l00014"></a>00014 <span class="comment"> * Copyright (C) 2007 anytun.org <satp@wirdorange.org></span> +<a name="l00015"></a>00015 <span class="comment"> *</span> +<a name="l00016"></a>00016 <span class="comment"> * This program is free software; you can redistribute it and/or modify</span> +<a name="l00017"></a>00017 <span class="comment"> * it under the terms of the GNU General Public License version 2</span> +<a name="l00018"></a>00018 <span class="comment"> * as published by the Free Software Foundation.</span> +<a name="l00019"></a>00019 <span class="comment"> *</span> +<a name="l00020"></a>00020 <span class="comment"> * This program is distributed in the hope that it will be useful,</span> +<a name="l00021"></a>00021 <span class="comment"> * but WITHOUT ANY WARRANTY; without even the implied warranty of</span> +<a name="l00022"></a>00022 <span class="comment"> * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the</span> +<a name="l00023"></a>00023 <span class="comment"> * GNU General Public License for more details.</span> +<a name="l00024"></a>00024 <span class="comment"> *</span> +<a name="l00025"></a>00025 <span class="comment"> * You should have received a copy of the GNU General Public License</span> +<a name="l00026"></a>00026 <span class="comment"> * along with this program (see the file COPYING included with this</span> +<a name="l00027"></a>00027 <span class="comment"> * distribution); if not, write to the Free Software Foundation, Inc.,</span> +<a name="l00028"></a>00028 <span class="comment"> * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA</span> +<a name="l00029"></a>00029 <span class="comment"> */</span> +<a name="l00030"></a>00030 +<a name="l00031"></a>00031 <span class="preprocessor">#ifndef _PACKET_H_</span> +<a name="l00032"></a>00032 <span class="preprocessor"></span><span class="preprocessor">#define _PACKET_H_</span> +<a name="l00033"></a>00033 <span class="preprocessor"></span> +<a name="l00034"></a>00034 <span class="preprocessor">#include "<a class="code" href="datatypes_8h.html">datatypes.h</a>"</span> +<a name="l00035"></a>00035 <span class="preprocessor">#include "<a class="code" href="buffer_8h.html">buffer.h</a>"</span> +<a name="l00036"></a>00036 +<a name="l00037"></a><a class="code" href="classPacket.html">00037</a> <span class="keyword">class </span><a class="code" href="classPacket.html">Packet</a> : <span class="keyword">public</span> <a class="code" href="classBuffer.html">Buffer</a> +<a name="l00038"></a>00038 { +<a name="l00039"></a>00039 <span class="keyword">public</span>: +<a name="l00040"></a>00040 <a class="code" href="classPacket.html#abcfb963c0d5bc0fa554668f92989622">Packet</a>(); +<a name="l00041"></a>00041 <a class="code" href="classPacket.html#abcfb963c0d5bc0fa554668f92989622">Packet</a>(<a class="code" href="datatypes_8h.html#1382fcaa92d837ce7c0961788c8243d7">u_int32_t</a> length); +<a name="l00042"></a>00042 <a class="code" href="classPacket.html#abcfb963c0d5bc0fa554668f92989622">Packet</a>(<span class="keyword">const</span> <a class="code" href="classBuffer.html">Buffer</a> &src); +<a name="l00043"></a>00043 +<a name="l00044"></a>00044 <span class="keywordtype">bool</span> <a class="code" href="classPacket.html#a004c01dd99179b0a08109dce5fc6b03">hasHeader</a>() <span class="keyword">const</span>; +<a name="l00045"></a>00045 <a class="code" href="classPacket.html">Packet</a>& <a class="code" href="classPacket.html#ce9e40180f64d44fe1d8da14ac9e5df2">withHeader</a>(<span class="keywordtype">bool</span> b); +<a name="l00046"></a>00046 <a class="code" href="datatypes_8h.html#317be74a3176b4149a817241bd69f9b2">seq_nr_t</a> <a class="code" href="classPacket.html#6572b9df8c1f5f0de9fcb8e5c669de50">getSeqNr</a>() <span class="keyword">const</span>; +<a name="l00047"></a>00047 <a class="code" href="datatypes_8h.html#c8be006c348a522ae126f67f7b2aaf4e">sender_id_t</a> <a class="code" href="classPacket.html#096829acfcf98c3ffff60bd335cbb919">getSenderId</a>() <span class="keyword">const</span>; +<a name="l00048"></a>00048 <a class="code" href="classPacket.html">Packet</a>& <a class="code" href="classPacket.html#2a682115c6802d0dd1ebbd3434a3a179">addHeader</a>(<a class="code" href="datatypes_8h.html#317be74a3176b4149a817241bd69f9b2">seq_nr_t</a> seq_nr, <a class="code" href="datatypes_8h.html#c8be006c348a522ae126f67f7b2aaf4e">sender_id_t</a> sender_id); +<a name="l00049"></a>00049 <a class="code" href="classPacket.html">Packet</a>& <a class="code" href="classPacket.html#24c2a41630d79411086d952c8f732c8c">removeHeader</a>(); +<a name="l00050"></a>00050 <a class="code" href="classPacket.html">Packet</a>& <a class="code" href="classPacket.html#1b89ed1be19d6b9c1a12e0f6b1ae8ed2">setSeqNr</a>(<a class="code" href="datatypes_8h.html#317be74a3176b4149a817241bd69f9b2">seq_nr_t</a> seq_nr); +<a name="l00051"></a>00051 <a class="code" href="classPacket.html">Packet</a>& <a class="code" href="classPacket.html#01c7b848ec415740565c87b374085bdc">setSenderId</a>(<a class="code" href="datatypes_8h.html#c8be006c348a522ae126f67f7b2aaf4e">sender_id_t</a> sender_id); +<a name="l00052"></a>00052 +<a name="l00053"></a>00053 <span class="keywordtype">bool</span> <a class="code" href="classPacket.html#c78b8af0dc7c7badf85e75db0de54800">hasPayloadType</a>() <span class="keyword">const</span>; +<a name="l00054"></a>00054 <a class="code" href="classPacket.html">Packet</a>& <a class="code" href="classPacket.html#c7ecfc05376afd00af89cb328e194a1d">withPayloadType</a>(<span class="keywordtype">bool</span> b); +<a name="l00055"></a>00055 <a class="code" href="datatypes_8h.html#cb4c65fa561443848e729372d970654d">payload_type_t</a> <a class="code" href="classPacket.html#ed7f5cc79b40a11eddefd4b421544498">getPayloadType</a>() <span class="keyword">const</span>; +<a name="l00056"></a>00056 <a class="code" href="classPacket.html">Packet</a>& <a class="code" href="classPacket.html#40849ee3c59a84c3899c409ed392b477">addPayloadType</a>(<a class="code" href="datatypes_8h.html#cb4c65fa561443848e729372d970654d">payload_type_t</a> payload_type); +<a name="l00057"></a>00057 <a class="code" href="classPacket.html">Packet</a>& <a class="code" href="classPacket.html#6433e4d5eef9216f4e70b338cb4d2e4d">removePayloadType</a>(); +<a name="l00058"></a>00058 +<a name="l00059"></a>00059 <span class="keywordtype">bool</span> <a class="code" href="classPacket.html#bfe50722f18687bb0691061fb0ccb0ff">hasAuthTag</a>() <span class="keyword">const</span>; +<a name="l00060"></a>00060 <a class="code" href="classPacket.html">Packet</a>& <a class="code" href="classPacket.html#5c947adee9eef0a662a4dc49d95dbe8e">withAuthTag</a>(<span class="keywordtype">bool</span> b); +<a name="l00061"></a>00061 <a class="code" href="datatypes_8h.html#3618ec768f7f5b8ed61f2ad534e1882d">auth_tag_t</a> <a class="code" href="classPacket.html#ba55c639065c177a7006d8392f50eddc">getAuthTag</a>() <span class="keyword">const</span>; +<a name="l00062"></a>00062 <a class="code" href="classPacket.html">Packet</a>& <a class="code" href="classPacket.html#a7f8bb4bb127aad314eb0f0ef72447ed">addAuthTag</a>(<a class="code" href="datatypes_8h.html#3618ec768f7f5b8ed61f2ad534e1882d">auth_tag_t</a> auth_tag); +<a name="l00063"></a>00063 <a class="code" href="classPacket.html">Packet</a>& <a class="code" href="classPacket.html#3e3dfca708baf59791f0608b8a57924c">removeAuthTag</a>(); +<a name="l00064"></a>00064 +<a name="l00065"></a>00065 <span class="keyword">private</span>: +<a name="l00066"></a><a class="code" href="structPacket_1_1HeaderStruct.html">00066</a> <span class="keyword">struct </span><a class="code" href="structPacket_1_1HeaderStruct.html">HeaderStruct</a> +<a name="l00067"></a>00067 { +<a name="l00068"></a><a class="code" href="structPacket_1_1HeaderStruct.html#4b7b9bf68b204ca98171b7f818685521">00068</a> <a class="code" href="datatypes_8h.html#317be74a3176b4149a817241bd69f9b2">seq_nr_t</a> seq_nr; +<a name="l00069"></a><a class="code" href="structPacket_1_1HeaderStruct.html#c129b7cda1d848a579b689bacdabddea">00069</a> <a class="code" href="datatypes_8h.html#c8be006c348a522ae126f67f7b2aaf4e">sender_id_t</a> sender_id; +<a name="l00070"></a>00070 }__attribute__((<a class="code" href="classPacket.html#11b3534f67df6bb19963e6bc8090230b">__packed__</a>)); +<a name="l00071"></a><a class="code" href="classPacket.html#97b8eb52e7476174a0e91e2ccaf73306">00071</a> <span class="keywordtype">bool</span> <a class="code" href="classPacket.html#97b8eb52e7476174a0e91e2ccaf73306">has_header_</a>; +<a name="l00072"></a><a class="code" href="classPacket.html#235c6c8c7362c46ca33a331713199a17">00072</a> <span class="keywordtype">bool</span> <a class="code" href="classPacket.html#235c6c8c7362c46ca33a331713199a17">has_payload_type_</a>; +<a name="l00073"></a><a class="code" href="classPacket.html#849a965c46afc5fa7efe257212197abb">00073</a> <span class="keywordtype">bool</span> <a class="code" href="classPacket.html#849a965c46afc5fa7efe257212197abb">has_auth_tag_</a>; +<a name="l00074"></a>00074 }; +<a name="l00075"></a>00075 +<a name="l00076"></a>00076 <span class="preprocessor">#endif</span> +</pre></div><hr size="1"><address style="align: right;"><small>Generated on Sun Oct 7 23:43:49 2007 for anytun by +<a href="http://www.doxygen.org/index.html"> +<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address> +</body> +</html> diff --git a/doc/html/packet_8h.html b/doc/html/packet_8h.html new file mode 100644 index 0000000..d929408 --- /dev/null +++ b/doc/html/packet_8h.html @@ -0,0 +1,36 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> +<title>anytun: packet.h File Reference</title> +<link href="doxygen.css" rel="stylesheet" type="text/css"> +<link href="tabs.css" rel="stylesheet" type="text/css"> +</head><body> +<!-- Generated by Doxygen 1.5.1 --> +<div class="tabs"> + <ul> + <li><a href="main.html"><span>Main Page</span></a></li> + <li><a href="namespaces.html"><span>Namespaces</span></a></li> + <li><a href="annotated.html"><span>Classes</span></a></li> + <li id="current"><a href="files.html"><span>Files</span></a></li> + </ul></div> +<div class="tabs"> + <ul> + <li><a href="files.html"><span>File List</span></a></li> + <li><a href="globals.html"><span>File Members</span></a></li> + </ul></div> +<h1>packet.h File Reference</h1><code>#include "<a class="el" href="datatypes_8h-source.html">datatypes.h</a>"</code><br> +<code>#include "<a class="el" href="buffer_8h-source.html">buffer.h</a>"</code><br> + +<p> +<a href="packet_8h-source.html">Go to the source code of this file.</a><table border="0" cellpadding="0" cellspacing="0"> +<tr><td></td></tr> +<tr><td colspan="2"><br><h2>Classes</h2></td></tr> +<tr><td class="memItemLeft" nowrap align="right" valign="top">class </td><td class="memItemRight" valign="bottom"><a class="el" href="classPacket.html">Packet</a></td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top">struct </td><td class="memItemRight" valign="bottom"><a class="el" href="structPacket_1_1HeaderStruct.html">Packet::HeaderStruct</a></td></tr> + +</table> +<hr size="1"><address style="align: right;"><small>Generated on Sun Oct 7 23:43:49 2007 for anytun by +<a href="http://www.doxygen.org/index.html"> +<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address> +</body> +</html> diff --git a/doc/html/satp_8py.html b/doc/html/satp_8py.html new file mode 100644 index 0000000..e63715e --- /dev/null +++ b/doc/html/satp_8py.html @@ -0,0 +1,35 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> +<title>anytun: satp.py File Reference</title> +<link href="doxygen.css" rel="stylesheet" type="text/css"> +<link href="tabs.css" rel="stylesheet" type="text/css"> +</head><body> +<!-- Generated by Doxygen 1.5.1 --> +<div class="tabs"> + <ul> + <li><a href="main.html"><span>Main Page</span></a></li> + <li><a href="namespaces.html"><span>Namespaces</span></a></li> + <li><a href="annotated.html"><span>Classes</span></a></li> + <li id="current"><a href="files.html"><span>Files</span></a></li> + </ul></div> +<div class="tabs"> + <ul> + <li><a href="files.html"><span>File List</span></a></li> + <li><a href="globals.html"><span>File Members</span></a></li> + </ul></div> +<h1>satp.py File Reference</h1><table border="0" cellpadding="0" cellspacing="0"> +<tr><td></td></tr> +<tr><td colspan="2"><br><h2>Namespaces</h2></td></tr> +<tr><td class="memItemLeft" nowrap align="right" valign="top">namespace </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacesatp.html">satp</a></td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top">namespace </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacescapy_1_1_5.html">scapy::*</a></td></tr> + +<tr><td colspan="2"><br><h2>Classes</h2></td></tr> +<tr><td class="memItemLeft" nowrap align="right" valign="top">class </td><td class="memItemRight" valign="bottom"><a class="el" href="classsatp_1_1SATP.html">satp::SATP</a></td></tr> + +</table> +<hr size="1"><address style="align: right;"><small>Generated on Sun Oct 7 23:43:49 2007 for anytun by +<a href="http://www.doxygen.org/index.html"> +<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address> +</body> +</html> diff --git a/doc/html/seqWindow_8cpp.html b/doc/html/seqWindow_8cpp.html new file mode 100644 index 0000000..caf6430 --- /dev/null +++ b/doc/html/seqWindow_8cpp.html @@ -0,0 +1,30 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> +<title>anytun: seqWindow.cpp File Reference</title> +<link href="doxygen.css" rel="stylesheet" type="text/css"> +<link href="tabs.css" rel="stylesheet" type="text/css"> +</head><body> +<!-- Generated by Doxygen 1.5.1 --> +<div class="tabs"> + <ul> + <li><a href="main.html"><span>Main Page</span></a></li> + <li><a href="namespaces.html"><span>Namespaces</span></a></li> + <li><a href="annotated.html"><span>Classes</span></a></li> + <li id="current"><a href="files.html"><span>Files</span></a></li> + </ul></div> +<div class="tabs"> + <ul> + <li><a href="files.html"><span>File List</span></a></li> + <li><a href="globals.html"><span>File Members</span></a></li> + </ul></div> +<h1>seqWindow.cpp File Reference</h1><code>#include "<a class="el" href="threadUtils_8hpp-source.html">threadUtils.hpp</a>"</code><br> +<code>#include "<a class="el" href="datatypes_8h-source.html">datatypes.h</a>"</code><br> +<code>#include "<a class="el" href="seqWindow_8h-source.html">seqWindow.h</a>"</code><br> +<table border="0" cellpadding="0" cellspacing="0"> +<tr><td></td></tr> +</table> +<hr size="1"><address style="align: right;"><small>Generated on Sun Oct 7 23:43:49 2007 for anytun by +<a href="http://www.doxygen.org/index.html"> +<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address> +</body> +</html> diff --git a/doc/html/seqWindow_8h-source.html b/doc/html/seqWindow_8h-source.html new file mode 100644 index 0000000..3fa4570 --- /dev/null +++ b/doc/html/seqWindow_8h-source.html @@ -0,0 +1,88 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> +<title>anytun: seqWindow.h Source File</title> +<link href="doxygen.css" rel="stylesheet" type="text/css"> +<link href="tabs.css" rel="stylesheet" type="text/css"> +</head><body> +<!-- Generated by Doxygen 1.5.1 --> +<div class="tabs"> + <ul> + <li><a href="main.html"><span>Main Page</span></a></li> + <li><a href="namespaces.html"><span>Namespaces</span></a></li> + <li><a href="annotated.html"><span>Classes</span></a></li> + <li id="current"><a href="files.html"><span>Files</span></a></li> + </ul></div> +<div class="tabs"> + <ul> + <li><a href="files.html"><span>File List</span></a></li> + <li><a href="globals.html"><span>File Members</span></a></li> + </ul></div> +<h1>seqWindow.h</h1><a href="seqWindow_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">/*</span> +<a name="l00002"></a>00002 <span class="comment"> * anytun</span> +<a name="l00003"></a>00003 <span class="comment"> *</span> +<a name="l00004"></a>00004 <span class="comment"> * The secure anycast tunneling protocol (satp) defines a protocol used</span> +<a name="l00005"></a>00005 <span class="comment"> * for communication between any combination of unicast and anycast</span> +<a name="l00006"></a>00006 <span class="comment"> * tunnel endpoints. It has less protocol overhead than IPSec in Tunnel</span> +<a name="l00007"></a>00007 <span class="comment"> * mode and allows tunneling of every ETHER TYPE protocol (e.g.</span> +<a name="l00008"></a>00008 <span class="comment"> * ethernet, ip, arp ...). satp directly includes cryptography and</span> +<a name="l00009"></a>00009 <span class="comment"> * message authentication based on the methodes used by SRTP. It is</span> +<a name="l00010"></a>00010 <span class="comment"> * intended to deliver a generic, scaleable and secure solution for</span> +<a name="l00011"></a>00011 <span class="comment"> * tunneling and relaying of packets of any protocol.</span> +<a name="l00012"></a>00012 <span class="comment"> *</span> +<a name="l00013"></a>00013 <span class="comment"> *</span> +<a name="l00014"></a>00014 <span class="comment"> * Copyright (C) 2007 anytun.org <satp@wirdorange.org></span> +<a name="l00015"></a>00015 <span class="comment"> *</span> +<a name="l00016"></a>00016 <span class="comment"> * This program is free software; you can redistribute it and/or modify</span> +<a name="l00017"></a>00017 <span class="comment"> * it under the terms of the GNU General Public License version 2</span> +<a name="l00018"></a>00018 <span class="comment"> * as published by the Free Software Foundation.</span> +<a name="l00019"></a>00019 <span class="comment"> *</span> +<a name="l00020"></a>00020 <span class="comment"> * This program is distributed in the hope that it will be useful,</span> +<a name="l00021"></a>00021 <span class="comment"> * but WITHOUT ANY WARRANTY; without even the implied warranty of</span> +<a name="l00022"></a>00022 <span class="comment"> * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the</span> +<a name="l00023"></a>00023 <span class="comment"> * GNU General Public License for more details.</span> +<a name="l00024"></a>00024 <span class="comment"> *</span> +<a name="l00025"></a>00025 <span class="comment"> * You should have received a copy of the GNU General Public License</span> +<a name="l00026"></a>00026 <span class="comment"> * along with this program (see the file COPYING included with this</span> +<a name="l00027"></a>00027 <span class="comment"> * distribution); if not, write to the Free Software Foundation, Inc.,</span> +<a name="l00028"></a>00028 <span class="comment"> * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA</span> +<a name="l00029"></a>00029 <span class="comment"> */</span> +<a name="l00030"></a>00030 +<a name="l00031"></a>00031 <span class="preprocessor">#ifndef _SEQ_WINDOW_H_</span> +<a name="l00032"></a>00032 <span class="preprocessor"></span><span class="preprocessor">#define _SEQ_WINDOW_H_</span> +<a name="l00033"></a>00033 <span class="preprocessor"></span> +<a name="l00034"></a>00034 <span class="preprocessor">#include <map></span> +<a name="l00035"></a>00035 <span class="preprocessor">#include <deque></span> +<a name="l00036"></a>00036 +<a name="l00037"></a>00037 <span class="preprocessor">#include "<a class="code" href="threadUtils_8hpp.html">threadUtils.hpp</a>"</span> +<a name="l00038"></a>00038 <span class="preprocessor">#include "<a class="code" href="datatypes_8h.html">datatypes.h</a>"</span> +<a name="l00039"></a>00039 +<a name="l00040"></a><a class="code" href="classSeqWindow.html">00040</a> <span class="keyword">class </span><a class="code" href="classSeqWindow.html">SeqWindow</a> +<a name="l00041"></a>00041 { +<a name="l00042"></a>00042 <span class="keyword">public</span>: +<a name="l00043"></a><a class="code" href="classSeqWindow.html#cf2d07003c8ca868146cffb4dd1d5ca7">00043</a> <span class="keyword">typedef</span> std::deque<seq_nr_t> <a class="code" href="classSeqWindow.html#cf2d07003c8ca868146cffb4dd1d5ca7">SeqDeque</a>; +<a name="l00044"></a><a class="code" href="classSeqWindow.html#127195f139c8d5d07ed93799c2d6821a">00044</a> <span class="keyword">typedef</span> std::map<sender_id_t, SeqDeque> <a class="code" href="classSeqWindow.html#127195f139c8d5d07ed93799c2d6821a">SenderMap</a>; +<a name="l00045"></a>00045 +<a name="l00046"></a>00046 <a class="code" href="classSeqWindow.html#8d513ab9ef2984ea93dad7e4026185c8">SeqWindow</a>(<a class="code" href="datatypes_8h.html#0246b9fac0b861d94e0e4cc9ae2e5070">window_size_t</a> w); +<a name="l00047"></a>00047 <a class="code" href="classSeqWindow.html#d125bcc4751a746427f04dda7fd65a10">~SeqWindow</a>(); +<a name="l00048"></a>00048 +<a name="l00049"></a>00049 SeqDeque::size_type <a class="code" href="classSeqWindow.html#5d39959927c79c54d133ed77b297ad7c">getLength</a>(<a class="code" href="datatypes_8h.html#c8be006c348a522ae126f67f7b2aaf4e">sender_id_t</a> <a class="code" href="anytun_8cpp.html#0f2bdeb94d90f5229b9e904e592b24fd">sender</a>); +<a name="l00050"></a>00050 <span class="keywordtype">bool</span> <a class="code" href="classSeqWindow.html#9e7714dda181863420c38975bd505aff">hasSeqNr</a>(<a class="code" href="datatypes_8h.html#c8be006c348a522ae126f67f7b2aaf4e">sender_id_t</a> <a class="code" href="anytun_8cpp.html#0f2bdeb94d90f5229b9e904e592b24fd">sender</a>, <a class="code" href="datatypes_8h.html#317be74a3176b4149a817241bd69f9b2">seq_nr_t</a> seq); +<a name="l00051"></a>00051 <span class="keywordtype">void</span> <a class="code" href="classSeqWindow.html#255ca0fca3e701bd9e18d9fcb2c022a2">addSeqNr</a>(<a class="code" href="datatypes_8h.html#c8be006c348a522ae126f67f7b2aaf4e">sender_id_t</a> <a class="code" href="anytun_8cpp.html#0f2bdeb94d90f5229b9e904e592b24fd">sender</a>, <a class="code" href="datatypes_8h.html#317be74a3176b4149a817241bd69f9b2">seq_nr_t</a> seq); +<a name="l00052"></a>00052 <span class="keywordtype">void</span> <a class="code" href="classSeqWindow.html#b1a03fe152c7c94ff3f05005d595b424">clear</a>(<a class="code" href="datatypes_8h.html#c8be006c348a522ae126f67f7b2aaf4e">sender_id_t</a> <a class="code" href="anytun_8cpp.html#0f2bdeb94d90f5229b9e904e592b24fd">sender</a>); +<a name="l00053"></a>00053 <span class="keywordtype">void</span> <a class="code" href="classSeqWindow.html#b1a03fe152c7c94ff3f05005d595b424">clear</a>(); +<a name="l00054"></a>00054 +<a name="l00055"></a>00055 <span class="keyword">private</span>: +<a name="l00056"></a>00056 <a class="code" href="classSeqWindow.html#8d513ab9ef2984ea93dad7e4026185c8">SeqWindow</a>(<span class="keyword">const</span> <a class="code" href="classSeqWindow.html">SeqWindow</a> &s); +<a name="l00057"></a>00057 <span class="keywordtype">void</span> <a class="code" href="classSeqWindow.html#37887e66297163fe301c77f2977a2a2b">operator=</a>(<span class="keyword">const</span> <a class="code" href="classSeqWindow.html">SeqWindow</a> &s); +<a name="l00058"></a>00058 +<a name="l00059"></a><a class="code" href="classSeqWindow.html#ef85ba28f8a655dc8c8d34aeddb8eea0">00059</a> <a class="code" href="datatypes_8h.html#0246b9fac0b861d94e0e4cc9ae2e5070">window_size_t</a> <a class="code" href="classSeqWindow.html#ef85ba28f8a655dc8c8d34aeddb8eea0">window_size_</a>; +<a name="l00060"></a><a class="code" href="classSeqWindow.html#87ec44a9a7398ecbcb92d90ba95b37a0">00060</a> <a class="code" href="classMutex.html">Mutex</a> <a class="code" href="classSeqWindow.html#87ec44a9a7398ecbcb92d90ba95b37a0">mutex_</a>; +<a name="l00061"></a><a class="code" href="classSeqWindow.html#8bfc3742cacc75e9a72de13ff6ad98a2">00061</a> <a class="code" href="classSeqWindow.html#127195f139c8d5d07ed93799c2d6821a">SenderMap</a> <a class="code" href="classSeqWindow.html#8bfc3742cacc75e9a72de13ff6ad98a2">sender_</a>; +<a name="l00062"></a>00062 }; +<a name="l00063"></a>00063 +<a name="l00064"></a>00064 <span class="preprocessor">#endif</span> +</pre></div><hr size="1"><address style="align: right;"><small>Generated on Sun Oct 7 23:43:49 2007 for anytun by +<a href="http://www.doxygen.org/index.html"> +<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address> +</body> +</html> diff --git a/doc/html/seqWindow_8h.html b/doc/html/seqWindow_8h.html new file mode 100644 index 0000000..600e329 --- /dev/null +++ b/doc/html/seqWindow_8h.html @@ -0,0 +1,36 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> +<title>anytun: seqWindow.h File Reference</title> +<link href="doxygen.css" rel="stylesheet" type="text/css"> +<link href="tabs.css" rel="stylesheet" type="text/css"> +</head><body> +<!-- Generated by Doxygen 1.5.1 --> +<div class="tabs"> + <ul> + <li><a href="main.html"><span>Main Page</span></a></li> + <li><a href="namespaces.html"><span>Namespaces</span></a></li> + <li><a href="annotated.html"><span>Classes</span></a></li> + <li id="current"><a href="files.html"><span>Files</span></a></li> + </ul></div> +<div class="tabs"> + <ul> + <li><a href="files.html"><span>File List</span></a></li> + <li><a href="globals.html"><span>File Members</span></a></li> + </ul></div> +<h1>seqWindow.h File Reference</h1><code>#include <map></code><br> +<code>#include <deque></code><br> +<code>#include "<a class="el" href="threadUtils_8hpp-source.html">threadUtils.hpp</a>"</code><br> +<code>#include "<a class="el" href="datatypes_8h-source.html">datatypes.h</a>"</code><br> + +<p> +<a href="seqWindow_8h-source.html">Go to the source code of this file.</a><table border="0" cellpadding="0" cellspacing="0"> +<tr><td></td></tr> +<tr><td colspan="2"><br><h2>Classes</h2></td></tr> +<tr><td class="memItemLeft" nowrap align="right" valign="top">class </td><td class="memItemRight" valign="bottom"><a class="el" href="classSeqWindow.html">SeqWindow</a></td></tr> + +</table> +<hr size="1"><address style="align: right;"><small>Generated on Sun Oct 7 23:43:49 2007 for anytun by +<a href="http://www.doxygen.org/index.html"> +<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address> +</body> +</html> diff --git a/doc/html/signalController_8cpp.html b/doc/html/signalController_8cpp.html new file mode 100644 index 0000000..57ecffa --- /dev/null +++ b/doc/html/signalController_8cpp.html @@ -0,0 +1,33 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> +<title>anytun: signalController.cpp File Reference</title> +<link href="doxygen.css" rel="stylesheet" type="text/css"> +<link href="tabs.css" rel="stylesheet" type="text/css"> +</head><body> +<!-- Generated by Doxygen 1.5.1 --> +<div class="tabs"> + <ul> + <li><a href="main.html"><span>Main Page</span></a></li> + <li><a href="namespaces.html"><span>Namespaces</span></a></li> + <li><a href="annotated.html"><span>Classes</span></a></li> + <li id="current"><a href="files.html"><span>Files</span></a></li> + </ul></div> +<div class="tabs"> + <ul> + <li><a href="files.html"><span>File List</span></a></li> + <li><a href="globals.html"><span>File Members</span></a></li> + </ul></div> +<h1>signalController.cpp File Reference</h1><code>#include <csignal></code><br> +<code>#include <map></code><br> +<code>#include <iostream></code><br> +<code>#include "<a class="el" href="threadUtils_8hpp-source.html">threadUtils.hpp</a>"</code><br> +<code>#include "<a class="el" href="signalController_8h-source.html">signalController.h</a>"</code><br> +<code>#include "<a class="el" href="log_8h-source.html">log.h</a>"</code><br> +<table border="0" cellpadding="0" cellspacing="0"> +<tr><td></td></tr> +</table> +<hr size="1"><address style="align: right;"><small>Generated on Sun Oct 7 23:43:49 2007 for anytun by +<a href="http://www.doxygen.org/index.html"> +<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address> +</body> +</html> diff --git a/doc/html/signalController_8h-source.html b/doc/html/signalController_8h-source.html new file mode 100644 index 0000000..9a4e4bb --- /dev/null +++ b/doc/html/signalController_8h-source.html @@ -0,0 +1,145 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> +<title>anytun: signalController.h Source File</title> +<link href="doxygen.css" rel="stylesheet" type="text/css"> +<link href="tabs.css" rel="stylesheet" type="text/css"> +</head><body> +<!-- Generated by Doxygen 1.5.1 --> +<div class="tabs"> + <ul> + <li><a href="main.html"><span>Main Page</span></a></li> + <li><a href="namespaces.html"><span>Namespaces</span></a></li> + <li><a href="annotated.html"><span>Classes</span></a></li> + <li id="current"><a href="files.html"><span>Files</span></a></li> + </ul></div> +<div class="tabs"> + <ul> + <li><a href="files.html"><span>File List</span></a></li> + <li><a href="globals.html"><span>File Members</span></a></li> + </ul></div> +<h1>signalController.h</h1><a href="signalController_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">/*</span> +<a name="l00002"></a>00002 <span class="comment"> * anytun</span> +<a name="l00003"></a>00003 <span class="comment"> *</span> +<a name="l00004"></a>00004 <span class="comment"> * The secure anycast tunneling protocol (satp) defines a protocol used</span> +<a name="l00005"></a>00005 <span class="comment"> * for communication between any combination of unicast and anycast</span> +<a name="l00006"></a>00006 <span class="comment"> * tunnel endpoints. It has less protocol overhead than IPSec in Tunnel</span> +<a name="l00007"></a>00007 <span class="comment"> * mode and allows tunneling of every ETHER TYPE protocol (e.g.</span> +<a name="l00008"></a>00008 <span class="comment"> * ethernet, ip, arp ...). satp directly includes cryptography and</span> +<a name="l00009"></a>00009 <span class="comment"> * message authentication based on the methodes used by SRTP. It is</span> +<a name="l00010"></a>00010 <span class="comment"> * intended to deliver a generic, scaleable and secure solution for</span> +<a name="l00011"></a>00011 <span class="comment"> * tunneling and relaying of packets of any protocol.</span> +<a name="l00012"></a>00012 <span class="comment"> *</span> +<a name="l00013"></a>00013 <span class="comment"> *</span> +<a name="l00014"></a>00014 <span class="comment"> * Copyright (C) 2007 anytun.org <satp@wirdorange.org></span> +<a name="l00015"></a>00015 <span class="comment"> *</span> +<a name="l00016"></a>00016 <span class="comment"> * This program is free software; you can redistribute it and/or modify</span> +<a name="l00017"></a>00017 <span class="comment"> * it under the terms of the GNU General Public License version 2</span> +<a name="l00018"></a>00018 <span class="comment"> * as published by the Free Software Foundation.</span> +<a name="l00019"></a>00019 <span class="comment"> *</span> +<a name="l00020"></a>00020 <span class="comment"> * This program is distributed in the hope that it will be useful,</span> +<a name="l00021"></a>00021 <span class="comment"> * but WITHOUT ANY WARRANTY; without even the implied warranty of</span> +<a name="l00022"></a>00022 <span class="comment"> * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the</span> +<a name="l00023"></a>00023 <span class="comment"> * GNU General Public License for more details.</span> +<a name="l00024"></a>00024 <span class="comment"> *</span> +<a name="l00025"></a>00025 <span class="comment"> * You should have received a copy of the GNU General Public License</span> +<a name="l00026"></a>00026 <span class="comment"> * along with this program (see the file COPYING included with this</span> +<a name="l00027"></a>00027 <span class="comment"> * distribution); if not, write to the Free Software Foundation, Inc.,</span> +<a name="l00028"></a>00028 <span class="comment"> * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA</span> +<a name="l00029"></a>00029 <span class="comment"> */</span> +<a name="l00030"></a>00030 +<a name="l00031"></a>00031 <span class="preprocessor">#ifndef _SIGNAL_CONTROLLER_H_</span> +<a name="l00032"></a>00032 <span class="preprocessor"></span><span class="preprocessor">#define _SIGNAL_CONTROLLER_H_</span> +<a name="l00033"></a>00033 <span class="preprocessor"></span> +<a name="l00034"></a>00034 <span class="preprocessor">#include <csignal></span> +<a name="l00035"></a>00035 <span class="preprocessor">#include <map></span> +<a name="l00036"></a>00036 <span class="preprocessor">#include <queue></span> +<a name="l00037"></a>00037 +<a name="l00038"></a>00038 <span class="preprocessor">#include "<a class="code" href="threadUtils_8hpp.html">threadUtils.hpp</a>"</span> +<a name="l00039"></a>00039 +<a name="l00040"></a><a class="code" href="classSignalHandler.html">00040</a> <span class="keyword">class </span><a class="code" href="classSignalHandler.html">SignalHandler</a> +<a name="l00041"></a>00041 { +<a name="l00042"></a>00042 <span class="keyword">public</span>: +<a name="l00043"></a><a class="code" href="classSignalHandler.html#a1109d38f8b43bde75420aaeecc1f2b7">00043</a> <span class="keyword">virtual</span> <a class="code" href="classSignalHandler.html#a1109d38f8b43bde75420aaeecc1f2b7">~SignalHandler</a>() {} +<a name="l00044"></a>00044 +<a name="l00045"></a><a class="code" href="classSignalHandler.html#e3dbda0de9b4aa4544390818a0d29e28">00045</a> <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code" href="classSignalHandler.html#e3dbda0de9b4aa4544390818a0d29e28">handle</a>() { <span class="keywordflow">return</span> 0; } +<a name="l00046"></a>00046 +<a name="l00047"></a>00047 <span class="keyword">protected</span>: +<a name="l00048"></a><a class="code" href="classSignalHandler.html#8f920534650e9cd3cdfbe3c3f8409b4d">00048</a> <a class="code" href="classSignalHandler.html#8f920534650e9cd3cdfbe3c3f8409b4d">SignalHandler</a>(<span class="keywordtype">int</span> s) : <a class="code" href="classSignalHandler.html#0585573af0ea6bebf37bda54e5c3c39d">sigNum</a>(s) {} +<a name="l00049"></a>00049 +<a name="l00050"></a>00050 <span class="keyword">private</span>: +<a name="l00051"></a><a class="code" href="classSignalHandler.html#0585573af0ea6bebf37bda54e5c3c39d">00051</a> <span class="keywordtype">int</span> <a class="code" href="classSignalHandler.html#0585573af0ea6bebf37bda54e5c3c39d">sigNum</a>; +<a name="l00052"></a><a class="code" href="classSignalHandler.html#9b5c65d0274d45f20c9ed28852dd66fa">00052</a> <span class="keyword">friend</span> <span class="keyword">class </span><a class="code" href="classSignalController.html">SignalController</a>; +<a name="l00053"></a>00053 }; +<a name="l00054"></a>00054 +<a name="l00055"></a><a class="code" href="classSigIntHandler.html">00055</a> <span class="keyword">class </span><a class="code" href="classSigIntHandler.html">SigIntHandler</a> : <span class="keyword">public</span> <a class="code" href="classSignalHandler.html">SignalHandler</a> +<a name="l00056"></a>00056 { +<a name="l00057"></a>00057 <span class="keyword">public</span>: +<a name="l00058"></a><a class="code" href="classSigIntHandler.html#ac25b5ac048a76d4c0c26d5ad4c4273d">00058</a> <a class="code" href="classSigIntHandler.html#ac25b5ac048a76d4c0c26d5ad4c4273d">SigIntHandler</a>() : <a class="code" href="classSignalHandler.html">SignalHandler</a>(SIGINT) {} +<a name="l00059"></a>00059 <span class="keywordtype">int</span> <a class="code" href="classSigIntHandler.html#6a7d9a841a5c9b1f50041a8c37774063">handle</a>(); +<a name="l00060"></a>00060 }; +<a name="l00061"></a>00061 +<a name="l00062"></a><a class="code" href="classSigQuitHandler.html">00062</a> <span class="keyword">class </span><a class="code" href="classSigQuitHandler.html">SigQuitHandler</a> : <span class="keyword">public</span> <a class="code" href="classSignalHandler.html">SignalHandler</a> +<a name="l00063"></a>00063 { +<a name="l00064"></a>00064 <span class="keyword">public</span>: +<a name="l00065"></a><a class="code" href="classSigQuitHandler.html#45885e5ddfa14f9bfc13c72de425e1c6">00065</a> <a class="code" href="classSigQuitHandler.html#45885e5ddfa14f9bfc13c72de425e1c6">SigQuitHandler</a>() : <a class="code" href="classSignalHandler.html">SignalHandler</a>(SIGQUIT) {} +<a name="l00066"></a>00066 <span class="keywordtype">int</span> <a class="code" href="classSigQuitHandler.html#799f0272c91e7b1bf09411b80811b4dc">handle</a>(); +<a name="l00067"></a>00067 }; +<a name="l00068"></a>00068 +<a name="l00069"></a><a class="code" href="classSigHupHandler.html">00069</a> <span class="keyword">class </span><a class="code" href="classSigHupHandler.html">SigHupHandler</a> : <span class="keyword">public</span> <a class="code" href="classSignalHandler.html">SignalHandler</a> +<a name="l00070"></a>00070 { +<a name="l00071"></a>00071 <span class="keyword">public</span>: +<a name="l00072"></a><a class="code" href="classSigHupHandler.html#a1ee03b63ca11d8b5aae82fae1f2d6a3">00072</a> <a class="code" href="classSigHupHandler.html#a1ee03b63ca11d8b5aae82fae1f2d6a3">SigHupHandler</a>() : <a class="code" href="classSignalHandler.html">SignalHandler</a>(SIGHUP) {} +<a name="l00073"></a>00073 <span class="keywordtype">int</span> <a class="code" href="classSigHupHandler.html#84734b7f79663badeedb720896302d4e">handle</a>(); +<a name="l00074"></a>00074 }; +<a name="l00075"></a>00075 +<a name="l00076"></a><a class="code" href="classSigUsr1Handler.html">00076</a> <span class="keyword">class </span><a class="code" href="classSigUsr1Handler.html">SigUsr1Handler</a> : <span class="keyword">public</span> <a class="code" href="classSignalHandler.html">SignalHandler</a> +<a name="l00077"></a>00077 { +<a name="l00078"></a>00078 <span class="keyword">public</span>: +<a name="l00079"></a><a class="code" href="classSigUsr1Handler.html#aabaa57b0f2bb331a85f95cf90dd121d">00079</a> <a class="code" href="classSigUsr1Handler.html#aabaa57b0f2bb331a85f95cf90dd121d">SigUsr1Handler</a>() : <a class="code" href="classSignalHandler.html">SignalHandler</a>(SIGUSR1) {} +<a name="l00080"></a>00080 <span class="keywordtype">int</span> <a class="code" href="classSigUsr1Handler.html#578f3ea18e617689032fc165b6436695">handle</a>(); +<a name="l00081"></a>00081 }; +<a name="l00082"></a>00082 +<a name="l00083"></a><a class="code" href="classSigUsr2Handler.html">00083</a> <span class="keyword">class </span><a class="code" href="classSigUsr2Handler.html">SigUsr2Handler</a> : <span class="keyword">public</span> <a class="code" href="classSignalHandler.html">SignalHandler</a> +<a name="l00084"></a>00084 { +<a name="l00085"></a>00085 <span class="keyword">public</span>: +<a name="l00086"></a><a class="code" href="classSigUsr2Handler.html#30478acdc28555b412d80f1419af622a">00086</a> <a class="code" href="classSigUsr2Handler.html#30478acdc28555b412d80f1419af622a">SigUsr2Handler</a>() : <a class="code" href="classSignalHandler.html">SignalHandler</a>(SIGUSR2) {} +<a name="l00087"></a>00087 <span class="keywordtype">int</span> <a class="code" href="classSigUsr2Handler.html#825a621f1ff10556bb8b289703273e7d">handle</a>(); +<a name="l00088"></a>00088 }; +<a name="l00089"></a>00089 +<a name="l00090"></a><a class="code" href="classSigTermHandler.html">00090</a> <span class="keyword">class </span><a class="code" href="classSigTermHandler.html">SigTermHandler</a> : <span class="keyword">public</span> <a class="code" href="classSignalHandler.html">SignalHandler</a> +<a name="l00091"></a>00091 { +<a name="l00092"></a>00092 <span class="keyword">public</span>: +<a name="l00093"></a><a class="code" href="classSigTermHandler.html#8f6c3da13e1ec7fc8ef122bd0db457e4">00093</a> <a class="code" href="classSigTermHandler.html#8f6c3da13e1ec7fc8ef122bd0db457e4">SigTermHandler</a>() : <a class="code" href="classSignalHandler.html">SignalHandler</a>(SIGTERM) {} +<a name="l00094"></a>00094 <span class="keywordtype">int</span> <a class="code" href="classSigTermHandler.html#820fa7f8bb5ef6390133c33c919dbf6f">handle</a>(); +<a name="l00095"></a>00095 }; +<a name="l00096"></a>00096 +<a name="l00097"></a><a class="code" href="classSignalController.html">00097</a> <span class="keyword">class </span><a class="code" href="classSignalController.html">SignalController</a> +<a name="l00098"></a>00098 { +<a name="l00099"></a>00099 <span class="keyword">public</span>: +<a name="l00100"></a><a class="code" href="classSignalController.html#d057c96011d444cce15e2a398a0a8bbf">00100</a> <a class="code" href="classSignalController.html#d057c96011d444cce15e2a398a0a8bbf">SignalController</a>() {} +<a name="l00101"></a>00101 <a class="code" href="classSignalController.html#e8d687dc4fcc75bffff50e8cda37c7aa">~SignalController</a>(); +<a name="l00102"></a>00102 <span class="keyword">static</span> <span class="keywordtype">void</span>* <a class="code" href="classSignalController.html#5df4d6ebe373117a9bf072035e16997f">handle</a>(<span class="keywordtype">void</span>* s); +<a name="l00103"></a>00103 +<a name="l00104"></a>00104 <span class="keywordtype">void</span> <a class="code" href="classSignalController.html#0d66065172b1c7ac0d55757d178e6911">init</a>(); +<a name="l00105"></a>00105 <span class="keywordtype">int</span> <a class="code" href="classSignalController.html#0f7657b70cb2e8457539d9f844a93619">run</a>(); +<a name="l00106"></a>00106 +<a name="l00107"></a>00107 <span class="keyword">private</span>: +<a name="l00108"></a><a class="code" href="classSignalController.html#659eb661ef3d40565d739a50bbe4b554">00108</a> <span class="keyword">typedef</span> std::map<int, SignalHandler*> <a class="code" href="classSignalController.html#659eb661ef3d40565d739a50bbe4b554">HandlerMap</a>; +<a name="l00109"></a>00109 +<a name="l00110"></a>00110 <a class="code" href="classSignalController.html#d057c96011d444cce15e2a398a0a8bbf">SignalController</a>(<span class="keyword">const</span> <a class="code" href="classSignalController.html">SignalController</a> &s); +<a name="l00111"></a>00111 <span class="keywordtype">void</span> <a class="code" href="classSignalController.html#7bfe78f3e8c5d40ddd51c313d30cf6a2">operator=</a>(<span class="keyword">const</span> <a class="code" href="classSignalController.html">SignalController</a> &s); +<a name="l00112"></a>00112 +<a name="l00113"></a><a class="code" href="classSignalController.html#543fa6d49a071df92cdfcc7bc96de161">00113</a> std::queue<int> <a class="code" href="classSignalController.html#543fa6d49a071df92cdfcc7bc96de161">sigQueue</a>; +<a name="l00114"></a><a class="code" href="classSignalController.html#6b7853059aa422fac6c2cc77e00d28ee">00114</a> <a class="code" href="classMutex.html">Mutex</a> <a class="code" href="classSignalController.html#6b7853059aa422fac6c2cc77e00d28ee">sigQueueMutex</a>; +<a name="l00115"></a><a class="code" href="classSignalController.html#4dfee82061341e1af5ca827333c8bd10">00115</a> <a class="code" href="classSemaphore.html">Semaphore</a> <a class="code" href="classSignalController.html#4dfee82061341e1af5ca827333c8bd10">sigQueueSem</a>; +<a name="l00116"></a>00116 +<a name="l00117"></a><a class="code" href="classSignalController.html#79c5fbfa55aa9edc2a45c5ed3197b782">00117</a> pthread_t <a class="code" href="classSignalController.html#79c5fbfa55aa9edc2a45c5ed3197b782">thread</a>; +<a name="l00118"></a><a class="code" href="classSignalController.html#f76d2f570d55019dd15921eba71efe0b">00118</a> <a class="code" href="classSignalController.html#659eb661ef3d40565d739a50bbe4b554">HandlerMap</a> <a class="code" href="classSignalController.html#f76d2f570d55019dd15921eba71efe0b">handler</a>; +<a name="l00119"></a>00119 }; +<a name="l00120"></a>00120 +<a name="l00121"></a>00121 <span class="preprocessor">#endif</span> +</pre></div><hr size="1"><address style="align: right;"><small>Generated on Sun Oct 7 23:43:49 2007 for anytun by +<a href="http://www.doxygen.org/index.html"> +<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address> +</body> +</html> diff --git a/doc/html/signalController_8h.html b/doc/html/signalController_8h.html new file mode 100644 index 0000000..213cc41 --- /dev/null +++ b/doc/html/signalController_8h.html @@ -0,0 +1,50 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> +<title>anytun: signalController.h File Reference</title> +<link href="doxygen.css" rel="stylesheet" type="text/css"> +<link href="tabs.css" rel="stylesheet" type="text/css"> +</head><body> +<!-- Generated by Doxygen 1.5.1 --> +<div class="tabs"> + <ul> + <li><a href="main.html"><span>Main Page</span></a></li> + <li><a href="namespaces.html"><span>Namespaces</span></a></li> + <li><a href="annotated.html"><span>Classes</span></a></li> + <li id="current"><a href="files.html"><span>Files</span></a></li> + </ul></div> +<div class="tabs"> + <ul> + <li><a href="files.html"><span>File List</span></a></li> + <li><a href="globals.html"><span>File Members</span></a></li> + </ul></div> +<h1>signalController.h File Reference</h1><code>#include <csignal></code><br> +<code>#include <map></code><br> +<code>#include <queue></code><br> +<code>#include "<a class="el" href="threadUtils_8hpp-source.html">threadUtils.hpp</a>"</code><br> + +<p> +<a href="signalController_8h-source.html">Go to the source code of this file.</a><table border="0" cellpadding="0" cellspacing="0"> +<tr><td></td></tr> +<tr><td colspan="2"><br><h2>Classes</h2></td></tr> +<tr><td class="memItemLeft" nowrap align="right" valign="top">class </td><td class="memItemRight" valign="bottom"><a class="el" href="classSignalHandler.html">SignalHandler</a></td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top">class </td><td class="memItemRight" valign="bottom"><a class="el" href="classSigIntHandler.html">SigIntHandler</a></td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top">class </td><td class="memItemRight" valign="bottom"><a class="el" href="classSigQuitHandler.html">SigQuitHandler</a></td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top">class </td><td class="memItemRight" valign="bottom"><a class="el" href="classSigHupHandler.html">SigHupHandler</a></td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top">class </td><td class="memItemRight" valign="bottom"><a class="el" href="classSigUsr1Handler.html">SigUsr1Handler</a></td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top">class </td><td class="memItemRight" valign="bottom"><a class="el" href="classSigUsr2Handler.html">SigUsr2Handler</a></td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top">class </td><td class="memItemRight" valign="bottom"><a class="el" href="classSigTermHandler.html">SigTermHandler</a></td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top">class </td><td class="memItemRight" valign="bottom"><a class="el" href="classSignalController.html">SignalController</a></td></tr> + +</table> +<hr size="1"><address style="align: right;"><small>Generated on Sun Oct 7 23:43:49 2007 for anytun by +<a href="http://www.doxygen.org/index.html"> +<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address> +</body> +</html> diff --git a/doc/html/structPacket_1_1HeaderStruct-members.html b/doc/html/structPacket_1_1HeaderStruct-members.html new file mode 100644 index 0000000..86f6bad --- /dev/null +++ b/doc/html/structPacket_1_1HeaderStruct-members.html @@ -0,0 +1,28 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> +<title>anytun: Member List</title> +<link href="doxygen.css" rel="stylesheet" type="text/css"> +<link href="tabs.css" rel="stylesheet" type="text/css"> +</head><body> +<!-- Generated by Doxygen 1.5.1 --> +<div class="tabs"> + <ul> + <li><a href="main.html"><span>Main Page</span></a></li> + <li><a href="namespaces.html"><span>Namespaces</span></a></li> + <li id="current"><a href="annotated.html"><span>Classes</span></a></li> + <li><a href="files.html"><span>Files</span></a></li> + </ul></div> +<div class="tabs"> + <ul> + <li><a href="annotated.html"><span>Class List</span></a></li> + <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> + <li><a href="functions.html"><span>Class Members</span></a></li> + </ul></div> +<h1>Packet::HeaderStruct Member List</h1>This is the complete list of members for <a class="el" href="structPacket_1_1HeaderStruct.html">Packet::HeaderStruct</a>, including all inherited members.<p><table> + <tr class="memlist"><td><a class="el" href="structPacket_1_1HeaderStruct.html#c129b7cda1d848a579b689bacdabddea">sender_id</a></td><td><a class="el" href="structPacket_1_1HeaderStruct.html">Packet::HeaderStruct</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="structPacket_1_1HeaderStruct.html#4b7b9bf68b204ca98171b7f818685521">seq_nr</a></td><td><a class="el" href="structPacket_1_1HeaderStruct.html">Packet::HeaderStruct</a></td><td></td></tr> +</table><hr size="1"><address style="align: right;"><small>Generated on Sun Oct 7 23:43:50 2007 for anytun by +<a href="http://www.doxygen.org/index.html"> +<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address> +</body> +</html> diff --git a/doc/html/structPacket_1_1HeaderStruct.html b/doc/html/structPacket_1_1HeaderStruct.html new file mode 100644 index 0000000..1727242 --- /dev/null +++ b/doc/html/structPacket_1_1HeaderStruct.html @@ -0,0 +1,68 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> +<title>anytun: Packet::HeaderStruct Struct Reference</title> +<link href="doxygen.css" rel="stylesheet" type="text/css"> +<link href="tabs.css" rel="stylesheet" type="text/css"> +</head><body> +<!-- Generated by Doxygen 1.5.1 --> +<div class="tabs"> + <ul> + <li><a href="main.html"><span>Main Page</span></a></li> + <li><a href="namespaces.html"><span>Namespaces</span></a></li> + <li id="current"><a href="annotated.html"><span>Classes</span></a></li> + <li><a href="files.html"><span>Files</span></a></li> + </ul></div> +<div class="tabs"> + <ul> + <li><a href="annotated.html"><span>Class List</span></a></li> + <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> + <li><a href="functions.html"><span>Class Members</span></a></li> + </ul></div> +<div class="nav"> +<a class="el" href="classPacket.html">Packet</a>::<a class="el" href="structPacket_1_1HeaderStruct.html">HeaderStruct</a></div> +<h1>Packet::HeaderStruct Struct Reference</h1><!-- doxytag: class="Packet::HeaderStruct" --><a href="structPacket_1_1HeaderStruct-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0"> +<tr><td></td></tr> +<tr><td colspan="2"><br><h2>Public Attributes</h2></td></tr> +<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="datatypes_8h.html#317be74a3176b4149a817241bd69f9b2">seq_nr_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="structPacket_1_1HeaderStruct.html#4b7b9bf68b204ca98171b7f818685521">seq_nr</a></td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="datatypes_8h.html#c8be006c348a522ae126f67f7b2aaf4e">sender_id_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="structPacket_1_1HeaderStruct.html#c129b7cda1d848a579b689bacdabddea">sender_id</a></td></tr> + +</table> +<hr><h2>Member Data Documentation</h2> +<a class="anchor" name="4b7b9bf68b204ca98171b7f818685521"></a><!-- doxytag: member="Packet::HeaderStruct::seq_nr" ref="4b7b9bf68b204ca98171b7f818685521" args="" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname"><a class="el" href="datatypes_8h.html#317be74a3176b4149a817241bd69f9b2">seq_nr_t</a> <a class="el" href="structPacket_1_1HeaderStruct.html#4b7b9bf68b204ca98171b7f818685521">Packet::HeaderStruct::seq_nr</a> </td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<a class="anchor" name="c129b7cda1d848a579b689bacdabddea"></a><!-- doxytag: member="Packet::HeaderStruct::sender_id" ref="c129b7cda1d848a579b689bacdabddea" args="" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname"><a class="el" href="datatypes_8h.html#c8be006c348a522ae126f67f7b2aaf4e">sender_id_t</a> <a class="el" href="structPacket_1_1HeaderStruct.html#c129b7cda1d848a579b689bacdabddea">Packet::HeaderStruct::sender_id</a> </td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<hr>The documentation for this struct was generated from the following file:<ul> +<li><a class="el" href="packet_8h-source.html">packet.h</a></ul> +<hr size="1"><address style="align: right;"><small>Generated on Sun Oct 7 23:43:50 2007 for anytun by +<a href="http://www.doxygen.org/index.html"> +<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address> +</body> +</html> diff --git a/doc/html/structParam-members.html b/doc/html/structParam-members.html new file mode 100644 index 0000000..05e965e --- /dev/null +++ b/doc/html/structParam-members.html @@ -0,0 +1,33 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> +<title>anytun: Member List</title> +<link href="doxygen.css" rel="stylesheet" type="text/css"> +<link href="tabs.css" rel="stylesheet" type="text/css"> +</head><body> +<!-- Generated by Doxygen 1.5.1 --> +<div class="tabs"> + <ul> + <li><a href="main.html"><span>Main Page</span></a></li> + <li><a href="namespaces.html"><span>Namespaces</span></a></li> + <li id="current"><a href="annotated.html"><span>Classes</span></a></li> + <li><a href="files.html"><span>Files</span></a></li> + </ul></div> +<div class="tabs"> + <ul> + <li><a href="annotated.html"><span>Class List</span></a></li> + <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> + <li><a href="functions.html"><span>Class Members</span></a></li> + </ul></div> +<h1>Param Member List</h1>This is the complete list of members for <a class="el" href="structParam.html">Param</a>, including all inherited members.<p><table> + <tr class="memlist"><td><a class="el" href="structParam.html#22172435ee2e6beb10acf92b2d68e40c">a</a></td><td><a class="el" href="structParam.html">Param</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="structParam.html#4ef5a8757e2f89fcb1317a1969641149">c</a></td><td><a class="el" href="structParam.html">Param</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="structParam.html#1fa9d0f89264543bbad03a9e4e0c5f44">dev</a></td><td><a class="el" href="structParam.html">Param</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="structParam.html#6cfe55741cae1cf1bdde27561f292d8a">kd</a></td><td><a class="el" href="structParam.html">Param</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="structParam.html#f690604eb7652c5f5407815c5022b46c">opt</a></td><td><a class="el" href="structParam.html">Param</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="structParam.html#dc6a71f9fa352d3ecb312e2e33354f4e">seq</a></td><td><a class="el" href="structParam.html">Param</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="structParam.html#fa5715cd7dc0833ea8f9afcbd1db455c">src</a></td><td><a class="el" href="structParam.html">Param</a></td><td></td></tr> +</table><hr size="1"><address style="align: right;"><small>Generated on Sun Oct 7 23:43:50 2007 for anytun by +<a href="http://www.doxygen.org/index.html"> +<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address> +</body> +</html> diff --git a/doc/html/structParam.html b/doc/html/structParam.html new file mode 100644 index 0000000..5ecf596 --- /dev/null +++ b/doc/html/structParam.html @@ -0,0 +1,151 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> +<title>anytun: Param Struct Reference</title> +<link href="doxygen.css" rel="stylesheet" type="text/css"> +<link href="tabs.css" rel="stylesheet" type="text/css"> +</head><body> +<!-- Generated by Doxygen 1.5.1 --> +<div class="tabs"> + <ul> + <li><a href="main.html"><span>Main Page</span></a></li> + <li><a href="namespaces.html"><span>Namespaces</span></a></li> + <li id="current"><a href="annotated.html"><span>Classes</span></a></li> + <li><a href="files.html"><span>Files</span></a></li> + </ul></div> +<div class="tabs"> + <ul> + <li><a href="annotated.html"><span>Class List</span></a></li> + <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> + <li><a href="functions.html"><span>Class Members</span></a></li> + </ul></div> +<h1>Param Struct Reference</h1><!-- doxytag: class="Param" --><a href="structParam-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0"> +<tr><td></td></tr> +<tr><td colspan="2"><br><h2>Public Attributes</h2></td></tr> +<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classOptions.html">Options</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="structParam.html#f690604eb7652c5f5407815c5022b46c">opt</a></td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classTunDevice.html">TunDevice</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="structParam.html#1fa9d0f89264543bbad03a9e4e0c5f44">dev</a></td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classKeyDerivation.html">KeyDerivation</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="structParam.html#6cfe55741cae1cf1bdde27561f292d8a">kd</a></td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classCypher.html">Cypher</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="structParam.html#4ef5a8757e2f89fcb1317a1969641149">c</a></td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classAuthAlgo.html">AuthAlgo</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="structParam.html#22172435ee2e6beb10acf92b2d68e40c">a</a></td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classPacketSource.html">PacketSource</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="structParam.html#fa5715cd7dc0833ea8f9afcbd1db455c">src</a></td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classSeqWindow.html">SeqWindow</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="structParam.html#dc6a71f9fa352d3ecb312e2e33354f4e">seq</a></td></tr> + +</table> +<hr><h2>Member Data Documentation</h2> +<a class="anchor" name="f690604eb7652c5f5407815c5022b46c"></a><!-- doxytag: member="Param::opt" ref="f690604eb7652c5f5407815c5022b46c" args="" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname"><a class="el" href="classOptions.html">Options</a>& <a class="el" href="structParam.html#f690604eb7652c5f5407815c5022b46c">Param::opt</a> </td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<a class="anchor" name="1fa9d0f89264543bbad03a9e4e0c5f44"></a><!-- doxytag: member="Param::dev" ref="1fa9d0f89264543bbad03a9e4e0c5f44" args="" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname"><a class="el" href="classTunDevice.html">TunDevice</a>& <a class="el" href="structParam.html#1fa9d0f89264543bbad03a9e4e0c5f44">Param::dev</a> </td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<a class="anchor" name="6cfe55741cae1cf1bdde27561f292d8a"></a><!-- doxytag: member="Param::kd" ref="6cfe55741cae1cf1bdde27561f292d8a" args="" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname"><a class="el" href="classKeyDerivation.html">KeyDerivation</a>& <a class="el" href="structParam.html#6cfe55741cae1cf1bdde27561f292d8a">Param::kd</a> </td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<a class="anchor" name="4ef5a8757e2f89fcb1317a1969641149"></a><!-- doxytag: member="Param::c" ref="4ef5a8757e2f89fcb1317a1969641149" args="" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname"><a class="el" href="classCypher.html">Cypher</a>& <a class="el" href="structParam.html#4ef5a8757e2f89fcb1317a1969641149">Param::c</a> </td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<a class="anchor" name="22172435ee2e6beb10acf92b2d68e40c"></a><!-- doxytag: member="Param::a" ref="22172435ee2e6beb10acf92b2d68e40c" args="" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname"><a class="el" href="classAuthAlgo.html">AuthAlgo</a>& <a class="el" href="structParam.html#22172435ee2e6beb10acf92b2d68e40c">Param::a</a> </td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<a class="anchor" name="fa5715cd7dc0833ea8f9afcbd1db455c"></a><!-- doxytag: member="Param::src" ref="fa5715cd7dc0833ea8f9afcbd1db455c" args="" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname"><a class="el" href="classPacketSource.html">PacketSource</a>& <a class="el" href="structParam.html#fa5715cd7dc0833ea8f9afcbd1db455c">Param::src</a> </td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<a class="anchor" name="dc6a71f9fa352d3ecb312e2e33354f4e"></a><!-- doxytag: member="Param::seq" ref="dc6a71f9fa352d3ecb312e2e33354f4e" args="" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname"><a class="el" href="classSeqWindow.html">SeqWindow</a>& <a class="el" href="structParam.html#dc6a71f9fa352d3ecb312e2e33354f4e">Param::seq</a> </td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<hr>The documentation for this struct was generated from the following file:<ul> +<li><a class="el" href="anytun_8cpp.html">anytun.cpp</a></ul> +<hr size="1"><address style="align: right;"><small>Generated on Sun Oct 7 23:43:50 2007 for anytun by +<a href="http://www.doxygen.org/index.html"> +<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address> +</body> +</html> diff --git a/doc/html/tab_b.gif b/doc/html/tab_b.gif Binary files differnew file mode 100644 index 0000000..0d62348 --- /dev/null +++ b/doc/html/tab_b.gif diff --git a/doc/html/tab_l.gif b/doc/html/tab_l.gif Binary files differnew file mode 100644 index 0000000..9b1e633 --- /dev/null +++ b/doc/html/tab_l.gif diff --git a/doc/html/tab_r.gif b/doc/html/tab_r.gif Binary files differnew file mode 100644 index 0000000..ce9dd9f --- /dev/null +++ b/doc/html/tab_r.gif diff --git a/doc/html/tabs.css b/doc/html/tabs.css new file mode 100644 index 0000000..a61552a --- /dev/null +++ b/doc/html/tabs.css @@ -0,0 +1,102 @@ +/* tabs styles, based on http://www.alistapart.com/articles/slidingdoors */ + +DIV.tabs +{ + float : left; + width : 100%; + background : url("tab_b.gif") repeat-x bottom; + margin-bottom : 4px; +} + +DIV.tabs UL +{ + margin : 0px; + padding-left : 10px; + list-style : none; +} + +DIV.tabs LI, DIV.tabs FORM +{ + display : inline; + margin : 0px; + padding : 0px; +} + +DIV.tabs FORM +{ + float : right; +} + +DIV.tabs A +{ + float : left; + background : url("tab_r.gif") no-repeat right top; + border-bottom : 1px solid #84B0C7; + font-size : x-small; + font-weight : bold; + text-decoration : none; +} + +DIV.tabs A:hover +{ + background-position: 100% -150px; +} + +DIV.tabs A:link, DIV.tabs A:visited, +DIV.tabs A:active, DIV.tabs A:hover +{ + color: #1A419D; +} + +DIV.tabs SPAN +{ + float : left; + display : block; + background : url("tab_l.gif") no-repeat left top; + padding : 5px 9px; + white-space : nowrap; +} + +DIV.tabs INPUT +{ + float : right; + display : inline; + font-size : 1em; +} + +DIV.tabs TD +{ + font-size : x-small; + font-weight : bold; + text-decoration : none; +} + + + +/* Commented Backslash Hack hides rule from IE5-Mac \*/ +DIV.tabs SPAN {float : none;} +/* End IE5-Mac hack */ + +DIV.tabs A:hover SPAN +{ + background-position: 0% -150px; +} + +DIV.tabs LI#current A +{ + background-position: 100% -150px; + border-width : 0px; +} + +DIV.tabs LI#current SPAN +{ + background-position: 0% -150px; + padding-bottom : 6px; +} + +DIV.nav +{ + background : none; + border : none; + border-bottom : 1px solid #84B0C7; +} diff --git a/doc/html/threadUtils_8hpp-source.html b/doc/html/threadUtils_8hpp-source.html new file mode 100644 index 0000000..509d9fd --- /dev/null +++ b/doc/html/threadUtils_8hpp-source.html @@ -0,0 +1,198 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> +<title>anytun: threadUtils.hpp Source File</title> +<link href="doxygen.css" rel="stylesheet" type="text/css"> +<link href="tabs.css" rel="stylesheet" type="text/css"> +</head><body> +<!-- Generated by Doxygen 1.5.1 --> +<div class="tabs"> + <ul> + <li><a href="main.html"><span>Main Page</span></a></li> + <li><a href="namespaces.html"><span>Namespaces</span></a></li> + <li><a href="annotated.html"><span>Classes</span></a></li> + <li id="current"><a href="files.html"><span>Files</span></a></li> + </ul></div> +<div class="tabs"> + <ul> + <li><a href="files.html"><span>File List</span></a></li> + <li><a href="globals.html"><span>File Members</span></a></li> + </ul></div> +<h1>threadUtils.hpp</h1><a href="threadUtils_8hpp.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">/*</span> +<a name="l00002"></a>00002 <span class="comment"> * anytun</span> +<a name="l00003"></a>00003 <span class="comment"> *</span> +<a name="l00004"></a>00004 <span class="comment"> * The secure anycast tunneling protocol (satp) defines a protocol used</span> +<a name="l00005"></a>00005 <span class="comment"> * for communication between any combination of unicast and anycast</span> +<a name="l00006"></a>00006 <span class="comment"> * tunnel endpoints. It has less protocol overhead than IPSec in Tunnel</span> +<a name="l00007"></a>00007 <span class="comment"> * mode and allows tunneling of every ETHER TYPE protocol (e.g.</span> +<a name="l00008"></a>00008 <span class="comment"> * ethernet, ip, arp ...). satp directly includes cryptography and</span> +<a name="l00009"></a>00009 <span class="comment"> * message authentication based on the methodes used by SRTP. It is</span> +<a name="l00010"></a>00010 <span class="comment"> * intended to deliver a generic, scaleable and secure solution for</span> +<a name="l00011"></a>00011 <span class="comment"> * tunneling and relaying of packets of any protocol.</span> +<a name="l00012"></a>00012 <span class="comment"> *</span> +<a name="l00013"></a>00013 <span class="comment"> *</span> +<a name="l00014"></a>00014 <span class="comment"> * Copyright (C) 2007 anytun.org <satp@wirdorange.org></span> +<a name="l00015"></a>00015 <span class="comment"> *</span> +<a name="l00016"></a>00016 <span class="comment"> * This program is free software; you can redistribute it and/or modify</span> +<a name="l00017"></a>00017 <span class="comment"> * it under the terms of the GNU General Public License version 2</span> +<a name="l00018"></a>00018 <span class="comment"> * as published by the Free Software Foundation.</span> +<a name="l00019"></a>00019 <span class="comment"> *</span> +<a name="l00020"></a>00020 <span class="comment"> * This program is distributed in the hope that it will be useful,</span> +<a name="l00021"></a>00021 <span class="comment"> * but WITHOUT ANY WARRANTY; without even the implied warranty of</span> +<a name="l00022"></a>00022 <span class="comment"> * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the</span> +<a name="l00023"></a>00023 <span class="comment"> * GNU General Public License for more details.</span> +<a name="l00024"></a>00024 <span class="comment"> *</span> +<a name="l00025"></a>00025 <span class="comment"> * You should have received a copy of the GNU General Public License</span> +<a name="l00026"></a>00026 <span class="comment"> * along with this program (see the file COPYING included with this</span> +<a name="l00027"></a>00027 <span class="comment"> * distribution); if not, write to the Free Software Foundation, Inc.,</span> +<a name="l00028"></a>00028 <span class="comment"> * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA</span> +<a name="l00029"></a>00029 <span class="comment"> */</span> +<a name="l00030"></a>00030 +<a name="l00031"></a>00031 <span class="preprocessor">#ifndef _THREADUTILS_HPP_</span> +<a name="l00032"></a>00032 <span class="preprocessor"></span><span class="preprocessor">#define _THREADUTILS_HPP_</span> +<a name="l00033"></a>00033 <span class="preprocessor"></span> +<a name="l00034"></a>00034 <span class="preprocessor">#include <stdexcept></span> +<a name="l00035"></a>00035 <span class="preprocessor">#include <semaphore.h></span> +<a name="l00036"></a>00036 +<a name="l00037"></a><a class="code" href="classMutex.html">00037</a> <span class="keyword">class </span><a class="code" href="classMutex.html">Mutex</a> +<a name="l00038"></a>00038 { +<a name="l00039"></a>00039 <span class="keyword">public</span>: +<a name="l00040"></a><a class="code" href="classMutex.html#593423d868daf926c7b0d63a833ae29a">00040</a> <a class="code" href="classMutex.html#593423d868daf926c7b0d63a833ae29a">Mutex</a>() +<a name="l00041"></a>00041 { +<a name="l00042"></a>00042 <span class="keywordflow">if</span>(pthread_mutex_init(&<a class="code" href="classMutex.html#8feb0b01916c1feedd1f0c0dcd74081b">mutex</a>,NULL)) +<a name="l00043"></a>00043 <span class="keywordflow">throw</span> std::runtime_error(<span class="stringliteral">"can't create mutex"</span>); +<a name="l00044"></a>00044 } +<a name="l00045"></a>00045 +<a name="l00046"></a><a class="code" href="classMutex.html#c9e9182407f5f74892318607888e9be4">00046</a> <a class="code" href="classMutex.html#c9e9182407f5f74892318607888e9be4">~Mutex</a>() +<a name="l00047"></a>00047 { +<a name="l00048"></a>00048 pthread_mutex_destroy(&<a class="code" href="classMutex.html#8feb0b01916c1feedd1f0c0dcd74081b">mutex</a>); +<a name="l00049"></a>00049 } +<a name="l00050"></a>00050 +<a name="l00051"></a>00051 <span class="keyword">private</span>: +<a name="l00052"></a>00052 <a class="code" href="classMutex.html#593423d868daf926c7b0d63a833ae29a">Mutex</a>(<span class="keyword">const</span> <a class="code" href="classMutex.html">Mutex</a>& src); +<a name="l00053"></a>00053 <span class="keywordtype">void</span> <a class="code" href="classMutex.html#030a11400d00ef97813c6b232a5e3f43">operator=</a>(<span class="keyword">const</span> <a class="code" href="classMutex.html">Mutex</a>& src); +<a name="l00054"></a>00054 +<a name="l00055"></a><a class="code" href="classMutex.html#d91be808bf0a60a16f10b897ec246d3a">00055</a> <span class="keywordtype">void</span> <a class="code" href="classMutex.html#d91be808bf0a60a16f10b897ec246d3a">lock</a>() +<a name="l00056"></a>00056 { +<a name="l00057"></a>00057 <span class="keywordflow">if</span>(pthread_mutex_lock(&<a class="code" href="classMutex.html#8feb0b01916c1feedd1f0c0dcd74081b">mutex</a>)) +<a name="l00058"></a>00058 <span class="keywordflow">throw</span> std::runtime_error(<span class="stringliteral">"can't lock mutex"</span>); +<a name="l00059"></a>00059 } +<a name="l00060"></a>00060 +<a name="l00061"></a><a class="code" href="classMutex.html#546a5b797ba29959357586aa2b3740a8">00061</a> <span class="keywordtype">void</span> <a class="code" href="classMutex.html#546a5b797ba29959357586aa2b3740a8">unlock</a>() +<a name="l00062"></a>00062 { +<a name="l00063"></a>00063 <span class="keywordflow">if</span>(pthread_mutex_unlock(&<a class="code" href="classMutex.html#8feb0b01916c1feedd1f0c0dcd74081b">mutex</a>)) +<a name="l00064"></a>00064 <span class="keywordflow">throw</span> std::runtime_error(<span class="stringliteral">"can't unlock mutex"</span>); +<a name="l00065"></a>00065 } +<a name="l00066"></a><a class="code" href="classMutex.html#5bf7608e05250fb524a1229bcf83ece3">00066</a> <span class="keyword">friend</span> <span class="keyword">class </span><a class="code" href="classLock.html">Lock</a>; +<a name="l00067"></a><a class="code" href="classMutex.html#0705c7682858f6dcf7fe85cba92f0a5c">00067</a> <span class="keyword">friend</span> <span class="keyword">class </span><a class="code" href="classCondition.html">Condition</a>; +<a name="l00068"></a><a class="code" href="classMutex.html#8feb0b01916c1feedd1f0c0dcd74081b">00068</a> pthread_mutex_t <a class="code" href="classMutex.html#8feb0b01916c1feedd1f0c0dcd74081b">mutex</a>; +<a name="l00069"></a>00069 }; +<a name="l00070"></a>00070 +<a name="l00071"></a>00071 +<a name="l00072"></a><a class="code" href="classLock.html">00072</a> <span class="keyword">class </span><a class="code" href="classLock.html">Lock</a> +<a name="l00073"></a>00073 { +<a name="l00074"></a>00074 <span class="keyword">public</span>: +<a name="l00075"></a><a class="code" href="classLock.html#2c786576eddddb484a6a02a7dea52904">00075</a> <a class="code" href="classLock.html#2c786576eddddb484a6a02a7dea52904">Lock</a>(<a class="code" href="classMutex.html">Mutex</a> &m) : <a class="code" href="classLock.html#41f8817641e260bddb93a7a710736037">mutex</a>(m) +<a name="l00076"></a>00076 { +<a name="l00077"></a>00077 <a class="code" href="classLock.html#41f8817641e260bddb93a7a710736037">mutex</a>.<a class="code" href="classMutex.html#d91be808bf0a60a16f10b897ec246d3a">lock</a>(); +<a name="l00078"></a>00078 } +<a name="l00079"></a>00079 +<a name="l00080"></a><a class="code" href="classLock.html#7ab6d9485c8665bb3643710432882971">00080</a> <a class="code" href="classLock.html#7ab6d9485c8665bb3643710432882971">~Lock</a>() +<a name="l00081"></a>00081 { +<a name="l00082"></a>00082 <a class="code" href="classLock.html#41f8817641e260bddb93a7a710736037">mutex</a>.<a class="code" href="classMutex.html#546a5b797ba29959357586aa2b3740a8">unlock</a>(); +<a name="l00083"></a>00083 } +<a name="l00084"></a>00084 +<a name="l00085"></a>00085 <span class="keyword">private</span>: +<a name="l00086"></a>00086 <a class="code" href="classLock.html#2c786576eddddb484a6a02a7dea52904">Lock</a>(<span class="keyword">const</span> <a class="code" href="classLock.html">Lock</a>& src); +<a name="l00087"></a>00087 <span class="keywordtype">void</span> <a class="code" href="classLock.html#6beb534a89b213d70e4b3bb9b3cde217">operator=</a>(<span class="keyword">const</span> <a class="code" href="classLock.html">Lock</a>& src); +<a name="l00088"></a>00088 +<a name="l00089"></a><a class="code" href="classLock.html#41f8817641e260bddb93a7a710736037">00089</a> <a class="code" href="classMutex.html">Mutex</a> &<a class="code" href="classLock.html#41f8817641e260bddb93a7a710736037">mutex</a>; +<a name="l00090"></a>00090 }; +<a name="l00091"></a>00091 +<a name="l00092"></a><a class="code" href="classCondition.html">00092</a> <span class="keyword">class </span><a class="code" href="classCondition.html">Condition</a> +<a name="l00093"></a>00093 { +<a name="l00094"></a>00094 <span class="keyword">public</span>: +<a name="l00095"></a><a class="code" href="classCondition.html#f11513db4fcbde93961fa0b65e7ab764">00095</a> <a class="code" href="classCondition.html#f11513db4fcbde93961fa0b65e7ab764">Condition</a>() +<a name="l00096"></a>00096 { +<a name="l00097"></a>00097 <span class="keywordflow">if</span>(pthread_cond_init(&<a class="code" href="classCondition.html#4c8982005641d63b696f671b28e3706d">cond</a>, NULL)) +<a name="l00098"></a>00098 <span class="keywordflow">throw</span> std::runtime_error(<span class="stringliteral">"can't create condition"</span>); +<a name="l00099"></a>00099 } +<a name="l00100"></a>00100 +<a name="l00101"></a><a class="code" href="classCondition.html#b42f6d2dfb2d0de4bed4ed5032d4a8fc">00101</a> <a class="code" href="classCondition.html#b42f6d2dfb2d0de4bed4ed5032d4a8fc">~Condition</a>() +<a name="l00102"></a>00102 { +<a name="l00103"></a>00103 pthread_cond_destroy(&<a class="code" href="classCondition.html#4c8982005641d63b696f671b28e3706d">cond</a>); +<a name="l00104"></a>00104 } +<a name="l00105"></a>00105 +<a name="l00106"></a><a class="code" href="classCondition.html#0bb9ca22c3c755d0ed8c7483a857567a">00106</a> <span class="keywordtype">void</span> <a class="code" href="classCondition.html#0bb9ca22c3c755d0ed8c7483a857567a">wait</a>() +<a name="l00107"></a>00107 { +<a name="l00108"></a>00108 <a class="code" href="classCondition.html#01622814c6a21250677c2b9cbfc86bfb">mutex</a>.<a class="code" href="classMutex.html#d91be808bf0a60a16f10b897ec246d3a">lock</a>(); +<a name="l00109"></a>00109 <span class="keywordflow">if</span>(pthread_cond_wait(&<a class="code" href="classCondition.html#4c8982005641d63b696f671b28e3706d">cond</a>, &<a class="code" href="classCondition.html#01622814c6a21250677c2b9cbfc86bfb">mutex</a>.<a class="code" href="classMutex.html#8feb0b01916c1feedd1f0c0dcd74081b">mutex</a>)) +<a name="l00110"></a>00110 { +<a name="l00111"></a>00111 <a class="code" href="classCondition.html#01622814c6a21250677c2b9cbfc86bfb">mutex</a>.<a class="code" href="classMutex.html#546a5b797ba29959357586aa2b3740a8">unlock</a>(); +<a name="l00112"></a>00112 <span class="keywordflow">throw</span> std::runtime_error(<span class="stringliteral">"error on waiting for condition"</span>); +<a name="l00113"></a>00113 } +<a name="l00114"></a>00114 <a class="code" href="classCondition.html#01622814c6a21250677c2b9cbfc86bfb">mutex</a>.<a class="code" href="classMutex.html#546a5b797ba29959357586aa2b3740a8">unlock</a>(); +<a name="l00115"></a>00115 } +<a name="l00116"></a>00116 +<a name="l00117"></a><a class="code" href="classCondition.html#974c8fd419e6014028dc4147cc49ce56">00117</a> <span class="keywordtype">void</span> <a class="code" href="classCondition.html#974c8fd419e6014028dc4147cc49ce56">signal</a>() +<a name="l00118"></a>00118 { +<a name="l00119"></a>00119 <a class="code" href="classCondition.html#01622814c6a21250677c2b9cbfc86bfb">mutex</a>.<a class="code" href="classMutex.html#d91be808bf0a60a16f10b897ec246d3a">lock</a>(); +<a name="l00120"></a>00120 <span class="keywordflow">if</span>(pthread_cond_signal(&<a class="code" href="classCondition.html#4c8982005641d63b696f671b28e3706d">cond</a>)) +<a name="l00121"></a>00121 { +<a name="l00122"></a>00122 <a class="code" href="classCondition.html#01622814c6a21250677c2b9cbfc86bfb">mutex</a>.<a class="code" href="classMutex.html#546a5b797ba29959357586aa2b3740a8">unlock</a>(); +<a name="l00123"></a>00123 <span class="keywordflow">throw</span> std::runtime_error(<span class="stringliteral">"can't signal condition"</span>); +<a name="l00124"></a>00124 } +<a name="l00125"></a>00125 <a class="code" href="classCondition.html#01622814c6a21250677c2b9cbfc86bfb">mutex</a>.<a class="code" href="classMutex.html#546a5b797ba29959357586aa2b3740a8">unlock</a>(); +<a name="l00126"></a>00126 } +<a name="l00127"></a>00127 +<a name="l00128"></a><a class="code" href="classCondition.html#15d88ea71e837f967d13d805d675cc5b">00128</a> <span class="keywordtype">void</span> <a class="code" href="classCondition.html#15d88ea71e837f967d13d805d675cc5b">broadcast</a>() +<a name="l00129"></a>00129 { +<a name="l00130"></a>00130 <a class="code" href="classCondition.html#01622814c6a21250677c2b9cbfc86bfb">mutex</a>.<a class="code" href="classMutex.html#d91be808bf0a60a16f10b897ec246d3a">lock</a>(); +<a name="l00131"></a>00131 <span class="keywordflow">if</span>(pthread_cond_broadcast(&<a class="code" href="classCondition.html#4c8982005641d63b696f671b28e3706d">cond</a>)) +<a name="l00132"></a>00132 { +<a name="l00133"></a>00133 <a class="code" href="classCondition.html#01622814c6a21250677c2b9cbfc86bfb">mutex</a>.<a class="code" href="classMutex.html#546a5b797ba29959357586aa2b3740a8">unlock</a>(); +<a name="l00134"></a>00134 <span class="keywordflow">throw</span> std::runtime_error(<span class="stringliteral">"can't broadcast condition"</span>); +<a name="l00135"></a>00135 } +<a name="l00136"></a>00136 <a class="code" href="classCondition.html#01622814c6a21250677c2b9cbfc86bfb">mutex</a>.<a class="code" href="classMutex.html#546a5b797ba29959357586aa2b3740a8">unlock</a>(); +<a name="l00137"></a>00137 } +<a name="l00138"></a>00138 +<a name="l00139"></a>00139 <span class="keyword">private</span>: +<a name="l00140"></a><a class="code" href="classCondition.html#4c8982005641d63b696f671b28e3706d">00140</a> pthread_cond_t <a class="code" href="classCondition.html#4c8982005641d63b696f671b28e3706d">cond</a>; +<a name="l00141"></a><a class="code" href="classCondition.html#01622814c6a21250677c2b9cbfc86bfb">00141</a> <a class="code" href="classMutex.html">Mutex</a> <a class="code" href="classCondition.html#01622814c6a21250677c2b9cbfc86bfb">mutex</a>; +<a name="l00142"></a>00142 }; +<a name="l00143"></a>00143 +<a name="l00144"></a><a class="code" href="classSemaphore.html">00144</a> <span class="keyword">class </span><a class="code" href="classSemaphore.html">Semaphore</a> +<a name="l00145"></a>00145 { +<a name="l00146"></a>00146 <span class="keyword">public</span>: +<a name="l00147"></a><a class="code" href="classSemaphore.html#570698c680a467b9b0a708635149d54a">00147</a> <a class="code" href="classSemaphore.html#570698c680a467b9b0a708635149d54a">Semaphore</a>(<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> initVal=0) +<a name="l00148"></a>00148 { +<a name="l00149"></a>00149 <span class="keywordflow">if</span>(sem_init(&<a class="code" href="classSemaphore.html#23e62b0971c229ddf106e3ff71d688d6">sem</a>, 0, initVal)) +<a name="l00150"></a>00150 <span class="keywordflow">throw</span> std::runtime_error(<span class="stringliteral">"can't create semaphore"</span>); +<a name="l00151"></a>00151 } +<a name="l00152"></a>00152 +<a name="l00153"></a><a class="code" href="classSemaphore.html#633658a6fde276bffc912028725c6ade">00153</a> <a class="code" href="classSemaphore.html#633658a6fde276bffc912028725c6ade">~Semaphore</a>() +<a name="l00154"></a>00154 { +<a name="l00155"></a>00155 sem_destroy(&<a class="code" href="classSemaphore.html#23e62b0971c229ddf106e3ff71d688d6">sem</a>); +<a name="l00156"></a>00156 } +<a name="l00157"></a>00157 +<a name="l00158"></a><a class="code" href="classSemaphore.html#71126a13a22f2722e22a2b69860a5371">00158</a> <span class="keywordtype">void</span> <a class="code" href="classSemaphore.html#71126a13a22f2722e22a2b69860a5371">down</a>() +<a name="l00159"></a>00159 { +<a name="l00160"></a>00160 <span class="keywordflow">if</span>(sem_wait(&<a class="code" href="classSemaphore.html#23e62b0971c229ddf106e3ff71d688d6">sem</a>)) +<a name="l00161"></a>00161 <span class="keywordflow">throw</span> std::runtime_error(<span class="stringliteral">"error on semaphore down"</span>); +<a name="l00162"></a>00162 } +<a name="l00163"></a>00163 +<a name="l00164"></a><a class="code" href="classSemaphore.html#15fb190263808234fc2562f39f523082">00164</a> <span class="keywordtype">void</span> <a class="code" href="classSemaphore.html#15fb190263808234fc2562f39f523082">up</a>() +<a name="l00165"></a>00165 { +<a name="l00166"></a>00166 <span class="keywordflow">if</span>(sem_post(&<a class="code" href="classSemaphore.html#23e62b0971c229ddf106e3ff71d688d6">sem</a>)) +<a name="l00167"></a>00167 <span class="keywordflow">throw</span> std::runtime_error(<span class="stringliteral">"error on semaphore up"</span>); +<a name="l00168"></a>00168 } +<a name="l00169"></a>00169 +<a name="l00170"></a>00170 <span class="keyword">private</span>: +<a name="l00171"></a><a class="code" href="classSemaphore.html#23e62b0971c229ddf106e3ff71d688d6">00171</a> sem_t <a class="code" href="classSemaphore.html#23e62b0971c229ddf106e3ff71d688d6">sem</a>; +<a name="l00172"></a>00172 }; +<a name="l00173"></a>00173 +<a name="l00174"></a>00174 <span class="preprocessor">#endif</span> +</pre></div><hr size="1"><address style="align: right;"><small>Generated on Sun Oct 7 23:43:49 2007 for anytun by +<a href="http://www.doxygen.org/index.html"> +<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address> +</body> +</html> diff --git a/doc/html/threadUtils_8hpp.html b/doc/html/threadUtils_8hpp.html new file mode 100644 index 0000000..8177a66 --- /dev/null +++ b/doc/html/threadUtils_8hpp.html @@ -0,0 +1,40 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> +<title>anytun: threadUtils.hpp File Reference</title> +<link href="doxygen.css" rel="stylesheet" type="text/css"> +<link href="tabs.css" rel="stylesheet" type="text/css"> +</head><body> +<!-- Generated by Doxygen 1.5.1 --> +<div class="tabs"> + <ul> + <li><a href="main.html"><span>Main Page</span></a></li> + <li><a href="namespaces.html"><span>Namespaces</span></a></li> + <li><a href="annotated.html"><span>Classes</span></a></li> + <li id="current"><a href="files.html"><span>Files</span></a></li> + </ul></div> +<div class="tabs"> + <ul> + <li><a href="files.html"><span>File List</span></a></li> + <li><a href="globals.html"><span>File Members</span></a></li> + </ul></div> +<h1>threadUtils.hpp File Reference</h1><code>#include <stdexcept></code><br> +<code>#include <semaphore.h></code><br> + +<p> +<a href="threadUtils_8hpp-source.html">Go to the source code of this file.</a><table border="0" cellpadding="0" cellspacing="0"> +<tr><td></td></tr> +<tr><td colspan="2"><br><h2>Classes</h2></td></tr> +<tr><td class="memItemLeft" nowrap align="right" valign="top">class </td><td class="memItemRight" valign="bottom"><a class="el" href="classMutex.html">Mutex</a></td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top">class </td><td class="memItemRight" valign="bottom"><a class="el" href="classLock.html">Lock</a></td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top">class </td><td class="memItemRight" valign="bottom"><a class="el" href="classCondition.html">Condition</a></td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top">class </td><td class="memItemRight" valign="bottom"><a class="el" href="classSemaphore.html">Semaphore</a></td></tr> + +</table> +<hr size="1"><address style="align: right;"><small>Generated on Sun Oct 7 23:43:49 2007 for anytun by +<a href="http://www.doxygen.org/index.html"> +<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address> +</body> +</html> diff --git a/doc/html/tree.html b/doc/html/tree.html new file mode 100644 index 0000000..c507854 --- /dev/null +++ b/doc/html/tree.html @@ -0,0 +1,210 @@ +<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> + <head> + <meta http-equiv="Content-Type" content="text/xhtml;charset=iso-8859-1" /> + <meta http-equiv="Content-Style-Type" content="text/css" /> + <meta http-equiv="Content-Language" content="en" /> + <link rel="stylesheet" href="doxygen.css"> + <title>TreeView</title> + <script type="text/javascript"> + <!-- // Hide script from old browsers + + function toggleFolder(id, imageNode) + { + var folder = document.getElementById(id); + var l = imageNode.src.length; + if (imageNode.src.substring(l-20,l)=="ftv2folderclosed.png" || + imageNode.src.substring(l-18,l)=="ftv2folderopen.png") + { + imageNode = imageNode.previousSibling; + l = imageNode.src.length; + } + if (folder == null) + { + } + else if (folder.style.display == "block") + { + if (imageNode != null) + { + imageNode.nextSibling.src = "ftv2folderclosed.png"; + if (imageNode.src.substring(l-13,l) == "ftv2mnode.png") + { + imageNode.src = "ftv2pnode.png"; + } + else if (imageNode.src.substring(l-17,l) == "ftv2mlastnode.png") + { + imageNode.src = "ftv2plastnode.png"; + } + } + folder.style.display = "none"; + } + else + { + if (imageNode != null) + { + imageNode.nextSibling.src = "ftv2folderopen.png"; + if (imageNode.src.substring(l-13,l) == "ftv2pnode.png") + { + imageNode.src = "ftv2mnode.png"; + } + else if (imageNode.src.substring(l-17,l) == "ftv2plastnode.png") + { + imageNode.src = "ftv2mlastnode.png"; + } + } + folder.style.display = "block"; + } + } + + // End script hiding --> + </script> + </head> + + <body class="ftvtree"> + <div class="directory"> + <h3>anytun</h3> + <div style="display: block;"> + <p><img src="ftv2node.png" alt="o" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="main.html" target="basefrm">Main Page</a></p> + <p><img src="ftv2pnode.png" alt="o" width=16 height=22 onclick="toggleFolder('folder1', this)"/><img src="ftv2folderclosed.png" alt="+" width=24 height=22 onclick="toggleFolder('folder1', this)"/><a class="el" href="annotated.html" target="basefrm">Class List</a></p> + <div id="folder1"> + <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2node.png" alt="o" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="classAesIcmCypher.html" target="basefrm">AesIcmCypher</a></p> + <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2node.png" alt="o" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="classAuthAlgo.html" target="basefrm">AuthAlgo</a></p> + <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2node.png" alt="o" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="classBuffer.html" target="basefrm">Buffer</a></p> + <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2node.png" alt="o" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="classCommunicatingSocket.html" target="basefrm">CommunicatingSocket</a></p> + <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2node.png" alt="o" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="classCondition.html" target="basefrm">Condition</a></p> + <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2node.png" alt="o" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="classCypher.html" target="basefrm">Cypher</a></p> + <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2node.png" alt="o" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="classHmacAuthAlgo.html" target="basefrm">HmacAuthAlgo</a></p> + <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2node.png" alt="o" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="classKeyDerivation.html" target="basefrm">KeyDerivation</a></p> + <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2node.png" alt="o" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="classLock.html" target="basefrm">Lock</a></p> + <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2node.png" alt="o" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="classLog.html" target="basefrm">Log</a></p> + <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2node.png" alt="o" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="classLog_1_1instanceCleaner.html" target="basefrm">Log::instanceCleaner</a></p> + <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2node.png" alt="o" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="classLogStringBuilder.html" target="basefrm">LogStringBuilder</a></p> + <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2node.png" alt="o" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="classMutex.html" target="basefrm">Mutex</a></p> + <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2node.png" alt="o" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="classNullAuthAlgo.html" target="basefrm">NullAuthAlgo</a></p> + <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2node.png" alt="o" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="classNullCypher.html" target="basefrm">NullCypher</a></p> + <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2node.png" alt="o" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="classOptions.html" target="basefrm">Options</a></p> + <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2node.png" alt="o" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="classPacket.html" target="basefrm">Packet</a></p> + <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2node.png" alt="o" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="structPacket_1_1HeaderStruct.html" target="basefrm">Packet::HeaderStruct</a></p> + <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2node.png" alt="o" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="classPacketSource.html" target="basefrm">PacketSource</a></p> + <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2node.png" alt="o" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="structParam.html" target="basefrm">Param</a></p> + <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2node.png" alt="o" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="classsatp_1_1SATP.html" target="basefrm">satp::SATP</a></p> + <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2node.png" alt="o" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="classSemaphore.html" target="basefrm">Semaphore</a></p> + <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2node.png" alt="o" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="classSeqWindow.html" target="basefrm">SeqWindow</a></p> + <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2node.png" alt="o" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="classSigHupHandler.html" target="basefrm">SigHupHandler</a></p> + <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2node.png" alt="o" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="classSigIntHandler.html" target="basefrm">SigIntHandler</a></p> + <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2node.png" alt="o" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="classSignalController.html" target="basefrm">SignalController</a></p> + <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2node.png" alt="o" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="classSignalHandler.html" target="basefrm">SignalHandler</a></p> + <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2node.png" alt="o" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="classSigQuitHandler.html" target="basefrm">SigQuitHandler</a></p> + <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2node.png" alt="o" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="classSigTermHandler.html" target="basefrm">SigTermHandler</a></p> + <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2node.png" alt="o" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="classSigUsr1Handler.html" target="basefrm">SigUsr1Handler</a></p> + <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2node.png" alt="o" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="classSigUsr2Handler.html" target="basefrm">SigUsr2Handler</a></p> + <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2node.png" alt="o" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="classSocket.html" target="basefrm">Socket</a></p> + <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2node.png" alt="o" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="classSocketException.html" target="basefrm">SocketException</a></p> + <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2node.png" alt="o" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="classTCPServerSocket.html" target="basefrm">TCPServerSocket</a></p> + <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2node.png" alt="o" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="classTCPSocket.html" target="basefrm">TCPSocket</a></p> + <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2node.png" alt="o" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="classTunDevice.html" target="basefrm">TunDevice</a></p> + <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2node.png" alt="o" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="classUDPPacketSource.html" target="basefrm">UDPPacketSource</a></p> + <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2lastnode.png" alt="\" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="classUDPSocket.html" target="basefrm">UDPSocket</a></p> + </div> + <p><img src="ftv2pnode.png" alt="o" width=16 height=22 onclick="toggleFolder('folder2', this)"/><img src="ftv2folderclosed.png" alt="+" width=24 height=22 onclick="toggleFolder('folder2', this)"/><a class="el" href="hierarchy.html" target="basefrm">Class Hierarchy</a></p> + <div id="folder2"> + <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2pnode.png" alt="o" width=16 height=22 onclick="toggleFolder('folder3', this)"/><img src="ftv2folderclosed.png" alt="+" width=24 height=22 onclick="toggleFolder('folder3', this)"/><a class="el" href="classAuthAlgo.html" target="basefrm">AuthAlgo</a></p> + <div id="folder3"> + <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2node.png" alt="o" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="classHmacAuthAlgo.html" target="basefrm">HmacAuthAlgo</a></p> + <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2lastnode.png" alt="\" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="classNullAuthAlgo.html" target="basefrm">NullAuthAlgo</a></p> + </div> + <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2pnode.png" alt="o" width=16 height=22 onclick="toggleFolder('folder4', this)"/><img src="ftv2folderclosed.png" alt="+" width=24 height=22 onclick="toggleFolder('folder4', this)"/><a class="el" href="classBuffer.html" target="basefrm">Buffer</a></p> + <div id="folder4"> + <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2plastnode.png" alt="\" width=16 height=22 onclick="toggleFolder('folder5', this)"/><img src="ftv2folderclosed.png" alt="+" width=24 height=22 onclick="toggleFolder('folder5', this)"/><a class="el" href="classPacket.html" target="basefrm">Packet</a></p> + <div id="folder5"> + <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2blank.png" alt=" " width=16 height=22 /><img src="ftv2lastnode.png" alt="\" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="classsatp_1_1SATP.html" target="basefrm">satp::SATP</a></p> + </div> + </div> + <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2node.png" alt="o" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="classCondition.html" target="basefrm">Condition</a></p> + <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2pnode.png" alt="o" width=16 height=22 onclick="toggleFolder('folder6', this)"/><img src="ftv2folderclosed.png" alt="+" width=24 height=22 onclick="toggleFolder('folder6', this)"/><a class="el" href="classCypher.html" target="basefrm">Cypher</a></p> + <div id="folder6"> + <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2node.png" alt="o" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="classAesIcmCypher.html" target="basefrm">AesIcmCypher</a></p> + <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2lastnode.png" alt="\" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="classNullCypher.html" target="basefrm">NullCypher</a></p> + </div> + <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2node.png" alt="o" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="classKeyDerivation.html" target="basefrm">KeyDerivation</a></p> + <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2node.png" alt="o" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="classLock.html" target="basefrm">Lock</a></p> + <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2node.png" alt="o" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="classLog.html" target="basefrm">Log</a></p> + <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2node.png" alt="o" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="classLog_1_1instanceCleaner.html" target="basefrm">Log::instanceCleaner</a></p> + <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2node.png" alt="o" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="classLogStringBuilder.html" target="basefrm">LogStringBuilder</a></p> + <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2node.png" alt="o" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="classMutex.html" target="basefrm">Mutex</a></p> + <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2node.png" alt="o" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="classOptions.html" target="basefrm">Options</a></p> + <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2node.png" alt="o" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="structPacket_1_1HeaderStruct.html" target="basefrm">Packet::HeaderStruct</a></p> + <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2pnode.png" alt="o" width=16 height=22 onclick="toggleFolder('folder7', this)"/><img src="ftv2folderclosed.png" alt="+" width=24 height=22 onclick="toggleFolder('folder7', this)"/><a class="el" href="classPacketSource.html" target="basefrm">PacketSource</a></p> + <div id="folder7"> + <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2lastnode.png" alt="\" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="classUDPPacketSource.html" target="basefrm">UDPPacketSource</a></p> + </div> + <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2node.png" alt="o" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="structParam.html" target="basefrm">Param</a></p> + <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2node.png" alt="o" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="classSemaphore.html" target="basefrm">Semaphore</a></p> + <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2node.png" alt="o" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="classSeqWindow.html" target="basefrm">SeqWindow</a></p> + <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2node.png" alt="o" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="classSignalController.html" target="basefrm">SignalController</a></p> + <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2pnode.png" alt="o" width=16 height=22 onclick="toggleFolder('folder8', this)"/><img src="ftv2folderclosed.png" alt="+" width=24 height=22 onclick="toggleFolder('folder8', this)"/><a class="el" href="classSignalHandler.html" target="basefrm">SignalHandler</a></p> + <div id="folder8"> + <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2node.png" alt="o" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="classSigHupHandler.html" target="basefrm">SigHupHandler</a></p> + <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2node.png" alt="o" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="classSigIntHandler.html" target="basefrm">SigIntHandler</a></p> + <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2node.png" alt="o" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="classSigQuitHandler.html" target="basefrm">SigQuitHandler</a></p> + <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2node.png" alt="o" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="classSigTermHandler.html" target="basefrm">SigTermHandler</a></p> + <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2node.png" alt="o" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="classSigUsr1Handler.html" target="basefrm">SigUsr1Handler</a></p> + <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2lastnode.png" alt="\" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="classSigUsr2Handler.html" target="basefrm">SigUsr2Handler</a></p> + </div> + <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2pnode.png" alt="o" width=16 height=22 onclick="toggleFolder('folder9', this)"/><img src="ftv2folderclosed.png" alt="+" width=24 height=22 onclick="toggleFolder('folder9', this)"/><a class="el" href="classSocket.html" target="basefrm">Socket</a></p> + <div id="folder9"> + <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2pnode.png" alt="o" width=16 height=22 onclick="toggleFolder('folder10', this)"/><img src="ftv2folderclosed.png" alt="+" width=24 height=22 onclick="toggleFolder('folder10', this)"/><a class="el" href="classCommunicatingSocket.html" target="basefrm">CommunicatingSocket</a></p> + <div id="folder10"> + <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2node.png" alt="o" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="classTCPSocket.html" target="basefrm">TCPSocket</a></p> + <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2plastnode.png" alt="\" width=16 height=22 onclick="toggleFolder('folder11', this)"/><img src="ftv2folderclosed.png" alt="+" width=24 height=22 onclick="toggleFolder('folder11', this)"/><a class="el" href="classUDPSocket.html" target="basefrm">UDPSocket</a></p> + <div id="folder11"> + <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2blank.png" alt=" " width=16 height=22 /><img src="ftv2lastnode.png" alt="\" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="classUDPPacketSource.html" target="basefrm">UDPPacketSource</a></p> + </div> + </div> + <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2lastnode.png" alt="\" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="classTCPServerSocket.html" target="basefrm">TCPServerSocket</a></p> + </div> + <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2node.png" alt="o" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="classSocketException.html" target="basefrm">SocketException</a></p> + <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2lastnode.png" alt="\" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="classTunDevice.html" target="basefrm">TunDevice</a></p> + </div> + <p><img src="ftv2node.png" alt="o" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="functions.html" target="basefrm">Class Members</a></p> + <p><img src="ftv2pnode.png" alt="o" width=16 height=22 onclick="toggleFolder('folder12', this)"/><img src="ftv2folderclosed.png" alt="+" width=24 height=22 onclick="toggleFolder('folder12', this)"/><a class="el" href="namespaces.html" target="basefrm">Namespace List</a></p> + <div id="folder12"> + <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2node.png" alt="o" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="namespacesatp.html" target="basefrm">satp</a></p> + <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2node.png" alt="o" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="namespacescapy_1_1_5.html" target="basefrm">scapy::*</a></p> + <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2lastnode.png" alt="\" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="namespacestd.html" target="basefrm">std</a></p> + </div> + <p><img src="ftv2pnode.png" alt="o" width=16 height=22 onclick="toggleFolder('folder13', this)"/><img src="ftv2folderclosed.png" alt="+" width=24 height=22 onclick="toggleFolder('folder13', this)"/><a class="el" href="files.html" target="basefrm">File List</a></p> + <div id="folder13"> + <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2node.png" alt="o" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="anytun_8cpp.html" target="basefrm">anytun.cpp</a></p> + <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2node.png" alt="o" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="authAlgo_8cpp.html" target="basefrm">authAlgo.cpp</a></p> + <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2node.png" alt="o" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="authAlgo_8h.html" target="basefrm">authAlgo.h</a></p> + <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2node.png" alt="o" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="buffer_8cpp.html" target="basefrm">buffer.cpp</a></p> + <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2node.png" alt="o" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="buffer_8h.html" target="basefrm">buffer.h</a></p> + <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2node.png" alt="o" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="cypher_8cpp.html" target="basefrm">cypher.cpp</a></p> + <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2node.png" alt="o" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="cypher_8h.html" target="basefrm">cypher.h</a></p> + <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2node.png" alt="o" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="datatypes_8h.html" target="basefrm">datatypes.h</a></p> + <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2node.png" alt="o" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="keyDerivation_8cpp.html" target="basefrm">keyDerivation.cpp</a></p> + <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2node.png" alt="o" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="keyDerivation_8h.html" target="basefrm">keyDerivation.h</a></p> + <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2node.png" alt="o" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="log_8cpp.html" target="basefrm">log.cpp</a></p> + <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2node.png" alt="o" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="log_8h.html" target="basefrm">log.h</a></p> + <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2node.png" alt="o" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="options_8cpp.html" target="basefrm">options.cpp</a></p> + <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2node.png" alt="o" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="options_8h.html" target="basefrm">options.h</a></p> + <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2node.png" alt="o" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="packet_8cpp.html" target="basefrm">packet.cpp</a></p> + <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2node.png" alt="o" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="packet_8h.html" target="basefrm">packet.h</a></p> + <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2node.png" alt="o" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="packetSource_8cpp.html" target="basefrm">packetSource.cpp</a></p> + <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2node.png" alt="o" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="packetSource_8h.html" target="basefrm">packetSource.h</a></p> + <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2node.png" alt="o" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="PracticalSocket_8cpp.html" target="basefrm">PracticalSocket.cpp</a></p> + <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2node.png" alt="o" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="PracticalSocket_8h.html" target="basefrm">PracticalSocket.h</a></p> + <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2node.png" alt="o" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="satp_8py.html" target="basefrm">satp.py</a></p> + <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2node.png" alt="o" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="seqWindow_8cpp.html" target="basefrm">seqWindow.cpp</a></p> + <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2node.png" alt="o" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="seqWindow_8h.html" target="basefrm">seqWindow.h</a></p> + <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2node.png" alt="o" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="signalController_8cpp.html" target="basefrm">signalController.cpp</a></p> + <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2node.png" alt="o" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="signalController_8h.html" target="basefrm">signalController.h</a></p> + <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2node.png" alt="o" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="threadUtils_8hpp.html" target="basefrm">threadUtils.hpp</a></p> + <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2node.png" alt="o" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="tunDevice_8cpp.html" target="basefrm">tunDevice.cpp</a></p> + <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2lastnode.png" alt="\" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="tunDevice_8h.html" target="basefrm">tunDevice.h</a></p> + </div> + <p><img src="ftv2lastnode.png" alt="\" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="globals.html" target="basefrm">File Members</a></p> + </div> + </div> + </body> +</html> diff --git a/doc/html/tunDevice_8cpp.html b/doc/html/tunDevice_8cpp.html new file mode 100644 index 0000000..c708286 --- /dev/null +++ b/doc/html/tunDevice_8cpp.html @@ -0,0 +1,34 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> +<title>anytun: tunDevice.cpp File Reference</title> +<link href="doxygen.css" rel="stylesheet" type="text/css"> +<link href="tabs.css" rel="stylesheet" type="text/css"> +</head><body> +<!-- Generated by Doxygen 1.5.1 --> +<div class="tabs"> + <ul> + <li><a href="main.html"><span>Main Page</span></a></li> + <li><a href="namespaces.html"><span>Namespaces</span></a></li> + <li><a href="annotated.html"><span>Classes</span></a></li> + <li id="current"><a href="files.html"><span>Files</span></a></li> + </ul></div> +<div class="tabs"> + <ul> + <li><a href="files.html"><span>File List</span></a></li> + <li><a href="globals.html"><span>File Members</span></a></li> + </ul></div> +<h1>tunDevice.cpp File Reference</h1><code>#include <stdexcept></code><br> +<code>#include <poll.h></code><br> +<code>#include "openvpn/config.h"</code><br> +<code>#include "openvpn/syshead.h"</code><br> +<code>#include "openvpn/tun.h"</code><br> +<code>#include "<a class="el" href="tunDevice_8h-source.html">tunDevice.h</a>"</code><br> +<code>#include "<a class="el" href="threadUtils_8hpp-source.html">threadUtils.hpp</a>"</code><br> +<table border="0" cellpadding="0" cellspacing="0"> +<tr><td></td></tr> +</table> +<hr size="1"><address style="align: right;"><small>Generated on Sun Oct 7 23:43:49 2007 for anytun by +<a href="http://www.doxygen.org/index.html"> +<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address> +</body> +</html> diff --git a/doc/html/tunDevice_8h-source.html b/doc/html/tunDevice_8h-source.html new file mode 100644 index 0000000..b3761d9 --- /dev/null +++ b/doc/html/tunDevice_8h-source.html @@ -0,0 +1,90 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> +<title>anytun: tunDevice.h Source File</title> +<link href="doxygen.css" rel="stylesheet" type="text/css"> +<link href="tabs.css" rel="stylesheet" type="text/css"> +</head><body> +<!-- Generated by Doxygen 1.5.1 --> +<div class="tabs"> + <ul> + <li><a href="main.html"><span>Main Page</span></a></li> + <li><a href="namespaces.html"><span>Namespaces</span></a></li> + <li><a href="annotated.html"><span>Classes</span></a></li> + <li id="current"><a href="files.html"><span>Files</span></a></li> + </ul></div> +<div class="tabs"> + <ul> + <li><a href="files.html"><span>File List</span></a></li> + <li><a href="globals.html"><span>File Members</span></a></li> + </ul></div> +<h1>tunDevice.h</h1><a href="tunDevice_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">/*</span> +<a name="l00002"></a>00002 <span class="comment"> * anytun</span> +<a name="l00003"></a>00003 <span class="comment"> *</span> +<a name="l00004"></a>00004 <span class="comment"> * The secure anycast tunneling protocol (satp) defines a protocol used</span> +<a name="l00005"></a>00005 <span class="comment"> * for communication between any combination of unicast and anycast</span> +<a name="l00006"></a>00006 <span class="comment"> * tunnel endpoints. It has less protocol overhead than IPSec in Tunnel</span> +<a name="l00007"></a>00007 <span class="comment"> * mode and allows tunneling of every ETHER TYPE protocol (e.g.</span> +<a name="l00008"></a>00008 <span class="comment"> * ethernet, ip, arp ...). satp directly includes cryptography and</span> +<a name="l00009"></a>00009 <span class="comment"> * message authentication based on the methodes used by SRTP. It is</span> +<a name="l00010"></a>00010 <span class="comment"> * intended to deliver a generic, scaleable and secure solution for</span> +<a name="l00011"></a>00011 <span class="comment"> * tunneling and relaying of packets of any protocol.</span> +<a name="l00012"></a>00012 <span class="comment"> *</span> +<a name="l00013"></a>00013 <span class="comment"> *</span> +<a name="l00014"></a>00014 <span class="comment"> * Copyright (C) 2007 anytun.org <satp@wirdorange.org></span> +<a name="l00015"></a>00015 <span class="comment"> *</span> +<a name="l00016"></a>00016 <span class="comment"> * This program is free software; you can redistribute it and/or modify</span> +<a name="l00017"></a>00017 <span class="comment"> * it under the terms of the GNU General Public License version 2</span> +<a name="l00018"></a>00018 <span class="comment"> * as published by the Free Software Foundation.</span> +<a name="l00019"></a>00019 <span class="comment"> *</span> +<a name="l00020"></a>00020 <span class="comment"> * This program is distributed in the hope that it will be useful,</span> +<a name="l00021"></a>00021 <span class="comment"> * but WITHOUT ANY WARRANTY; without even the implied warranty of</span> +<a name="l00022"></a>00022 <span class="comment"> * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the</span> +<a name="l00023"></a>00023 <span class="comment"> * GNU General Public License for more details.</span> +<a name="l00024"></a>00024 <span class="comment"> *</span> +<a name="l00025"></a>00025 <span class="comment"> * You should have received a copy of the GNU General Public License</span> +<a name="l00026"></a>00026 <span class="comment"> * along with this program (see the file COPYING included with this</span> +<a name="l00027"></a>00027 <span class="comment"> * distribution); if not, write to the Free Software Foundation, Inc.,</span> +<a name="l00028"></a>00028 <span class="comment"> * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA</span> +<a name="l00029"></a>00029 <span class="comment"> */</span> +<a name="l00030"></a>00030 +<a name="l00031"></a>00031 <span class="preprocessor">#ifndef _TUNDEVICE_H_</span> +<a name="l00032"></a>00032 <span class="preprocessor"></span><span class="preprocessor">#define _TUNDEVICE_H_</span> +<a name="l00033"></a>00033 <span class="preprocessor"></span> +<a name="l00034"></a>00034 <span class="preprocessor">#include "<a class="code" href="buffer_8h.html">buffer.h</a>"</span> +<a name="l00035"></a>00035 <span class="preprocessor">#include "<a class="code" href="threadUtils_8hpp.html">threadUtils.hpp</a>"</span> +<a name="l00036"></a>00036 +<a name="l00037"></a><a class="code" href="classTunDevice.html">00037</a> <span class="keyword">class </span><a class="code" href="classTunDevice.html">TunDevice</a> +<a name="l00038"></a>00038 { +<a name="l00039"></a>00039 <span class="keyword">public</span>: +<a name="l00040"></a><a class="code" href="classTunDevice.html#ec146b27c7755747c1cc1511e4482875">00040</a> <span class="keyword">static</span> <span class="keyword">const</span> <a class="code" href="datatypes_8h.html#1382fcaa92d837ce7c0961788c8243d7">u_int32_t</a> <a class="code" href="classTunDevice.html#ec146b27c7755747c1cc1511e4482875">TYPE_UNDEF</a> = 0; +<a name="l00041"></a><a class="code" href="classTunDevice.html#ea416d7f03ef22bf1d166d33b47fd993">00041</a> <span class="keyword">static</span> <span class="keyword">const</span> <a class="code" href="datatypes_8h.html#1382fcaa92d837ce7c0961788c8243d7">u_int32_t</a> <a class="code" href="classTunDevice.html#ea416d7f03ef22bf1d166d33b47fd993">TYPE_TUN</a> = 1; +<a name="l00042"></a><a class="code" href="classTunDevice.html#b4ce6b158bbe4fe051b6fea8cd3d6cd3">00042</a> <span class="keyword">static</span> <span class="keyword">const</span> <a class="code" href="datatypes_8h.html#1382fcaa92d837ce7c0961788c8243d7">u_int32_t</a> <a class="code" href="classTunDevice.html#b4ce6b158bbe4fe051b6fea8cd3d6cd3">TYPE_TAP</a> = 2; +<a name="l00043"></a>00043 +<a name="l00044"></a>00044 <a class="code" href="classTunDevice.html#d6914bd3a45e03ffe95676ac4420154a">TunDevice</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* dev,<span class="keyword">const</span> <span class="keywordtype">char</span>* dev_type, <span class="keyword">const</span> <span class="keywordtype">char</span>* ifcfg_lp, <span class="keyword">const</span> <span class="keywordtype">char</span>* ifcfg_rnmp); +<a name="l00045"></a>00045 <a class="code" href="classTunDevice.html#2c6196d270bf4d0e99ff4f860391faed">~TunDevice</a>(); +<a name="l00046"></a>00046 +<a name="l00047"></a>00047 <span class="keywordtype">void</span> <a class="code" href="classTunDevice.html#323ddcfd4ac60d0dbfe6ebb5bbb9a323">open</a>(); +<a name="l00048"></a>00048 <span class="keywordtype">void</span> <a class="code" href="classTunDevice.html#13986e13fe28da6c917293c40effb902">close</a>(); +<a name="l00049"></a>00049 <span class="keywordtype">bool</span> <a class="code" href="classTunDevice.html#f63f3331789f043e44eb435b78c815b2">isOpen</a>(); +<a name="l00050"></a>00050 +<a name="l00051"></a>00051 <span class="keywordtype">short</span> <a class="code" href="classTunDevice.html#553498887edc92f7b7e31e3bf04fb8fb">read</a>(<a class="code" href="classBuffer.html">Buffer</a>& buf); +<a name="l00052"></a>00052 <span class="keywordtype">int</span> <a class="code" href="classTunDevice.html#958bc73a627cc5d404ed87204547134d">write</a>(<a class="code" href="classBuffer.html">Buffer</a>& buf); +<a name="l00053"></a>00053 +<a name="l00054"></a>00054 <span class="keywordtype">char</span>* <a class="code" href="classTunDevice.html#e02f8972f75b11b69280fba9b6649cab">getActualName</a>(); +<a name="l00055"></a>00055 <a class="code" href="datatypes_8h.html#1382fcaa92d837ce7c0961788c8243d7">u_int32_t</a> <a class="code" href="classTunDevice.html#b57512464007681dcc92820adb3deb0f">getType</a>(); +<a name="l00056"></a>00056 <span class="keywordtype">char</span>* <a class="code" href="classTunDevice.html#0cecbc6a7e58d294dd005e7d523173bd">getTypeString</a>(); +<a name="l00057"></a>00057 +<a name="l00058"></a>00058 <span class="keyword">private</span>: +<a name="l00059"></a>00059 <span class="keywordtype">void</span> <a class="code" href="classTunDevice.html#de33e9a7a951b43f2f7e24d8fe9c311e">operator=</a>(<span class="keyword">const</span> <a class="code" href="classTunDevice.html">TunDevice</a> &src); +<a name="l00060"></a>00060 <a class="code" href="classTunDevice.html#d6914bd3a45e03ffe95676ac4420154a">TunDevice</a>(<span class="keyword">const</span> <a class="code" href="classTunDevice.html">TunDevice</a> &src); +<a name="l00061"></a>00061 +<a name="l00062"></a><a class="code" href="classTunDevice.html#e130228e28996e644d2013089e704d4c">00062</a> <a class="code" href="classMutex.html">Mutex</a> <a class="code" href="classTunDevice.html#e130228e28996e644d2013089e704d4c">io_mutex_</a>; +<a name="l00063"></a><a class="code" href="classTunDevice.html#239c85381dfcf1776303778d1784df51">00063</a> <span class="keyword">struct </span>tuntap *<a class="code" href="classTunDevice.html#239c85381dfcf1776303778d1784df51">dev_</a>; +<a name="l00064"></a>00064 }; +<a name="l00065"></a>00065 +<a name="l00066"></a>00066 <span class="preprocessor">#endif</span> +</pre></div><hr size="1"><address style="align: right;"><small>Generated on Sun Oct 7 23:43:49 2007 for anytun by +<a href="http://www.doxygen.org/index.html"> +<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address> +</body> +</html> diff --git a/doc/html/tunDevice_8h.html b/doc/html/tunDevice_8h.html new file mode 100644 index 0000000..bb4f280 --- /dev/null +++ b/doc/html/tunDevice_8h.html @@ -0,0 +1,34 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> +<title>anytun: tunDevice.h File Reference</title> +<link href="doxygen.css" rel="stylesheet" type="text/css"> +<link href="tabs.css" rel="stylesheet" type="text/css"> +</head><body> +<!-- Generated by Doxygen 1.5.1 --> +<div class="tabs"> + <ul> + <li><a href="main.html"><span>Main Page</span></a></li> + <li><a href="namespaces.html"><span>Namespaces</span></a></li> + <li><a href="annotated.html"><span>Classes</span></a></li> + <li id="current"><a href="files.html"><span>Files</span></a></li> + </ul></div> +<div class="tabs"> + <ul> + <li><a href="files.html"><span>File List</span></a></li> + <li><a href="globals.html"><span>File Members</span></a></li> + </ul></div> +<h1>tunDevice.h File Reference</h1><code>#include "<a class="el" href="buffer_8h-source.html">buffer.h</a>"</code><br> +<code>#include "<a class="el" href="threadUtils_8hpp-source.html">threadUtils.hpp</a>"</code><br> + +<p> +<a href="tunDevice_8h-source.html">Go to the source code of this file.</a><table border="0" cellpadding="0" cellspacing="0"> +<tr><td></td></tr> +<tr><td colspan="2"><br><h2>Classes</h2></td></tr> +<tr><td class="memItemLeft" nowrap align="right" valign="top">class </td><td class="memItemRight" valign="bottom"><a class="el" href="classTunDevice.html">TunDevice</a></td></tr> + +</table> +<hr size="1"><address style="align: right;"><small>Generated on Sun Oct 7 23:43:49 2007 for anytun by +<a href="http://www.doxygen.org/index.html"> +<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address> +</body> +</html> diff --git a/doc/latex/FreeSans.ttf b/doc/latex/FreeSans.ttf Binary files differnew file mode 100644 index 0000000..b550b90 --- /dev/null +++ b/doc/latex/FreeSans.ttf diff --git a/doc/latex/Makefile b/doc/latex/Makefile new file mode 100644 index 0000000..776fcf9 --- /dev/null +++ b/doc/latex/Makefile @@ -0,0 +1,39 @@ +all: clean refman.dvi + +ps: refman.ps + +pdf: refman.pdf + +ps_2on1: refman_2on1.ps + +pdf_2on1: refman_2on1.pdf + +refman.ps: refman.dvi + dvips -o refman.ps refman.dvi + +refman.pdf: refman.ps + ps2pdf refman.ps refman.pdf + +refman.dvi: refman.tex doxygen.sty + echo "Running latex..." + latex refman.tex + echo "Running makeindex..." + makeindex refman.idx + echo "Rerunning latex...." + latex refman.tex + latex_count=5 ; \ + while egrep -s 'Rerun (LaTeX|to get cross-references right)' refman.log && [ $$latex_count -gt 0 ] ;\ + do \ + echo "Rerunning latex...." ;\ + latex refman.tex ;\ + latex_count=`expr $$latex_count - 1` ;\ + done + +refman_2on1.ps: refman.ps + psnup -2 refman.ps >refman_2on1.ps + +refman_2on1.pdf: refman_2on1.ps + ps2pdf refman_2on1.ps refman_2on1.pdf + +clean: + rm -f *.ps *.dvi *.aux *.toc *.idx *.ind *.ilg *.log *.out refman.pdf diff --git a/doc/latex/PracticalSocket_8cpp.tex b/doc/latex/PracticalSocket_8cpp.tex new file mode 100644 index 0000000..cce6c88 --- /dev/null +++ b/doc/latex/PracticalSocket_8cpp.tex @@ -0,0 +1,41 @@ +\section{Practical\-Socket.cpp File Reference} +\label{PracticalSocket_8cpp}\index{PracticalSocket.cpp@{PracticalSocket.cpp}} +{\tt \#include \char`\"{}Practical\-Socket.h\char`\"{}}\par +{\tt \#include $<$sys/types.h$>$}\par +{\tt \#include $<$sys/socket.h$>$}\par +{\tt \#include $<$netdb.h$>$}\par +{\tt \#include $<$arpa/inet.h$>$}\par +{\tt \#include $<$unistd.h$>$}\par +{\tt \#include $<$netinet/in.h$>$}\par +{\tt \#include $<$errno.h$>$}\par +\subsection*{Namespaces} +\begin{CompactItemize} +\item +namespace {\bf std} +\end{CompactItemize} +\subsection*{Typedefs} +\begin{CompactItemize} +\item +typedef void {\bf raw\_\-type} +\end{CompactItemize} +\subsection*{Functions} +\begin{CompactItemize} +\item +static void {\bf fill\-Addr} (const string \&address, unsigned short port, sockaddr\_\-in \&addr) +\end{CompactItemize} + + +\subsection{Typedef Documentation} +\index{PracticalSocket.cpp@{Practical\-Socket.cpp}!raw_type@{raw\_\-type}} +\index{raw_type@{raw\_\-type}!PracticalSocket.cpp@{Practical\-Socket.cpp}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}typedef void {\bf raw\_\-type}}\label{PracticalSocket_8cpp_ba7a57aadc5c75eaab8ee698d0fa6608} + + + + +\subsection{Function Documentation} +\index{PracticalSocket.cpp@{Practical\-Socket.cpp}!fillAddr@{fillAddr}} +\index{fillAddr@{fillAddr}!PracticalSocket.cpp@{Practical\-Socket.cpp}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}static void fill\-Addr (const string \& {\em address}, unsigned short {\em port}, sockaddr\_\-in \& {\em addr})\hspace{0.3cm}{\tt [static]}}\label{PracticalSocket_8cpp_155e03535e1d5c1f5df7ceafe63dbdb0} + + diff --git a/doc/latex/PracticalSocket_8h.tex b/doc/latex/PracticalSocket_8h.tex new file mode 100644 index 0000000..c7eefb2 --- /dev/null +++ b/doc/latex/PracticalSocket_8h.tex @@ -0,0 +1,19 @@ +\section{Practical\-Socket.h File Reference} +\label{PracticalSocket_8h}\index{PracticalSocket.h@{PracticalSocket.h}} +{\tt \#include $<$string$>$}\par +{\tt \#include $<$exception$>$}\par +\subsection*{Classes} +\begin{CompactItemize} +\item +class {\bf Socket\-Exception} +\item +class {\bf Socket} +\item +class {\bf Communicating\-Socket} +\item +class {\bf TCPSocket} +\item +class {\bf TCPServer\-Socket} +\item +class {\bf UDPSocket} +\end{CompactItemize} diff --git a/doc/latex/annotated.tex b/doc/latex/annotated.tex new file mode 100644 index 0000000..ae936ab --- /dev/null +++ b/doc/latex/annotated.tex @@ -0,0 +1,41 @@ +\section{anytun Class List} +Here are the classes, structs, unions and interfaces with brief descriptions:\begin{CompactList} +\item\contentsline{section}{{\bf Aes\-Icm\-Cypher} }{\pageref{classAesIcmCypher}}{} +\item\contentsline{section}{{\bf Auth\-Algo} }{\pageref{classAuthAlgo}}{} +\item\contentsline{section}{{\bf Buffer} }{\pageref{classBuffer}}{} +\item\contentsline{section}{{\bf Communicating\-Socket} }{\pageref{classCommunicatingSocket}}{} +\item\contentsline{section}{{\bf Condition} }{\pageref{classCondition}}{} +\item\contentsline{section}{{\bf Cypher} }{\pageref{classCypher}}{} +\item\contentsline{section}{{\bf Hmac\-Auth\-Algo} }{\pageref{classHmacAuthAlgo}}{} +\item\contentsline{section}{{\bf Key\-Derivation} }{\pageref{classKeyDerivation}}{} +\item\contentsline{section}{{\bf Lock} }{\pageref{classLock}}{} +\item\contentsline{section}{{\bf Log} }{\pageref{classLog}}{} +\item\contentsline{section}{{\bf Log::instance\-Cleaner} }{\pageref{classLog_1_1instanceCleaner}}{} +\item\contentsline{section}{{\bf Log\-String\-Builder} }{\pageref{classLogStringBuilder}}{} +\item\contentsline{section}{{\bf Mutex} }{\pageref{classMutex}}{} +\item\contentsline{section}{{\bf Null\-Auth\-Algo} }{\pageref{classNullAuthAlgo}}{} +\item\contentsline{section}{{\bf Null\-Cypher} }{\pageref{classNullCypher}}{} +\item\contentsline{section}{{\bf Options} }{\pageref{classOptions}}{} +\item\contentsline{section}{{\bf Packet} }{\pageref{classPacket}}{} +\item\contentsline{section}{{\bf Packet::Header\-Struct} }{\pageref{structPacket_1_1HeaderStruct}}{} +\item\contentsline{section}{{\bf Packet\-Source} }{\pageref{classPacketSource}}{} +\item\contentsline{section}{{\bf Param} }{\pageref{structParam}}{} +\item\contentsline{section}{{\bf satp::SATP} }{\pageref{classsatp_1_1SATP}}{} +\item\contentsline{section}{{\bf Semaphore} }{\pageref{classSemaphore}}{} +\item\contentsline{section}{{\bf Seq\-Window} }{\pageref{classSeqWindow}}{} +\item\contentsline{section}{{\bf Sig\-Hup\-Handler} }{\pageref{classSigHupHandler}}{} +\item\contentsline{section}{{\bf Sig\-Int\-Handler} }{\pageref{classSigIntHandler}}{} +\item\contentsline{section}{{\bf Signal\-Controller} }{\pageref{classSignalController}}{} +\item\contentsline{section}{{\bf Signal\-Handler} }{\pageref{classSignalHandler}}{} +\item\contentsline{section}{{\bf Sig\-Quit\-Handler} }{\pageref{classSigQuitHandler}}{} +\item\contentsline{section}{{\bf Sig\-Term\-Handler} }{\pageref{classSigTermHandler}}{} +\item\contentsline{section}{{\bf Sig\-Usr1Handler} }{\pageref{classSigUsr1Handler}}{} +\item\contentsline{section}{{\bf Sig\-Usr2Handler} }{\pageref{classSigUsr2Handler}}{} +\item\contentsline{section}{{\bf Socket} }{\pageref{classSocket}}{} +\item\contentsline{section}{{\bf Socket\-Exception} }{\pageref{classSocketException}}{} +\item\contentsline{section}{{\bf TCPServer\-Socket} }{\pageref{classTCPServerSocket}}{} +\item\contentsline{section}{{\bf TCPSocket} }{\pageref{classTCPSocket}}{} +\item\contentsline{section}{{\bf Tun\-Device} }{\pageref{classTunDevice}}{} +\item\contentsline{section}{{\bf UDPPacket\-Source} }{\pageref{classUDPPacketSource}}{} +\item\contentsline{section}{{\bf UDPSocket} }{\pageref{classUDPSocket}}{} +\end{CompactList} diff --git a/doc/latex/anytun_8cpp.tex b/doc/latex/anytun_8cpp.tex new file mode 100644 index 0000000..c30c570 --- /dev/null +++ b/doc/latex/anytun_8cpp.tex @@ -0,0 +1,68 @@ +\section{anytun.cpp File Reference} +\label{anytun_8cpp}\index{anytun.cpp@{anytun.cpp}} +{\tt \#include $<$iostream$>$}\par +{\tt \#include $<$poll.h$>$}\par +{\tt \#include \char`\"{}datatypes.h\char`\"{}}\par +{\tt \#include \char`\"{}log.h\char`\"{}}\par +{\tt \#include \char`\"{}buffer.h\char`\"{}}\par +{\tt \#include \char`\"{}packet.h\char`\"{}}\par +{\tt \#include \char`\"{}cypher.h\char`\"{}}\par +{\tt \#include \char`\"{}key\-Derivation.h\char`\"{}}\par +{\tt \#include \char`\"{}auth\-Algo.h\char`\"{}}\par +{\tt \#include \char`\"{}signal\-Controller.h\char`\"{}}\par +{\tt \#include \char`\"{}packet\-Source.h\char`\"{}}\par +{\tt \#include \char`\"{}tun\-Device.h\char`\"{}}\par +{\tt \#include \char`\"{}options.h\char`\"{}}\par +{\tt \#include \char`\"{}seq\-Window.h\char`\"{}}\par +\subsection*{Classes} +\begin{CompactItemize} +\item +struct {\bf Param} +\end{CompactItemize} +\subsection*{Defines} +\begin{CompactItemize} +\item +\#define {\bf PAYLOAD\_\-TYPE\_\-TAP}~0x6558 +\item +\#define {\bf PAYLOAD\_\-TYPE\_\-TUN}~0x0800 +\end{CompactItemize} +\subsection*{Functions} +\begin{CompactItemize} +\item +void $\ast$ {\bf sender} (void $\ast$p) +\item +void $\ast$ {\bf receiver} (void $\ast$p) +\item +int {\bf main} (int argc, char $\ast$argv[$\,$]) +\end{CompactItemize} + + +\subsection{Define Documentation} +\index{anytun.cpp@{anytun.cpp}!PAYLOAD_TYPE_TAP@{PAYLOAD\_\-TYPE\_\-TAP}} +\index{PAYLOAD_TYPE_TAP@{PAYLOAD\_\-TYPE\_\-TAP}!anytun.cpp@{anytun.cpp}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}\#define PAYLOAD\_\-TYPE\_\-TAP~0x6558}\label{anytun_8cpp_f591627e223468579b78887ef91cb0ac} + + +\index{anytun.cpp@{anytun.cpp}!PAYLOAD_TYPE_TUN@{PAYLOAD\_\-TYPE\_\-TUN}} +\index{PAYLOAD_TYPE_TUN@{PAYLOAD\_\-TYPE\_\-TUN}!anytun.cpp@{anytun.cpp}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}\#define PAYLOAD\_\-TYPE\_\-TUN~0x0800}\label{anytun_8cpp_21c6078872dcc3914076daa2c1ec841a} + + + + +\subsection{Function Documentation} +\index{anytun.cpp@{anytun.cpp}!main@{main}} +\index{main@{main}!anytun.cpp@{anytun.cpp}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}int main (int {\em argc}, char $\ast$ {\em argv}[$\,$])}\label{anytun_8cpp_0ddf1224851353fc92bfbff6f499fa97} + + +\index{anytun.cpp@{anytun.cpp}!receiver@{receiver}} +\index{receiver@{receiver}!anytun.cpp@{anytun.cpp}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void$\ast$ receiver (void $\ast$ {\em p})}\label{anytun_8cpp_1a93139691e3d8cf8a996c973c5ca0ac} + + +\index{anytun.cpp@{anytun.cpp}!sender@{sender}} +\index{sender@{sender}!anytun.cpp@{anytun.cpp}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void$\ast$ sender (void $\ast$ {\em p})}\label{anytun_8cpp_0f2bdeb94d90f5229b9e904e592b24fd} + + diff --git a/doc/latex/authAlgo_8cpp.tex b/doc/latex/authAlgo_8cpp.tex new file mode 100644 index 0000000..8d2e535 --- /dev/null +++ b/doc/latex/authAlgo_8cpp.tex @@ -0,0 +1,4 @@ +\section{auth\-Algo.cpp File Reference} +\label{authAlgo_8cpp}\index{authAlgo.cpp@{authAlgo.cpp}} +{\tt \#include \char`\"{}auth\-Algo.h\char`\"{}}\par +{\tt \#include $<$srtp/crypto\_\-kernel.h$>$}\par diff --git a/doc/latex/authAlgo_8h.tex b/doc/latex/authAlgo_8h.tex new file mode 100644 index 0000000..0baf9d1 --- /dev/null +++ b/doc/latex/authAlgo_8h.tex @@ -0,0 +1,13 @@ +\section{auth\-Algo.h File Reference} +\label{authAlgo_8h}\index{authAlgo.h@{authAlgo.h}} +{\tt \#include \char`\"{}datatypes.h\char`\"{}}\par +{\tt \#include \char`\"{}buffer.h\char`\"{}}\par +\subsection*{Classes} +\begin{CompactItemize} +\item +class {\bf Auth\-Algo} +\item +class {\bf Null\-Auth\-Algo} +\item +class {\bf Hmac\-Auth\-Algo} +\end{CompactItemize} diff --git a/doc/latex/buffer_8cpp.tex b/doc/latex/buffer_8cpp.tex new file mode 100644 index 0000000..396706c --- /dev/null +++ b/doc/latex/buffer_8cpp.tex @@ -0,0 +1,8 @@ +\section{buffer.cpp File Reference} +\label{buffer_8cpp}\index{buffer.cpp@{buffer.cpp}} +{\tt \#include $<$stdexcept$>$}\par +{\tt \#include $<$string$>$}\par +{\tt \#include $<$cstdio$>$}\par +{\tt \#include $<$iostream$>$}\par +{\tt \#include \char`\"{}datatypes.h\char`\"{}}\par +{\tt \#include \char`\"{}buffer.h\char`\"{}}\par diff --git a/doc/latex/buffer_8h.tex b/doc/latex/buffer_8h.tex new file mode 100644 index 0000000..4e803f6 --- /dev/null +++ b/doc/latex/buffer_8h.tex @@ -0,0 +1,8 @@ +\section{buffer.h File Reference} +\label{buffer_8h}\index{buffer.h@{buffer.h}} +{\tt \#include \char`\"{}datatypes.h\char`\"{}}\par +\subsection*{Classes} +\begin{CompactItemize} +\item +class {\bf Buffer} +\end{CompactItemize} diff --git a/doc/latex/classAesIcmCypher.eps b/doc/latex/classAesIcmCypher.eps new file mode 100644 index 0000000..780bc00 --- /dev/null +++ b/doc/latex/classAesIcmCypher.eps @@ -0,0 +1,197 @@ +%!PS-Adobe-2.0 EPSF-2.0 +%%Title: ClassName +%%Creator: Doxygen +%%CreationDate: Time +%%For: +%Magnification: 1.00 +%%Orientation: Portrait +%%BoundingBox: 0 0 500 388.35 +%%Pages: 0 +%%BeginSetup +%%EndSetup +%%EndComments + +% ----- variables ----- + +/boxwidth 0 def +/boxheight 40 def +/fontheight 24 def +/marginwidth 10 def +/distx 20 def +/disty 40 def +/boundaspect 1.2875 def % aspect ratio of the BoundingBox (width/height) +/boundx 500 def +/boundy boundx boundaspect div def +/xspacing 0 def +/yspacing 0 def +/rows 2 def +/cols 1 def +/scalefactor 0 def +/boxfont /Times-Roman findfont fontheight scalefont def + +% ----- procedures ----- + +/dotted { [1 4] 0 setdash } def +/dashed { [5] 0 setdash } def +/solid { [] 0 setdash } def + +/max % result = MAX(arg1,arg2) +{ + /a exch def + /b exch def + a b gt {a} {b} ifelse +} def + +/xoffset % result = MAX(0,(scalefactor-(boxwidth*cols+distx*(cols-1)))/2) +{ + 0 scalefactor boxwidth cols mul distx cols 1 sub mul add sub 2 div max +} def + +/cw % boxwidth = MAX(boxwidth, stringwidth(arg1)) +{ + /str exch def + /boxwidth boxwidth str stringwidth pop max def +} def + +/box % draws a box with text `arg1' at grid pos (arg2,arg3) +{ gsave + 2 setlinewidth + newpath + exch xspacing mul xoffset add + exch yspacing mul + moveto + boxwidth 0 rlineto + 0 boxheight rlineto + boxwidth neg 0 rlineto + 0 boxheight neg rlineto + closepath + dup stringwidth pop neg boxwidth add 2 div + boxheight fontheight 2 div sub 2 div + rmoveto show stroke + grestore +} def + +/mark +{ newpath + exch xspacing mul xoffset add boxwidth add + exch yspacing mul + moveto + 0 boxheight 4 div rlineto + boxheight neg 4 div boxheight neg 4 div rlineto + closepath + eofill + stroke +} def + +/arrow +{ newpath + moveto + 3 -8 rlineto + -6 0 rlineto + 3 8 rlineto + closepath + eofill + stroke +} def + +/out % draws an output connector for the block at (arg1,arg2) +{ + newpath + exch xspacing mul xoffset add boxwidth 2 div add + exch yspacing mul boxheight add + /y exch def + /x exch def + x y moveto + 0 disty 2 div rlineto + stroke + 1 eq { x y disty 2 div add arrow } if +} def + +/in % draws an input connector for the block at (arg1,arg2) +{ + newpath + exch xspacing mul xoffset add boxwidth 2 div add + exch yspacing mul disty 2 div sub + /y exch def + /x exch def + x y moveto + 0 disty 2 div rlineto + stroke + 1 eq { x y disty 2 div add arrow } if +} def + +/hedge +{ + exch xspacing mul xoffset add boxwidth 2 div add + exch yspacing mul boxheight 2 div sub + /y exch def + /x exch def + newpath + x y moveto + boxwidth 2 div distx add 0 rlineto + stroke + 1 eq + { newpath x boxwidth 2 div distx add add y moveto + -8 3 rlineto + 0 -6 rlineto + 8 3 rlineto + closepath + eofill + stroke + } if +} def + +/vedge +{ + /ye exch def + /ys exch def + /xs exch def + newpath + xs xspacing mul xoffset add boxwidth 2 div add dup + ys yspacing mul boxheight 2 div sub + moveto + ye yspacing mul boxheight 2 div sub + lineto + stroke +} def + +/conn % connections the blocks from col `arg1' to `arg2' of row `arg3' +{ + /ys exch def + /xe exch def + /xs exch def + newpath + xs xspacing mul xoffset add boxwidth 2 div add + ys yspacing mul disty 2 div sub + moveto + xspacing xe xs sub mul 0 + rlineto + stroke +} def + +% ----- main ------ + +boxfont setfont +1 boundaspect scale +(AesIcmCypher) cw +(Cypher) cw +/boxwidth boxwidth marginwidth 2 mul add def +/xspacing boxwidth distx add def +/yspacing boxheight disty add def +/scalefactor + boxwidth cols mul distx cols 1 sub mul add + boxheight rows mul disty rows 1 sub mul add boundaspect mul + max def +boundx scalefactor div boundy scalefactor div scale + +% ----- classes ----- + + (AesIcmCypher) 0 0 box + (Cypher) 0 1 box + +% ----- relations ----- + +solid +0 0 0 out +solid +1 0 1 in diff --git a/doc/latex/classAesIcmCypher.tex b/doc/latex/classAesIcmCypher.tex new file mode 100644 index 0000000..8735572 --- /dev/null +++ b/doc/latex/classAesIcmCypher.tex @@ -0,0 +1,116 @@ +\section{Aes\-Icm\-Cypher Class Reference} +\label{classAesIcmCypher}\index{AesIcmCypher@{AesIcmCypher}} +{\tt \#include $<$cypher.h$>$} + +Inheritance diagram for Aes\-Icm\-Cypher::\begin{figure}[H] +\begin{center} +\leavevmode +\includegraphics[height=2cm]{classAesIcmCypher} +\end{center} +\end{figure} +\subsection*{Public Member Functions} +\begin{CompactItemize} +\item +{\bf Aes\-Icm\-Cypher} () +\item +{\bf $\sim$Aes\-Icm\-Cypher} () +\item +void {\bf set\-Key} ({\bf Buffer} key) +\item +void {\bf set\-Salt} ({\bf Buffer} salt) +\end{CompactItemize} +\subsection*{Static Public Attributes} +\begin{CompactItemize} +\item +static const std::string {\bf MIN\_\-GCRYPT\_\-VERSION} +\item +static const {\bf u\_\-int32\_\-t} {\bf GCRYPT\_\-SEC\_\-MEM} +\end{CompactItemize} +\subsection*{Protected Member Functions} +\begin{CompactItemize} +\item +{\bf Buffer} {\bf get\-Bit\-Stream} ({\bf u\_\-int32\_\-t} length, {\bf seq\_\-nr\_\-t} seq\_\-nr, {\bf sender\_\-id\_\-t} sender\_\-id) +\end{CompactItemize} +\subsection*{Protected Attributes} +\begin{CompactItemize} +\item +gcry\_\-cipher\_\-hd\_\-t {\bf cipher\_\-} +\item +{\bf Buffer} {\bf salt\_\-} +\end{CompactItemize} +\subsection*{Static Private Attributes} +\begin{CompactItemize} +\item +static bool {\bf gcrypt\_\-initialized\_\-} +\end{CompactItemize} + + +\subsection{Constructor \& Destructor Documentation} +\index{AesIcmCypher@{Aes\-Icm\-Cypher}!AesIcmCypher@{AesIcmCypher}} +\index{AesIcmCypher@{AesIcmCypher}!AesIcmCypher@{Aes\-Icm\-Cypher}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}Aes\-Icm\-Cypher::Aes\-Icm\-Cypher ()}\label{classAesIcmCypher_628abe54d9f3ac715dcaa0ae9ebf44bc} + + +\index{AesIcmCypher@{Aes\-Icm\-Cypher}!~AesIcmCypher@{$\sim$AesIcmCypher}} +\index{~AesIcmCypher@{$\sim$AesIcmCypher}!AesIcmCypher@{Aes\-Icm\-Cypher}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}Aes\-Icm\-Cypher::$\sim$Aes\-Icm\-Cypher ()}\label{classAesIcmCypher_fdf9ab22374ffdad856f172eefacbd17} + + + + +\subsection{Member Function Documentation} +\index{AesIcmCypher@{Aes\-Icm\-Cypher}!setKey@{setKey}} +\index{setKey@{setKey}!AesIcmCypher@{Aes\-Icm\-Cypher}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void Aes\-Icm\-Cypher::set\-Key ({\bf Buffer} {\em key})}\label{classAesIcmCypher_605a38676ef12ad0b69628c5d53ef007} + + + + +Reimplemented from {\bf Cypher} \doxyref{}{p.}{classCypher_7320b82d14391ab7d25271aa5114e190}.\index{AesIcmCypher@{Aes\-Icm\-Cypher}!setSalt@{setSalt}} +\index{setSalt@{setSalt}!AesIcmCypher@{Aes\-Icm\-Cypher}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void Aes\-Icm\-Cypher::set\-Salt ({\bf Buffer} {\em salt})}\label{classAesIcmCypher_6741487a9d6dfe3ae76bb168ed711259} + + + + +Reimplemented from {\bf Cypher} \doxyref{}{p.}{classCypher_2546ef49e5ce8abe8062186d5f6b2ef8}.\index{AesIcmCypher@{Aes\-Icm\-Cypher}!getBitStream@{getBitStream}} +\index{getBitStream@{getBitStream}!AesIcmCypher@{Aes\-Icm\-Cypher}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf Buffer} Aes\-Icm\-Cypher::get\-Bit\-Stream ({\bf u\_\-int32\_\-t} {\em length}, {\bf seq\_\-nr\_\-t} {\em seq\_\-nr}, {\bf sender\_\-id\_\-t} {\em sender\_\-id})\hspace{0.3cm}{\tt [protected, virtual]}}\label{classAesIcmCypher_ebac1fbb9a4cb56411fcd45ca63f47a1} + + + + +Implements {\bf Cypher} \doxyref{}{p.}{classCypher_7ddf1bcd476978daa97148ec406d6483}. + +\subsection{Member Data Documentation} +\index{AesIcmCypher@{Aes\-Icm\-Cypher}!MIN_GCRYPT_VERSION@{MIN\_\-GCRYPT\_\-VERSION}} +\index{MIN_GCRYPT_VERSION@{MIN\_\-GCRYPT\_\-VERSION}!AesIcmCypher@{Aes\-Icm\-Cypher}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}const std::string {\bf Aes\-Icm\-Cypher::MIN\_\-GCRYPT\_\-VERSION}\hspace{0.3cm}{\tt [static]}}\label{classAesIcmCypher_605842d12379711d74401d0923b5d76e} + + +\index{AesIcmCypher@{Aes\-Icm\-Cypher}!GCRYPT_SEC_MEM@{GCRYPT\_\-SEC\_\-MEM}} +\index{GCRYPT_SEC_MEM@{GCRYPT\_\-SEC\_\-MEM}!AesIcmCypher@{Aes\-Icm\-Cypher}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}const {\bf u\_\-int32\_\-t} {\bf Aes\-Icm\-Cypher::GCRYPT\_\-SEC\_\-MEM}\hspace{0.3cm}{\tt [static]}}\label{classAesIcmCypher_4d1dea41b9745bca5a2d84fcefe3558c} + + +\index{AesIcmCypher@{Aes\-Icm\-Cypher}!cipher_@{cipher\_\-}} +\index{cipher_@{cipher\_\-}!AesIcmCypher@{Aes\-Icm\-Cypher}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}gcry\_\-cipher\_\-hd\_\-t {\bf Aes\-Icm\-Cypher::cipher\_\-}\hspace{0.3cm}{\tt [protected]}}\label{classAesIcmCypher_d74a46baaee2e0755902d134274eac9a} + + +\index{AesIcmCypher@{Aes\-Icm\-Cypher}!salt_@{salt\_\-}} +\index{salt_@{salt\_\-}!AesIcmCypher@{Aes\-Icm\-Cypher}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf Buffer} {\bf Aes\-Icm\-Cypher::salt\_\-}\hspace{0.3cm}{\tt [protected]}}\label{classAesIcmCypher_a62620f7280574b142a0eb29880f5083} + + +\index{AesIcmCypher@{Aes\-Icm\-Cypher}!gcrypt_initialized_@{gcrypt\_\-initialized\_\-}} +\index{gcrypt_initialized_@{gcrypt\_\-initialized\_\-}!AesIcmCypher@{Aes\-Icm\-Cypher}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}bool {\bf Aes\-Icm\-Cypher::gcrypt\_\-initialized\_\-}\hspace{0.3cm}{\tt [static, private]}}\label{classAesIcmCypher_04da5690d9102c6b3fe5bf78a8827ac1} + + + + +The documentation for this class was generated from the following files:\begin{CompactItemize} +\item +{\bf cypher.h}\item +{\bf cypher.cpp}\end{CompactItemize} diff --git a/doc/latex/classAuthAlgo.eps b/doc/latex/classAuthAlgo.eps new file mode 100644 index 0000000..7987c68 --- /dev/null +++ b/doc/latex/classAuthAlgo.eps @@ -0,0 +1,203 @@ +%!PS-Adobe-2.0 EPSF-2.0 +%%Title: ClassName +%%Creator: Doxygen +%%CreationDate: Time +%%For: +%Magnification: 1.00 +%%Orientation: Portrait +%%BoundingBox: 0 0 500 192.308 +%%Pages: 0 +%%BeginSetup +%%EndSetup +%%EndComments + +% ----- variables ----- + +/boxwidth 0 def +/boxheight 40 def +/fontheight 24 def +/marginwidth 10 def +/distx 20 def +/disty 40 def +/boundaspect 2.6 def % aspect ratio of the BoundingBox (width/height) +/boundx 500 def +/boundy boundx boundaspect div def +/xspacing 0 def +/yspacing 0 def +/rows 2 def +/cols 2 def +/scalefactor 0 def +/boxfont /Times-Roman findfont fontheight scalefont def + +% ----- procedures ----- + +/dotted { [1 4] 0 setdash } def +/dashed { [5] 0 setdash } def +/solid { [] 0 setdash } def + +/max % result = MAX(arg1,arg2) +{ + /a exch def + /b exch def + a b gt {a} {b} ifelse +} def + +/xoffset % result = MAX(0,(scalefactor-(boxwidth*cols+distx*(cols-1)))/2) +{ + 0 scalefactor boxwidth cols mul distx cols 1 sub mul add sub 2 div max +} def + +/cw % boxwidth = MAX(boxwidth, stringwidth(arg1)) +{ + /str exch def + /boxwidth boxwidth str stringwidth pop max def +} def + +/box % draws a box with text `arg1' at grid pos (arg2,arg3) +{ gsave + 2 setlinewidth + newpath + exch xspacing mul xoffset add + exch yspacing mul + moveto + boxwidth 0 rlineto + 0 boxheight rlineto + boxwidth neg 0 rlineto + 0 boxheight neg rlineto + closepath + dup stringwidth pop neg boxwidth add 2 div + boxheight fontheight 2 div sub 2 div + rmoveto show stroke + grestore +} def + +/mark +{ newpath + exch xspacing mul xoffset add boxwidth add + exch yspacing mul + moveto + 0 boxheight 4 div rlineto + boxheight neg 4 div boxheight neg 4 div rlineto + closepath + eofill + stroke +} def + +/arrow +{ newpath + moveto + 3 -8 rlineto + -6 0 rlineto + 3 8 rlineto + closepath + eofill + stroke +} def + +/out % draws an output connector for the block at (arg1,arg2) +{ + newpath + exch xspacing mul xoffset add boxwidth 2 div add + exch yspacing mul boxheight add + /y exch def + /x exch def + x y moveto + 0 disty 2 div rlineto + stroke + 1 eq { x y disty 2 div add arrow } if +} def + +/in % draws an input connector for the block at (arg1,arg2) +{ + newpath + exch xspacing mul xoffset add boxwidth 2 div add + exch yspacing mul disty 2 div sub + /y exch def + /x exch def + x y moveto + 0 disty 2 div rlineto + stroke + 1 eq { x y disty 2 div add arrow } if +} def + +/hedge +{ + exch xspacing mul xoffset add boxwidth 2 div add + exch yspacing mul boxheight 2 div sub + /y exch def + /x exch def + newpath + x y moveto + boxwidth 2 div distx add 0 rlineto + stroke + 1 eq + { newpath x boxwidth 2 div distx add add y moveto + -8 3 rlineto + 0 -6 rlineto + 8 3 rlineto + closepath + eofill + stroke + } if +} def + +/vedge +{ + /ye exch def + /ys exch def + /xs exch def + newpath + xs xspacing mul xoffset add boxwidth 2 div add dup + ys yspacing mul boxheight 2 div sub + moveto + ye yspacing mul boxheight 2 div sub + lineto + stroke +} def + +/conn % connections the blocks from col `arg1' to `arg2' of row `arg3' +{ + /ys exch def + /xe exch def + /xs exch def + newpath + xs xspacing mul xoffset add boxwidth 2 div add + ys yspacing mul disty 2 div sub + moveto + xspacing xe xs sub mul 0 + rlineto + stroke +} def + +% ----- main ------ + +boxfont setfont +1 boundaspect scale +(AuthAlgo) cw +(HmacAuthAlgo) cw +(NullAuthAlgo) cw +/boxwidth boxwidth marginwidth 2 mul add def +/xspacing boxwidth distx add def +/yspacing boxheight disty add def +/scalefactor + boxwidth cols mul distx cols 1 sub mul add + boxheight rows mul disty rows 1 sub mul add boundaspect mul + max def +boundx scalefactor div boundy scalefactor div scale + +% ----- classes ----- + + (AuthAlgo) 0.5 1 box + (HmacAuthAlgo) 0 0 box + (NullAuthAlgo) 1 0 box + +% ----- relations ----- + +solid +1 0.5 0.25 out +solid +0 1 1 conn +solid +0 0 0.75 in +solid +0 1 0.75 in diff --git a/doc/latex/classAuthAlgo.tex b/doc/latex/classAuthAlgo.tex new file mode 100644 index 0000000..e2e27c2 --- /dev/null +++ b/doc/latex/classAuthAlgo.tex @@ -0,0 +1,47 @@ +\section{Auth\-Algo Class Reference} +\label{classAuthAlgo}\index{AuthAlgo@{AuthAlgo}} +{\tt \#include $<$auth\-Algo.h$>$} + +Inheritance diagram for Auth\-Algo::\begin{figure}[H] +\begin{center} +\leavevmode +\includegraphics[height=2cm]{classAuthAlgo} +\end{center} +\end{figure} +\subsection*{Public Member Functions} +\begin{CompactItemize} +\item +{\bf Auth\-Algo} () +\item +virtual {\bf $\sim$Auth\-Algo} () +\item +virtual {\bf auth\_\-tag\_\-t} {\bf calc} (const {\bf Buffer} \&buf)=0 +\end{CompactItemize} + + +\subsection{Constructor \& Destructor Documentation} +\index{AuthAlgo@{Auth\-Algo}!AuthAlgo@{AuthAlgo}} +\index{AuthAlgo@{AuthAlgo}!AuthAlgo@{Auth\-Algo}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}Auth\-Algo::Auth\-Algo ()\hspace{0.3cm}{\tt [inline]}}\label{classAuthAlgo_22a200c372d9aeb73a4cbdd95ba30a0e} + + +\index{AuthAlgo@{Auth\-Algo}!~AuthAlgo@{$\sim$AuthAlgo}} +\index{~AuthAlgo@{$\sim$AuthAlgo}!AuthAlgo@{Auth\-Algo}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}virtual Auth\-Algo::$\sim$Auth\-Algo ()\hspace{0.3cm}{\tt [inline, virtual]}}\label{classAuthAlgo_e3428186b4e005e879e26c2b8e04fa4a} + + + + +\subsection{Member Function Documentation} +\index{AuthAlgo@{Auth\-Algo}!calc@{calc}} +\index{calc@{calc}!AuthAlgo@{Auth\-Algo}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}virtual {\bf auth\_\-tag\_\-t} Auth\-Algo::calc (const {\bf Buffer} \& {\em buf})\hspace{0.3cm}{\tt [pure virtual]}}\label{classAuthAlgo_f53b44f90c33eb049da260947a75c916} + + + + +Implemented in {\bf Null\-Auth\-Algo} \doxyref{}{p.}{classNullAuthAlgo_60eead12d6b32a576ad40d999a6151cf}, and {\bf Hmac\-Auth\-Algo} \doxyref{}{p.}{classHmacAuthAlgo_af50c9aa6b61ff6f4631e3f78f77dc97}. + +The documentation for this class was generated from the following file:\begin{CompactItemize} +\item +{\bf auth\-Algo.h}\end{CompactItemize} diff --git a/doc/latex/classBuffer.eps b/doc/latex/classBuffer.eps new file mode 100644 index 0000000..ca87588 --- /dev/null +++ b/doc/latex/classBuffer.eps @@ -0,0 +1,203 @@ +%!PS-Adobe-2.0 EPSF-2.0 +%%Title: ClassName +%%Creator: Doxygen +%%CreationDate: Time +%%For: +%Magnification: 1.00 +%%Orientation: Portrait +%%BoundingBox: 0 0 500 740.741 +%%Pages: 0 +%%BeginSetup +%%EndSetup +%%EndComments + +% ----- variables ----- + +/boxwidth 0 def +/boxheight 40 def +/fontheight 24 def +/marginwidth 10 def +/distx 20 def +/disty 40 def +/boundaspect 0.675 def % aspect ratio of the BoundingBox (width/height) +/boundx 500 def +/boundy boundx boundaspect div def +/xspacing 0 def +/yspacing 0 def +/rows 3 def +/cols 1 def +/scalefactor 0 def +/boxfont /Times-Roman findfont fontheight scalefont def + +% ----- procedures ----- + +/dotted { [1 4] 0 setdash } def +/dashed { [5] 0 setdash } def +/solid { [] 0 setdash } def + +/max % result = MAX(arg1,arg2) +{ + /a exch def + /b exch def + a b gt {a} {b} ifelse +} def + +/xoffset % result = MAX(0,(scalefactor-(boxwidth*cols+distx*(cols-1)))/2) +{ + 0 scalefactor boxwidth cols mul distx cols 1 sub mul add sub 2 div max +} def + +/cw % boxwidth = MAX(boxwidth, stringwidth(arg1)) +{ + /str exch def + /boxwidth boxwidth str stringwidth pop max def +} def + +/box % draws a box with text `arg1' at grid pos (arg2,arg3) +{ gsave + 2 setlinewidth + newpath + exch xspacing mul xoffset add + exch yspacing mul + moveto + boxwidth 0 rlineto + 0 boxheight rlineto + boxwidth neg 0 rlineto + 0 boxheight neg rlineto + closepath + dup stringwidth pop neg boxwidth add 2 div + boxheight fontheight 2 div sub 2 div + rmoveto show stroke + grestore +} def + +/mark +{ newpath + exch xspacing mul xoffset add boxwidth add + exch yspacing mul + moveto + 0 boxheight 4 div rlineto + boxheight neg 4 div boxheight neg 4 div rlineto + closepath + eofill + stroke +} def + +/arrow +{ newpath + moveto + 3 -8 rlineto + -6 0 rlineto + 3 8 rlineto + closepath + eofill + stroke +} def + +/out % draws an output connector for the block at (arg1,arg2) +{ + newpath + exch xspacing mul xoffset add boxwidth 2 div add + exch yspacing mul boxheight add + /y exch def + /x exch def + x y moveto + 0 disty 2 div rlineto + stroke + 1 eq { x y disty 2 div add arrow } if +} def + +/in % draws an input connector for the block at (arg1,arg2) +{ + newpath + exch xspacing mul xoffset add boxwidth 2 div add + exch yspacing mul disty 2 div sub + /y exch def + /x exch def + x y moveto + 0 disty 2 div rlineto + stroke + 1 eq { x y disty 2 div add arrow } if +} def + +/hedge +{ + exch xspacing mul xoffset add boxwidth 2 div add + exch yspacing mul boxheight 2 div sub + /y exch def + /x exch def + newpath + x y moveto + boxwidth 2 div distx add 0 rlineto + stroke + 1 eq + { newpath x boxwidth 2 div distx add add y moveto + -8 3 rlineto + 0 -6 rlineto + 8 3 rlineto + closepath + eofill + stroke + } if +} def + +/vedge +{ + /ye exch def + /ys exch def + /xs exch def + newpath + xs xspacing mul xoffset add boxwidth 2 div add dup + ys yspacing mul boxheight 2 div sub + moveto + ye yspacing mul boxheight 2 div sub + lineto + stroke +} def + +/conn % connections the blocks from col `arg1' to `arg2' of row `arg3' +{ + /ys exch def + /xe exch def + /xs exch def + newpath + xs xspacing mul xoffset add boxwidth 2 div add + ys yspacing mul disty 2 div sub + moveto + xspacing xe xs sub mul 0 + rlineto + stroke +} def + +% ----- main ------ + +boxfont setfont +1 boundaspect scale +(Buffer) cw +(Packet) cw +(satp::SATP) cw +/boxwidth boxwidth marginwidth 2 mul add def +/xspacing boxwidth distx add def +/yspacing boxheight disty add def +/scalefactor + boxwidth cols mul distx cols 1 sub mul add + boxheight rows mul disty rows 1 sub mul add boundaspect mul + max def +boundx scalefactor div boundy scalefactor div scale + +% ----- classes ----- + + (Buffer) 0 2 box + (Packet) 0 1 box + (satp::SATP) 0 0 box + +% ----- relations ----- + +solid +1 0 1.25 out +solid +0 0 1.75 in +solid +1 0 0.25 out +solid +0 0 0.75 in diff --git a/doc/latex/classBuffer.tex b/doc/latex/classBuffer.tex new file mode 100644 index 0000000..6c9c791 --- /dev/null +++ b/doc/latex/classBuffer.tex @@ -0,0 +1,198 @@ +\section{Buffer Class Reference} +\label{classBuffer}\index{Buffer@{Buffer}} +{\tt \#include $<$buffer.h$>$} + +Inheritance diagram for Buffer::\begin{figure}[H] +\begin{center} +\leavevmode +\includegraphics[height=3cm]{classBuffer} +\end{center} +\end{figure} +\subsection*{Public Member Functions} +\begin{CompactItemize} +\item +{\bf Buffer} () +\item +{\bf Buffer} ({\bf u\_\-int32\_\-t} length) +\item +{\bf Buffer} ({\bf u\_\-int8\_\-t} $\ast$data, {\bf u\_\-int32\_\-t} length) +\item +virtual {\bf $\sim$Buffer} () +\item +{\bf Buffer} (const {\bf Buffer} \&src) +\item +void {\bf operator=} (const {\bf Buffer} \&src) +\item +virtual {\bf Buffer} {\bf operator$^\wedge$} (const {\bf Buffer} \&xor\_\-by) const +\item +virtual {\bf Buffer} {\bf left\-Byte\-Shift} ({\bf u\_\-int32\_\-t} width) const +\item +virtual {\bf Buffer} {\bf right\-Byte\-Shift} ({\bf u\_\-int32\_\-t} width) const +\item +{\bf u\_\-int32\_\-t} {\bf resize\-Front} ({\bf u\_\-int32\_\-t} new\_\-length) +\item +{\bf u\_\-int32\_\-t} {\bf resize\-Back} ({\bf u\_\-int32\_\-t} new\_\-length) +\item +{\bf u\_\-int32\_\-t} {\bf get\-Length} () const +\item +{\bf u\_\-int8\_\-t} $\ast$ {\bf get\-Buf} () +\item +{\bf u\_\-int8\_\-t} \& {\bf operator[$\,$]} ({\bf u\_\-int32\_\-t} index) +\item +{\bf u\_\-int8\_\-t} {\bf operator[$\,$]} ({\bf u\_\-int32\_\-t} index) const +\item +void {\bf print\-Hex\-Dump} () const +\item +{\bf operator u\_\-int8\_\-t $\ast$} () +\end{CompactItemize} +\subsection*{Protected Attributes} +\begin{CompactItemize} +\item +{\bf u\_\-int8\_\-t} $\ast$ {\bf buf\_\-} +\item +{\bf u\_\-int32\_\-t} {\bf length\_\-} +\end{CompactItemize} +\subsection*{Friends} +\begin{CompactItemize} +\item +class {\bf Tun\-Device} +\item +class {\bf UDPPacket\-Source} +\item +class {\bf Aes\-Icm\-Cypher} +\item +class {\bf Key\-Derivation} +\end{CompactItemize} + + +\subsection{Constructor \& Destructor Documentation} +\index{Buffer@{Buffer}!Buffer@{Buffer}} +\index{Buffer@{Buffer}!Buffer@{Buffer}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}Buffer::Buffer ()}\label{classBuffer_e7ef2cd201190fde551dcb902627112b} + + +\index{Buffer@{Buffer}!Buffer@{Buffer}} +\index{Buffer@{Buffer}!Buffer@{Buffer}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}Buffer::Buffer ({\bf u\_\-int32\_\-t} {\em length})}\label{classBuffer_5c58aa9e491f709011408ee7837d57d0} + + +\index{Buffer@{Buffer}!Buffer@{Buffer}} +\index{Buffer@{Buffer}!Buffer@{Buffer}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}Buffer::Buffer ({\bf u\_\-int8\_\-t} $\ast$ {\em data}, {\bf u\_\-int32\_\-t} {\em length})}\label{classBuffer_5bc2edccfb7c1a33354c895ab25c4816} + + +\index{Buffer@{Buffer}!~Buffer@{$\sim$Buffer}} +\index{~Buffer@{$\sim$Buffer}!Buffer@{Buffer}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}Buffer::$\sim$Buffer ()\hspace{0.3cm}{\tt [virtual]}}\label{classBuffer_59b8743e4a5f731bdd0c4185c9ef263b} + + +\index{Buffer@{Buffer}!Buffer@{Buffer}} +\index{Buffer@{Buffer}!Buffer@{Buffer}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}Buffer::Buffer (const {\bf Buffer} \& {\em src})}\label{classBuffer_042fe5bc1f8d0c25d5707d6955d1654c} + + + + +\subsection{Member Function Documentation} +\index{Buffer@{Buffer}!operator=@{operator=}} +\index{operator=@{operator=}!Buffer@{Buffer}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void Buffer::operator= (const {\bf Buffer} \& {\em src})}\label{classBuffer_14cec0d3bf4f3f1a4a9930a8c53eb43a} + + +\index{Buffer@{Buffer}!operator^@{operator$^\wedge$}} +\index{operator^@{operator$^\wedge$}!Buffer@{Buffer}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf Buffer} Buffer::operator$^\wedge$ (const {\bf Buffer} \& {\em xor\_\-by}) const\hspace{0.3cm}{\tt [virtual]}}\label{classBuffer_d56159a415541fcff34ef8aed1eb7183} + + +\index{Buffer@{Buffer}!leftByteShift@{leftByteShift}} +\index{leftByteShift@{leftByteShift}!Buffer@{Buffer}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf Buffer} Buffer::left\-Byte\-Shift ({\bf u\_\-int32\_\-t} {\em width}) const\hspace{0.3cm}{\tt [virtual]}}\label{classBuffer_13200a4925b1b3c08f99e09ccb6854a1} + + +\index{Buffer@{Buffer}!rightByteShift@{rightByteShift}} +\index{rightByteShift@{rightByteShift}!Buffer@{Buffer}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf Buffer} Buffer::right\-Byte\-Shift ({\bf u\_\-int32\_\-t} {\em width}) const\hspace{0.3cm}{\tt [virtual]}}\label{classBuffer_298949899f3f78e4a8b3df7fa5ec532d} + + +\index{Buffer@{Buffer}!resizeFront@{resizeFront}} +\index{resizeFront@{resizeFront}!Buffer@{Buffer}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf u\_\-int32\_\-t} Buffer::resize\-Front ({\bf u\_\-int32\_\-t} {\em new\_\-length})}\label{classBuffer_fe4b10487b4930e0407bdf61857629d6} + + +\index{Buffer@{Buffer}!resizeBack@{resizeBack}} +\index{resizeBack@{resizeBack}!Buffer@{Buffer}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf u\_\-int32\_\-t} Buffer::resize\-Back ({\bf u\_\-int32\_\-t} {\em new\_\-length})}\label{classBuffer_5698b2d64238f1f38578dc8e9e2b1bc9} + + +\index{Buffer@{Buffer}!getLength@{getLength}} +\index{getLength@{getLength}!Buffer@{Buffer}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf u\_\-int32\_\-t} Buffer::get\-Length () const}\label{classBuffer_09ced241e4d0a46c52f0f20398076435} + + +\index{Buffer@{Buffer}!getBuf@{getBuf}} +\index{getBuf@{getBuf}!Buffer@{Buffer}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf u\_\-int8\_\-t} $\ast$ Buffer::get\-Buf ()}\label{classBuffer_7890e20c6c77eb631c39728ea08b35b8} + + +\index{Buffer@{Buffer}!operator[]@{operator[]}} +\index{operator[]@{operator[]}!Buffer@{Buffer}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf u\_\-int8\_\-t} \& Buffer::operator[$\,$] ({\bf u\_\-int32\_\-t} {\em index})}\label{classBuffer_763882c627db10206f78b090556b00fa} + + +\index{Buffer@{Buffer}!operator[]@{operator[]}} +\index{operator[]@{operator[]}!Buffer@{Buffer}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf u\_\-int8\_\-t} Buffer::operator[$\,$] ({\bf u\_\-int32\_\-t} {\em index}) const}\label{classBuffer_e5a9559862374ebd9dfcfc1204890497} + + +\index{Buffer@{Buffer}!printHexDump@{printHexDump}} +\index{printHexDump@{printHexDump}!Buffer@{Buffer}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void Buffer::print\-Hex\-Dump () const}\label{classBuffer_13d927c471a7516b37bc9ad8fc1741ce} + + +\index{Buffer@{Buffer}!operator u_int8_t *@{operator u\_\-int8\_\-t $\ast$}} +\index{operator u_int8_t *@{operator u\_\-int8\_\-t $\ast$}!Buffer@{Buffer}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}Buffer::operator {\bf u\_\-int8\_\-t} $\ast$ ()}\label{classBuffer_dcf367d5f1b7fced7aa61bb919af7943} + + + + +\subsection{Friends And Related Function Documentation} +\index{Buffer@{Buffer}!TunDevice@{TunDevice}} +\index{TunDevice@{TunDevice}!Buffer@{Buffer}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}friend class {\bf Tun\-Device}\hspace{0.3cm}{\tt [friend]}}\label{classBuffer_51b494563d277beb4740f86c519f30fb} + + +\index{Buffer@{Buffer}!UDPPacketSource@{UDPPacketSource}} +\index{UDPPacketSource@{UDPPacketSource}!Buffer@{Buffer}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}friend class {\bf UDPPacket\-Source}\hspace{0.3cm}{\tt [friend]}}\label{classBuffer_940a382a5e3a8622e6689e13dc453481} + + +\index{Buffer@{Buffer}!AesIcmCypher@{AesIcmCypher}} +\index{AesIcmCypher@{AesIcmCypher}!Buffer@{Buffer}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}friend class {\bf Aes\-Icm\-Cypher}\hspace{0.3cm}{\tt [friend]}}\label{classBuffer_41d791e5b640813dea34c24c11056581} + + +\index{Buffer@{Buffer}!KeyDerivation@{KeyDerivation}} +\index{KeyDerivation@{KeyDerivation}!Buffer@{Buffer}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}friend class {\bf Key\-Derivation}\hspace{0.3cm}{\tt [friend]}}\label{classBuffer_1d039eb05e29b8eeadca9b474bb6d49f} + + + + +\subsection{Member Data Documentation} +\index{Buffer@{Buffer}!buf_@{buf\_\-}} +\index{buf_@{buf\_\-}!Buffer@{Buffer}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf u\_\-int8\_\-t}$\ast$ {\bf Buffer::buf\_\-}\hspace{0.3cm}{\tt [protected]}}\label{classBuffer_e60240b77a315e6b3c2bf88592d0be48} + + +\index{Buffer@{Buffer}!length_@{length\_\-}} +\index{length_@{length\_\-}!Buffer@{Buffer}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf u\_\-int32\_\-t} {\bf Buffer::length\_\-}\hspace{0.3cm}{\tt [protected]}}\label{classBuffer_d3a779d2403b5183427f12554e2f51c3} + + + + +The documentation for this class was generated from the following files:\begin{CompactItemize} +\item +{\bf buffer.h}\item +{\bf buffer.cpp}\end{CompactItemize} diff --git a/doc/latex/classCommunicatingSocket.eps b/doc/latex/classCommunicatingSocket.eps new file mode 100644 index 0000000..af29992 --- /dev/null +++ b/doc/latex/classCommunicatingSocket.eps @@ -0,0 +1,215 @@ +%!PS-Adobe-2.0 EPSF-2.0 +%%Title: ClassName +%%Creator: Doxygen +%%CreationDate: Time +%%For: +%Magnification: 1.00 +%%Orientation: Portrait +%%BoundingBox: 0 0 500 279.72 +%%Pages: 0 +%%BeginSetup +%%EndSetup +%%EndComments + +% ----- variables ----- + +/boxwidth 0 def +/boxheight 40 def +/fontheight 24 def +/marginwidth 10 def +/distx 20 def +/disty 40 def +/boundaspect 1.7875 def % aspect ratio of the BoundingBox (width/height) +/boundx 500 def +/boundy boundx boundaspect div def +/xspacing 0 def +/yspacing 0 def +/rows 4 def +/cols 2 def +/scalefactor 0 def +/boxfont /Times-Roman findfont fontheight scalefont def + +% ----- procedures ----- + +/dotted { [1 4] 0 setdash } def +/dashed { [5] 0 setdash } def +/solid { [] 0 setdash } def + +/max % result = MAX(arg1,arg2) +{ + /a exch def + /b exch def + a b gt {a} {b} ifelse +} def + +/xoffset % result = MAX(0,(scalefactor-(boxwidth*cols+distx*(cols-1)))/2) +{ + 0 scalefactor boxwidth cols mul distx cols 1 sub mul add sub 2 div max +} def + +/cw % boxwidth = MAX(boxwidth, stringwidth(arg1)) +{ + /str exch def + /boxwidth boxwidth str stringwidth pop max def +} def + +/box % draws a box with text `arg1' at grid pos (arg2,arg3) +{ gsave + 2 setlinewidth + newpath + exch xspacing mul xoffset add + exch yspacing mul + moveto + boxwidth 0 rlineto + 0 boxheight rlineto + boxwidth neg 0 rlineto + 0 boxheight neg rlineto + closepath + dup stringwidth pop neg boxwidth add 2 div + boxheight fontheight 2 div sub 2 div + rmoveto show stroke + grestore +} def + +/mark +{ newpath + exch xspacing mul xoffset add boxwidth add + exch yspacing mul + moveto + 0 boxheight 4 div rlineto + boxheight neg 4 div boxheight neg 4 div rlineto + closepath + eofill + stroke +} def + +/arrow +{ newpath + moveto + 3 -8 rlineto + -6 0 rlineto + 3 8 rlineto + closepath + eofill + stroke +} def + +/out % draws an output connector for the block at (arg1,arg2) +{ + newpath + exch xspacing mul xoffset add boxwidth 2 div add + exch yspacing mul boxheight add + /y exch def + /x exch def + x y moveto + 0 disty 2 div rlineto + stroke + 1 eq { x y disty 2 div add arrow } if +} def + +/in % draws an input connector for the block at (arg1,arg2) +{ + newpath + exch xspacing mul xoffset add boxwidth 2 div add + exch yspacing mul disty 2 div sub + /y exch def + /x exch def + x y moveto + 0 disty 2 div rlineto + stroke + 1 eq { x y disty 2 div add arrow } if +} def + +/hedge +{ + exch xspacing mul xoffset add boxwidth 2 div add + exch yspacing mul boxheight 2 div sub + /y exch def + /x exch def + newpath + x y moveto + boxwidth 2 div distx add 0 rlineto + stroke + 1 eq + { newpath x boxwidth 2 div distx add add y moveto + -8 3 rlineto + 0 -6 rlineto + 8 3 rlineto + closepath + eofill + stroke + } if +} def + +/vedge +{ + /ye exch def + /ys exch def + /xs exch def + newpath + xs xspacing mul xoffset add boxwidth 2 div add dup + ys yspacing mul boxheight 2 div sub + moveto + ye yspacing mul boxheight 2 div sub + lineto + stroke +} def + +/conn % connections the blocks from col `arg1' to `arg2' of row `arg3' +{ + /ys exch def + /xe exch def + /xs exch def + newpath + xs xspacing mul xoffset add boxwidth 2 div add + ys yspacing mul disty 2 div sub + moveto + xspacing xe xs sub mul 0 + rlineto + stroke +} def + +% ----- main ------ + +boxfont setfont +1 boundaspect scale +(CommunicatingSocket) cw +(Socket) cw +(TCPSocket) cw +(UDPSocket) cw +(UDPPacketSource) cw +/boxwidth boxwidth marginwidth 2 mul add def +/xspacing boxwidth distx add def +/yspacing boxheight disty add def +/scalefactor + boxwidth cols mul distx cols 1 sub mul add + boxheight rows mul disty rows 1 sub mul add boundaspect mul + max def +boundx scalefactor div boundy scalefactor div scale + +% ----- classes ----- + + (CommunicatingSocket) 0.5 2 box + (Socket) 0.5 3 box + (TCPSocket) 0 1 box + (UDPSocket) 1 1 box + (UDPPacketSource) 1 0 box + +% ----- relations ----- + +solid +0 0.5 2 out +solid +1 0.5 3 in +solid +1 0.5 1.25 out +solid +0 1 2 conn +solid +0 0 1.75 in +solid +0 1 1.75 in +solid +1 1 0.25 out +solid +0 1 0.75 in diff --git a/doc/latex/classCommunicatingSocket.tex b/doc/latex/classCommunicatingSocket.tex new file mode 100644 index 0000000..addc1f4 --- /dev/null +++ b/doc/latex/classCommunicatingSocket.tex @@ -0,0 +1,128 @@ +\section{Communicating\-Socket Class Reference} +\label{classCommunicatingSocket}\index{CommunicatingSocket@{CommunicatingSocket}} +{\tt \#include $<$Practical\-Socket.h$>$} + +Inheritance diagram for Communicating\-Socket::\begin{figure}[H] +\begin{center} +\leavevmode +\includegraphics[height=4cm]{classCommunicatingSocket} +\end{center} +\end{figure} +\subsection*{Public Member Functions} +\begin{CompactItemize} +\item +void {\bf connect} (const string \&foreign\-Address, unsigned short foreign\-Port) throw (Socket\-Exception) +\item +void {\bf send} (const void $\ast$buffer, int buffer\-Len) throw (Socket\-Exception) +\item +int {\bf recv} (void $\ast$buffer, int buffer\-Len) throw (Socket\-Exception) +\item +string {\bf get\-Foreign\-Address} () throw (Socket\-Exception) +\item +unsigned short {\bf get\-Foreign\-Port} () throw (Socket\-Exception) +\end{CompactItemize} +\subsection*{Protected Member Functions} +\begin{CompactItemize} +\item +{\bf Communicating\-Socket} (int type, int protocol) throw (Socket\-Exception) +\item +{\bf Communicating\-Socket} (int new\-Conn\-SD) +\end{CompactItemize} + + +\subsection{Detailed Description} +\doxyref{Socket}{p.}{classSocket} which is able to connect, send, and receive + + + +\subsection{Constructor \& Destructor Documentation} +\index{CommunicatingSocket@{Communicating\-Socket}!CommunicatingSocket@{CommunicatingSocket}} +\index{CommunicatingSocket@{CommunicatingSocket}!CommunicatingSocket@{Communicating\-Socket}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}Communicating\-Socket::Communicating\-Socket (int {\em type}, int {\em protocol}) throw ({\bf Socket\-Exception})\hspace{0.3cm}{\tt [protected]}}\label{classCommunicatingSocket_0017517b8d6e761fde0c40475af3b2ab} + + +\index{CommunicatingSocket@{Communicating\-Socket}!CommunicatingSocket@{CommunicatingSocket}} +\index{CommunicatingSocket@{CommunicatingSocket}!CommunicatingSocket@{Communicating\-Socket}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}Communicating\-Socket::Communicating\-Socket (int {\em new\-Conn\-SD})\hspace{0.3cm}{\tt [protected]}}\label{classCommunicatingSocket_27d758db782b3be7d28741e92cb613d1} + + + + +\subsection{Member Function Documentation} +\index{CommunicatingSocket@{Communicating\-Socket}!connect@{connect}} +\index{connect@{connect}!CommunicatingSocket@{Communicating\-Socket}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void Communicating\-Socket::connect (const string \& {\em foreign\-Address}, unsigned short {\em foreign\-Port}) throw ({\bf Socket\-Exception})}\label{classCommunicatingSocket_9192374d9baab8e189860aa8d913683c} + + +Establish a socket connection with the given foreign address and port \begin{Desc} +\item[Parameters:] +\begin{description} +\item[{\em foreign\-Address}]foreign address (IP address or name) \item[{\em foreign\-Port}]foreign port \end{description} +\end{Desc} +\begin{Desc} +\item[Exceptions:] +\begin{description} +\item[{\em \doxyref{Socket\-Exception}{p.}{classSocketException}}]thrown if unable to establish connection \end{description} +\end{Desc} +\index{CommunicatingSocket@{Communicating\-Socket}!send@{send}} +\index{send@{send}!CommunicatingSocket@{Communicating\-Socket}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void Communicating\-Socket::send (const void $\ast$ {\em buffer}, int {\em buffer\-Len}) throw ({\bf Socket\-Exception})}\label{classCommunicatingSocket_ca4e86085c064641e86ae24ea29bbb94} + + +Write the given buffer to this socket. Call \doxyref{connect()}{p.}{classCommunicatingSocket_9192374d9baab8e189860aa8d913683c} before calling \doxyref{send()}{p.}{classCommunicatingSocket_ca4e86085c064641e86ae24ea29bbb94} \begin{Desc} +\item[Parameters:] +\begin{description} +\item[{\em buffer}]buffer to be written \item[{\em buffer\-Len}]number of bytes from buffer to be written \end{description} +\end{Desc} +\begin{Desc} +\item[Exceptions:] +\begin{description} +\item[{\em \doxyref{Socket\-Exception}{p.}{classSocketException}}]thrown if unable to send data \end{description} +\end{Desc} +\index{CommunicatingSocket@{Communicating\-Socket}!recv@{recv}} +\index{recv@{recv}!CommunicatingSocket@{Communicating\-Socket}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}int Communicating\-Socket::recv (void $\ast$ {\em buffer}, int {\em buffer\-Len}) throw ({\bf Socket\-Exception})}\label{classCommunicatingSocket_7cf1fd470c0060171b68df9f68c7bd01} + + +Read into the given buffer up to buffer\-Len bytes data from this socket. Call \doxyref{connect()}{p.}{classCommunicatingSocket_9192374d9baab8e189860aa8d913683c} before calling \doxyref{recv()}{p.}{classCommunicatingSocket_7cf1fd470c0060171b68df9f68c7bd01} \begin{Desc} +\item[Parameters:] +\begin{description} +\item[{\em buffer}]buffer to receive the data \item[{\em buffer\-Len}]maximum number of bytes to read into buffer \end{description} +\end{Desc} +\begin{Desc} +\item[Returns:]number of bytes read, 0 for EOF, and -1 for error \end{Desc} +\begin{Desc} +\item[Exceptions:] +\begin{description} +\item[{\em \doxyref{Socket\-Exception}{p.}{classSocketException}}]thrown if unable to receive data \end{description} +\end{Desc} +\index{CommunicatingSocket@{Communicating\-Socket}!getForeignAddress@{getForeignAddress}} +\index{getForeignAddress@{getForeignAddress}!CommunicatingSocket@{Communicating\-Socket}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}string Communicating\-Socket::get\-Foreign\-Address () throw ({\bf Socket\-Exception})}\label{classCommunicatingSocket_13f9eca30ef56836cf23c163c848c09e} + + +Get the foreign address. Call \doxyref{connect()}{p.}{classCommunicatingSocket_9192374d9baab8e189860aa8d913683c} before calling \doxyref{recv()}{p.}{classCommunicatingSocket_7cf1fd470c0060171b68df9f68c7bd01} \begin{Desc} +\item[Returns:]foreign address \end{Desc} +\begin{Desc} +\item[Exceptions:] +\begin{description} +\item[{\em \doxyref{Socket\-Exception}{p.}{classSocketException}}]thrown if unable to fetch foreign address \end{description} +\end{Desc} +\index{CommunicatingSocket@{Communicating\-Socket}!getForeignPort@{getForeignPort}} +\index{getForeignPort@{getForeignPort}!CommunicatingSocket@{Communicating\-Socket}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}unsigned short Communicating\-Socket::get\-Foreign\-Port () throw ({\bf Socket\-Exception})}\label{classCommunicatingSocket_184fbb4775184b87ebd886a5587eb1a3} + + +Get the foreign port. Call \doxyref{connect()}{p.}{classCommunicatingSocket_9192374d9baab8e189860aa8d913683c} before calling \doxyref{recv()}{p.}{classCommunicatingSocket_7cf1fd470c0060171b68df9f68c7bd01} \begin{Desc} +\item[Returns:]foreign port \end{Desc} +\begin{Desc} +\item[Exceptions:] +\begin{description} +\item[{\em \doxyref{Socket\-Exception}{p.}{classSocketException}}]thrown if unable to fetch foreign port \end{description} +\end{Desc} + + +The documentation for this class was generated from the following files:\begin{CompactItemize} +\item +{\bf Practical\-Socket.h}\item +{\bf Practical\-Socket.cpp}\end{CompactItemize} diff --git a/doc/latex/classCondition.tex b/doc/latex/classCondition.tex new file mode 100644 index 0000000..030bd66 --- /dev/null +++ b/doc/latex/classCondition.tex @@ -0,0 +1,73 @@ +\section{Condition Class Reference} +\label{classCondition}\index{Condition@{Condition}} +{\tt \#include $<$thread\-Utils.hpp$>$} + +\subsection*{Public Member Functions} +\begin{CompactItemize} +\item +{\bf Condition} () +\item +{\bf $\sim$Condition} () +\item +void {\bf wait} () +\item +void {\bf signal} () +\item +void {\bf broadcast} () +\end{CompactItemize} +\subsection*{Private Attributes} +\begin{CompactItemize} +\item +pthread\_\-cond\_\-t {\bf cond} +\item +{\bf Mutex} {\bf mutex} +\end{CompactItemize} + + +\subsection{Constructor \& Destructor Documentation} +\index{Condition@{Condition}!Condition@{Condition}} +\index{Condition@{Condition}!Condition@{Condition}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}Condition::Condition ()\hspace{0.3cm}{\tt [inline]}}\label{classCondition_f11513db4fcbde93961fa0b65e7ab764} + + +\index{Condition@{Condition}!~Condition@{$\sim$Condition}} +\index{~Condition@{$\sim$Condition}!Condition@{Condition}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}Condition::$\sim$Condition ()\hspace{0.3cm}{\tt [inline]}}\label{classCondition_b42f6d2dfb2d0de4bed4ed5032d4a8fc} + + + + +\subsection{Member Function Documentation} +\index{Condition@{Condition}!wait@{wait}} +\index{wait@{wait}!Condition@{Condition}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void Condition::wait ()\hspace{0.3cm}{\tt [inline]}}\label{classCondition_0bb9ca22c3c755d0ed8c7483a857567a} + + +\index{Condition@{Condition}!signal@{signal}} +\index{signal@{signal}!Condition@{Condition}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void Condition::signal ()\hspace{0.3cm}{\tt [inline]}}\label{classCondition_974c8fd419e6014028dc4147cc49ce56} + + +\index{Condition@{Condition}!broadcast@{broadcast}} +\index{broadcast@{broadcast}!Condition@{Condition}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void Condition::broadcast ()\hspace{0.3cm}{\tt [inline]}}\label{classCondition_15d88ea71e837f967d13d805d675cc5b} + + + + +\subsection{Member Data Documentation} +\index{Condition@{Condition}!cond@{cond}} +\index{cond@{cond}!Condition@{Condition}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}pthread\_\-cond\_\-t {\bf Condition::cond}\hspace{0.3cm}{\tt [private]}}\label{classCondition_4c8982005641d63b696f671b28e3706d} + + +\index{Condition@{Condition}!mutex@{mutex}} +\index{mutex@{mutex}!Condition@{Condition}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf Mutex} {\bf Condition::mutex}\hspace{0.3cm}{\tt [private]}}\label{classCondition_01622814c6a21250677c2b9cbfc86bfb} + + + + +The documentation for this class was generated from the following file:\begin{CompactItemize} +\item +{\bf thread\-Utils.hpp}\end{CompactItemize} diff --git a/doc/latex/classCypher.eps b/doc/latex/classCypher.eps new file mode 100644 index 0000000..0840c9a --- /dev/null +++ b/doc/latex/classCypher.eps @@ -0,0 +1,203 @@ +%!PS-Adobe-2.0 EPSF-2.0 +%%Title: ClassName +%%Creator: Doxygen +%%CreationDate: Time +%%For: +%Magnification: 1.00 +%%Orientation: Portrait +%%BoundingBox: 0 0 500 194.175 +%%Pages: 0 +%%BeginSetup +%%EndSetup +%%EndComments + +% ----- variables ----- + +/boxwidth 0 def +/boxheight 40 def +/fontheight 24 def +/marginwidth 10 def +/distx 20 def +/disty 40 def +/boundaspect 2.575 def % aspect ratio of the BoundingBox (width/height) +/boundx 500 def +/boundy boundx boundaspect div def +/xspacing 0 def +/yspacing 0 def +/rows 2 def +/cols 2 def +/scalefactor 0 def +/boxfont /Times-Roman findfont fontheight scalefont def + +% ----- procedures ----- + +/dotted { [1 4] 0 setdash } def +/dashed { [5] 0 setdash } def +/solid { [] 0 setdash } def + +/max % result = MAX(arg1,arg2) +{ + /a exch def + /b exch def + a b gt {a} {b} ifelse +} def + +/xoffset % result = MAX(0,(scalefactor-(boxwidth*cols+distx*(cols-1)))/2) +{ + 0 scalefactor boxwidth cols mul distx cols 1 sub mul add sub 2 div max +} def + +/cw % boxwidth = MAX(boxwidth, stringwidth(arg1)) +{ + /str exch def + /boxwidth boxwidth str stringwidth pop max def +} def + +/box % draws a box with text `arg1' at grid pos (arg2,arg3) +{ gsave + 2 setlinewidth + newpath + exch xspacing mul xoffset add + exch yspacing mul + moveto + boxwidth 0 rlineto + 0 boxheight rlineto + boxwidth neg 0 rlineto + 0 boxheight neg rlineto + closepath + dup stringwidth pop neg boxwidth add 2 div + boxheight fontheight 2 div sub 2 div + rmoveto show stroke + grestore +} def + +/mark +{ newpath + exch xspacing mul xoffset add boxwidth add + exch yspacing mul + moveto + 0 boxheight 4 div rlineto + boxheight neg 4 div boxheight neg 4 div rlineto + closepath + eofill + stroke +} def + +/arrow +{ newpath + moveto + 3 -8 rlineto + -6 0 rlineto + 3 8 rlineto + closepath + eofill + stroke +} def + +/out % draws an output connector for the block at (arg1,arg2) +{ + newpath + exch xspacing mul xoffset add boxwidth 2 div add + exch yspacing mul boxheight add + /y exch def + /x exch def + x y moveto + 0 disty 2 div rlineto + stroke + 1 eq { x y disty 2 div add arrow } if +} def + +/in % draws an input connector for the block at (arg1,arg2) +{ + newpath + exch xspacing mul xoffset add boxwidth 2 div add + exch yspacing mul disty 2 div sub + /y exch def + /x exch def + x y moveto + 0 disty 2 div rlineto + stroke + 1 eq { x y disty 2 div add arrow } if +} def + +/hedge +{ + exch xspacing mul xoffset add boxwidth 2 div add + exch yspacing mul boxheight 2 div sub + /y exch def + /x exch def + newpath + x y moveto + boxwidth 2 div distx add 0 rlineto + stroke + 1 eq + { newpath x boxwidth 2 div distx add add y moveto + -8 3 rlineto + 0 -6 rlineto + 8 3 rlineto + closepath + eofill + stroke + } if +} def + +/vedge +{ + /ye exch def + /ys exch def + /xs exch def + newpath + xs xspacing mul xoffset add boxwidth 2 div add dup + ys yspacing mul boxheight 2 div sub + moveto + ye yspacing mul boxheight 2 div sub + lineto + stroke +} def + +/conn % connections the blocks from col `arg1' to `arg2' of row `arg3' +{ + /ys exch def + /xe exch def + /xs exch def + newpath + xs xspacing mul xoffset add boxwidth 2 div add + ys yspacing mul disty 2 div sub + moveto + xspacing xe xs sub mul 0 + rlineto + stroke +} def + +% ----- main ------ + +boxfont setfont +1 boundaspect scale +(Cypher) cw +(AesIcmCypher) cw +(NullCypher) cw +/boxwidth boxwidth marginwidth 2 mul add def +/xspacing boxwidth distx add def +/yspacing boxheight disty add def +/scalefactor + boxwidth cols mul distx cols 1 sub mul add + boxheight rows mul disty rows 1 sub mul add boundaspect mul + max def +boundx scalefactor div boundy scalefactor div scale + +% ----- classes ----- + + (Cypher) 0.5 1 box + (AesIcmCypher) 0 0 box + (NullCypher) 1 0 box + +% ----- relations ----- + +solid +1 0.5 0.25 out +solid +0 1 1 conn +solid +0 0 0.75 in +solid +0 1 0.75 in diff --git a/doc/latex/classCypher.tex b/doc/latex/classCypher.tex new file mode 100644 index 0000000..a8cdd92 --- /dev/null +++ b/doc/latex/classCypher.tex @@ -0,0 +1,83 @@ +\section{Cypher Class Reference} +\label{classCypher}\index{Cypher@{Cypher}} +{\tt \#include $<$cypher.h$>$} + +Inheritance diagram for Cypher::\begin{figure}[H] +\begin{center} +\leavevmode +\includegraphics[height=2cm]{classCypher} +\end{center} +\end{figure} +\subsection*{Public Member Functions} +\begin{CompactItemize} +\item +{\bf Cypher} () +\item +virtual {\bf $\sim$Cypher} () +\item +void {\bf set\-Key} ({\bf Buffer} key) +\item +void {\bf set\-Salt} ({\bf Buffer} salt) +\item +void {\bf cypher} ({\bf Buffer} \&buf, {\bf seq\_\-nr\_\-t} seq\_\-nr, {\bf sender\_\-id\_\-t} sender\_\-id) +\end{CompactItemize} +\subsection*{Protected Member Functions} +\begin{CompactItemize} +\item +void {\bf exor} ({\bf Buffer} \&buf, const {\bf Buffer} \&bit\_\-stream) +\item +virtual {\bf Buffer} {\bf get\-Bit\-Stream} ({\bf u\_\-int32\_\-t} length, {\bf seq\_\-nr\_\-t} seq\_\-nr, {\bf sender\_\-id\_\-t} sender\_\-id)=0 +\end{CompactItemize} + + +\subsection{Constructor \& Destructor Documentation} +\index{Cypher@{Cypher}!Cypher@{Cypher}} +\index{Cypher@{Cypher}!Cypher@{Cypher}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}Cypher::Cypher ()\hspace{0.3cm}{\tt [inline]}}\label{classCypher_5228228b0b2d83251ecce4516e87ddb1} + + +\index{Cypher@{Cypher}!~Cypher@{$\sim$Cypher}} +\index{~Cypher@{$\sim$Cypher}!Cypher@{Cypher}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}virtual Cypher::$\sim$Cypher ()\hspace{0.3cm}{\tt [inline, virtual]}}\label{classCypher_70c94525f7bacb956cdd940fba7fb4c8} + + + + +\subsection{Member Function Documentation} +\index{Cypher@{Cypher}!setKey@{setKey}} +\index{setKey@{setKey}!Cypher@{Cypher}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void Cypher::set\-Key ({\bf Buffer} {\em key})\hspace{0.3cm}{\tt [inline]}}\label{classCypher_7320b82d14391ab7d25271aa5114e190} + + + + +Reimplemented in {\bf Aes\-Icm\-Cypher} \doxyref{}{p.}{classAesIcmCypher_605a38676ef12ad0b69628c5d53ef007}.\index{Cypher@{Cypher}!setSalt@{setSalt}} +\index{setSalt@{setSalt}!Cypher@{Cypher}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void Cypher::set\-Salt ({\bf Buffer} {\em salt})\hspace{0.3cm}{\tt [inline]}}\label{classCypher_2546ef49e5ce8abe8062186d5f6b2ef8} + + + + +Reimplemented in {\bf Aes\-Icm\-Cypher} \doxyref{}{p.}{classAesIcmCypher_6741487a9d6dfe3ae76bb168ed711259}.\index{Cypher@{Cypher}!cypher@{cypher}} +\index{cypher@{cypher}!Cypher@{Cypher}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void Cypher::cypher ({\bf Buffer} \& {\em buf}, {\bf seq\_\-nr\_\-t} {\em seq\_\-nr}, {\bf sender\_\-id\_\-t} {\em sender\_\-id})}\label{classCypher_1d51ce2235d38bded45f5e897be4435c} + + +\index{Cypher@{Cypher}!exor@{exor}} +\index{exor@{exor}!Cypher@{Cypher}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void Cypher::exor ({\bf Buffer} \& {\em buf}, const {\bf Buffer} \& {\em bit\_\-stream})\hspace{0.3cm}{\tt [protected]}}\label{classCypher_bf33a7a59ed1cdf711030236de6635b0} + + +\index{Cypher@{Cypher}!getBitStream@{getBitStream}} +\index{getBitStream@{getBitStream}!Cypher@{Cypher}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}virtual {\bf Buffer} Cypher::get\-Bit\-Stream ({\bf u\_\-int32\_\-t} {\em length}, {\bf seq\_\-nr\_\-t} {\em seq\_\-nr}, {\bf sender\_\-id\_\-t} {\em sender\_\-id})\hspace{0.3cm}{\tt [protected, pure virtual]}}\label{classCypher_7ddf1bcd476978daa97148ec406d6483} + + + + +Implemented in {\bf Null\-Cypher} \doxyref{}{p.}{classNullCypher_ca537adca8ea9af8b6f248df12ebcf36}, and {\bf Aes\-Icm\-Cypher} \doxyref{}{p.}{classAesIcmCypher_ebac1fbb9a4cb56411fcd45ca63f47a1}. + +The documentation for this class was generated from the following files:\begin{CompactItemize} +\item +{\bf cypher.h}\item +{\bf cypher.cpp}\end{CompactItemize} diff --git a/doc/latex/classHmacAuthAlgo.eps b/doc/latex/classHmacAuthAlgo.eps new file mode 100644 index 0000000..5a8879c --- /dev/null +++ b/doc/latex/classHmacAuthAlgo.eps @@ -0,0 +1,197 @@ +%!PS-Adobe-2.0 EPSF-2.0 +%%Title: ClassName +%%Creator: Doxygen +%%CreationDate: Time +%%For: +%Magnification: 1.00 +%%Orientation: Portrait +%%BoundingBox: 0 0 500 384.615 +%%Pages: 0 +%%BeginSetup +%%EndSetup +%%EndComments + +% ----- variables ----- + +/boxwidth 0 def +/boxheight 40 def +/fontheight 24 def +/marginwidth 10 def +/distx 20 def +/disty 40 def +/boundaspect 1.3 def % aspect ratio of the BoundingBox (width/height) +/boundx 500 def +/boundy boundx boundaspect div def +/xspacing 0 def +/yspacing 0 def +/rows 2 def +/cols 1 def +/scalefactor 0 def +/boxfont /Times-Roman findfont fontheight scalefont def + +% ----- procedures ----- + +/dotted { [1 4] 0 setdash } def +/dashed { [5] 0 setdash } def +/solid { [] 0 setdash } def + +/max % result = MAX(arg1,arg2) +{ + /a exch def + /b exch def + a b gt {a} {b} ifelse +} def + +/xoffset % result = MAX(0,(scalefactor-(boxwidth*cols+distx*(cols-1)))/2) +{ + 0 scalefactor boxwidth cols mul distx cols 1 sub mul add sub 2 div max +} def + +/cw % boxwidth = MAX(boxwidth, stringwidth(arg1)) +{ + /str exch def + /boxwidth boxwidth str stringwidth pop max def +} def + +/box % draws a box with text `arg1' at grid pos (arg2,arg3) +{ gsave + 2 setlinewidth + newpath + exch xspacing mul xoffset add + exch yspacing mul + moveto + boxwidth 0 rlineto + 0 boxheight rlineto + boxwidth neg 0 rlineto + 0 boxheight neg rlineto + closepath + dup stringwidth pop neg boxwidth add 2 div + boxheight fontheight 2 div sub 2 div + rmoveto show stroke + grestore +} def + +/mark +{ newpath + exch xspacing mul xoffset add boxwidth add + exch yspacing mul + moveto + 0 boxheight 4 div rlineto + boxheight neg 4 div boxheight neg 4 div rlineto + closepath + eofill + stroke +} def + +/arrow +{ newpath + moveto + 3 -8 rlineto + -6 0 rlineto + 3 8 rlineto + closepath + eofill + stroke +} def + +/out % draws an output connector for the block at (arg1,arg2) +{ + newpath + exch xspacing mul xoffset add boxwidth 2 div add + exch yspacing mul boxheight add + /y exch def + /x exch def + x y moveto + 0 disty 2 div rlineto + stroke + 1 eq { x y disty 2 div add arrow } if +} def + +/in % draws an input connector for the block at (arg1,arg2) +{ + newpath + exch xspacing mul xoffset add boxwidth 2 div add + exch yspacing mul disty 2 div sub + /y exch def + /x exch def + x y moveto + 0 disty 2 div rlineto + stroke + 1 eq { x y disty 2 div add arrow } if +} def + +/hedge +{ + exch xspacing mul xoffset add boxwidth 2 div add + exch yspacing mul boxheight 2 div sub + /y exch def + /x exch def + newpath + x y moveto + boxwidth 2 div distx add 0 rlineto + stroke + 1 eq + { newpath x boxwidth 2 div distx add add y moveto + -8 3 rlineto + 0 -6 rlineto + 8 3 rlineto + closepath + eofill + stroke + } if +} def + +/vedge +{ + /ye exch def + /ys exch def + /xs exch def + newpath + xs xspacing mul xoffset add boxwidth 2 div add dup + ys yspacing mul boxheight 2 div sub + moveto + ye yspacing mul boxheight 2 div sub + lineto + stroke +} def + +/conn % connections the blocks from col `arg1' to `arg2' of row `arg3' +{ + /ys exch def + /xe exch def + /xs exch def + newpath + xs xspacing mul xoffset add boxwidth 2 div add + ys yspacing mul disty 2 div sub + moveto + xspacing xe xs sub mul 0 + rlineto + stroke +} def + +% ----- main ------ + +boxfont setfont +1 boundaspect scale +(HmacAuthAlgo) cw +(AuthAlgo) cw +/boxwidth boxwidth marginwidth 2 mul add def +/xspacing boxwidth distx add def +/yspacing boxheight disty add def +/scalefactor + boxwidth cols mul distx cols 1 sub mul add + boxheight rows mul disty rows 1 sub mul add boundaspect mul + max def +boundx scalefactor div boundy scalefactor div scale + +% ----- classes ----- + + (HmacAuthAlgo) 0 0 box + (AuthAlgo) 0 1 box + +% ----- relations ----- + +solid +0 0 0 out +solid +1 0 1 in diff --git a/doc/latex/classHmacAuthAlgo.tex b/doc/latex/classHmacAuthAlgo.tex new file mode 100644 index 0000000..df0c997 --- /dev/null +++ b/doc/latex/classHmacAuthAlgo.tex @@ -0,0 +1,31 @@ +\section{Hmac\-Auth\-Algo Class Reference} +\label{classHmacAuthAlgo}\index{HmacAuthAlgo@{HmacAuthAlgo}} +{\tt \#include $<$auth\-Algo.h$>$} + +Inheritance diagram for Hmac\-Auth\-Algo::\begin{figure}[H] +\begin{center} +\leavevmode +\includegraphics[height=2cm]{classHmacAuthAlgo} +\end{center} +\end{figure} +\subsection*{Public Member Functions} +\begin{CompactItemize} +\item +{\bf auth\_\-tag\_\-t} {\bf calc} (const {\bf Buffer} \&buf) +\end{CompactItemize} + + +\subsection{Member Function Documentation} +\index{HmacAuthAlgo@{Hmac\-Auth\-Algo}!calc@{calc}} +\index{calc@{calc}!HmacAuthAlgo@{Hmac\-Auth\-Algo}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf auth\_\-tag\_\-t} Hmac\-Auth\-Algo::calc (const {\bf Buffer} \& {\em buf})\hspace{0.3cm}{\tt [virtual]}}\label{classHmacAuthAlgo_af50c9aa6b61ff6f4631e3f78f77dc97} + + + + +Implements {\bf Auth\-Algo} \doxyref{}{p.}{classAuthAlgo_f53b44f90c33eb049da260947a75c916}. + +The documentation for this class was generated from the following files:\begin{CompactItemize} +\item +{\bf auth\-Algo.h}\item +{\bf auth\-Algo.cpp}\end{CompactItemize} diff --git a/doc/latex/classKeyDerivation.tex b/doc/latex/classKeyDerivation.tex new file mode 100644 index 0000000..9d38b9d --- /dev/null +++ b/doc/latex/classKeyDerivation.tex @@ -0,0 +1,98 @@ +\section{Key\-Derivation Class Reference} +\label{classKeyDerivation}\index{KeyDerivation@{KeyDerivation}} +{\tt \#include $<$key\-Derivation.h$>$} + +\subsection*{Public Member Functions} +\begin{CompactItemize} +\item +{\bf Key\-Derivation} () +\item +virtual {\bf $\sim$Key\-Derivation} () +\item +void {\bf init} ({\bf Buffer} key, {\bf Buffer} salt) +\item +err\_\-status\_\-t {\bf set\-Log\-KDRate} (const uint8\_\-t ld\_\-rate) +\item +err\_\-status\_\-t {\bf generate} ({\bf satp\_\-prf\_\-label} label, {\bf seq\_\-nr\_\-t} seq\_\-nr, {\bf Buffer} \&key, uint32\_\-t length) +\item +void {\bf clear} () +\end{CompactItemize} +\subsection*{Static Public Attributes} +\begin{CompactItemize} +\item +static const std::string {\bf MIN\_\-GCRYPT\_\-VERSION} +\end{CompactItemize} +\subsection*{Protected Attributes} +\begin{CompactItemize} +\item +{\bf int8\_\-t} {\bf ld\_\-kdr\_\-} +\item +{\bf Buffer} {\bf salt\_\-} +\item +gcry\_\-cipher\_\-hd\_\-t {\bf cipher\_\-} +\end{CompactItemize} + + +\subsection{Constructor \& Destructor Documentation} +\index{KeyDerivation@{Key\-Derivation}!KeyDerivation@{KeyDerivation}} +\index{KeyDerivation@{KeyDerivation}!KeyDerivation@{Key\-Derivation}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}Key\-Derivation::Key\-Derivation ()\hspace{0.3cm}{\tt [inline]}}\label{classKeyDerivation_07c3735d1b2e1285b6c427a2706ebc67} + + +\index{KeyDerivation@{Key\-Derivation}!~KeyDerivation@{$\sim$KeyDerivation}} +\index{~KeyDerivation@{$\sim$KeyDerivation}!KeyDerivation@{Key\-Derivation}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}virtual Key\-Derivation::$\sim$Key\-Derivation ()\hspace{0.3cm}{\tt [inline, virtual]}}\label{classKeyDerivation_ccce2c32370be2388ca0a977fef1f6cc} + + + + +\subsection{Member Function Documentation} +\index{KeyDerivation@{Key\-Derivation}!init@{init}} +\index{init@{init}!KeyDerivation@{Key\-Derivation}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void Key\-Derivation::init ({\bf Buffer} {\em key}, {\bf Buffer} {\em salt})}\label{classKeyDerivation_5f03e97de1a041f6012d1fcfabf13773} + + +\index{KeyDerivation@{Key\-Derivation}!setLogKDRate@{setLogKDRate}} +\index{setLogKDRate@{setLogKDRate}!KeyDerivation@{Key\-Derivation}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}err\_\-status\_\-t Key\-Derivation::set\-Log\-KDRate (const uint8\_\-t {\em ld\_\-rate})}\label{classKeyDerivation_1c6d7a055b6b5b88076e15218f936663} + + +\index{KeyDerivation@{Key\-Derivation}!generate@{generate}} +\index{generate@{generate}!KeyDerivation@{Key\-Derivation}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}err\_\-status\_\-t Key\-Derivation::generate ({\bf satp\_\-prf\_\-label} {\em label}, {\bf seq\_\-nr\_\-t} {\em seq\_\-nr}, {\bf Buffer} \& {\em key}, uint32\_\-t {\em length})}\label{classKeyDerivation_025e21ecdd0389b768eaa61fed660c86} + + +\index{KeyDerivation@{Key\-Derivation}!clear@{clear}} +\index{clear@{clear}!KeyDerivation@{Key\-Derivation}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void Key\-Derivation::clear ()}\label{classKeyDerivation_8d8c405ee7c3753b4807b36a8cbe537a} + + + + +\subsection{Member Data Documentation} +\index{KeyDerivation@{Key\-Derivation}!MIN_GCRYPT_VERSION@{MIN\_\-GCRYPT\_\-VERSION}} +\index{MIN_GCRYPT_VERSION@{MIN\_\-GCRYPT\_\-VERSION}!KeyDerivation@{Key\-Derivation}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}const std::string {\bf Key\-Derivation::MIN\_\-GCRYPT\_\-VERSION}\hspace{0.3cm}{\tt [static]}}\label{classKeyDerivation_9aaf24245f7dec6e68fc24541abce94b} + + +\index{KeyDerivation@{Key\-Derivation}!ld_kdr_@{ld\_\-kdr\_\-}} +\index{ld_kdr_@{ld\_\-kdr\_\-}!KeyDerivation@{Key\-Derivation}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf int8\_\-t} {\bf Key\-Derivation::ld\_\-kdr\_\-}\hspace{0.3cm}{\tt [protected]}}\label{classKeyDerivation_426dcd34d3b60191a3db55dd970eeb17} + + +\index{KeyDerivation@{Key\-Derivation}!salt_@{salt\_\-}} +\index{salt_@{salt\_\-}!KeyDerivation@{Key\-Derivation}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf Buffer} {\bf Key\-Derivation::salt\_\-}\hspace{0.3cm}{\tt [protected]}}\label{classKeyDerivation_52e057f1085920a61ea44c5c9936865c} + + +\index{KeyDerivation@{Key\-Derivation}!cipher_@{cipher\_\-}} +\index{cipher_@{cipher\_\-}!KeyDerivation@{Key\-Derivation}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}gcry\_\-cipher\_\-hd\_\-t {\bf Key\-Derivation::cipher\_\-}\hspace{0.3cm}{\tt [protected]}}\label{classKeyDerivation_6b7dd9a922de96a8f76cf6c453adab28} + + + + +The documentation for this class was generated from the following files:\begin{CompactItemize} +\item +{\bf key\-Derivation.h}\item +{\bf key\-Derivation.cpp}\end{CompactItemize} diff --git a/doc/latex/classLock.tex b/doc/latex/classLock.tex new file mode 100644 index 0000000..5de9514 --- /dev/null +++ b/doc/latex/classLock.tex @@ -0,0 +1,62 @@ +\section{Lock Class Reference} +\label{classLock}\index{Lock@{Lock}} +{\tt \#include $<$thread\-Utils.hpp$>$} + +\subsection*{Public Member Functions} +\begin{CompactItemize} +\item +{\bf Lock} ({\bf Mutex} \&m) +\item +{\bf $\sim$Lock} () +\end{CompactItemize} +\subsection*{Private Member Functions} +\begin{CompactItemize} +\item +{\bf Lock} (const {\bf Lock} \&src) +\item +void {\bf operator=} (const {\bf Lock} \&src) +\end{CompactItemize} +\subsection*{Private Attributes} +\begin{CompactItemize} +\item +{\bf Mutex} \& {\bf mutex} +\end{CompactItemize} + + +\subsection{Constructor \& Destructor Documentation} +\index{Lock@{Lock}!Lock@{Lock}} +\index{Lock@{Lock}!Lock@{Lock}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}Lock::Lock ({\bf Mutex} \& {\em m})\hspace{0.3cm}{\tt [inline]}}\label{classLock_2c786576eddddb484a6a02a7dea52904} + + +\index{Lock@{Lock}!~Lock@{$\sim$Lock}} +\index{~Lock@{$\sim$Lock}!Lock@{Lock}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}Lock::$\sim$Lock ()\hspace{0.3cm}{\tt [inline]}}\label{classLock_7ab6d9485c8665bb3643710432882971} + + +\index{Lock@{Lock}!Lock@{Lock}} +\index{Lock@{Lock}!Lock@{Lock}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}Lock::Lock (const {\bf Lock} \& {\em src})\hspace{0.3cm}{\tt [private]}}\label{classLock_5aba40fb170cf8fbfbe241ecac4b66b2} + + + + +\subsection{Member Function Documentation} +\index{Lock@{Lock}!operator=@{operator=}} +\index{operator=@{operator=}!Lock@{Lock}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void Lock::operator= (const {\bf Lock} \& {\em src})\hspace{0.3cm}{\tt [private]}}\label{classLock_6beb534a89b213d70e4b3bb9b3cde217} + + + + +\subsection{Member Data Documentation} +\index{Lock@{Lock}!mutex@{mutex}} +\index{mutex@{mutex}!Lock@{Lock}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf Mutex}\& {\bf Lock::mutex}\hspace{0.3cm}{\tt [private]}}\label{classLock_41f8817641e260bddb93a7a710736037} + + + + +The documentation for this class was generated from the following file:\begin{CompactItemize} +\item +{\bf thread\-Utils.hpp}\end{CompactItemize} diff --git a/doc/latex/classLog.tex b/doc/latex/classLog.tex new file mode 100644 index 0000000..e5eb8e9 --- /dev/null +++ b/doc/latex/classLog.tex @@ -0,0 +1,363 @@ +\section{Log Class Reference} +\label{classLog}\index{Log@{Log}} +{\tt \#include $<$log.h$>$} + +\subsection*{Public Member Functions} +\begin{CompactItemize} +\item +{\bf Log} \& {\bf set\-Log\-Name} (std::string new\-Log\-Name) +\item +std::string {\bf get\-Log\-Name} () const +\item +{\bf Log} \& {\bf set\-Facility} (int new\-Facility) +\item +int {\bf get\-Facility} () const +\item +{\bf Log\-String\-Builder} {\bf msg} (int prio={\bf PRIO\_\-INFO}) +\end{CompactItemize} +\subsection*{Static Public Member Functions} +\begin{CompactItemize} +\item +static {\bf Log} \& {\bf instance} () +\end{CompactItemize} +\subsection*{Static Public Attributes} +\begin{CompactItemize} +\item +static const int {\bf FAC\_\-USER} = LOG\_\-USER +\item +static const int {\bf FAC\_\-MAIL} = LOG\_\-MAIL +\item +static const int {\bf FAC\_\-DAEMON} = LOG\_\-DAEMON +\item +static const int {\bf FAC\_\-AUTH} = LOG\_\-AUTH +\item +static const int {\bf FAC\_\-SYSLOG} = LOG\_\-SYSLOG +\item +static const int {\bf FAC\_\-LPR} = LOG\_\-LPR +\item +static const int {\bf FAC\_\-NEWS} = LOG\_\-NEWS +\item +static const int {\bf FAC\_\-UUCP} = LOG\_\-UUCP +\item +static const int {\bf FAC\_\-CRON} = LOG\_\-CRON +\item +static const int {\bf FAC\_\-AUTHPRIV} = LOG\_\-AUTHPRIV +\item +static const int {\bf FAC\_\-FTP} = LOG\_\-FTP +\item +static const int {\bf FAC\_\-LOCAL0} = LOG\_\-LOCAL0 +\item +static const int {\bf FAC\_\-LOCAL1} = LOG\_\-LOCAL1 +\item +static const int {\bf FAC\_\-LOCAL2} = LOG\_\-LOCAL2 +\item +static const int {\bf FAC\_\-LOCAL3} = LOG\_\-LOCAL3 +\item +static const int {\bf FAC\_\-LOCAL4} = LOG\_\-LOCAL4 +\item +static const int {\bf FAC\_\-LOCAL5} = LOG\_\-LOCAL5 +\item +static const int {\bf FAC\_\-LOCAL6} = LOG\_\-LOCAL6 +\item +static const int {\bf FAC\_\-LOCAL7} = LOG\_\-LOCAL7 +\item +static const int {\bf PRIO\_\-EMERG} = LOG\_\-EMERG +\item +static const int {\bf PRIO\_\-ALERT} = LOG\_\-ALERT +\item +static const int {\bf PRIO\_\-CRIT} = LOG\_\-CRIT +\item +static const int {\bf PRIO\_\-ERR} = LOG\_\-ERR +\item +static const int {\bf PRIO\_\-WARNING} = LOG\_\-WARNING +\item +static const int {\bf PRIO\_\-NOTICE} = LOG\_\-NOTICE +\item +static const int {\bf PRIO\_\-INFO} = LOG\_\-INFO +\item +static const int {\bf PRIO\_\-DEBUG} = LOG\_\-DEBUG +\end{CompactItemize} +\subsection*{Private Member Functions} +\begin{CompactItemize} +\item +{\bf Log} () +\item +{\bf $\sim$Log} () +\item +{\bf Log} (const {\bf Log} \&l) +\item +void {\bf operator=} (const {\bf Log} \&l) +\item +void {\bf open} () +\end{CompactItemize} +\subsection*{Private Attributes} +\begin{CompactItemize} +\item +{\bf Mutex} {\bf mutex} +\item +std::string {\bf log\-Name} +\item +int {\bf facility} +\end{CompactItemize} +\subsection*{Static Private Attributes} +\begin{CompactItemize} +\item +static {\bf Log} $\ast$ {\bf inst} +\item +static {\bf Mutex} {\bf inst\-Mutex} +\end{CompactItemize} +\subsection*{Friends} +\begin{CompactItemize} +\item +class {\bf instance\-Cleaner} +\item +class {\bf Log\-String\-Builder} +\end{CompactItemize} +\subsection*{Classes} +\begin{CompactItemize} +\item +class {\bf instance\-Cleaner} +\end{CompactItemize} + + +\subsection{Constructor \& Destructor Documentation} +\index{Log@{Log}!Log@{Log}} +\index{Log@{Log}!Log@{Log}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}Log::Log ()\hspace{0.3cm}{\tt [private]}}\label{classLog_f6071a60aa52b6c1b511f99b4bc1b8fe} + + +\index{Log@{Log}!~Log@{$\sim$Log}} +\index{~Log@{$\sim$Log}!Log@{Log}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}Log::$\sim$Log ()\hspace{0.3cm}{\tt [private]}}\label{classLog_0fbfda88fbee5027c89f6eb121059360} + + +\index{Log@{Log}!Log@{Log}} +\index{Log@{Log}!Log@{Log}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}Log::Log (const {\bf Log} \& {\em l})\hspace{0.3cm}{\tt [private]}}\label{classLog_756aec21ec377fbc703f787e7f5fb832} + + + + +\subsection{Member Function Documentation} +\index{Log@{Log}!instance@{instance}} +\index{instance@{instance}!Log@{Log}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf Log} \& Log::instance ()\hspace{0.3cm}{\tt [static]}}\label{classLog_aa59866ce9e78db15ce7aaeb00fc1063} + + +\index{Log@{Log}!setLogName@{setLogName}} +\index{setLogName@{setLogName}!Log@{Log}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf Log} \& Log::set\-Log\-Name (std::string {\em new\-Log\-Name})}\label{classLog_f8cf0541a8284aabd5fe924a9cd2eab8} + + +\index{Log@{Log}!getLogName@{getLogName}} +\index{getLogName@{getLogName}!Log@{Log}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}std::string Log::get\-Log\-Name () const\hspace{0.3cm}{\tt [inline]}}\label{classLog_9090c0fbbc5a3223dbd361a827788c17} + + +\index{Log@{Log}!setFacility@{setFacility}} +\index{setFacility@{setFacility}!Log@{Log}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf Log} \& Log::set\-Facility (int {\em new\-Facility})}\label{classLog_828e15ec0e9108b9fc43d74da77a902c} + + +\index{Log@{Log}!getFacility@{getFacility}} +\index{getFacility@{getFacility}!Log@{Log}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}int Log::get\-Facility () const\hspace{0.3cm}{\tt [inline]}}\label{classLog_238b6e5d47bb83307737f0c809fad669} + + +\index{Log@{Log}!msg@{msg}} +\index{msg@{msg}!Log@{Log}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf Log\-String\-Builder} Log::msg (int {\em prio} = {\tt {\bf PRIO\_\-INFO}})\hspace{0.3cm}{\tt [inline]}}\label{classLog_7077dc047eb915d2fae46e36f5040f85} + + +\index{Log@{Log}!operator=@{operator=}} +\index{operator=@{operator=}!Log@{Log}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void Log::operator= (const {\bf Log} \& {\em l})\hspace{0.3cm}{\tt [private]}}\label{classLog_076b147c2bc9b2167074e9bc51a24af7} + + +\index{Log@{Log}!open@{open}} +\index{open@{open}!Log@{Log}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void Log::open ()\hspace{0.3cm}{\tt [private]}}\label{classLog_f91976ebadd955414799131cb442d24c} + + + + +\subsection{Friends And Related Function Documentation} +\index{Log@{Log}!instanceCleaner@{instanceCleaner}} +\index{instanceCleaner@{instanceCleaner}!Log@{Log}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}friend class {\bf instance\-Cleaner}\hspace{0.3cm}{\tt [friend]}}\label{classLog_321cfbf9f58ebf3c9366bd6e0b5c18ce} + + +\index{Log@{Log}!LogStringBuilder@{LogStringBuilder}} +\index{LogStringBuilder@{LogStringBuilder}!Log@{Log}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}friend class {\bf Log\-String\-Builder}\hspace{0.3cm}{\tt [friend]}}\label{classLog_16ded253dbe65c503d1d853dcf5460d6} + + + + +\subsection{Member Data Documentation} +\index{Log@{Log}!FAC_USER@{FAC\_\-USER}} +\index{FAC_USER@{FAC\_\-USER}!Log@{Log}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}const int {\bf Log::FAC\_\-USER} = LOG\_\-USER\hspace{0.3cm}{\tt [static]}}\label{classLog_9418bab5d66822411ce1f85823d8425b} + + +\index{Log@{Log}!FAC_MAIL@{FAC\_\-MAIL}} +\index{FAC_MAIL@{FAC\_\-MAIL}!Log@{Log}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}const int {\bf Log::FAC\_\-MAIL} = LOG\_\-MAIL\hspace{0.3cm}{\tt [static]}}\label{classLog_5cf4b465d8ecff58bd62ac064663917b} + + +\index{Log@{Log}!FAC_DAEMON@{FAC\_\-DAEMON}} +\index{FAC_DAEMON@{FAC\_\-DAEMON}!Log@{Log}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}const int {\bf Log::FAC\_\-DAEMON} = LOG\_\-DAEMON\hspace{0.3cm}{\tt [static]}}\label{classLog_6395030c0b8fa7f36b6fe0f6b837055d} + + +\index{Log@{Log}!FAC_AUTH@{FAC\_\-AUTH}} +\index{FAC_AUTH@{FAC\_\-AUTH}!Log@{Log}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}const int {\bf Log::FAC\_\-AUTH} = LOG\_\-AUTH\hspace{0.3cm}{\tt [static]}}\label{classLog_6f6fde7b6433d827c05cfefe16f9b333} + + +\index{Log@{Log}!FAC_SYSLOG@{FAC\_\-SYSLOG}} +\index{FAC_SYSLOG@{FAC\_\-SYSLOG}!Log@{Log}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}const int {\bf Log::FAC\_\-SYSLOG} = LOG\_\-SYSLOG\hspace{0.3cm}{\tt [static]}}\label{classLog_be74100156fee45add0417bc9f460f30} + + +\index{Log@{Log}!FAC_LPR@{FAC\_\-LPR}} +\index{FAC_LPR@{FAC\_\-LPR}!Log@{Log}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}const int {\bf Log::FAC\_\-LPR} = LOG\_\-LPR\hspace{0.3cm}{\tt [static]}}\label{classLog_28a1239643de68f79ad6c2337acfd2ea} + + +\index{Log@{Log}!FAC_NEWS@{FAC\_\-NEWS}} +\index{FAC_NEWS@{FAC\_\-NEWS}!Log@{Log}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}const int {\bf Log::FAC\_\-NEWS} = LOG\_\-NEWS\hspace{0.3cm}{\tt [static]}}\label{classLog_b9f56520aeae70b9d98396f67ad1310b} + + +\index{Log@{Log}!FAC_UUCP@{FAC\_\-UUCP}} +\index{FAC_UUCP@{FAC\_\-UUCP}!Log@{Log}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}const int {\bf Log::FAC\_\-UUCP} = LOG\_\-UUCP\hspace{0.3cm}{\tt [static]}}\label{classLog_d5b2e5f3987835ec077013c6a263ed5f} + + +\index{Log@{Log}!FAC_CRON@{FAC\_\-CRON}} +\index{FAC_CRON@{FAC\_\-CRON}!Log@{Log}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}const int {\bf Log::FAC\_\-CRON} = LOG\_\-CRON\hspace{0.3cm}{\tt [static]}}\label{classLog_6a455dfca6d859f77ed79b6d92ad659a} + + +\index{Log@{Log}!FAC_AUTHPRIV@{FAC\_\-AUTHPRIV}} +\index{FAC_AUTHPRIV@{FAC\_\-AUTHPRIV}!Log@{Log}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}const int {\bf Log::FAC\_\-AUTHPRIV} = LOG\_\-AUTHPRIV\hspace{0.3cm}{\tt [static]}}\label{classLog_5245bb60b9c33e31027ea1f9a77d8053} + + +\index{Log@{Log}!FAC_FTP@{FAC\_\-FTP}} +\index{FAC_FTP@{FAC\_\-FTP}!Log@{Log}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}const int {\bf Log::FAC\_\-FTP} = LOG\_\-FTP\hspace{0.3cm}{\tt [static]}}\label{classLog_9b822438fee8c8a0f4bb56c0e4415c95} + + +\index{Log@{Log}!FAC_LOCAL0@{FAC\_\-LOCAL0}} +\index{FAC_LOCAL0@{FAC\_\-LOCAL0}!Log@{Log}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}const int {\bf Log::FAC\_\-LOCAL0} = LOG\_\-LOCAL0\hspace{0.3cm}{\tt [static]}}\label{classLog_e6271aefc4c8749e602da64f284f0d08} + + +\index{Log@{Log}!FAC_LOCAL1@{FAC\_\-LOCAL1}} +\index{FAC_LOCAL1@{FAC\_\-LOCAL1}!Log@{Log}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}const int {\bf Log::FAC\_\-LOCAL1} = LOG\_\-LOCAL1\hspace{0.3cm}{\tt [static]}}\label{classLog_b553df5af8dd47f2e9d29569b26b7713} + + +\index{Log@{Log}!FAC_LOCAL2@{FAC\_\-LOCAL2}} +\index{FAC_LOCAL2@{FAC\_\-LOCAL2}!Log@{Log}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}const int {\bf Log::FAC\_\-LOCAL2} = LOG\_\-LOCAL2\hspace{0.3cm}{\tt [static]}}\label{classLog_1e79b43d3ed6f44281f1d6f4d6e2a829} + + +\index{Log@{Log}!FAC_LOCAL3@{FAC\_\-LOCAL3}} +\index{FAC_LOCAL3@{FAC\_\-LOCAL3}!Log@{Log}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}const int {\bf Log::FAC\_\-LOCAL3} = LOG\_\-LOCAL3\hspace{0.3cm}{\tt [static]}}\label{classLog_467961bf9b0b73dd863a29e29642ed62} + + +\index{Log@{Log}!FAC_LOCAL4@{FAC\_\-LOCAL4}} +\index{FAC_LOCAL4@{FAC\_\-LOCAL4}!Log@{Log}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}const int {\bf Log::FAC\_\-LOCAL4} = LOG\_\-LOCAL4\hspace{0.3cm}{\tt [static]}}\label{classLog_2dfec8266dc4bfd9f4a37a6a6a193724} + + +\index{Log@{Log}!FAC_LOCAL5@{FAC\_\-LOCAL5}} +\index{FAC_LOCAL5@{FAC\_\-LOCAL5}!Log@{Log}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}const int {\bf Log::FAC\_\-LOCAL5} = LOG\_\-LOCAL5\hspace{0.3cm}{\tt [static]}}\label{classLog_8c8f287b845408f62e9971869764193d} + + +\index{Log@{Log}!FAC_LOCAL6@{FAC\_\-LOCAL6}} +\index{FAC_LOCAL6@{FAC\_\-LOCAL6}!Log@{Log}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}const int {\bf Log::FAC\_\-LOCAL6} = LOG\_\-LOCAL6\hspace{0.3cm}{\tt [static]}}\label{classLog_c7c45c9e1daa96ecb60ff12064a3dc6e} + + +\index{Log@{Log}!FAC_LOCAL7@{FAC\_\-LOCAL7}} +\index{FAC_LOCAL7@{FAC\_\-LOCAL7}!Log@{Log}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}const int {\bf Log::FAC\_\-LOCAL7} = LOG\_\-LOCAL7\hspace{0.3cm}{\tt [static]}}\label{classLog_886a44fb4cec033f0f7c028f530fe97c} + + +\index{Log@{Log}!PRIO_EMERG@{PRIO\_\-EMERG}} +\index{PRIO_EMERG@{PRIO\_\-EMERG}!Log@{Log}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}const int {\bf Log::PRIO\_\-EMERG} = LOG\_\-EMERG\hspace{0.3cm}{\tt [static]}}\label{classLog_3b068a7b9c9a7bd3a42d519daea16564} + + +\index{Log@{Log}!PRIO_ALERT@{PRIO\_\-ALERT}} +\index{PRIO_ALERT@{PRIO\_\-ALERT}!Log@{Log}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}const int {\bf Log::PRIO\_\-ALERT} = LOG\_\-ALERT\hspace{0.3cm}{\tt [static]}}\label{classLog_77741b4b68493a7b082f856c9a70cae6} + + +\index{Log@{Log}!PRIO_CRIT@{PRIO\_\-CRIT}} +\index{PRIO_CRIT@{PRIO\_\-CRIT}!Log@{Log}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}const int {\bf Log::PRIO\_\-CRIT} = LOG\_\-CRIT\hspace{0.3cm}{\tt [static]}}\label{classLog_275d2db1310f0b9663ac1e048cadd389} + + +\index{Log@{Log}!PRIO_ERR@{PRIO\_\-ERR}} +\index{PRIO_ERR@{PRIO\_\-ERR}!Log@{Log}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}const int {\bf Log::PRIO\_\-ERR} = LOG\_\-ERR\hspace{0.3cm}{\tt [static]}}\label{classLog_d3769cb6592629a056ffeaa4ce1f3d46} + + +\index{Log@{Log}!PRIO_WARNING@{PRIO\_\-WARNING}} +\index{PRIO_WARNING@{PRIO\_\-WARNING}!Log@{Log}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}const int {\bf Log::PRIO\_\-WARNING} = LOG\_\-WARNING\hspace{0.3cm}{\tt [static]}}\label{classLog_ef36517c65a41f4cf69d4795ec84b4a2} + + +\index{Log@{Log}!PRIO_NOTICE@{PRIO\_\-NOTICE}} +\index{PRIO_NOTICE@{PRIO\_\-NOTICE}!Log@{Log}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}const int {\bf Log::PRIO\_\-NOTICE} = LOG\_\-NOTICE\hspace{0.3cm}{\tt [static]}}\label{classLog_783504697beb7cc8905d0296704d62f2} + + +\index{Log@{Log}!PRIO_INFO@{PRIO\_\-INFO}} +\index{PRIO_INFO@{PRIO\_\-INFO}!Log@{Log}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}const int {\bf Log::PRIO\_\-INFO} = LOG\_\-INFO\hspace{0.3cm}{\tt [static]}}\label{classLog_3c50bb6ae5eff66436d72a53c50b0f6b} + + +\index{Log@{Log}!PRIO_DEBUG@{PRIO\_\-DEBUG}} +\index{PRIO_DEBUG@{PRIO\_\-DEBUG}!Log@{Log}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}const int {\bf Log::PRIO\_\-DEBUG} = LOG\_\-DEBUG\hspace{0.3cm}{\tt [static]}}\label{classLog_f9aad3521e9eda1c156009188cc0674b} + + +\index{Log@{Log}!inst@{inst}} +\index{inst@{inst}!Log@{Log}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf Log} $\ast$ {\bf Log::inst}\hspace{0.3cm}{\tt [static, private]}}\label{classLog_aebf3ec6bf45b97cc842d9d53a5a6c0a} + + +\index{Log@{Log}!instMutex@{instMutex}} +\index{instMutex@{instMutex}!Log@{Log}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf Mutex} {\bf Log::inst\-Mutex}\hspace{0.3cm}{\tt [static, private]}}\label{classLog_c561e8206daad55b4aa4ac8808f35314} + + +\index{Log@{Log}!mutex@{mutex}} +\index{mutex@{mutex}!Log@{Log}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf Mutex} {\bf Log::mutex}\hspace{0.3cm}{\tt [private]}}\label{classLog_d69b96c96c1b6aa0c3d67e07ca131e85} + + +\index{Log@{Log}!logName@{logName}} +\index{logName@{logName}!Log@{Log}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}std::string {\bf Log::log\-Name}\hspace{0.3cm}{\tt [private]}}\label{classLog_8abf9fa58d7af501f25415eb37fd71a0} + + +\index{Log@{Log}!facility@{facility}} +\index{facility@{facility}!Log@{Log}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}int {\bf Log::facility}\hspace{0.3cm}{\tt [private]}}\label{classLog_844dc5894a51dce933ae2109868652a0} + + + + +The documentation for this class was generated from the following files:\begin{CompactItemize} +\item +{\bf log.h}\item +{\bf log.cpp}\end{CompactItemize} diff --git a/doc/latex/classLogStringBuilder.tex b/doc/latex/classLogStringBuilder.tex new file mode 100644 index 0000000..999c862 --- /dev/null +++ b/doc/latex/classLogStringBuilder.tex @@ -0,0 +1,74 @@ +\section{Log\-String\-Builder Class Reference} +\label{classLogStringBuilder}\index{LogStringBuilder@{LogStringBuilder}} +{\tt \#include $<$log.h$>$} + +\subsection*{Public Member Functions} +\begin{CompactItemize} +\item +{\bf Log\-String\-Builder} ({\bf Log\-String\-Builder} const \&src) +\item +{\bf Log\-String\-Builder} ({\bf Log} \&l, int p) +\item +{\bf $\sim$Log\-String\-Builder} () +\item +template$<$class T$>$ std::ostream \& {\bf operator$<$$<$} (T const \&value) +\end{CompactItemize} +\subsection*{Private Attributes} +\begin{CompactItemize} +\item +{\bf Log} \& {\bf log} +\item +int {\bf prio} +\item +std::stringstream {\bf stream} +\end{CompactItemize} + + +\subsection{Constructor \& Destructor Documentation} +\index{LogStringBuilder@{Log\-String\-Builder}!LogStringBuilder@{LogStringBuilder}} +\index{LogStringBuilder@{LogStringBuilder}!LogStringBuilder@{Log\-String\-Builder}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}Log\-String\-Builder::Log\-String\-Builder ({\bf Log\-String\-Builder} const \& {\em src})}\label{classLogStringBuilder_5df8c8d7ab7615c8552de3d4d21d3417} + + +\index{LogStringBuilder@{Log\-String\-Builder}!LogStringBuilder@{LogStringBuilder}} +\index{LogStringBuilder@{LogStringBuilder}!LogStringBuilder@{Log\-String\-Builder}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}Log\-String\-Builder::Log\-String\-Builder ({\bf Log} \& {\em l}, int {\em p})}\label{classLogStringBuilder_a9393394f93ca644c8a851fb8fe04e24} + + +\index{LogStringBuilder@{Log\-String\-Builder}!~LogStringBuilder@{$\sim$LogStringBuilder}} +\index{~LogStringBuilder@{$\sim$LogStringBuilder}!LogStringBuilder@{Log\-String\-Builder}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}Log\-String\-Builder::$\sim$Log\-String\-Builder ()}\label{classLogStringBuilder_c63707864e0005008cc4a67d8dec9933} + + + + +\subsection{Member Function Documentation} +\index{LogStringBuilder@{Log\-String\-Builder}!operator<<@{operator$<$$<$}} +\index{operator<<@{operator$<$$<$}!LogStringBuilder@{Log\-String\-Builder}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$<$class T$>$ std::ostream\& Log\-String\-Builder::operator$<$$<$ (T const \& {\em value})\hspace{0.3cm}{\tt [inline]}}\label{classLogStringBuilder_9b4f26f5e64aacc172c0818073117e42} + + + + +\subsection{Member Data Documentation} +\index{LogStringBuilder@{Log\-String\-Builder}!log@{log}} +\index{log@{log}!LogStringBuilder@{Log\-String\-Builder}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf Log}\& {\bf Log\-String\-Builder::log}\hspace{0.3cm}{\tt [private]}}\label{classLogStringBuilder_499c5b058df61e2215368592d21aacf1} + + +\index{LogStringBuilder@{Log\-String\-Builder}!prio@{prio}} +\index{prio@{prio}!LogStringBuilder@{Log\-String\-Builder}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}int {\bf Log\-String\-Builder::prio}\hspace{0.3cm}{\tt [private]}}\label{classLogStringBuilder_89d48a7590de117fec0b40c0babbaee5} + + +\index{LogStringBuilder@{Log\-String\-Builder}!stream@{stream}} +\index{stream@{stream}!LogStringBuilder@{Log\-String\-Builder}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}std::stringstream {\bf Log\-String\-Builder::stream}\hspace{0.3cm}{\tt [private]}}\label{classLogStringBuilder_405447561d3d7337cc093dad6c6d81b5} + + + + +The documentation for this class was generated from the following files:\begin{CompactItemize} +\item +{\bf log.h}\item +{\bf log.cpp}\end{CompactItemize} diff --git a/doc/latex/classLog_1_1instanceCleaner.tex b/doc/latex/classLog_1_1instanceCleaner.tex new file mode 100644 index 0000000..aa3ddc4 --- /dev/null +++ b/doc/latex/classLog_1_1instanceCleaner.tex @@ -0,0 +1,20 @@ +\section{Log::instance\-Cleaner Class Reference} +\label{classLog_1_1instanceCleaner}\index{Log::instanceCleaner@{Log::instanceCleaner}} +\subsection*{Public Member Functions} +\begin{CompactItemize} +\item +{\bf $\sim$instance\-Cleaner} () +\end{CompactItemize} + + +\subsection{Constructor \& Destructor Documentation} +\index{Log::instanceCleaner@{Log::instance\-Cleaner}!~instanceCleaner@{$\sim$instanceCleaner}} +\index{~instanceCleaner@{$\sim$instanceCleaner}!Log::instanceCleaner@{Log::instance\-Cleaner}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}Log::instance\-Cleaner::$\sim$instance\-Cleaner ()\hspace{0.3cm}{\tt [inline]}}\label{classLog_1_1instanceCleaner_5e2dd96e4f58345bd2067cd40fbec865} + + + + +The documentation for this class was generated from the following file:\begin{CompactItemize} +\item +{\bf log.h}\end{CompactItemize} diff --git a/doc/latex/classMutex.tex b/doc/latex/classMutex.tex new file mode 100644 index 0000000..669155a --- /dev/null +++ b/doc/latex/classMutex.tex @@ -0,0 +1,96 @@ +\section{Mutex Class Reference} +\label{classMutex}\index{Mutex@{Mutex}} +{\tt \#include $<$thread\-Utils.hpp$>$} + +\subsection*{Public Member Functions} +\begin{CompactItemize} +\item +{\bf Mutex} () +\item +{\bf $\sim$Mutex} () +\end{CompactItemize} +\subsection*{Private Member Functions} +\begin{CompactItemize} +\item +{\bf Mutex} (const {\bf Mutex} \&src) +\item +void {\bf operator=} (const {\bf Mutex} \&src) +\item +void {\bf lock} () +\item +void {\bf unlock} () +\end{CompactItemize} +\subsection*{Private Attributes} +\begin{CompactItemize} +\item +pthread\_\-mutex\_\-t {\bf mutex} +\end{CompactItemize} +\subsection*{Friends} +\begin{CompactItemize} +\item +class {\bf Lock} +\item +class {\bf Condition} +\end{CompactItemize} + + +\subsection{Constructor \& Destructor Documentation} +\index{Mutex@{Mutex}!Mutex@{Mutex}} +\index{Mutex@{Mutex}!Mutex@{Mutex}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}Mutex::Mutex ()\hspace{0.3cm}{\tt [inline]}}\label{classMutex_593423d868daf926c7b0d63a833ae29a} + + +\index{Mutex@{Mutex}!~Mutex@{$\sim$Mutex}} +\index{~Mutex@{$\sim$Mutex}!Mutex@{Mutex}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}Mutex::$\sim$Mutex ()\hspace{0.3cm}{\tt [inline]}}\label{classMutex_c9e9182407f5f74892318607888e9be4} + + +\index{Mutex@{Mutex}!Mutex@{Mutex}} +\index{Mutex@{Mutex}!Mutex@{Mutex}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}Mutex::Mutex (const {\bf Mutex} \& {\em src})\hspace{0.3cm}{\tt [private]}}\label{classMutex_7f1ad3a125c7a02b2ca338240bd1d978} + + + + +\subsection{Member Function Documentation} +\index{Mutex@{Mutex}!operator=@{operator=}} +\index{operator=@{operator=}!Mutex@{Mutex}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void Mutex::operator= (const {\bf Mutex} \& {\em src})\hspace{0.3cm}{\tt [private]}}\label{classMutex_030a11400d00ef97813c6b232a5e3f43} + + +\index{Mutex@{Mutex}!lock@{lock}} +\index{lock@{lock}!Mutex@{Mutex}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void Mutex::lock ()\hspace{0.3cm}{\tt [inline, private]}}\label{classMutex_d91be808bf0a60a16f10b897ec246d3a} + + +\index{Mutex@{Mutex}!unlock@{unlock}} +\index{unlock@{unlock}!Mutex@{Mutex}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void Mutex::unlock ()\hspace{0.3cm}{\tt [inline, private]}}\label{classMutex_546a5b797ba29959357586aa2b3740a8} + + + + +\subsection{Friends And Related Function Documentation} +\index{Mutex@{Mutex}!Lock@{Lock}} +\index{Lock@{Lock}!Mutex@{Mutex}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}friend class {\bf Lock}\hspace{0.3cm}{\tt [friend]}}\label{classMutex_5bf7608e05250fb524a1229bcf83ece3} + + +\index{Mutex@{Mutex}!Condition@{Condition}} +\index{Condition@{Condition}!Mutex@{Mutex}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}friend class {\bf Condition}\hspace{0.3cm}{\tt [friend]}}\label{classMutex_0705c7682858f6dcf7fe85cba92f0a5c} + + + + +\subsection{Member Data Documentation} +\index{Mutex@{Mutex}!mutex@{mutex}} +\index{mutex@{mutex}!Mutex@{Mutex}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}pthread\_\-mutex\_\-t {\bf Mutex::mutex}\hspace{0.3cm}{\tt [private]}}\label{classMutex_8feb0b01916c1feedd1f0c0dcd74081b} + + + + +The documentation for this class was generated from the following file:\begin{CompactItemize} +\item +{\bf thread\-Utils.hpp}\end{CompactItemize} diff --git a/doc/latex/classNullAuthAlgo.eps b/doc/latex/classNullAuthAlgo.eps new file mode 100644 index 0000000..979fb32 --- /dev/null +++ b/doc/latex/classNullAuthAlgo.eps @@ -0,0 +1,197 @@ +%!PS-Adobe-2.0 EPSF-2.0 +%%Title: ClassName +%%Creator: Doxygen +%%CreationDate: Time +%%For: +%Magnification: 1.00 +%%Orientation: Portrait +%%BoundingBox: 0 0 500 425.532 +%%Pages: 0 +%%BeginSetup +%%EndSetup +%%EndComments + +% ----- variables ----- + +/boxwidth 0 def +/boxheight 40 def +/fontheight 24 def +/marginwidth 10 def +/distx 20 def +/disty 40 def +/boundaspect 1.175 def % aspect ratio of the BoundingBox (width/height) +/boundx 500 def +/boundy boundx boundaspect div def +/xspacing 0 def +/yspacing 0 def +/rows 2 def +/cols 1 def +/scalefactor 0 def +/boxfont /Times-Roman findfont fontheight scalefont def + +% ----- procedures ----- + +/dotted { [1 4] 0 setdash } def +/dashed { [5] 0 setdash } def +/solid { [] 0 setdash } def + +/max % result = MAX(arg1,arg2) +{ + /a exch def + /b exch def + a b gt {a} {b} ifelse +} def + +/xoffset % result = MAX(0,(scalefactor-(boxwidth*cols+distx*(cols-1)))/2) +{ + 0 scalefactor boxwidth cols mul distx cols 1 sub mul add sub 2 div max +} def + +/cw % boxwidth = MAX(boxwidth, stringwidth(arg1)) +{ + /str exch def + /boxwidth boxwidth str stringwidth pop max def +} def + +/box % draws a box with text `arg1' at grid pos (arg2,arg3) +{ gsave + 2 setlinewidth + newpath + exch xspacing mul xoffset add + exch yspacing mul + moveto + boxwidth 0 rlineto + 0 boxheight rlineto + boxwidth neg 0 rlineto + 0 boxheight neg rlineto + closepath + dup stringwidth pop neg boxwidth add 2 div + boxheight fontheight 2 div sub 2 div + rmoveto show stroke + grestore +} def + +/mark +{ newpath + exch xspacing mul xoffset add boxwidth add + exch yspacing mul + moveto + 0 boxheight 4 div rlineto + boxheight neg 4 div boxheight neg 4 div rlineto + closepath + eofill + stroke +} def + +/arrow +{ newpath + moveto + 3 -8 rlineto + -6 0 rlineto + 3 8 rlineto + closepath + eofill + stroke +} def + +/out % draws an output connector for the block at (arg1,arg2) +{ + newpath + exch xspacing mul xoffset add boxwidth 2 div add + exch yspacing mul boxheight add + /y exch def + /x exch def + x y moveto + 0 disty 2 div rlineto + stroke + 1 eq { x y disty 2 div add arrow } if +} def + +/in % draws an input connector for the block at (arg1,arg2) +{ + newpath + exch xspacing mul xoffset add boxwidth 2 div add + exch yspacing mul disty 2 div sub + /y exch def + /x exch def + x y moveto + 0 disty 2 div rlineto + stroke + 1 eq { x y disty 2 div add arrow } if +} def + +/hedge +{ + exch xspacing mul xoffset add boxwidth 2 div add + exch yspacing mul boxheight 2 div sub + /y exch def + /x exch def + newpath + x y moveto + boxwidth 2 div distx add 0 rlineto + stroke + 1 eq + { newpath x boxwidth 2 div distx add add y moveto + -8 3 rlineto + 0 -6 rlineto + 8 3 rlineto + closepath + eofill + stroke + } if +} def + +/vedge +{ + /ye exch def + /ys exch def + /xs exch def + newpath + xs xspacing mul xoffset add boxwidth 2 div add dup + ys yspacing mul boxheight 2 div sub + moveto + ye yspacing mul boxheight 2 div sub + lineto + stroke +} def + +/conn % connections the blocks from col `arg1' to `arg2' of row `arg3' +{ + /ys exch def + /xe exch def + /xs exch def + newpath + xs xspacing mul xoffset add boxwidth 2 div add + ys yspacing mul disty 2 div sub + moveto + xspacing xe xs sub mul 0 + rlineto + stroke +} def + +% ----- main ------ + +boxfont setfont +1 boundaspect scale +(NullAuthAlgo) cw +(AuthAlgo) cw +/boxwidth boxwidth marginwidth 2 mul add def +/xspacing boxwidth distx add def +/yspacing boxheight disty add def +/scalefactor + boxwidth cols mul distx cols 1 sub mul add + boxheight rows mul disty rows 1 sub mul add boundaspect mul + max def +boundx scalefactor div boundy scalefactor div scale + +% ----- classes ----- + + (NullAuthAlgo) 0 0 box + (AuthAlgo) 0 1 box + +% ----- relations ----- + +solid +0 0 0 out +solid +1 0 1 in diff --git a/doc/latex/classNullAuthAlgo.tex b/doc/latex/classNullAuthAlgo.tex new file mode 100644 index 0000000..22d8109 --- /dev/null +++ b/doc/latex/classNullAuthAlgo.tex @@ -0,0 +1,31 @@ +\section{Null\-Auth\-Algo Class Reference} +\label{classNullAuthAlgo}\index{NullAuthAlgo@{NullAuthAlgo}} +{\tt \#include $<$auth\-Algo.h$>$} + +Inheritance diagram for Null\-Auth\-Algo::\begin{figure}[H] +\begin{center} +\leavevmode +\includegraphics[height=2cm]{classNullAuthAlgo} +\end{center} +\end{figure} +\subsection*{Public Member Functions} +\begin{CompactItemize} +\item +{\bf auth\_\-tag\_\-t} {\bf calc} (const {\bf Buffer} \&buf) +\end{CompactItemize} + + +\subsection{Member Function Documentation} +\index{NullAuthAlgo@{Null\-Auth\-Algo}!calc@{calc}} +\index{calc@{calc}!NullAuthAlgo@{Null\-Auth\-Algo}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf auth\_\-tag\_\-t} Null\-Auth\-Algo::calc (const {\bf Buffer} \& {\em buf})\hspace{0.3cm}{\tt [virtual]}}\label{classNullAuthAlgo_60eead12d6b32a576ad40d999a6151cf} + + + + +Implements {\bf Auth\-Algo} \doxyref{}{p.}{classAuthAlgo_f53b44f90c33eb049da260947a75c916}. + +The documentation for this class was generated from the following files:\begin{CompactItemize} +\item +{\bf auth\-Algo.h}\item +{\bf auth\-Algo.cpp}\end{CompactItemize} diff --git a/doc/latex/classNullCypher.eps b/doc/latex/classNullCypher.eps new file mode 100644 index 0000000..92b26ee --- /dev/null +++ b/doc/latex/classNullCypher.eps @@ -0,0 +1,197 @@ +%!PS-Adobe-2.0 EPSF-2.0 +%%Title: ClassName +%%Creator: Doxygen +%%CreationDate: Time +%%For: +%Magnification: 1.00 +%%Orientation: Portrait +%%BoundingBox: 0 0 500 476.19 +%%Pages: 0 +%%BeginSetup +%%EndSetup +%%EndComments + +% ----- variables ----- + +/boxwidth 0 def +/boxheight 40 def +/fontheight 24 def +/marginwidth 10 def +/distx 20 def +/disty 40 def +/boundaspect 1.05 def % aspect ratio of the BoundingBox (width/height) +/boundx 500 def +/boundy boundx boundaspect div def +/xspacing 0 def +/yspacing 0 def +/rows 2 def +/cols 1 def +/scalefactor 0 def +/boxfont /Times-Roman findfont fontheight scalefont def + +% ----- procedures ----- + +/dotted { [1 4] 0 setdash } def +/dashed { [5] 0 setdash } def +/solid { [] 0 setdash } def + +/max % result = MAX(arg1,arg2) +{ + /a exch def + /b exch def + a b gt {a} {b} ifelse +} def + +/xoffset % result = MAX(0,(scalefactor-(boxwidth*cols+distx*(cols-1)))/2) +{ + 0 scalefactor boxwidth cols mul distx cols 1 sub mul add sub 2 div max +} def + +/cw % boxwidth = MAX(boxwidth, stringwidth(arg1)) +{ + /str exch def + /boxwidth boxwidth str stringwidth pop max def +} def + +/box % draws a box with text `arg1' at grid pos (arg2,arg3) +{ gsave + 2 setlinewidth + newpath + exch xspacing mul xoffset add + exch yspacing mul + moveto + boxwidth 0 rlineto + 0 boxheight rlineto + boxwidth neg 0 rlineto + 0 boxheight neg rlineto + closepath + dup stringwidth pop neg boxwidth add 2 div + boxheight fontheight 2 div sub 2 div + rmoveto show stroke + grestore +} def + +/mark +{ newpath + exch xspacing mul xoffset add boxwidth add + exch yspacing mul + moveto + 0 boxheight 4 div rlineto + boxheight neg 4 div boxheight neg 4 div rlineto + closepath + eofill + stroke +} def + +/arrow +{ newpath + moveto + 3 -8 rlineto + -6 0 rlineto + 3 8 rlineto + closepath + eofill + stroke +} def + +/out % draws an output connector for the block at (arg1,arg2) +{ + newpath + exch xspacing mul xoffset add boxwidth 2 div add + exch yspacing mul boxheight add + /y exch def + /x exch def + x y moveto + 0 disty 2 div rlineto + stroke + 1 eq { x y disty 2 div add arrow } if +} def + +/in % draws an input connector for the block at (arg1,arg2) +{ + newpath + exch xspacing mul xoffset add boxwidth 2 div add + exch yspacing mul disty 2 div sub + /y exch def + /x exch def + x y moveto + 0 disty 2 div rlineto + stroke + 1 eq { x y disty 2 div add arrow } if +} def + +/hedge +{ + exch xspacing mul xoffset add boxwidth 2 div add + exch yspacing mul boxheight 2 div sub + /y exch def + /x exch def + newpath + x y moveto + boxwidth 2 div distx add 0 rlineto + stroke + 1 eq + { newpath x boxwidth 2 div distx add add y moveto + -8 3 rlineto + 0 -6 rlineto + 8 3 rlineto + closepath + eofill + stroke + } if +} def + +/vedge +{ + /ye exch def + /ys exch def + /xs exch def + newpath + xs xspacing mul xoffset add boxwidth 2 div add dup + ys yspacing mul boxheight 2 div sub + moveto + ye yspacing mul boxheight 2 div sub + lineto + stroke +} def + +/conn % connections the blocks from col `arg1' to `arg2' of row `arg3' +{ + /ys exch def + /xe exch def + /xs exch def + newpath + xs xspacing mul xoffset add boxwidth 2 div add + ys yspacing mul disty 2 div sub + moveto + xspacing xe xs sub mul 0 + rlineto + stroke +} def + +% ----- main ------ + +boxfont setfont +1 boundaspect scale +(NullCypher) cw +(Cypher) cw +/boxwidth boxwidth marginwidth 2 mul add def +/xspacing boxwidth distx add def +/yspacing boxheight disty add def +/scalefactor + boxwidth cols mul distx cols 1 sub mul add + boxheight rows mul disty rows 1 sub mul add boundaspect mul + max def +boundx scalefactor div boundy scalefactor div scale + +% ----- classes ----- + + (NullCypher) 0 0 box + (Cypher) 0 1 box + +% ----- relations ----- + +solid +0 0 0 out +solid +1 0 1 in diff --git a/doc/latex/classNullCypher.tex b/doc/latex/classNullCypher.tex new file mode 100644 index 0000000..46b9b52 --- /dev/null +++ b/doc/latex/classNullCypher.tex @@ -0,0 +1,31 @@ +\section{Null\-Cypher Class Reference} +\label{classNullCypher}\index{NullCypher@{NullCypher}} +{\tt \#include $<$cypher.h$>$} + +Inheritance diagram for Null\-Cypher::\begin{figure}[H] +\begin{center} +\leavevmode +\includegraphics[height=2cm]{classNullCypher} +\end{center} +\end{figure} +\subsection*{Protected Member Functions} +\begin{CompactItemize} +\item +{\bf Buffer} {\bf get\-Bit\-Stream} ({\bf u\_\-int32\_\-t} length, {\bf seq\_\-nr\_\-t} seq\_\-nr, {\bf sender\_\-id\_\-t} sender\_\-id) +\end{CompactItemize} + + +\subsection{Member Function Documentation} +\index{NullCypher@{Null\-Cypher}!getBitStream@{getBitStream}} +\index{getBitStream@{getBitStream}!NullCypher@{Null\-Cypher}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf Buffer} Null\-Cypher::get\-Bit\-Stream ({\bf u\_\-int32\_\-t} {\em length}, {\bf seq\_\-nr\_\-t} {\em seq\_\-nr}, {\bf sender\_\-id\_\-t} {\em sender\_\-id})\hspace{0.3cm}{\tt [protected, virtual]}}\label{classNullCypher_ca537adca8ea9af8b6f248df12ebcf36} + + + + +Implements {\bf Cypher} \doxyref{}{p.}{classCypher_7ddf1bcd476978daa97148ec406d6483}. + +The documentation for this class was generated from the following files:\begin{CompactItemize} +\item +{\bf cypher.h}\item +{\bf cypher.cpp}\end{CompactItemize} diff --git a/doc/latex/classOptions.tex b/doc/latex/classOptions.tex new file mode 100644 index 0000000..5a01c3f --- /dev/null +++ b/doc/latex/classOptions.tex @@ -0,0 +1,340 @@ +\section{Options Class Reference} +\label{classOptions}\index{Options@{Options}} +{\tt \#include $<$options.h$>$} + +\subsection*{Public Member Functions} +\begin{CompactItemize} +\item +{\bf Options} () +\item +bool {\bf parse} (int argc, char $\ast$argv[$\,$]) +\item +void {\bf print\-Usage} () +\item +void {\bf print\-Options} () +\item +std::string {\bf get\-Progname} () +\item +{\bf Options} \& {\bf set\-Progname} (std::string p) +\item +{\bf sender\_\-id\_\-t} {\bf get\-Sender\-Id} () +\item +{\bf Options} \& {\bf set\-Sender\-Id} ({\bf sender\_\-id\_\-t} s) +\item +std::string {\bf get\-Local\-Addr} () +\item +{\bf Options} \& {\bf set\-Local\-Addr} (std::string l) +\item +{\bf u\_\-int16\_\-t} {\bf get\-Local\-Port} () +\item +{\bf Options} \& {\bf set\-Local\-Port} ({\bf u\_\-int16\_\-t} l) +\item +std::string {\bf get\-Remote\-Addr} () +\item +{\bf Options} \& {\bf set\-Remote\-Addr} (std::string r) +\item +{\bf u\_\-int16\_\-t} {\bf get\-Remote\-Port} () +\item +{\bf Options} \& {\bf set\-Remote\-Port} ({\bf u\_\-int16\_\-t} r) +\item +{\bf Options} \& {\bf set\-Remote\-Addr\-Port} (std::string addr, {\bf u\_\-int16\_\-t} port) +\item +std::string {\bf get\-Dev\-Name} () +\item +{\bf Options} \& {\bf set\-Dev\-Name} (std::string d) +\item +std::string {\bf get\-Dev\-Type} () +\item +{\bf Options} \& {\bf set\-Dev\-Type} (std::string d) +\item +std::string {\bf get\-Ifconfig\-Param\-Local} () +\item +{\bf Options} \& {\bf set\-Ifconfig\-Param\-Local} (std::string i) +\item +std::string {\bf get\-Ifconfig\-Param\-Remote\-Netmask} () +\item +{\bf Options} \& {\bf set\-Ifconfig\-Param\-Remote\-Netmask} (std::string i) +\item +{\bf window\_\-size\_\-t} {\bf get\-Seq\-Window\-Size} () +\item +{\bf Options} \& {\bf set\-Seq\-Window\-Size} ({\bf window\_\-size\_\-t} s) +\item +std::string {\bf get\-Cypher} () +\item +{\bf Options} \& {\bf set\-Cypher} (std::string c) +\item +std::string {\bf get\-Auth\-Algo} () +\item +{\bf Options} \& {\bf set\-Auth\-Algo} (std::string a) +\end{CompactItemize} +\subsection*{Private Attributes} +\begin{CompactItemize} +\item +{\bf Mutex} {\bf mutex} +\item +std::string {\bf progname\_\-} +\item +{\bf sender\_\-id\_\-t} {\bf sender\_\-id\_\-} +\item +std::string {\bf local\_\-addr\_\-} +\item +{\bf u\_\-int16\_\-t} {\bf local\_\-port\_\-} +\item +std::string {\bf remote\_\-addr\_\-} +\item +{\bf u\_\-int16\_\-t} {\bf remote\_\-port\_\-} +\item +std::string {\bf dev\_\-name\_\-} +\item +std::string {\bf dev\_\-type\_\-} +\item +std::string {\bf ifconfig\_\-param\_\-local\_\-} +\item +std::string {\bf ifconfig\_\-param\_\-remote\_\-netmask\_\-} +\item +{\bf window\_\-size\_\-t} {\bf seq\_\-window\_\-size\_\-} +\item +std::string {\bf cypher\_\-} +\item +std::string {\bf auth\_\-algo\_\-} +\end{CompactItemize} + + +\subsection{Constructor \& Destructor Documentation} +\index{Options@{Options}!Options@{Options}} +\index{Options@{Options}!Options@{Options}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}Options::Options ()}\label{classOptions_b72fb640172a6109e34c8a5366563753} + + + + +\subsection{Member Function Documentation} +\index{Options@{Options}!parse@{parse}} +\index{parse@{parse}!Options@{Options}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}bool Options::parse (int {\em argc}, char $\ast$ {\em argv}[$\,$])}\label{classOptions_eef7f9799ffcc31221a54dc9ed3b3e81} + + +\index{Options@{Options}!printUsage@{printUsage}} +\index{printUsage@{printUsage}!Options@{Options}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void Options::print\-Usage ()}\label{classOptions_5a64af47966f3c0a54a8c3a3385065e3} + + +\index{Options@{Options}!printOptions@{printOptions}} +\index{printOptions@{printOptions}!Options@{Options}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void Options::print\-Options ()}\label{classOptions_cac40a32d05b48e49595d8d19cf8af47} + + +\index{Options@{Options}!getProgname@{getProgname}} +\index{getProgname@{getProgname}!Options@{Options}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}std::string Options::get\-Progname ()}\label{classOptions_af7b2ab27fc4b1a74ef89e9fdd0cfb22} + + +\index{Options@{Options}!setProgname@{setProgname}} +\index{setProgname@{setProgname}!Options@{Options}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf Options} \& Options::set\-Progname (std::string {\em p})}\label{classOptions_1267ce6d4b43ab9c0f8827c434b33b1b} + + +\index{Options@{Options}!getSenderId@{getSenderId}} +\index{getSenderId@{getSenderId}!Options@{Options}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf sender\_\-id\_\-t} Options::get\-Sender\-Id ()}\label{classOptions_049d0dbe0f6ca10cc18d87924fb2322d} + + +\index{Options@{Options}!setSenderId@{setSenderId}} +\index{setSenderId@{setSenderId}!Options@{Options}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf Options} \& Options::set\-Sender\-Id ({\bf sender\_\-id\_\-t} {\em s})}\label{classOptions_d10f65b29130c7e31a332e22f77650b0} + + +\index{Options@{Options}!getLocalAddr@{getLocalAddr}} +\index{getLocalAddr@{getLocalAddr}!Options@{Options}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}std::string Options::get\-Local\-Addr ()}\label{classOptions_0b1ca05363913a66db8dcb829ebc21e2} + + +\index{Options@{Options}!setLocalAddr@{setLocalAddr}} +\index{setLocalAddr@{setLocalAddr}!Options@{Options}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf Options} \& Options::set\-Local\-Addr (std::string {\em l})}\label{classOptions_bf7ebb3ee98c6d31dd5c5b0732188de5} + + +\index{Options@{Options}!getLocalPort@{getLocalPort}} +\index{getLocalPort@{getLocalPort}!Options@{Options}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf u\_\-int16\_\-t} Options::get\-Local\-Port ()}\label{classOptions_44a66c61b99fc0d1a953493a3cd4dcab} + + +\index{Options@{Options}!setLocalPort@{setLocalPort}} +\index{setLocalPort@{setLocalPort}!Options@{Options}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf Options} \& Options::set\-Local\-Port ({\bf u\_\-int16\_\-t} {\em l})}\label{classOptions_a4b5b364bf2880fcbcd3fe059ccde7eb} + + +\index{Options@{Options}!getRemoteAddr@{getRemoteAddr}} +\index{getRemoteAddr@{getRemoteAddr}!Options@{Options}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}std::string Options::get\-Remote\-Addr ()}\label{classOptions_46343d900b4dd2ab8e0a7a2a9274e885} + + +\index{Options@{Options}!setRemoteAddr@{setRemoteAddr}} +\index{setRemoteAddr@{setRemoteAddr}!Options@{Options}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf Options} \& Options::set\-Remote\-Addr (std::string {\em r})}\label{classOptions_d0848af5b5e029a4ea14fe6fb82d3f46} + + +\index{Options@{Options}!getRemotePort@{getRemotePort}} +\index{getRemotePort@{getRemotePort}!Options@{Options}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf u\_\-int16\_\-t} Options::get\-Remote\-Port ()}\label{classOptions_4d2089d4216557810410f31ffa2dfc8b} + + +\index{Options@{Options}!setRemotePort@{setRemotePort}} +\index{setRemotePort@{setRemotePort}!Options@{Options}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf Options} \& Options::set\-Remote\-Port ({\bf u\_\-int16\_\-t} {\em r})}\label{classOptions_cbd3e9a4e230c2537d86127a092efd40} + + +\index{Options@{Options}!setRemoteAddrPort@{setRemoteAddrPort}} +\index{setRemoteAddrPort@{setRemoteAddrPort}!Options@{Options}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf Options} \& Options::set\-Remote\-Addr\-Port (std::string {\em addr}, {\bf u\_\-int16\_\-t} {\em port})}\label{classOptions_79249268d3b284f9e254f874cedeef41} + + +\index{Options@{Options}!getDevName@{getDevName}} +\index{getDevName@{getDevName}!Options@{Options}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}std::string Options::get\-Dev\-Name ()}\label{classOptions_acd35d4f958a4611ba10fc844583b744} + + +\index{Options@{Options}!setDevName@{setDevName}} +\index{setDevName@{setDevName}!Options@{Options}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf Options} \& Options::set\-Dev\-Name (std::string {\em d})}\label{classOptions_8217facd595355be2b4f1130179e3746} + + +\index{Options@{Options}!getDevType@{getDevType}} +\index{getDevType@{getDevType}!Options@{Options}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}std::string Options::get\-Dev\-Type ()}\label{classOptions_0762384e71fb10883a8fe245a389cee6} + + +\index{Options@{Options}!setDevType@{setDevType}} +\index{setDevType@{setDevType}!Options@{Options}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf Options} \& Options::set\-Dev\-Type (std::string {\em d})}\label{classOptions_d2a4cc3b2ecabba72396648a7a07cc29} + + +\index{Options@{Options}!getIfconfigParamLocal@{getIfconfigParamLocal}} +\index{getIfconfigParamLocal@{getIfconfigParamLocal}!Options@{Options}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}std::string Options::get\-Ifconfig\-Param\-Local ()}\label{classOptions_5354b737aa30d786c79f43547c78dc09} + + +\index{Options@{Options}!setIfconfigParamLocal@{setIfconfigParamLocal}} +\index{setIfconfigParamLocal@{setIfconfigParamLocal}!Options@{Options}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf Options} \& Options::set\-Ifconfig\-Param\-Local (std::string {\em i})}\label{classOptions_93e1367e5db67df81d2afac1ee5c6c73} + + +\index{Options@{Options}!getIfconfigParamRemoteNetmask@{getIfconfigParamRemoteNetmask}} +\index{getIfconfigParamRemoteNetmask@{getIfconfigParamRemoteNetmask}!Options@{Options}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}std::string Options::get\-Ifconfig\-Param\-Remote\-Netmask ()}\label{classOptions_ee9e8bcc21c6c8c81fc4ed79991d42d5} + + +\index{Options@{Options}!setIfconfigParamRemoteNetmask@{setIfconfigParamRemoteNetmask}} +\index{setIfconfigParamRemoteNetmask@{setIfconfigParamRemoteNetmask}!Options@{Options}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf Options} \& Options::set\-Ifconfig\-Param\-Remote\-Netmask (std::string {\em i})}\label{classOptions_d0760cecce7395f5022b921642674326} + + +\index{Options@{Options}!getSeqWindowSize@{getSeqWindowSize}} +\index{getSeqWindowSize@{getSeqWindowSize}!Options@{Options}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf window\_\-size\_\-t} Options::get\-Seq\-Window\-Size ()}\label{classOptions_893c688302a091bcf99cb327b23774fa} + + +\index{Options@{Options}!setSeqWindowSize@{setSeqWindowSize}} +\index{setSeqWindowSize@{setSeqWindowSize}!Options@{Options}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf Options} \& Options::set\-Seq\-Window\-Size ({\bf window\_\-size\_\-t} {\em s})}\label{classOptions_077dda754c64b01d6736aa4f7862ce6b} + + +\index{Options@{Options}!getCypher@{getCypher}} +\index{getCypher@{getCypher}!Options@{Options}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}std::string Options::get\-Cypher ()}\label{classOptions_71845d106fb9ccef0f8b682a125f4ffd} + + +\index{Options@{Options}!setCypher@{setCypher}} +\index{setCypher@{setCypher}!Options@{Options}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf Options} \& Options::set\-Cypher (std::string {\em c})}\label{classOptions_b3218cd91b41551042595b5216766c00} + + +\index{Options@{Options}!getAuthAlgo@{getAuthAlgo}} +\index{getAuthAlgo@{getAuthAlgo}!Options@{Options}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}std::string Options::get\-Auth\-Algo ()}\label{classOptions_ee7bd7127b7ab35e287fb479288e9641} + + +\index{Options@{Options}!setAuthAlgo@{setAuthAlgo}} +\index{setAuthAlgo@{setAuthAlgo}!Options@{Options}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf Options} \& Options::set\-Auth\-Algo (std::string {\em a})}\label{classOptions_c093c83be9a50c1dfd5170ff14b647c5} + + + + +\subsection{Member Data Documentation} +\index{Options@{Options}!mutex@{mutex}} +\index{mutex@{mutex}!Options@{Options}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf Mutex} {\bf Options::mutex}\hspace{0.3cm}{\tt [private]}}\label{classOptions_3effd9220086fd43e36884295f89bd7c} + + +\index{Options@{Options}!progname_@{progname\_\-}} +\index{progname_@{progname\_\-}!Options@{Options}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}std::string {\bf Options::progname\_\-}\hspace{0.3cm}{\tt [private]}}\label{classOptions_aed7d0eeae21d7d00eb35dccea48b9f3} + + +\index{Options@{Options}!sender_id_@{sender\_\-id\_\-}} +\index{sender_id_@{sender\_\-id\_\-}!Options@{Options}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf sender\_\-id\_\-t} {\bf Options::sender\_\-id\_\-}\hspace{0.3cm}{\tt [private]}}\label{classOptions_f166d5f4f6fd17c761ac9a6d7e48d362} + + +\index{Options@{Options}!local_addr_@{local\_\-addr\_\-}} +\index{local_addr_@{local\_\-addr\_\-}!Options@{Options}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}std::string {\bf Options::local\_\-addr\_\-}\hspace{0.3cm}{\tt [private]}}\label{classOptions_d331507d07c87908a5b199a209a3e97e} + + +\index{Options@{Options}!local_port_@{local\_\-port\_\-}} +\index{local_port_@{local\_\-port\_\-}!Options@{Options}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf u\_\-int16\_\-t} {\bf Options::local\_\-port\_\-}\hspace{0.3cm}{\tt [private]}}\label{classOptions_744fc32e1b4f5c930251a8b0013f7f0a} + + +\index{Options@{Options}!remote_addr_@{remote\_\-addr\_\-}} +\index{remote_addr_@{remote\_\-addr\_\-}!Options@{Options}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}std::string {\bf Options::remote\_\-addr\_\-}\hspace{0.3cm}{\tt [private]}}\label{classOptions_af81d4d836e3ca1850b8b474d61944de} + + +\index{Options@{Options}!remote_port_@{remote\_\-port\_\-}} +\index{remote_port_@{remote\_\-port\_\-}!Options@{Options}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf u\_\-int16\_\-t} {\bf Options::remote\_\-port\_\-}\hspace{0.3cm}{\tt [private]}}\label{classOptions_8481cdc79ca8bde93af9b945838f4559} + + +\index{Options@{Options}!dev_name_@{dev\_\-name\_\-}} +\index{dev_name_@{dev\_\-name\_\-}!Options@{Options}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}std::string {\bf Options::dev\_\-name\_\-}\hspace{0.3cm}{\tt [private]}}\label{classOptions_3b094d71270549c85ca372f060bfe22c} + + +\index{Options@{Options}!dev_type_@{dev\_\-type\_\-}} +\index{dev_type_@{dev\_\-type\_\-}!Options@{Options}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}std::string {\bf Options::dev\_\-type\_\-}\hspace{0.3cm}{\tt [private]}}\label{classOptions_b0c850a5e29599156af92cf5b3ddff28} + + +\index{Options@{Options}!ifconfig_param_local_@{ifconfig\_\-param\_\-local\_\-}} +\index{ifconfig_param_local_@{ifconfig\_\-param\_\-local\_\-}!Options@{Options}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}std::string {\bf Options::ifconfig\_\-param\_\-local\_\-}\hspace{0.3cm}{\tt [private]}}\label{classOptions_fd0d76c7e1e2fa6fd9ee0538ff9124b0} + + +\index{Options@{Options}!ifconfig_param_remote_netmask_@{ifconfig\_\-param\_\-remote\_\-netmask\_\-}} +\index{ifconfig_param_remote_netmask_@{ifconfig\_\-param\_\-remote\_\-netmask\_\-}!Options@{Options}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}std::string {\bf Options::ifconfig\_\-param\_\-remote\_\-netmask\_\-}\hspace{0.3cm}{\tt [private]}}\label{classOptions_cd2c34152754ab7818ee4bfe3e1b9936} + + +\index{Options@{Options}!seq_window_size_@{seq\_\-window\_\-size\_\-}} +\index{seq_window_size_@{seq\_\-window\_\-size\_\-}!Options@{Options}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf window\_\-size\_\-t} {\bf Options::seq\_\-window\_\-size\_\-}\hspace{0.3cm}{\tt [private]}}\label{classOptions_d2a0398f717a96602f8c402db12699a5} + + +\index{Options@{Options}!cypher_@{cypher\_\-}} +\index{cypher_@{cypher\_\-}!Options@{Options}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}std::string {\bf Options::cypher\_\-}\hspace{0.3cm}{\tt [private]}}\label{classOptions_bba16365a15a6a87c90f85e143bebb5f} + + +\index{Options@{Options}!auth_algo_@{auth\_\-algo\_\-}} +\index{auth_algo_@{auth\_\-algo\_\-}!Options@{Options}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}std::string {\bf Options::auth\_\-algo\_\-}\hspace{0.3cm}{\tt [private]}}\label{classOptions_061ed690bdfa12bfc1094ca18293e97a} + + + + +The documentation for this class was generated from the following files:\begin{CompactItemize} +\item +{\bf options.h}\item +{\bf options.cpp}\end{CompactItemize} diff --git a/doc/latex/classPacket.eps b/doc/latex/classPacket.eps new file mode 100644 index 0000000..b9e6cc8 --- /dev/null +++ b/doc/latex/classPacket.eps @@ -0,0 +1,203 @@ +%!PS-Adobe-2.0 EPSF-2.0 +%%Title: ClassName +%%Creator: Doxygen +%%CreationDate: Time +%%For: +%Magnification: 1.00 +%%Orientation: Portrait +%%BoundingBox: 0 0 500 740.741 +%%Pages: 0 +%%BeginSetup +%%EndSetup +%%EndComments + +% ----- variables ----- + +/boxwidth 0 def +/boxheight 40 def +/fontheight 24 def +/marginwidth 10 def +/distx 20 def +/disty 40 def +/boundaspect 0.675 def % aspect ratio of the BoundingBox (width/height) +/boundx 500 def +/boundy boundx boundaspect div def +/xspacing 0 def +/yspacing 0 def +/rows 3 def +/cols 1 def +/scalefactor 0 def +/boxfont /Times-Roman findfont fontheight scalefont def + +% ----- procedures ----- + +/dotted { [1 4] 0 setdash } def +/dashed { [5] 0 setdash } def +/solid { [] 0 setdash } def + +/max % result = MAX(arg1,arg2) +{ + /a exch def + /b exch def + a b gt {a} {b} ifelse +} def + +/xoffset % result = MAX(0,(scalefactor-(boxwidth*cols+distx*(cols-1)))/2) +{ + 0 scalefactor boxwidth cols mul distx cols 1 sub mul add sub 2 div max +} def + +/cw % boxwidth = MAX(boxwidth, stringwidth(arg1)) +{ + /str exch def + /boxwidth boxwidth str stringwidth pop max def +} def + +/box % draws a box with text `arg1' at grid pos (arg2,arg3) +{ gsave + 2 setlinewidth + newpath + exch xspacing mul xoffset add + exch yspacing mul + moveto + boxwidth 0 rlineto + 0 boxheight rlineto + boxwidth neg 0 rlineto + 0 boxheight neg rlineto + closepath + dup stringwidth pop neg boxwidth add 2 div + boxheight fontheight 2 div sub 2 div + rmoveto show stroke + grestore +} def + +/mark +{ newpath + exch xspacing mul xoffset add boxwidth add + exch yspacing mul + moveto + 0 boxheight 4 div rlineto + boxheight neg 4 div boxheight neg 4 div rlineto + closepath + eofill + stroke +} def + +/arrow +{ newpath + moveto + 3 -8 rlineto + -6 0 rlineto + 3 8 rlineto + closepath + eofill + stroke +} def + +/out % draws an output connector for the block at (arg1,arg2) +{ + newpath + exch xspacing mul xoffset add boxwidth 2 div add + exch yspacing mul boxheight add + /y exch def + /x exch def + x y moveto + 0 disty 2 div rlineto + stroke + 1 eq { x y disty 2 div add arrow } if +} def + +/in % draws an input connector for the block at (arg1,arg2) +{ + newpath + exch xspacing mul xoffset add boxwidth 2 div add + exch yspacing mul disty 2 div sub + /y exch def + /x exch def + x y moveto + 0 disty 2 div rlineto + stroke + 1 eq { x y disty 2 div add arrow } if +} def + +/hedge +{ + exch xspacing mul xoffset add boxwidth 2 div add + exch yspacing mul boxheight 2 div sub + /y exch def + /x exch def + newpath + x y moveto + boxwidth 2 div distx add 0 rlineto + stroke + 1 eq + { newpath x boxwidth 2 div distx add add y moveto + -8 3 rlineto + 0 -6 rlineto + 8 3 rlineto + closepath + eofill + stroke + } if +} def + +/vedge +{ + /ye exch def + /ys exch def + /xs exch def + newpath + xs xspacing mul xoffset add boxwidth 2 div add dup + ys yspacing mul boxheight 2 div sub + moveto + ye yspacing mul boxheight 2 div sub + lineto + stroke +} def + +/conn % connections the blocks from col `arg1' to `arg2' of row `arg3' +{ + /ys exch def + /xe exch def + /xs exch def + newpath + xs xspacing mul xoffset add boxwidth 2 div add + ys yspacing mul disty 2 div sub + moveto + xspacing xe xs sub mul 0 + rlineto + stroke +} def + +% ----- main ------ + +boxfont setfont +1 boundaspect scale +(Packet) cw +(Buffer) cw +(satp::SATP) cw +/boxwidth boxwidth marginwidth 2 mul add def +/xspacing boxwidth distx add def +/yspacing boxheight disty add def +/scalefactor + boxwidth cols mul distx cols 1 sub mul add + boxheight rows mul disty rows 1 sub mul add boundaspect mul + max def +boundx scalefactor div boundy scalefactor div scale + +% ----- classes ----- + + (Packet) 0 1 box + (Buffer) 0 2 box + (satp::SATP) 0 0 box + +% ----- relations ----- + +solid +0 0 1 out +solid +1 0 2 in +solid +1 0 0.25 out +solid +0 0 0.75 in diff --git a/doc/latex/classPacket.tex b/doc/latex/classPacket.tex new file mode 100644 index 0000000..919d64d --- /dev/null +++ b/doc/latex/classPacket.tex @@ -0,0 +1,211 @@ +\section{Packet Class Reference} +\label{classPacket}\index{Packet@{Packet}} +{\tt \#include $<$packet.h$>$} + +Inheritance diagram for Packet::\begin{figure}[H] +\begin{center} +\leavevmode +\includegraphics[height=3cm]{classPacket} +\end{center} +\end{figure} +\subsection*{Public Member Functions} +\begin{CompactItemize} +\item +{\bf Packet} () +\item +{\bf Packet} ({\bf u\_\-int32\_\-t} length) +\item +{\bf Packet} (const {\bf Buffer} \&src) +\item +bool {\bf has\-Header} () const +\item +{\bf Packet} \& {\bf with\-Header} (bool b) +\item +{\bf seq\_\-nr\_\-t} {\bf get\-Seq\-Nr} () const +\item +{\bf sender\_\-id\_\-t} {\bf get\-Sender\-Id} () const +\item +{\bf Packet} \& {\bf add\-Header} ({\bf seq\_\-nr\_\-t} seq\_\-nr, {\bf sender\_\-id\_\-t} sender\_\-id) +\item +{\bf Packet} \& {\bf remove\-Header} () +\item +{\bf Packet} \& {\bf set\-Seq\-Nr} ({\bf seq\_\-nr\_\-t} seq\_\-nr) +\item +{\bf Packet} \& {\bf set\-Sender\-Id} ({\bf sender\_\-id\_\-t} sender\_\-id) +\item +bool {\bf has\-Payload\-Type} () const +\item +{\bf Packet} \& {\bf with\-Payload\-Type} (bool b) +\item +{\bf payload\_\-type\_\-t} {\bf get\-Payload\-Type} () const +\item +{\bf Packet} \& {\bf add\-Payload\-Type} ({\bf payload\_\-type\_\-t} payload\_\-type) +\item +{\bf Packet} \& {\bf remove\-Payload\-Type} () +\item +bool {\bf has\-Auth\-Tag} () const +\item +{\bf Packet} \& {\bf with\-Auth\-Tag} (bool b) +\item +{\bf auth\_\-tag\_\-t} {\bf get\-Auth\-Tag} () const +\item +{\bf Packet} \& {\bf add\-Auth\-Tag} ({\bf auth\_\-tag\_\-t} auth\_\-tag) +\item +{\bf Packet} \& {\bf remove\-Auth\-Tag} () +\end{CompactItemize} +\subsection*{Private Attributes} +\begin{CompactItemize} +\item +{\bf Packet::Header\-Struct} {\bf \_\-\_\-packed\_\-\_\-} +\item +bool {\bf has\_\-header\_\-} +\item +bool {\bf has\_\-payload\_\-type\_\-} +\item +bool {\bf has\_\-auth\_\-tag\_\-} +\end{CompactItemize} +\subsection*{Classes} +\begin{CompactItemize} +\item +struct {\bf Header\-Struct} +\end{CompactItemize} + + +\subsection{Constructor \& Destructor Documentation} +\index{Packet@{Packet}!Packet@{Packet}} +\index{Packet@{Packet}!Packet@{Packet}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}Packet::Packet ()}\label{classPacket_abcfb963c0d5bc0fa554668f92989622} + + +\index{Packet@{Packet}!Packet@{Packet}} +\index{Packet@{Packet}!Packet@{Packet}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}Packet::Packet ({\bf u\_\-int32\_\-t} {\em length})}\label{classPacket_d2a8f6ac3d6de9b541708c4b0c73d04b} + + +\index{Packet@{Packet}!Packet@{Packet}} +\index{Packet@{Packet}!Packet@{Packet}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}Packet::Packet (const {\bf Buffer} \& {\em src})}\label{classPacket_27264b7d411a74ea9a0077bf5f9222b1} + + + + +\subsection{Member Function Documentation} +\index{Packet@{Packet}!hasHeader@{hasHeader}} +\index{hasHeader@{hasHeader}!Packet@{Packet}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}bool Packet::has\-Header () const}\label{classPacket_a004c01dd99179b0a08109dce5fc6b03} + + +\index{Packet@{Packet}!withHeader@{withHeader}} +\index{withHeader@{withHeader}!Packet@{Packet}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf Packet} \& Packet::with\-Header (bool {\em b})}\label{classPacket_ce9e40180f64d44fe1d8da14ac9e5df2} + + +\index{Packet@{Packet}!getSeqNr@{getSeqNr}} +\index{getSeqNr@{getSeqNr}!Packet@{Packet}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf seq\_\-nr\_\-t} Packet::get\-Seq\-Nr () const}\label{classPacket_6572b9df8c1f5f0de9fcb8e5c669de50} + + +\index{Packet@{Packet}!getSenderId@{getSenderId}} +\index{getSenderId@{getSenderId}!Packet@{Packet}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf sender\_\-id\_\-t} Packet::get\-Sender\-Id () const}\label{classPacket_096829acfcf98c3ffff60bd335cbb919} + + +\index{Packet@{Packet}!addHeader@{addHeader}} +\index{addHeader@{addHeader}!Packet@{Packet}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf Packet} \& Packet::add\-Header ({\bf seq\_\-nr\_\-t} {\em seq\_\-nr}, {\bf sender\_\-id\_\-t} {\em sender\_\-id})}\label{classPacket_2a682115c6802d0dd1ebbd3434a3a179} + + +\index{Packet@{Packet}!removeHeader@{removeHeader}} +\index{removeHeader@{removeHeader}!Packet@{Packet}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf Packet} \& Packet::remove\-Header ()}\label{classPacket_24c2a41630d79411086d952c8f732c8c} + + +\index{Packet@{Packet}!setSeqNr@{setSeqNr}} +\index{setSeqNr@{setSeqNr}!Packet@{Packet}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf Packet} \& Packet::set\-Seq\-Nr ({\bf seq\_\-nr\_\-t} {\em seq\_\-nr})}\label{classPacket_1b89ed1be19d6b9c1a12e0f6b1ae8ed2} + + +\index{Packet@{Packet}!setSenderId@{setSenderId}} +\index{setSenderId@{setSenderId}!Packet@{Packet}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf Packet} \& Packet::set\-Sender\-Id ({\bf sender\_\-id\_\-t} {\em sender\_\-id})}\label{classPacket_01c7b848ec415740565c87b374085bdc} + + +\index{Packet@{Packet}!hasPayloadType@{hasPayloadType}} +\index{hasPayloadType@{hasPayloadType}!Packet@{Packet}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}bool Packet::has\-Payload\-Type () const}\label{classPacket_c78b8af0dc7c7badf85e75db0de54800} + + +\index{Packet@{Packet}!withPayloadType@{withPayloadType}} +\index{withPayloadType@{withPayloadType}!Packet@{Packet}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf Packet} \& Packet::with\-Payload\-Type (bool {\em b})}\label{classPacket_c7ecfc05376afd00af89cb328e194a1d} + + +\index{Packet@{Packet}!getPayloadType@{getPayloadType}} +\index{getPayloadType@{getPayloadType}!Packet@{Packet}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf payload\_\-type\_\-t} Packet::get\-Payload\-Type () const}\label{classPacket_ed7f5cc79b40a11eddefd4b421544498} + + +\index{Packet@{Packet}!addPayloadType@{addPayloadType}} +\index{addPayloadType@{addPayloadType}!Packet@{Packet}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf Packet} \& Packet::add\-Payload\-Type ({\bf payload\_\-type\_\-t} {\em payload\_\-type})}\label{classPacket_40849ee3c59a84c3899c409ed392b477} + + +\index{Packet@{Packet}!removePayloadType@{removePayloadType}} +\index{removePayloadType@{removePayloadType}!Packet@{Packet}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf Packet} \& Packet::remove\-Payload\-Type ()}\label{classPacket_6433e4d5eef9216f4e70b338cb4d2e4d} + + +\index{Packet@{Packet}!hasAuthTag@{hasAuthTag}} +\index{hasAuthTag@{hasAuthTag}!Packet@{Packet}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}bool Packet::has\-Auth\-Tag () const}\label{classPacket_bfe50722f18687bb0691061fb0ccb0ff} + + +\index{Packet@{Packet}!withAuthTag@{withAuthTag}} +\index{withAuthTag@{withAuthTag}!Packet@{Packet}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf Packet} \& Packet::with\-Auth\-Tag (bool {\em b})}\label{classPacket_5c947adee9eef0a662a4dc49d95dbe8e} + + +\index{Packet@{Packet}!getAuthTag@{getAuthTag}} +\index{getAuthTag@{getAuthTag}!Packet@{Packet}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf auth\_\-tag\_\-t} Packet::get\-Auth\-Tag () const}\label{classPacket_ba55c639065c177a7006d8392f50eddc} + + +\index{Packet@{Packet}!addAuthTag@{addAuthTag}} +\index{addAuthTag@{addAuthTag}!Packet@{Packet}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf Packet} \& Packet::add\-Auth\-Tag ({\bf auth\_\-tag\_\-t} {\em auth\_\-tag})}\label{classPacket_a7f8bb4bb127aad314eb0f0ef72447ed} + + +\index{Packet@{Packet}!removeAuthTag@{removeAuthTag}} +\index{removeAuthTag@{removeAuthTag}!Packet@{Packet}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf Packet} \& Packet::remove\-Auth\-Tag ()}\label{classPacket_3e3dfca708baf59791f0608b8a57924c} + + + + +\subsection{Member Data Documentation} +\index{Packet@{Packet}!__packed__@{\_\-\_\-packed\_\-\_\-}} +\index{__packed__@{\_\-\_\-packed\_\-\_\-}!Packet@{Packet}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}struct {\bf Packet::Header\-Struct} {\bf Packet::\_\-\_\-packed\_\-\_\-}\hspace{0.3cm}{\tt [private]}}\label{classPacket_11b3534f67df6bb19963e6bc8090230b} + + +\index{Packet@{Packet}!has_header_@{has\_\-header\_\-}} +\index{has_header_@{has\_\-header\_\-}!Packet@{Packet}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}bool {\bf Packet::has\_\-header\_\-}\hspace{0.3cm}{\tt [private]}}\label{classPacket_97b8eb52e7476174a0e91e2ccaf73306} + + +\index{Packet@{Packet}!has_payload_type_@{has\_\-payload\_\-type\_\-}} +\index{has_payload_type_@{has\_\-payload\_\-type\_\-}!Packet@{Packet}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}bool {\bf Packet::has\_\-payload\_\-type\_\-}\hspace{0.3cm}{\tt [private]}}\label{classPacket_235c6c8c7362c46ca33a331713199a17} + + +\index{Packet@{Packet}!has_auth_tag_@{has\_\-auth\_\-tag\_\-}} +\index{has_auth_tag_@{has\_\-auth\_\-tag\_\-}!Packet@{Packet}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}bool {\bf Packet::has\_\-auth\_\-tag\_\-}\hspace{0.3cm}{\tt [private]}}\label{classPacket_849a965c46afc5fa7efe257212197abb} + + + + +The documentation for this class was generated from the following files:\begin{CompactItemize} +\item +{\bf packet.h}\item +{\bf packet.cpp}\end{CompactItemize} diff --git a/doc/latex/classPacketSource.eps b/doc/latex/classPacketSource.eps new file mode 100644 index 0000000..20a1a2e --- /dev/null +++ b/doc/latex/classPacketSource.eps @@ -0,0 +1,197 @@ +%!PS-Adobe-2.0 EPSF-2.0 +%%Title: ClassName +%%Creator: Doxygen +%%CreationDate: Time +%%For: +%Magnification: 1.00 +%%Orientation: Portrait +%%BoundingBox: 0 0 500 322.581 +%%Pages: 0 +%%BeginSetup +%%EndSetup +%%EndComments + +% ----- variables ----- + +/boxwidth 0 def +/boxheight 40 def +/fontheight 24 def +/marginwidth 10 def +/distx 20 def +/disty 40 def +/boundaspect 1.55 def % aspect ratio of the BoundingBox (width/height) +/boundx 500 def +/boundy boundx boundaspect div def +/xspacing 0 def +/yspacing 0 def +/rows 2 def +/cols 1 def +/scalefactor 0 def +/boxfont /Times-Roman findfont fontheight scalefont def + +% ----- procedures ----- + +/dotted { [1 4] 0 setdash } def +/dashed { [5] 0 setdash } def +/solid { [] 0 setdash } def + +/max % result = MAX(arg1,arg2) +{ + /a exch def + /b exch def + a b gt {a} {b} ifelse +} def + +/xoffset % result = MAX(0,(scalefactor-(boxwidth*cols+distx*(cols-1)))/2) +{ + 0 scalefactor boxwidth cols mul distx cols 1 sub mul add sub 2 div max +} def + +/cw % boxwidth = MAX(boxwidth, stringwidth(arg1)) +{ + /str exch def + /boxwidth boxwidth str stringwidth pop max def +} def + +/box % draws a box with text `arg1' at grid pos (arg2,arg3) +{ gsave + 2 setlinewidth + newpath + exch xspacing mul xoffset add + exch yspacing mul + moveto + boxwidth 0 rlineto + 0 boxheight rlineto + boxwidth neg 0 rlineto + 0 boxheight neg rlineto + closepath + dup stringwidth pop neg boxwidth add 2 div + boxheight fontheight 2 div sub 2 div + rmoveto show stroke + grestore +} def + +/mark +{ newpath + exch xspacing mul xoffset add boxwidth add + exch yspacing mul + moveto + 0 boxheight 4 div rlineto + boxheight neg 4 div boxheight neg 4 div rlineto + closepath + eofill + stroke +} def + +/arrow +{ newpath + moveto + 3 -8 rlineto + -6 0 rlineto + 3 8 rlineto + closepath + eofill + stroke +} def + +/out % draws an output connector for the block at (arg1,arg2) +{ + newpath + exch xspacing mul xoffset add boxwidth 2 div add + exch yspacing mul boxheight add + /y exch def + /x exch def + x y moveto + 0 disty 2 div rlineto + stroke + 1 eq { x y disty 2 div add arrow } if +} def + +/in % draws an input connector for the block at (arg1,arg2) +{ + newpath + exch xspacing mul xoffset add boxwidth 2 div add + exch yspacing mul disty 2 div sub + /y exch def + /x exch def + x y moveto + 0 disty 2 div rlineto + stroke + 1 eq { x y disty 2 div add arrow } if +} def + +/hedge +{ + exch xspacing mul xoffset add boxwidth 2 div add + exch yspacing mul boxheight 2 div sub + /y exch def + /x exch def + newpath + x y moveto + boxwidth 2 div distx add 0 rlineto + stroke + 1 eq + { newpath x boxwidth 2 div distx add add y moveto + -8 3 rlineto + 0 -6 rlineto + 8 3 rlineto + closepath + eofill + stroke + } if +} def + +/vedge +{ + /ye exch def + /ys exch def + /xs exch def + newpath + xs xspacing mul xoffset add boxwidth 2 div add dup + ys yspacing mul boxheight 2 div sub + moveto + ye yspacing mul boxheight 2 div sub + lineto + stroke +} def + +/conn % connections the blocks from col `arg1' to `arg2' of row `arg3' +{ + /ys exch def + /xe exch def + /xs exch def + newpath + xs xspacing mul xoffset add boxwidth 2 div add + ys yspacing mul disty 2 div sub + moveto + xspacing xe xs sub mul 0 + rlineto + stroke +} def + +% ----- main ------ + +boxfont setfont +1 boundaspect scale +(PacketSource) cw +(UDPPacketSource) cw +/boxwidth boxwidth marginwidth 2 mul add def +/xspacing boxwidth distx add def +/yspacing boxheight disty add def +/scalefactor + boxwidth cols mul distx cols 1 sub mul add + boxheight rows mul disty rows 1 sub mul add boundaspect mul + max def +boundx scalefactor div boundy scalefactor div scale + +% ----- classes ----- + + (PacketSource) 0 1 box + (UDPPacketSource) 0 0 box + +% ----- relations ----- + +solid +1 0 0.25 out +solid +0 0 0.75 in diff --git a/doc/latex/classPacketSource.tex b/doc/latex/classPacketSource.tex new file mode 100644 index 0000000..7928c85 --- /dev/null +++ b/doc/latex/classPacketSource.tex @@ -0,0 +1,49 @@ +\section{Packet\-Source Class Reference} +\label{classPacketSource}\index{PacketSource@{PacketSource}} +{\tt \#include $<$packet\-Source.h$>$} + +Inheritance diagram for Packet\-Source::\begin{figure}[H] +\begin{center} +\leavevmode +\includegraphics[height=2cm]{classPacketSource} +\end{center} +\end{figure} +\subsection*{Public Member Functions} +\begin{CompactItemize} +\item +virtual {\bf $\sim$Packet\-Source} () +\item +virtual {\bf u\_\-int32\_\-t} {\bf recv} ({\bf Buffer} \&buf, std::string \&addr, {\bf u\_\-int16\_\-t} \&port)=0 +\item +virtual void {\bf send} ({\bf Buffer} \&buf, std::string addr, {\bf u\_\-int16\_\-t} port)=0 +\end{CompactItemize} + + +\subsection{Constructor \& Destructor Documentation} +\index{PacketSource@{Packet\-Source}!~PacketSource@{$\sim$PacketSource}} +\index{~PacketSource@{$\sim$PacketSource}!PacketSource@{Packet\-Source}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}virtual Packet\-Source::$\sim$Packet\-Source ()\hspace{0.3cm}{\tt [inline, virtual]}}\label{classPacketSource_fdaad665e453cf5a047935b07a050ef4} + + + + +\subsection{Member Function Documentation} +\index{PacketSource@{Packet\-Source}!recv@{recv}} +\index{recv@{recv}!PacketSource@{Packet\-Source}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}virtual {\bf u\_\-int32\_\-t} Packet\-Source::recv ({\bf Buffer} \& {\em buf}, std::string \& {\em addr}, {\bf u\_\-int16\_\-t} \& {\em port})\hspace{0.3cm}{\tt [pure virtual]}}\label{classPacketSource_95901be715656540a7273c6c0dc1234e} + + + + +Implemented in {\bf UDPPacket\-Source} \doxyref{}{p.}{classUDPPacketSource_a1f7daded0f9ead5599160bae9317eb8}.\index{PacketSource@{Packet\-Source}!send@{send}} +\index{send@{send}!PacketSource@{Packet\-Source}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}virtual void Packet\-Source::send ({\bf Buffer} \& {\em buf}, std::string {\em addr}, {\bf u\_\-int16\_\-t} {\em port})\hspace{0.3cm}{\tt [pure virtual]}}\label{classPacketSource_ffc5eb2c89d1395443432c3cc6b7898b} + + + + +Implemented in {\bf UDPPacket\-Source} \doxyref{}{p.}{classUDPPacketSource_376a3b0c861aeb7561e8a9f6866292b9}. + +The documentation for this class was generated from the following file:\begin{CompactItemize} +\item +{\bf packet\-Source.h}\end{CompactItemize} diff --git a/doc/latex/classSemaphore.tex b/doc/latex/classSemaphore.tex new file mode 100644 index 0000000..6a4e907 --- /dev/null +++ b/doc/latex/classSemaphore.tex @@ -0,0 +1,59 @@ +\section{Semaphore Class Reference} +\label{classSemaphore}\index{Semaphore@{Semaphore}} +{\tt \#include $<$thread\-Utils.hpp$>$} + +\subsection*{Public Member Functions} +\begin{CompactItemize} +\item +{\bf Semaphore} (unsigned int init\-Val=0) +\item +{\bf $\sim$Semaphore} () +\item +void {\bf down} () +\item +void {\bf up} () +\end{CompactItemize} +\subsection*{Private Attributes} +\begin{CompactItemize} +\item +sem\_\-t {\bf sem} +\end{CompactItemize} + + +\subsection{Constructor \& Destructor Documentation} +\index{Semaphore@{Semaphore}!Semaphore@{Semaphore}} +\index{Semaphore@{Semaphore}!Semaphore@{Semaphore}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}Semaphore::Semaphore (unsigned int {\em init\-Val} = {\tt 0})\hspace{0.3cm}{\tt [inline]}}\label{classSemaphore_570698c680a467b9b0a708635149d54a} + + +\index{Semaphore@{Semaphore}!~Semaphore@{$\sim$Semaphore}} +\index{~Semaphore@{$\sim$Semaphore}!Semaphore@{Semaphore}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}Semaphore::$\sim$Semaphore ()\hspace{0.3cm}{\tt [inline]}}\label{classSemaphore_633658a6fde276bffc912028725c6ade} + + + + +\subsection{Member Function Documentation} +\index{Semaphore@{Semaphore}!down@{down}} +\index{down@{down}!Semaphore@{Semaphore}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void Semaphore::down ()\hspace{0.3cm}{\tt [inline]}}\label{classSemaphore_71126a13a22f2722e22a2b69860a5371} + + +\index{Semaphore@{Semaphore}!up@{up}} +\index{up@{up}!Semaphore@{Semaphore}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void Semaphore::up ()\hspace{0.3cm}{\tt [inline]}}\label{classSemaphore_15fb190263808234fc2562f39f523082} + + + + +\subsection{Member Data Documentation} +\index{Semaphore@{Semaphore}!sem@{sem}} +\index{sem@{sem}!Semaphore@{Semaphore}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}sem\_\-t {\bf Semaphore::sem}\hspace{0.3cm}{\tt [private]}}\label{classSemaphore_23e62b0971c229ddf106e3ff71d688d6} + + + + +The documentation for this class was generated from the following file:\begin{CompactItemize} +\item +{\bf thread\-Utils.hpp}\end{CompactItemize} diff --git a/doc/latex/classSeqWindow.tex b/doc/latex/classSeqWindow.tex new file mode 100644 index 0000000..574e860 --- /dev/null +++ b/doc/latex/classSeqWindow.tex @@ -0,0 +1,132 @@ +\section{Seq\-Window Class Reference} +\label{classSeqWindow}\index{SeqWindow@{SeqWindow}} +{\tt \#include $<$seq\-Window.h$>$} + +\subsection*{Public Types} +\begin{CompactItemize} +\item +typedef std::deque$<$ {\bf seq\_\-nr\_\-t} $>$ {\bf Seq\-Deque} +\item +typedef std::map$<$ {\bf sender\_\-id\_\-t}, {\bf Seq\-Deque} $>$ {\bf Sender\-Map} +\end{CompactItemize} +\subsection*{Public Member Functions} +\begin{CompactItemize} +\item +{\bf Seq\-Window} ({\bf window\_\-size\_\-t} w) +\item +{\bf $\sim$Seq\-Window} () +\item +Seq\-Deque::size\_\-type {\bf get\-Length} ({\bf sender\_\-id\_\-t} sender) +\item +bool {\bf has\-Seq\-Nr} ({\bf sender\_\-id\_\-t} sender, {\bf seq\_\-nr\_\-t} seq) +\item +void {\bf add\-Seq\-Nr} ({\bf sender\_\-id\_\-t} sender, {\bf seq\_\-nr\_\-t} seq) +\item +void {\bf clear} ({\bf sender\_\-id\_\-t} sender) +\item +void {\bf clear} () +\end{CompactItemize} +\subsection*{Private Member Functions} +\begin{CompactItemize} +\item +{\bf Seq\-Window} (const {\bf Seq\-Window} \&s) +\item +void {\bf operator=} (const {\bf Seq\-Window} \&s) +\end{CompactItemize} +\subsection*{Private Attributes} +\begin{CompactItemize} +\item +{\bf window\_\-size\_\-t} {\bf window\_\-size\_\-} +\item +{\bf Mutex} {\bf mutex\_\-} +\item +{\bf Sender\-Map} {\bf sender\_\-} +\end{CompactItemize} + + +\subsection{Member Typedef Documentation} +\index{SeqWindow@{Seq\-Window}!SeqDeque@{SeqDeque}} +\index{SeqDeque@{SeqDeque}!SeqWindow@{Seq\-Window}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}typedef std::deque$<${\bf seq\_\-nr\_\-t}$>$ {\bf Seq\-Window::Seq\-Deque}}\label{classSeqWindow_cf2d07003c8ca868146cffb4dd1d5ca7} + + +\index{SeqWindow@{Seq\-Window}!SenderMap@{SenderMap}} +\index{SenderMap@{SenderMap}!SeqWindow@{Seq\-Window}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}typedef std::map$<${\bf sender\_\-id\_\-t}, {\bf Seq\-Deque}$>$ {\bf Seq\-Window::Sender\-Map}}\label{classSeqWindow_127195f139c8d5d07ed93799c2d6821a} + + + + +\subsection{Constructor \& Destructor Documentation} +\index{SeqWindow@{Seq\-Window}!SeqWindow@{SeqWindow}} +\index{SeqWindow@{SeqWindow}!SeqWindow@{Seq\-Window}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}Seq\-Window::Seq\-Window ({\bf window\_\-size\_\-t} {\em w})}\label{classSeqWindow_8d513ab9ef2984ea93dad7e4026185c8} + + +\index{SeqWindow@{Seq\-Window}!~SeqWindow@{$\sim$SeqWindow}} +\index{~SeqWindow@{$\sim$SeqWindow}!SeqWindow@{Seq\-Window}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}Seq\-Window::$\sim$Seq\-Window ()}\label{classSeqWindow_d125bcc4751a746427f04dda7fd65a10} + + +\index{SeqWindow@{Seq\-Window}!SeqWindow@{SeqWindow}} +\index{SeqWindow@{SeqWindow}!SeqWindow@{Seq\-Window}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}Seq\-Window::Seq\-Window (const {\bf Seq\-Window} \& {\em s})\hspace{0.3cm}{\tt [private]}}\label{classSeqWindow_7a30b232f312d843b8d188cae01fef28} + + + + +\subsection{Member Function Documentation} +\index{SeqWindow@{Seq\-Window}!getLength@{getLength}} +\index{getLength@{getLength}!SeqWindow@{Seq\-Window}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}Seq\-Window::Seq\-Deque::size\_\-type Seq\-Window::get\-Length ({\bf sender\_\-id\_\-t} {\em sender})}\label{classSeqWindow_5d39959927c79c54d133ed77b297ad7c} + + +\index{SeqWindow@{Seq\-Window}!hasSeqNr@{hasSeqNr}} +\index{hasSeqNr@{hasSeqNr}!SeqWindow@{Seq\-Window}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}bool Seq\-Window::has\-Seq\-Nr ({\bf sender\_\-id\_\-t} {\em sender}, {\bf seq\_\-nr\_\-t} {\em seq})}\label{classSeqWindow_9e7714dda181863420c38975bd505aff} + + +\index{SeqWindow@{Seq\-Window}!addSeqNr@{addSeqNr}} +\index{addSeqNr@{addSeqNr}!SeqWindow@{Seq\-Window}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void Seq\-Window::add\-Seq\-Nr ({\bf sender\_\-id\_\-t} {\em sender}, {\bf seq\_\-nr\_\-t} {\em seq})}\label{classSeqWindow_255ca0fca3e701bd9e18d9fcb2c022a2} + + +\index{SeqWindow@{Seq\-Window}!clear@{clear}} +\index{clear@{clear}!SeqWindow@{Seq\-Window}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void Seq\-Window::clear ({\bf sender\_\-id\_\-t} {\em sender})}\label{classSeqWindow_e9774163b8f7ac0ec081d1ba5b2daed2} + + +\index{SeqWindow@{Seq\-Window}!clear@{clear}} +\index{clear@{clear}!SeqWindow@{Seq\-Window}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void Seq\-Window::clear ()}\label{classSeqWindow_b1a03fe152c7c94ff3f05005d595b424} + + +\index{SeqWindow@{Seq\-Window}!operator=@{operator=}} +\index{operator=@{operator=}!SeqWindow@{Seq\-Window}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void Seq\-Window::operator= (const {\bf Seq\-Window} \& {\em s})\hspace{0.3cm}{\tt [private]}}\label{classSeqWindow_37887e66297163fe301c77f2977a2a2b} + + + + +\subsection{Member Data Documentation} +\index{SeqWindow@{Seq\-Window}!window_size_@{window\_\-size\_\-}} +\index{window_size_@{window\_\-size\_\-}!SeqWindow@{Seq\-Window}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf window\_\-size\_\-t} {\bf Seq\-Window::window\_\-size\_\-}\hspace{0.3cm}{\tt [private]}}\label{classSeqWindow_ef85ba28f8a655dc8c8d34aeddb8eea0} + + +\index{SeqWindow@{Seq\-Window}!mutex_@{mutex\_\-}} +\index{mutex_@{mutex\_\-}!SeqWindow@{Seq\-Window}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf Mutex} {\bf Seq\-Window::mutex\_\-}\hspace{0.3cm}{\tt [private]}}\label{classSeqWindow_87ec44a9a7398ecbcb92d90ba95b37a0} + + +\index{SeqWindow@{Seq\-Window}!sender_@{sender\_\-}} +\index{sender_@{sender\_\-}!SeqWindow@{Seq\-Window}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf Sender\-Map} {\bf Seq\-Window::sender\_\-}\hspace{0.3cm}{\tt [private]}}\label{classSeqWindow_8bfc3742cacc75e9a72de13ff6ad98a2} + + + + +The documentation for this class was generated from the following files:\begin{CompactItemize} +\item +{\bf seq\-Window.h}\item +{\bf seq\-Window.cpp}\end{CompactItemize} diff --git a/doc/latex/classSigHupHandler.eps b/doc/latex/classSigHupHandler.eps new file mode 100644 index 0000000..e13b22b --- /dev/null +++ b/doc/latex/classSigHupHandler.eps @@ -0,0 +1,197 @@ +%!PS-Adobe-2.0 EPSF-2.0 +%%Title: ClassName +%%Creator: Doxygen +%%CreationDate: Time +%%For: +%Magnification: 1.00 +%%Orientation: Portrait +%%BoundingBox: 0 0 500 377.358 +%%Pages: 0 +%%BeginSetup +%%EndSetup +%%EndComments + +% ----- variables ----- + +/boxwidth 0 def +/boxheight 40 def +/fontheight 24 def +/marginwidth 10 def +/distx 20 def +/disty 40 def +/boundaspect 1.325 def % aspect ratio of the BoundingBox (width/height) +/boundx 500 def +/boundy boundx boundaspect div def +/xspacing 0 def +/yspacing 0 def +/rows 2 def +/cols 1 def +/scalefactor 0 def +/boxfont /Times-Roman findfont fontheight scalefont def + +% ----- procedures ----- + +/dotted { [1 4] 0 setdash } def +/dashed { [5] 0 setdash } def +/solid { [] 0 setdash } def + +/max % result = MAX(arg1,arg2) +{ + /a exch def + /b exch def + a b gt {a} {b} ifelse +} def + +/xoffset % result = MAX(0,(scalefactor-(boxwidth*cols+distx*(cols-1)))/2) +{ + 0 scalefactor boxwidth cols mul distx cols 1 sub mul add sub 2 div max +} def + +/cw % boxwidth = MAX(boxwidth, stringwidth(arg1)) +{ + /str exch def + /boxwidth boxwidth str stringwidth pop max def +} def + +/box % draws a box with text `arg1' at grid pos (arg2,arg3) +{ gsave + 2 setlinewidth + newpath + exch xspacing mul xoffset add + exch yspacing mul + moveto + boxwidth 0 rlineto + 0 boxheight rlineto + boxwidth neg 0 rlineto + 0 boxheight neg rlineto + closepath + dup stringwidth pop neg boxwidth add 2 div + boxheight fontheight 2 div sub 2 div + rmoveto show stroke + grestore +} def + +/mark +{ newpath + exch xspacing mul xoffset add boxwidth add + exch yspacing mul + moveto + 0 boxheight 4 div rlineto + boxheight neg 4 div boxheight neg 4 div rlineto + closepath + eofill + stroke +} def + +/arrow +{ newpath + moveto + 3 -8 rlineto + -6 0 rlineto + 3 8 rlineto + closepath + eofill + stroke +} def + +/out % draws an output connector for the block at (arg1,arg2) +{ + newpath + exch xspacing mul xoffset add boxwidth 2 div add + exch yspacing mul boxheight add + /y exch def + /x exch def + x y moveto + 0 disty 2 div rlineto + stroke + 1 eq { x y disty 2 div add arrow } if +} def + +/in % draws an input connector for the block at (arg1,arg2) +{ + newpath + exch xspacing mul xoffset add boxwidth 2 div add + exch yspacing mul disty 2 div sub + /y exch def + /x exch def + x y moveto + 0 disty 2 div rlineto + stroke + 1 eq { x y disty 2 div add arrow } if +} def + +/hedge +{ + exch xspacing mul xoffset add boxwidth 2 div add + exch yspacing mul boxheight 2 div sub + /y exch def + /x exch def + newpath + x y moveto + boxwidth 2 div distx add 0 rlineto + stroke + 1 eq + { newpath x boxwidth 2 div distx add add y moveto + -8 3 rlineto + 0 -6 rlineto + 8 3 rlineto + closepath + eofill + stroke + } if +} def + +/vedge +{ + /ye exch def + /ys exch def + /xs exch def + newpath + xs xspacing mul xoffset add boxwidth 2 div add dup + ys yspacing mul boxheight 2 div sub + moveto + ye yspacing mul boxheight 2 div sub + lineto + stroke +} def + +/conn % connections the blocks from col `arg1' to `arg2' of row `arg3' +{ + /ys exch def + /xe exch def + /xs exch def + newpath + xs xspacing mul xoffset add boxwidth 2 div add + ys yspacing mul disty 2 div sub + moveto + xspacing xe xs sub mul 0 + rlineto + stroke +} def + +% ----- main ------ + +boxfont setfont +1 boundaspect scale +(SigHupHandler) cw +(SignalHandler) cw +/boxwidth boxwidth marginwidth 2 mul add def +/xspacing boxwidth distx add def +/yspacing boxheight disty add def +/scalefactor + boxwidth cols mul distx cols 1 sub mul add + boxheight rows mul disty rows 1 sub mul add boundaspect mul + max def +boundx scalefactor div boundy scalefactor div scale + +% ----- classes ----- + + (SigHupHandler) 0 0 box + (SignalHandler) 0 1 box + +% ----- relations ----- + +solid +0 0 0 out +solid +1 0 1 in diff --git a/doc/latex/classSigHupHandler.tex b/doc/latex/classSigHupHandler.tex new file mode 100644 index 0000000..caf68b4 --- /dev/null +++ b/doc/latex/classSigHupHandler.tex @@ -0,0 +1,41 @@ +\section{Sig\-Hup\-Handler Class Reference} +\label{classSigHupHandler}\index{SigHupHandler@{SigHupHandler}} +{\tt \#include $<$signal\-Controller.h$>$} + +Inheritance diagram for Sig\-Hup\-Handler::\begin{figure}[H] +\begin{center} +\leavevmode +\includegraphics[height=2cm]{classSigHupHandler} +\end{center} +\end{figure} +\subsection*{Public Member Functions} +\begin{CompactItemize} +\item +{\bf Sig\-Hup\-Handler} () +\item +int {\bf handle} () +\end{CompactItemize} + + +\subsection{Constructor \& Destructor Documentation} +\index{SigHupHandler@{Sig\-Hup\-Handler}!SigHupHandler@{SigHupHandler}} +\index{SigHupHandler@{SigHupHandler}!SigHupHandler@{Sig\-Hup\-Handler}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}Sig\-Hup\-Handler::Sig\-Hup\-Handler ()\hspace{0.3cm}{\tt [inline]}}\label{classSigHupHandler_a1ee03b63ca11d8b5aae82fae1f2d6a3} + + + + +\subsection{Member Function Documentation} +\index{SigHupHandler@{Sig\-Hup\-Handler}!handle@{handle}} +\index{handle@{handle}!SigHupHandler@{Sig\-Hup\-Handler}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}int Sig\-Hup\-Handler::handle ()\hspace{0.3cm}{\tt [virtual]}}\label{classSigHupHandler_84734b7f79663badeedb720896302d4e} + + + + +Reimplemented from {\bf Signal\-Handler} \doxyref{}{p.}{classSignalHandler_e3dbda0de9b4aa4544390818a0d29e28}. + +The documentation for this class was generated from the following files:\begin{CompactItemize} +\item +{\bf signal\-Controller.h}\item +{\bf signal\-Controller.cpp}\end{CompactItemize} diff --git a/doc/latex/classSigIntHandler.eps b/doc/latex/classSigIntHandler.eps new file mode 100644 index 0000000..52e8798 --- /dev/null +++ b/doc/latex/classSigIntHandler.eps @@ -0,0 +1,197 @@ +%!PS-Adobe-2.0 EPSF-2.0 +%%Title: ClassName +%%Creator: Doxygen +%%CreationDate: Time +%%For: +%Magnification: 1.00 +%%Orientation: Portrait +%%BoundingBox: 0 0 500 400 +%%Pages: 0 +%%BeginSetup +%%EndSetup +%%EndComments + +% ----- variables ----- + +/boxwidth 0 def +/boxheight 40 def +/fontheight 24 def +/marginwidth 10 def +/distx 20 def +/disty 40 def +/boundaspect 1.25 def % aspect ratio of the BoundingBox (width/height) +/boundx 500 def +/boundy boundx boundaspect div def +/xspacing 0 def +/yspacing 0 def +/rows 2 def +/cols 1 def +/scalefactor 0 def +/boxfont /Times-Roman findfont fontheight scalefont def + +% ----- procedures ----- + +/dotted { [1 4] 0 setdash } def +/dashed { [5] 0 setdash } def +/solid { [] 0 setdash } def + +/max % result = MAX(arg1,arg2) +{ + /a exch def + /b exch def + a b gt {a} {b} ifelse +} def + +/xoffset % result = MAX(0,(scalefactor-(boxwidth*cols+distx*(cols-1)))/2) +{ + 0 scalefactor boxwidth cols mul distx cols 1 sub mul add sub 2 div max +} def + +/cw % boxwidth = MAX(boxwidth, stringwidth(arg1)) +{ + /str exch def + /boxwidth boxwidth str stringwidth pop max def +} def + +/box % draws a box with text `arg1' at grid pos (arg2,arg3) +{ gsave + 2 setlinewidth + newpath + exch xspacing mul xoffset add + exch yspacing mul + moveto + boxwidth 0 rlineto + 0 boxheight rlineto + boxwidth neg 0 rlineto + 0 boxheight neg rlineto + closepath + dup stringwidth pop neg boxwidth add 2 div + boxheight fontheight 2 div sub 2 div + rmoveto show stroke + grestore +} def + +/mark +{ newpath + exch xspacing mul xoffset add boxwidth add + exch yspacing mul + moveto + 0 boxheight 4 div rlineto + boxheight neg 4 div boxheight neg 4 div rlineto + closepath + eofill + stroke +} def + +/arrow +{ newpath + moveto + 3 -8 rlineto + -6 0 rlineto + 3 8 rlineto + closepath + eofill + stroke +} def + +/out % draws an output connector for the block at (arg1,arg2) +{ + newpath + exch xspacing mul xoffset add boxwidth 2 div add + exch yspacing mul boxheight add + /y exch def + /x exch def + x y moveto + 0 disty 2 div rlineto + stroke + 1 eq { x y disty 2 div add arrow } if +} def + +/in % draws an input connector for the block at (arg1,arg2) +{ + newpath + exch xspacing mul xoffset add boxwidth 2 div add + exch yspacing mul disty 2 div sub + /y exch def + /x exch def + x y moveto + 0 disty 2 div rlineto + stroke + 1 eq { x y disty 2 div add arrow } if +} def + +/hedge +{ + exch xspacing mul xoffset add boxwidth 2 div add + exch yspacing mul boxheight 2 div sub + /y exch def + /x exch def + newpath + x y moveto + boxwidth 2 div distx add 0 rlineto + stroke + 1 eq + { newpath x boxwidth 2 div distx add add y moveto + -8 3 rlineto + 0 -6 rlineto + 8 3 rlineto + closepath + eofill + stroke + } if +} def + +/vedge +{ + /ye exch def + /ys exch def + /xs exch def + newpath + xs xspacing mul xoffset add boxwidth 2 div add dup + ys yspacing mul boxheight 2 div sub + moveto + ye yspacing mul boxheight 2 div sub + lineto + stroke +} def + +/conn % connections the blocks from col `arg1' to `arg2' of row `arg3' +{ + /ys exch def + /xe exch def + /xs exch def + newpath + xs xspacing mul xoffset add boxwidth 2 div add + ys yspacing mul disty 2 div sub + moveto + xspacing xe xs sub mul 0 + rlineto + stroke +} def + +% ----- main ------ + +boxfont setfont +1 boundaspect scale +(SigIntHandler) cw +(SignalHandler) cw +/boxwidth boxwidth marginwidth 2 mul add def +/xspacing boxwidth distx add def +/yspacing boxheight disty add def +/scalefactor + boxwidth cols mul distx cols 1 sub mul add + boxheight rows mul disty rows 1 sub mul add boundaspect mul + max def +boundx scalefactor div boundy scalefactor div scale + +% ----- classes ----- + + (SigIntHandler) 0 0 box + (SignalHandler) 0 1 box + +% ----- relations ----- + +solid +0 0 0 out +solid +1 0 1 in diff --git a/doc/latex/classSigIntHandler.tex b/doc/latex/classSigIntHandler.tex new file mode 100644 index 0000000..e618e9f --- /dev/null +++ b/doc/latex/classSigIntHandler.tex @@ -0,0 +1,41 @@ +\section{Sig\-Int\-Handler Class Reference} +\label{classSigIntHandler}\index{SigIntHandler@{SigIntHandler}} +{\tt \#include $<$signal\-Controller.h$>$} + +Inheritance diagram for Sig\-Int\-Handler::\begin{figure}[H] +\begin{center} +\leavevmode +\includegraphics[height=2cm]{classSigIntHandler} +\end{center} +\end{figure} +\subsection*{Public Member Functions} +\begin{CompactItemize} +\item +{\bf Sig\-Int\-Handler} () +\item +int {\bf handle} () +\end{CompactItemize} + + +\subsection{Constructor \& Destructor Documentation} +\index{SigIntHandler@{Sig\-Int\-Handler}!SigIntHandler@{SigIntHandler}} +\index{SigIntHandler@{SigIntHandler}!SigIntHandler@{Sig\-Int\-Handler}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}Sig\-Int\-Handler::Sig\-Int\-Handler ()\hspace{0.3cm}{\tt [inline]}}\label{classSigIntHandler_ac25b5ac048a76d4c0c26d5ad4c4273d} + + + + +\subsection{Member Function Documentation} +\index{SigIntHandler@{Sig\-Int\-Handler}!handle@{handle}} +\index{handle@{handle}!SigIntHandler@{Sig\-Int\-Handler}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}int Sig\-Int\-Handler::handle ()\hspace{0.3cm}{\tt [virtual]}}\label{classSigIntHandler_6a7d9a841a5c9b1f50041a8c37774063} + + + + +Reimplemented from {\bf Signal\-Handler} \doxyref{}{p.}{classSignalHandler_e3dbda0de9b4aa4544390818a0d29e28}. + +The documentation for this class was generated from the following files:\begin{CompactItemize} +\item +{\bf signal\-Controller.h}\item +{\bf signal\-Controller.cpp}\end{CompactItemize} diff --git a/doc/latex/classSigQuitHandler.eps b/doc/latex/classSigQuitHandler.eps new file mode 100644 index 0000000..6218837 --- /dev/null +++ b/doc/latex/classSigQuitHandler.eps @@ -0,0 +1,197 @@ +%!PS-Adobe-2.0 EPSF-2.0 +%%Title: ClassName +%%Creator: Doxygen +%%CreationDate: Time +%%For: +%Magnification: 1.00 +%%Orientation: Portrait +%%BoundingBox: 0 0 500 377.358 +%%Pages: 0 +%%BeginSetup +%%EndSetup +%%EndComments + +% ----- variables ----- + +/boxwidth 0 def +/boxheight 40 def +/fontheight 24 def +/marginwidth 10 def +/distx 20 def +/disty 40 def +/boundaspect 1.325 def % aspect ratio of the BoundingBox (width/height) +/boundx 500 def +/boundy boundx boundaspect div def +/xspacing 0 def +/yspacing 0 def +/rows 2 def +/cols 1 def +/scalefactor 0 def +/boxfont /Times-Roman findfont fontheight scalefont def + +% ----- procedures ----- + +/dotted { [1 4] 0 setdash } def +/dashed { [5] 0 setdash } def +/solid { [] 0 setdash } def + +/max % result = MAX(arg1,arg2) +{ + /a exch def + /b exch def + a b gt {a} {b} ifelse +} def + +/xoffset % result = MAX(0,(scalefactor-(boxwidth*cols+distx*(cols-1)))/2) +{ + 0 scalefactor boxwidth cols mul distx cols 1 sub mul add sub 2 div max +} def + +/cw % boxwidth = MAX(boxwidth, stringwidth(arg1)) +{ + /str exch def + /boxwidth boxwidth str stringwidth pop max def +} def + +/box % draws a box with text `arg1' at grid pos (arg2,arg3) +{ gsave + 2 setlinewidth + newpath + exch xspacing mul xoffset add + exch yspacing mul + moveto + boxwidth 0 rlineto + 0 boxheight rlineto + boxwidth neg 0 rlineto + 0 boxheight neg rlineto + closepath + dup stringwidth pop neg boxwidth add 2 div + boxheight fontheight 2 div sub 2 div + rmoveto show stroke + grestore +} def + +/mark +{ newpath + exch xspacing mul xoffset add boxwidth add + exch yspacing mul + moveto + 0 boxheight 4 div rlineto + boxheight neg 4 div boxheight neg 4 div rlineto + closepath + eofill + stroke +} def + +/arrow +{ newpath + moveto + 3 -8 rlineto + -6 0 rlineto + 3 8 rlineto + closepath + eofill + stroke +} def + +/out % draws an output connector for the block at (arg1,arg2) +{ + newpath + exch xspacing mul xoffset add boxwidth 2 div add + exch yspacing mul boxheight add + /y exch def + /x exch def + x y moveto + 0 disty 2 div rlineto + stroke + 1 eq { x y disty 2 div add arrow } if +} def + +/in % draws an input connector for the block at (arg1,arg2) +{ + newpath + exch xspacing mul xoffset add boxwidth 2 div add + exch yspacing mul disty 2 div sub + /y exch def + /x exch def + x y moveto + 0 disty 2 div rlineto + stroke + 1 eq { x y disty 2 div add arrow } if +} def + +/hedge +{ + exch xspacing mul xoffset add boxwidth 2 div add + exch yspacing mul boxheight 2 div sub + /y exch def + /x exch def + newpath + x y moveto + boxwidth 2 div distx add 0 rlineto + stroke + 1 eq + { newpath x boxwidth 2 div distx add add y moveto + -8 3 rlineto + 0 -6 rlineto + 8 3 rlineto + closepath + eofill + stroke + } if +} def + +/vedge +{ + /ye exch def + /ys exch def + /xs exch def + newpath + xs xspacing mul xoffset add boxwidth 2 div add dup + ys yspacing mul boxheight 2 div sub + moveto + ye yspacing mul boxheight 2 div sub + lineto + stroke +} def + +/conn % connections the blocks from col `arg1' to `arg2' of row `arg3' +{ + /ys exch def + /xe exch def + /xs exch def + newpath + xs xspacing mul xoffset add boxwidth 2 div add + ys yspacing mul disty 2 div sub + moveto + xspacing xe xs sub mul 0 + rlineto + stroke +} def + +% ----- main ------ + +boxfont setfont +1 boundaspect scale +(SigQuitHandler) cw +(SignalHandler) cw +/boxwidth boxwidth marginwidth 2 mul add def +/xspacing boxwidth distx add def +/yspacing boxheight disty add def +/scalefactor + boxwidth cols mul distx cols 1 sub mul add + boxheight rows mul disty rows 1 sub mul add boundaspect mul + max def +boundx scalefactor div boundy scalefactor div scale + +% ----- classes ----- + + (SigQuitHandler) 0 0 box + (SignalHandler) 0 1 box + +% ----- relations ----- + +solid +0 0 0 out +solid +1 0 1 in diff --git a/doc/latex/classSigQuitHandler.tex b/doc/latex/classSigQuitHandler.tex new file mode 100644 index 0000000..cb1d255 --- /dev/null +++ b/doc/latex/classSigQuitHandler.tex @@ -0,0 +1,41 @@ +\section{Sig\-Quit\-Handler Class Reference} +\label{classSigQuitHandler}\index{SigQuitHandler@{SigQuitHandler}} +{\tt \#include $<$signal\-Controller.h$>$} + +Inheritance diagram for Sig\-Quit\-Handler::\begin{figure}[H] +\begin{center} +\leavevmode +\includegraphics[height=2cm]{classSigQuitHandler} +\end{center} +\end{figure} +\subsection*{Public Member Functions} +\begin{CompactItemize} +\item +{\bf Sig\-Quit\-Handler} () +\item +int {\bf handle} () +\end{CompactItemize} + + +\subsection{Constructor \& Destructor Documentation} +\index{SigQuitHandler@{Sig\-Quit\-Handler}!SigQuitHandler@{SigQuitHandler}} +\index{SigQuitHandler@{SigQuitHandler}!SigQuitHandler@{Sig\-Quit\-Handler}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}Sig\-Quit\-Handler::Sig\-Quit\-Handler ()\hspace{0.3cm}{\tt [inline]}}\label{classSigQuitHandler_45885e5ddfa14f9bfc13c72de425e1c6} + + + + +\subsection{Member Function Documentation} +\index{SigQuitHandler@{Sig\-Quit\-Handler}!handle@{handle}} +\index{handle@{handle}!SigQuitHandler@{Sig\-Quit\-Handler}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}int Sig\-Quit\-Handler::handle ()\hspace{0.3cm}{\tt [virtual]}}\label{classSigQuitHandler_799f0272c91e7b1bf09411b80811b4dc} + + + + +Reimplemented from {\bf Signal\-Handler} \doxyref{}{p.}{classSignalHandler_e3dbda0de9b4aa4544390818a0d29e28}. + +The documentation for this class was generated from the following files:\begin{CompactItemize} +\item +{\bf signal\-Controller.h}\item +{\bf signal\-Controller.cpp}\end{CompactItemize} diff --git a/doc/latex/classSigTermHandler.eps b/doc/latex/classSigTermHandler.eps new file mode 100644 index 0000000..7755af0 --- /dev/null +++ b/doc/latex/classSigTermHandler.eps @@ -0,0 +1,197 @@ +%!PS-Adobe-2.0 EPSF-2.0 +%%Title: ClassName +%%Creator: Doxygen +%%CreationDate: Time +%%For: +%Magnification: 1.00 +%%Orientation: Portrait +%%BoundingBox: 0 0 500 360.36 +%%Pages: 0 +%%BeginSetup +%%EndSetup +%%EndComments + +% ----- variables ----- + +/boxwidth 0 def +/boxheight 40 def +/fontheight 24 def +/marginwidth 10 def +/distx 20 def +/disty 40 def +/boundaspect 1.3875 def % aspect ratio of the BoundingBox (width/height) +/boundx 500 def +/boundy boundx boundaspect div def +/xspacing 0 def +/yspacing 0 def +/rows 2 def +/cols 1 def +/scalefactor 0 def +/boxfont /Times-Roman findfont fontheight scalefont def + +% ----- procedures ----- + +/dotted { [1 4] 0 setdash } def +/dashed { [5] 0 setdash } def +/solid { [] 0 setdash } def + +/max % result = MAX(arg1,arg2) +{ + /a exch def + /b exch def + a b gt {a} {b} ifelse +} def + +/xoffset % result = MAX(0,(scalefactor-(boxwidth*cols+distx*(cols-1)))/2) +{ + 0 scalefactor boxwidth cols mul distx cols 1 sub mul add sub 2 div max +} def + +/cw % boxwidth = MAX(boxwidth, stringwidth(arg1)) +{ + /str exch def + /boxwidth boxwidth str stringwidth pop max def +} def + +/box % draws a box with text `arg1' at grid pos (arg2,arg3) +{ gsave + 2 setlinewidth + newpath + exch xspacing mul xoffset add + exch yspacing mul + moveto + boxwidth 0 rlineto + 0 boxheight rlineto + boxwidth neg 0 rlineto + 0 boxheight neg rlineto + closepath + dup stringwidth pop neg boxwidth add 2 div + boxheight fontheight 2 div sub 2 div + rmoveto show stroke + grestore +} def + +/mark +{ newpath + exch xspacing mul xoffset add boxwidth add + exch yspacing mul + moveto + 0 boxheight 4 div rlineto + boxheight neg 4 div boxheight neg 4 div rlineto + closepath + eofill + stroke +} def + +/arrow +{ newpath + moveto + 3 -8 rlineto + -6 0 rlineto + 3 8 rlineto + closepath + eofill + stroke +} def + +/out % draws an output connector for the block at (arg1,arg2) +{ + newpath + exch xspacing mul xoffset add boxwidth 2 div add + exch yspacing mul boxheight add + /y exch def + /x exch def + x y moveto + 0 disty 2 div rlineto + stroke + 1 eq { x y disty 2 div add arrow } if +} def + +/in % draws an input connector for the block at (arg1,arg2) +{ + newpath + exch xspacing mul xoffset add boxwidth 2 div add + exch yspacing mul disty 2 div sub + /y exch def + /x exch def + x y moveto + 0 disty 2 div rlineto + stroke + 1 eq { x y disty 2 div add arrow } if +} def + +/hedge +{ + exch xspacing mul xoffset add boxwidth 2 div add + exch yspacing mul boxheight 2 div sub + /y exch def + /x exch def + newpath + x y moveto + boxwidth 2 div distx add 0 rlineto + stroke + 1 eq + { newpath x boxwidth 2 div distx add add y moveto + -8 3 rlineto + 0 -6 rlineto + 8 3 rlineto + closepath + eofill + stroke + } if +} def + +/vedge +{ + /ye exch def + /ys exch def + /xs exch def + newpath + xs xspacing mul xoffset add boxwidth 2 div add dup + ys yspacing mul boxheight 2 div sub + moveto + ye yspacing mul boxheight 2 div sub + lineto + stroke +} def + +/conn % connections the blocks from col `arg1' to `arg2' of row `arg3' +{ + /ys exch def + /xe exch def + /xs exch def + newpath + xs xspacing mul xoffset add boxwidth 2 div add + ys yspacing mul disty 2 div sub + moveto + xspacing xe xs sub mul 0 + rlineto + stroke +} def + +% ----- main ------ + +boxfont setfont +1 boundaspect scale +(SigTermHandler) cw +(SignalHandler) cw +/boxwidth boxwidth marginwidth 2 mul add def +/xspacing boxwidth distx add def +/yspacing boxheight disty add def +/scalefactor + boxwidth cols mul distx cols 1 sub mul add + boxheight rows mul disty rows 1 sub mul add boundaspect mul + max def +boundx scalefactor div boundy scalefactor div scale + +% ----- classes ----- + + (SigTermHandler) 0 0 box + (SignalHandler) 0 1 box + +% ----- relations ----- + +solid +0 0 0 out +solid +1 0 1 in diff --git a/doc/latex/classSigTermHandler.tex b/doc/latex/classSigTermHandler.tex new file mode 100644 index 0000000..7c770f8 --- /dev/null +++ b/doc/latex/classSigTermHandler.tex @@ -0,0 +1,41 @@ +\section{Sig\-Term\-Handler Class Reference} +\label{classSigTermHandler}\index{SigTermHandler@{SigTermHandler}} +{\tt \#include $<$signal\-Controller.h$>$} + +Inheritance diagram for Sig\-Term\-Handler::\begin{figure}[H] +\begin{center} +\leavevmode +\includegraphics[height=2cm]{classSigTermHandler} +\end{center} +\end{figure} +\subsection*{Public Member Functions} +\begin{CompactItemize} +\item +{\bf Sig\-Term\-Handler} () +\item +int {\bf handle} () +\end{CompactItemize} + + +\subsection{Constructor \& Destructor Documentation} +\index{SigTermHandler@{Sig\-Term\-Handler}!SigTermHandler@{SigTermHandler}} +\index{SigTermHandler@{SigTermHandler}!SigTermHandler@{Sig\-Term\-Handler}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}Sig\-Term\-Handler::Sig\-Term\-Handler ()\hspace{0.3cm}{\tt [inline]}}\label{classSigTermHandler_8f6c3da13e1ec7fc8ef122bd0db457e4} + + + + +\subsection{Member Function Documentation} +\index{SigTermHandler@{Sig\-Term\-Handler}!handle@{handle}} +\index{handle@{handle}!SigTermHandler@{Sig\-Term\-Handler}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}int Sig\-Term\-Handler::handle ()\hspace{0.3cm}{\tt [virtual]}}\label{classSigTermHandler_820fa7f8bb5ef6390133c33c919dbf6f} + + + + +Reimplemented from {\bf Signal\-Handler} \doxyref{}{p.}{classSignalHandler_e3dbda0de9b4aa4544390818a0d29e28}. + +The documentation for this class was generated from the following files:\begin{CompactItemize} +\item +{\bf signal\-Controller.h}\item +{\bf signal\-Controller.cpp}\end{CompactItemize} diff --git a/doc/latex/classSigUsr1Handler.eps b/doc/latex/classSigUsr1Handler.eps new file mode 100644 index 0000000..e5446b4 --- /dev/null +++ b/doc/latex/classSigUsr1Handler.eps @@ -0,0 +1,197 @@ +%!PS-Adobe-2.0 EPSF-2.0 +%%Title: ClassName +%%Creator: Doxygen +%%CreationDate: Time +%%For: +%Magnification: 1.00 +%%Orientation: Portrait +%%BoundingBox: 0 0 500 366.972 +%%Pages: 0 +%%BeginSetup +%%EndSetup +%%EndComments + +% ----- variables ----- + +/boxwidth 0 def +/boxheight 40 def +/fontheight 24 def +/marginwidth 10 def +/distx 20 def +/disty 40 def +/boundaspect 1.3625 def % aspect ratio of the BoundingBox (width/height) +/boundx 500 def +/boundy boundx boundaspect div def +/xspacing 0 def +/yspacing 0 def +/rows 2 def +/cols 1 def +/scalefactor 0 def +/boxfont /Times-Roman findfont fontheight scalefont def + +% ----- procedures ----- + +/dotted { [1 4] 0 setdash } def +/dashed { [5] 0 setdash } def +/solid { [] 0 setdash } def + +/max % result = MAX(arg1,arg2) +{ + /a exch def + /b exch def + a b gt {a} {b} ifelse +} def + +/xoffset % result = MAX(0,(scalefactor-(boxwidth*cols+distx*(cols-1)))/2) +{ + 0 scalefactor boxwidth cols mul distx cols 1 sub mul add sub 2 div max +} def + +/cw % boxwidth = MAX(boxwidth, stringwidth(arg1)) +{ + /str exch def + /boxwidth boxwidth str stringwidth pop max def +} def + +/box % draws a box with text `arg1' at grid pos (arg2,arg3) +{ gsave + 2 setlinewidth + newpath + exch xspacing mul xoffset add + exch yspacing mul + moveto + boxwidth 0 rlineto + 0 boxheight rlineto + boxwidth neg 0 rlineto + 0 boxheight neg rlineto + closepath + dup stringwidth pop neg boxwidth add 2 div + boxheight fontheight 2 div sub 2 div + rmoveto show stroke + grestore +} def + +/mark +{ newpath + exch xspacing mul xoffset add boxwidth add + exch yspacing mul + moveto + 0 boxheight 4 div rlineto + boxheight neg 4 div boxheight neg 4 div rlineto + closepath + eofill + stroke +} def + +/arrow +{ newpath + moveto + 3 -8 rlineto + -6 0 rlineto + 3 8 rlineto + closepath + eofill + stroke +} def + +/out % draws an output connector for the block at (arg1,arg2) +{ + newpath + exch xspacing mul xoffset add boxwidth 2 div add + exch yspacing mul boxheight add + /y exch def + /x exch def + x y moveto + 0 disty 2 div rlineto + stroke + 1 eq { x y disty 2 div add arrow } if +} def + +/in % draws an input connector for the block at (arg1,arg2) +{ + newpath + exch xspacing mul xoffset add boxwidth 2 div add + exch yspacing mul disty 2 div sub + /y exch def + /x exch def + x y moveto + 0 disty 2 div rlineto + stroke + 1 eq { x y disty 2 div add arrow } if +} def + +/hedge +{ + exch xspacing mul xoffset add boxwidth 2 div add + exch yspacing mul boxheight 2 div sub + /y exch def + /x exch def + newpath + x y moveto + boxwidth 2 div distx add 0 rlineto + stroke + 1 eq + { newpath x boxwidth 2 div distx add add y moveto + -8 3 rlineto + 0 -6 rlineto + 8 3 rlineto + closepath + eofill + stroke + } if +} def + +/vedge +{ + /ye exch def + /ys exch def + /xs exch def + newpath + xs xspacing mul xoffset add boxwidth 2 div add dup + ys yspacing mul boxheight 2 div sub + moveto + ye yspacing mul boxheight 2 div sub + lineto + stroke +} def + +/conn % connections the blocks from col `arg1' to `arg2' of row `arg3' +{ + /ys exch def + /xe exch def + /xs exch def + newpath + xs xspacing mul xoffset add boxwidth 2 div add + ys yspacing mul disty 2 div sub + moveto + xspacing xe xs sub mul 0 + rlineto + stroke +} def + +% ----- main ------ + +boxfont setfont +1 boundaspect scale +(SigUsr1Handler) cw +(SignalHandler) cw +/boxwidth boxwidth marginwidth 2 mul add def +/xspacing boxwidth distx add def +/yspacing boxheight disty add def +/scalefactor + boxwidth cols mul distx cols 1 sub mul add + boxheight rows mul disty rows 1 sub mul add boundaspect mul + max def +boundx scalefactor div boundy scalefactor div scale + +% ----- classes ----- + + (SigUsr1Handler) 0 0 box + (SignalHandler) 0 1 box + +% ----- relations ----- + +solid +0 0 0 out +solid +1 0 1 in diff --git a/doc/latex/classSigUsr1Handler.tex b/doc/latex/classSigUsr1Handler.tex new file mode 100644 index 0000000..0e28a9f --- /dev/null +++ b/doc/latex/classSigUsr1Handler.tex @@ -0,0 +1,41 @@ +\section{Sig\-Usr1Handler Class Reference} +\label{classSigUsr1Handler}\index{SigUsr1Handler@{SigUsr1Handler}} +{\tt \#include $<$signal\-Controller.h$>$} + +Inheritance diagram for Sig\-Usr1Handler::\begin{figure}[H] +\begin{center} +\leavevmode +\includegraphics[height=2cm]{classSigUsr1Handler} +\end{center} +\end{figure} +\subsection*{Public Member Functions} +\begin{CompactItemize} +\item +{\bf Sig\-Usr1Handler} () +\item +int {\bf handle} () +\end{CompactItemize} + + +\subsection{Constructor \& Destructor Documentation} +\index{SigUsr1Handler@{Sig\-Usr1Handler}!SigUsr1Handler@{SigUsr1Handler}} +\index{SigUsr1Handler@{SigUsr1Handler}!SigUsr1Handler@{Sig\-Usr1Handler}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}Sig\-Usr1Handler::Sig\-Usr1Handler ()\hspace{0.3cm}{\tt [inline]}}\label{classSigUsr1Handler_aabaa57b0f2bb331a85f95cf90dd121d} + + + + +\subsection{Member Function Documentation} +\index{SigUsr1Handler@{Sig\-Usr1Handler}!handle@{handle}} +\index{handle@{handle}!SigUsr1Handler@{Sig\-Usr1Handler}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}int Sig\-Usr1Handler::handle ()\hspace{0.3cm}{\tt [virtual]}}\label{classSigUsr1Handler_578f3ea18e617689032fc165b6436695} + + + + +Reimplemented from {\bf Signal\-Handler} \doxyref{}{p.}{classSignalHandler_e3dbda0de9b4aa4544390818a0d29e28}. + +The documentation for this class was generated from the following files:\begin{CompactItemize} +\item +{\bf signal\-Controller.h}\item +{\bf signal\-Controller.cpp}\end{CompactItemize} diff --git a/doc/latex/classSigUsr2Handler.eps b/doc/latex/classSigUsr2Handler.eps new file mode 100644 index 0000000..6baf9c3 --- /dev/null +++ b/doc/latex/classSigUsr2Handler.eps @@ -0,0 +1,197 @@ +%!PS-Adobe-2.0 EPSF-2.0 +%%Title: ClassName +%%Creator: Doxygen +%%CreationDate: Time +%%For: +%Magnification: 1.00 +%%Orientation: Portrait +%%BoundingBox: 0 0 500 366.972 +%%Pages: 0 +%%BeginSetup +%%EndSetup +%%EndComments + +% ----- variables ----- + +/boxwidth 0 def +/boxheight 40 def +/fontheight 24 def +/marginwidth 10 def +/distx 20 def +/disty 40 def +/boundaspect 1.3625 def % aspect ratio of the BoundingBox (width/height) +/boundx 500 def +/boundy boundx boundaspect div def +/xspacing 0 def +/yspacing 0 def +/rows 2 def +/cols 1 def +/scalefactor 0 def +/boxfont /Times-Roman findfont fontheight scalefont def + +% ----- procedures ----- + +/dotted { [1 4] 0 setdash } def +/dashed { [5] 0 setdash } def +/solid { [] 0 setdash } def + +/max % result = MAX(arg1,arg2) +{ + /a exch def + /b exch def + a b gt {a} {b} ifelse +} def + +/xoffset % result = MAX(0,(scalefactor-(boxwidth*cols+distx*(cols-1)))/2) +{ + 0 scalefactor boxwidth cols mul distx cols 1 sub mul add sub 2 div max +} def + +/cw % boxwidth = MAX(boxwidth, stringwidth(arg1)) +{ + /str exch def + /boxwidth boxwidth str stringwidth pop max def +} def + +/box % draws a box with text `arg1' at grid pos (arg2,arg3) +{ gsave + 2 setlinewidth + newpath + exch xspacing mul xoffset add + exch yspacing mul + moveto + boxwidth 0 rlineto + 0 boxheight rlineto + boxwidth neg 0 rlineto + 0 boxheight neg rlineto + closepath + dup stringwidth pop neg boxwidth add 2 div + boxheight fontheight 2 div sub 2 div + rmoveto show stroke + grestore +} def + +/mark +{ newpath + exch xspacing mul xoffset add boxwidth add + exch yspacing mul + moveto + 0 boxheight 4 div rlineto + boxheight neg 4 div boxheight neg 4 div rlineto + closepath + eofill + stroke +} def + +/arrow +{ newpath + moveto + 3 -8 rlineto + -6 0 rlineto + 3 8 rlineto + closepath + eofill + stroke +} def + +/out % draws an output connector for the block at (arg1,arg2) +{ + newpath + exch xspacing mul xoffset add boxwidth 2 div add + exch yspacing mul boxheight add + /y exch def + /x exch def + x y moveto + 0 disty 2 div rlineto + stroke + 1 eq { x y disty 2 div add arrow } if +} def + +/in % draws an input connector for the block at (arg1,arg2) +{ + newpath + exch xspacing mul xoffset add boxwidth 2 div add + exch yspacing mul disty 2 div sub + /y exch def + /x exch def + x y moveto + 0 disty 2 div rlineto + stroke + 1 eq { x y disty 2 div add arrow } if +} def + +/hedge +{ + exch xspacing mul xoffset add boxwidth 2 div add + exch yspacing mul boxheight 2 div sub + /y exch def + /x exch def + newpath + x y moveto + boxwidth 2 div distx add 0 rlineto + stroke + 1 eq + { newpath x boxwidth 2 div distx add add y moveto + -8 3 rlineto + 0 -6 rlineto + 8 3 rlineto + closepath + eofill + stroke + } if +} def + +/vedge +{ + /ye exch def + /ys exch def + /xs exch def + newpath + xs xspacing mul xoffset add boxwidth 2 div add dup + ys yspacing mul boxheight 2 div sub + moveto + ye yspacing mul boxheight 2 div sub + lineto + stroke +} def + +/conn % connections the blocks from col `arg1' to `arg2' of row `arg3' +{ + /ys exch def + /xe exch def + /xs exch def + newpath + xs xspacing mul xoffset add boxwidth 2 div add + ys yspacing mul disty 2 div sub + moveto + xspacing xe xs sub mul 0 + rlineto + stroke +} def + +% ----- main ------ + +boxfont setfont +1 boundaspect scale +(SigUsr2Handler) cw +(SignalHandler) cw +/boxwidth boxwidth marginwidth 2 mul add def +/xspacing boxwidth distx add def +/yspacing boxheight disty add def +/scalefactor + boxwidth cols mul distx cols 1 sub mul add + boxheight rows mul disty rows 1 sub mul add boundaspect mul + max def +boundx scalefactor div boundy scalefactor div scale + +% ----- classes ----- + + (SigUsr2Handler) 0 0 box + (SignalHandler) 0 1 box + +% ----- relations ----- + +solid +0 0 0 out +solid +1 0 1 in diff --git a/doc/latex/classSigUsr2Handler.tex b/doc/latex/classSigUsr2Handler.tex new file mode 100644 index 0000000..439e128 --- /dev/null +++ b/doc/latex/classSigUsr2Handler.tex @@ -0,0 +1,41 @@ +\section{Sig\-Usr2Handler Class Reference} +\label{classSigUsr2Handler}\index{SigUsr2Handler@{SigUsr2Handler}} +{\tt \#include $<$signal\-Controller.h$>$} + +Inheritance diagram for Sig\-Usr2Handler::\begin{figure}[H] +\begin{center} +\leavevmode +\includegraphics[height=2cm]{classSigUsr2Handler} +\end{center} +\end{figure} +\subsection*{Public Member Functions} +\begin{CompactItemize} +\item +{\bf Sig\-Usr2Handler} () +\item +int {\bf handle} () +\end{CompactItemize} + + +\subsection{Constructor \& Destructor Documentation} +\index{SigUsr2Handler@{Sig\-Usr2Handler}!SigUsr2Handler@{SigUsr2Handler}} +\index{SigUsr2Handler@{SigUsr2Handler}!SigUsr2Handler@{Sig\-Usr2Handler}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}Sig\-Usr2Handler::Sig\-Usr2Handler ()\hspace{0.3cm}{\tt [inline]}}\label{classSigUsr2Handler_30478acdc28555b412d80f1419af622a} + + + + +\subsection{Member Function Documentation} +\index{SigUsr2Handler@{Sig\-Usr2Handler}!handle@{handle}} +\index{handle@{handle}!SigUsr2Handler@{Sig\-Usr2Handler}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}int Sig\-Usr2Handler::handle ()\hspace{0.3cm}{\tt [virtual]}}\label{classSigUsr2Handler_825a621f1ff10556bb8b289703273e7d} + + + + +Reimplemented from {\bf Signal\-Handler} \doxyref{}{p.}{classSignalHandler_e3dbda0de9b4aa4544390818a0d29e28}. + +The documentation for this class was generated from the following files:\begin{CompactItemize} +\item +{\bf signal\-Controller.h}\item +{\bf signal\-Controller.cpp}\end{CompactItemize} diff --git a/doc/latex/classSignalController.tex b/doc/latex/classSignalController.tex new file mode 100644 index 0000000..c55b22c --- /dev/null +++ b/doc/latex/classSignalController.tex @@ -0,0 +1,128 @@ +\section{Signal\-Controller Class Reference} +\label{classSignalController}\index{SignalController@{SignalController}} +{\tt \#include $<$signal\-Controller.h$>$} + +\subsection*{Public Member Functions} +\begin{CompactItemize} +\item +{\bf Signal\-Controller} () +\item +{\bf $\sim$Signal\-Controller} () +\item +void {\bf init} () +\item +int {\bf run} () +\end{CompactItemize} +\subsection*{Static Public Member Functions} +\begin{CompactItemize} +\item +static void $\ast$ {\bf handle} (void $\ast$s) +\end{CompactItemize} +\subsection*{Private Types} +\begin{CompactItemize} +\item +typedef std::map$<$ int, {\bf Signal\-Handler} $\ast$ $>$ {\bf Handler\-Map} +\end{CompactItemize} +\subsection*{Private Member Functions} +\begin{CompactItemize} +\item +{\bf Signal\-Controller} (const {\bf Signal\-Controller} \&s) +\item +void {\bf operator=} (const {\bf Signal\-Controller} \&s) +\end{CompactItemize} +\subsection*{Private Attributes} +\begin{CompactItemize} +\item +std::queue$<$ int $>$ {\bf sig\-Queue} +\item +{\bf Mutex} {\bf sig\-Queue\-Mutex} +\item +{\bf Semaphore} {\bf sig\-Queue\-Sem} +\item +pthread\_\-t {\bf thread} +\item +{\bf Handler\-Map} {\bf handler} +\end{CompactItemize} + + +\subsection{Member Typedef Documentation} +\index{SignalController@{Signal\-Controller}!HandlerMap@{HandlerMap}} +\index{HandlerMap@{HandlerMap}!SignalController@{Signal\-Controller}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}typedef std::map$<$int, {\bf Signal\-Handler}$\ast$$>$ {\bf Signal\-Controller::Handler\-Map}\hspace{0.3cm}{\tt [private]}}\label{classSignalController_659eb661ef3d40565d739a50bbe4b554} + + + + +\subsection{Constructor \& Destructor Documentation} +\index{SignalController@{Signal\-Controller}!SignalController@{SignalController}} +\index{SignalController@{SignalController}!SignalController@{Signal\-Controller}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}Signal\-Controller::Signal\-Controller ()\hspace{0.3cm}{\tt [inline]}}\label{classSignalController_d057c96011d444cce15e2a398a0a8bbf} + + +\index{SignalController@{Signal\-Controller}!~SignalController@{$\sim$SignalController}} +\index{~SignalController@{$\sim$SignalController}!SignalController@{Signal\-Controller}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}Signal\-Controller::$\sim$Signal\-Controller ()}\label{classSignalController_e8d687dc4fcc75bffff50e8cda37c7aa} + + +\index{SignalController@{Signal\-Controller}!SignalController@{SignalController}} +\index{SignalController@{SignalController}!SignalController@{Signal\-Controller}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}Signal\-Controller::Signal\-Controller (const {\bf Signal\-Controller} \& {\em s})\hspace{0.3cm}{\tt [private]}}\label{classSignalController_31af143ea1219cd000abe91aeccc84bc} + + + + +\subsection{Member Function Documentation} +\index{SignalController@{Signal\-Controller}!handle@{handle}} +\index{handle@{handle}!SignalController@{Signal\-Controller}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void $\ast$ Signal\-Controller::handle (void $\ast$ {\em s})\hspace{0.3cm}{\tt [static]}}\label{classSignalController_5df4d6ebe373117a9bf072035e16997f} + + +\index{SignalController@{Signal\-Controller}!init@{init}} +\index{init@{init}!SignalController@{Signal\-Controller}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void Signal\-Controller::init ()}\label{classSignalController_0d66065172b1c7ac0d55757d178e6911} + + +\index{SignalController@{Signal\-Controller}!run@{run}} +\index{run@{run}!SignalController@{Signal\-Controller}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}int Signal\-Controller::run ()}\label{classSignalController_0f7657b70cb2e8457539d9f844a93619} + + +\index{SignalController@{Signal\-Controller}!operator=@{operator=}} +\index{operator=@{operator=}!SignalController@{Signal\-Controller}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void Signal\-Controller::operator= (const {\bf Signal\-Controller} \& {\em s})\hspace{0.3cm}{\tt [private]}}\label{classSignalController_7bfe78f3e8c5d40ddd51c313d30cf6a2} + + + + +\subsection{Member Data Documentation} +\index{SignalController@{Signal\-Controller}!sigQueue@{sigQueue}} +\index{sigQueue@{sigQueue}!SignalController@{Signal\-Controller}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}std::queue$<$int$>$ {\bf Signal\-Controller::sig\-Queue}\hspace{0.3cm}{\tt [private]}}\label{classSignalController_543fa6d49a071df92cdfcc7bc96de161} + + +\index{SignalController@{Signal\-Controller}!sigQueueMutex@{sigQueueMutex}} +\index{sigQueueMutex@{sigQueueMutex}!SignalController@{Signal\-Controller}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf Mutex} {\bf Signal\-Controller::sig\-Queue\-Mutex}\hspace{0.3cm}{\tt [private]}}\label{classSignalController_6b7853059aa422fac6c2cc77e00d28ee} + + +\index{SignalController@{Signal\-Controller}!sigQueueSem@{sigQueueSem}} +\index{sigQueueSem@{sigQueueSem}!SignalController@{Signal\-Controller}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf Semaphore} {\bf Signal\-Controller::sig\-Queue\-Sem}\hspace{0.3cm}{\tt [private]}}\label{classSignalController_4dfee82061341e1af5ca827333c8bd10} + + +\index{SignalController@{Signal\-Controller}!thread@{thread}} +\index{thread@{thread}!SignalController@{Signal\-Controller}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}pthread\_\-t {\bf Signal\-Controller::thread}\hspace{0.3cm}{\tt [private]}}\label{classSignalController_79c5fbfa55aa9edc2a45c5ed3197b782} + + +\index{SignalController@{Signal\-Controller}!handler@{handler}} +\index{handler@{handler}!SignalController@{Signal\-Controller}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf Handler\-Map} {\bf Signal\-Controller::handler}\hspace{0.3cm}{\tt [private]}}\label{classSignalController_f76d2f570d55019dd15921eba71efe0b} + + + + +The documentation for this class was generated from the following files:\begin{CompactItemize} +\item +{\bf signal\-Controller.h}\item +{\bf signal\-Controller.cpp}\end{CompactItemize} diff --git a/doc/latex/classSignalHandler.eps b/doc/latex/classSignalHandler.eps new file mode 100644 index 0000000..70499b3 --- /dev/null +++ b/doc/latex/classSignalHandler.eps @@ -0,0 +1,219 @@ +%!PS-Adobe-2.0 EPSF-2.0 +%%Title: ClassName +%%Creator: Doxygen +%%CreationDate: Time +%%For: +%Magnification: 1.00 +%%Orientation: Portrait +%%BoundingBox: 0 0 500 60.0601 +%%Pages: 0 +%%BeginSetup +%%EndSetup +%%EndComments + +% ----- variables ----- + +/boxwidth 0 def +/boxheight 40 def +/fontheight 24 def +/marginwidth 10 def +/distx 20 def +/disty 40 def +/boundaspect 8.325 def % aspect ratio of the BoundingBox (width/height) +/boundx 500 def +/boundy boundx boundaspect div def +/xspacing 0 def +/yspacing 0 def +/rows 2 def +/cols 6 def +/scalefactor 0 def +/boxfont /Times-Roman findfont fontheight scalefont def + +% ----- procedures ----- + +/dotted { [1 4] 0 setdash } def +/dashed { [5] 0 setdash } def +/solid { [] 0 setdash } def + +/max % result = MAX(arg1,arg2) +{ + /a exch def + /b exch def + a b gt {a} {b} ifelse +} def + +/xoffset % result = MAX(0,(scalefactor-(boxwidth*cols+distx*(cols-1)))/2) +{ + 0 scalefactor boxwidth cols mul distx cols 1 sub mul add sub 2 div max +} def + +/cw % boxwidth = MAX(boxwidth, stringwidth(arg1)) +{ + /str exch def + /boxwidth boxwidth str stringwidth pop max def +} def + +/box % draws a box with text `arg1' at grid pos (arg2,arg3) +{ gsave + 2 setlinewidth + newpath + exch xspacing mul xoffset add + exch yspacing mul + moveto + boxwidth 0 rlineto + 0 boxheight rlineto + boxwidth neg 0 rlineto + 0 boxheight neg rlineto + closepath + dup stringwidth pop neg boxwidth add 2 div + boxheight fontheight 2 div sub 2 div + rmoveto show stroke + grestore +} def + +/mark +{ newpath + exch xspacing mul xoffset add boxwidth add + exch yspacing mul + moveto + 0 boxheight 4 div rlineto + boxheight neg 4 div boxheight neg 4 div rlineto + closepath + eofill + stroke +} def + +/arrow +{ newpath + moveto + 3 -8 rlineto + -6 0 rlineto + 3 8 rlineto + closepath + eofill + stroke +} def + +/out % draws an output connector for the block at (arg1,arg2) +{ + newpath + exch xspacing mul xoffset add boxwidth 2 div add + exch yspacing mul boxheight add + /y exch def + /x exch def + x y moveto + 0 disty 2 div rlineto + stroke + 1 eq { x y disty 2 div add arrow } if +} def + +/in % draws an input connector for the block at (arg1,arg2) +{ + newpath + exch xspacing mul xoffset add boxwidth 2 div add + exch yspacing mul disty 2 div sub + /y exch def + /x exch def + x y moveto + 0 disty 2 div rlineto + stroke + 1 eq { x y disty 2 div add arrow } if +} def + +/hedge +{ + exch xspacing mul xoffset add boxwidth 2 div add + exch yspacing mul boxheight 2 div sub + /y exch def + /x exch def + newpath + x y moveto + boxwidth 2 div distx add 0 rlineto + stroke + 1 eq + { newpath x boxwidth 2 div distx add add y moveto + -8 3 rlineto + 0 -6 rlineto + 8 3 rlineto + closepath + eofill + stroke + } if +} def + +/vedge +{ + /ye exch def + /ys exch def + /xs exch def + newpath + xs xspacing mul xoffset add boxwidth 2 div add dup + ys yspacing mul boxheight 2 div sub + moveto + ye yspacing mul boxheight 2 div sub + lineto + stroke +} def + +/conn % connections the blocks from col `arg1' to `arg2' of row `arg3' +{ + /ys exch def + /xe exch def + /xs exch def + newpath + xs xspacing mul xoffset add boxwidth 2 div add + ys yspacing mul disty 2 div sub + moveto + xspacing xe xs sub mul 0 + rlineto + stroke +} def + +% ----- main ------ + +boxfont setfont +1 boundaspect scale +(SignalHandler) cw +(SigHupHandler) cw +(SigIntHandler) cw +(SigQuitHandler) cw +(SigTermHandler) cw +(SigUsr1Handler) cw +(SigUsr2Handler) cw +/boxwidth boxwidth marginwidth 2 mul add def +/xspacing boxwidth distx add def +/yspacing boxheight disty add def +/scalefactor + boxwidth cols mul distx cols 1 sub mul add + boxheight rows mul disty rows 1 sub mul add boundaspect mul + max def +boundx scalefactor div boundy scalefactor div scale + +% ----- classes ----- + + (SignalHandler) 2.5 1 box + (SigHupHandler) 0 0 box + (SigIntHandler) 1 0 box + (SigQuitHandler) 2 0 box + (SigTermHandler) 3 0 box + (SigUsr1Handler) 4 0 box + (SigUsr2Handler) 5 0 box + +% ----- relations ----- + +solid +1 2.5 0.25 out +solid +0 5 1 conn +solid +0 0 0.75 in +solid +0 1 0.75 in +solid +0 2 0.75 in +solid +0 3 0.75 in +solid +0 4 0.75 in +solid +0 5 0.75 in diff --git a/doc/latex/classSignalHandler.tex b/doc/latex/classSignalHandler.tex new file mode 100644 index 0000000..2cf61d7 --- /dev/null +++ b/doc/latex/classSignalHandler.tex @@ -0,0 +1,76 @@ +\section{Signal\-Handler Class Reference} +\label{classSignalHandler}\index{SignalHandler@{SignalHandler}} +{\tt \#include $<$signal\-Controller.h$>$} + +Inheritance diagram for Signal\-Handler::\begin{figure}[H] +\begin{center} +\leavevmode +\includegraphics[height=1.68168cm]{classSignalHandler} +\end{center} +\end{figure} +\subsection*{Public Member Functions} +\begin{CompactItemize} +\item +virtual {\bf $\sim$Signal\-Handler} () +\item +virtual int {\bf handle} () +\end{CompactItemize} +\subsection*{Protected Member Functions} +\begin{CompactItemize} +\item +{\bf Signal\-Handler} (int s) +\end{CompactItemize} +\subsection*{Private Attributes} +\begin{CompactItemize} +\item +int {\bf sig\-Num} +\end{CompactItemize} +\subsection*{Friends} +\begin{CompactItemize} +\item +class {\bf Signal\-Controller} +\end{CompactItemize} + + +\subsection{Constructor \& Destructor Documentation} +\index{SignalHandler@{Signal\-Handler}!~SignalHandler@{$\sim$SignalHandler}} +\index{~SignalHandler@{$\sim$SignalHandler}!SignalHandler@{Signal\-Handler}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}virtual Signal\-Handler::$\sim$Signal\-Handler ()\hspace{0.3cm}{\tt [inline, virtual]}}\label{classSignalHandler_a1109d38f8b43bde75420aaeecc1f2b7} + + +\index{SignalHandler@{Signal\-Handler}!SignalHandler@{SignalHandler}} +\index{SignalHandler@{SignalHandler}!SignalHandler@{Signal\-Handler}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}Signal\-Handler::Signal\-Handler (int {\em s})\hspace{0.3cm}{\tt [inline, protected]}}\label{classSignalHandler_8f920534650e9cd3cdfbe3c3f8409b4d} + + + + +\subsection{Member Function Documentation} +\index{SignalHandler@{Signal\-Handler}!handle@{handle}} +\index{handle@{handle}!SignalHandler@{Signal\-Handler}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}virtual int Signal\-Handler::handle ()\hspace{0.3cm}{\tt [inline, virtual]}}\label{classSignalHandler_e3dbda0de9b4aa4544390818a0d29e28} + + + + +Reimplemented in {\bf Sig\-Int\-Handler} \doxyref{}{p.}{classSigIntHandler_6a7d9a841a5c9b1f50041a8c37774063}, {\bf Sig\-Quit\-Handler} \doxyref{}{p.}{classSigQuitHandler_799f0272c91e7b1bf09411b80811b4dc}, {\bf Sig\-Hup\-Handler} \doxyref{}{p.}{classSigHupHandler_84734b7f79663badeedb720896302d4e}, {\bf Sig\-Usr1Handler} \doxyref{}{p.}{classSigUsr1Handler_578f3ea18e617689032fc165b6436695}, {\bf Sig\-Usr2Handler} \doxyref{}{p.}{classSigUsr2Handler_825a621f1ff10556bb8b289703273e7d}, and {\bf Sig\-Term\-Handler} \doxyref{}{p.}{classSigTermHandler_820fa7f8bb5ef6390133c33c919dbf6f}. + +\subsection{Friends And Related Function Documentation} +\index{SignalHandler@{Signal\-Handler}!SignalController@{SignalController}} +\index{SignalController@{SignalController}!SignalHandler@{Signal\-Handler}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}friend class {\bf Signal\-Controller}\hspace{0.3cm}{\tt [friend]}}\label{classSignalHandler_9b5c65d0274d45f20c9ed28852dd66fa} + + + + +\subsection{Member Data Documentation} +\index{SignalHandler@{Signal\-Handler}!sigNum@{sigNum}} +\index{sigNum@{sigNum}!SignalHandler@{Signal\-Handler}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}int {\bf Signal\-Handler::sig\-Num}\hspace{0.3cm}{\tt [private]}}\label{classSignalHandler_0585573af0ea6bebf37bda54e5c3c39d} + + + + +The documentation for this class was generated from the following file:\begin{CompactItemize} +\item +{\bf signal\-Controller.h}\end{CompactItemize} diff --git a/doc/latex/classSocket.eps b/doc/latex/classSocket.eps new file mode 100644 index 0000000..c75eb07 --- /dev/null +++ b/doc/latex/classSocket.eps @@ -0,0 +1,221 @@ +%!PS-Adobe-2.0 EPSF-2.0 +%%Title: ClassName +%%Creator: Doxygen +%%CreationDate: Time +%%For: +%Magnification: 1.00 +%%Orientation: Portrait +%%BoundingBox: 0 0 500 186.48 +%%Pages: 0 +%%BeginSetup +%%EndSetup +%%EndComments + +% ----- variables ----- + +/boxwidth 0 def +/boxheight 40 def +/fontheight 24 def +/marginwidth 10 def +/distx 20 def +/disty 40 def +/boundaspect 2.68125 def % aspect ratio of the BoundingBox (width/height) +/boundx 500 def +/boundy boundx boundaspect div def +/xspacing 0 def +/yspacing 0 def +/rows 4 def +/cols 3 def +/scalefactor 0 def +/boxfont /Times-Roman findfont fontheight scalefont def + +% ----- procedures ----- + +/dotted { [1 4] 0 setdash } def +/dashed { [5] 0 setdash } def +/solid { [] 0 setdash } def + +/max % result = MAX(arg1,arg2) +{ + /a exch def + /b exch def + a b gt {a} {b} ifelse +} def + +/xoffset % result = MAX(0,(scalefactor-(boxwidth*cols+distx*(cols-1)))/2) +{ + 0 scalefactor boxwidth cols mul distx cols 1 sub mul add sub 2 div max +} def + +/cw % boxwidth = MAX(boxwidth, stringwidth(arg1)) +{ + /str exch def + /boxwidth boxwidth str stringwidth pop max def +} def + +/box % draws a box with text `arg1' at grid pos (arg2,arg3) +{ gsave + 2 setlinewidth + newpath + exch xspacing mul xoffset add + exch yspacing mul + moveto + boxwidth 0 rlineto + 0 boxheight rlineto + boxwidth neg 0 rlineto + 0 boxheight neg rlineto + closepath + dup stringwidth pop neg boxwidth add 2 div + boxheight fontheight 2 div sub 2 div + rmoveto show stroke + grestore +} def + +/mark +{ newpath + exch xspacing mul xoffset add boxwidth add + exch yspacing mul + moveto + 0 boxheight 4 div rlineto + boxheight neg 4 div boxheight neg 4 div rlineto + closepath + eofill + stroke +} def + +/arrow +{ newpath + moveto + 3 -8 rlineto + -6 0 rlineto + 3 8 rlineto + closepath + eofill + stroke +} def + +/out % draws an output connector for the block at (arg1,arg2) +{ + newpath + exch xspacing mul xoffset add boxwidth 2 div add + exch yspacing mul boxheight add + /y exch def + /x exch def + x y moveto + 0 disty 2 div rlineto + stroke + 1 eq { x y disty 2 div add arrow } if +} def + +/in % draws an input connector for the block at (arg1,arg2) +{ + newpath + exch xspacing mul xoffset add boxwidth 2 div add + exch yspacing mul disty 2 div sub + /y exch def + /x exch def + x y moveto + 0 disty 2 div rlineto + stroke + 1 eq { x y disty 2 div add arrow } if +} def + +/hedge +{ + exch xspacing mul xoffset add boxwidth 2 div add + exch yspacing mul boxheight 2 div sub + /y exch def + /x exch def + newpath + x y moveto + boxwidth 2 div distx add 0 rlineto + stroke + 1 eq + { newpath x boxwidth 2 div distx add add y moveto + -8 3 rlineto + 0 -6 rlineto + 8 3 rlineto + closepath + eofill + stroke + } if +} def + +/vedge +{ + /ye exch def + /ys exch def + /xs exch def + newpath + xs xspacing mul xoffset add boxwidth 2 div add dup + ys yspacing mul boxheight 2 div sub + moveto + ye yspacing mul boxheight 2 div sub + lineto + stroke +} def + +/conn % connections the blocks from col `arg1' to `arg2' of row `arg3' +{ + /ys exch def + /xe exch def + /xs exch def + newpath + xs xspacing mul xoffset add boxwidth 2 div add + ys yspacing mul disty 2 div sub + moveto + xspacing xe xs sub mul 0 + rlineto + stroke +} def + +% ----- main ------ + +boxfont setfont +1 boundaspect scale +(Socket) cw +(CommunicatingSocket) cw +(TCPServerSocket) cw +(TCPSocket) cw +(UDPSocket) cw +(UDPPacketSource) cw +/boxwidth boxwidth marginwidth 2 mul add def +/xspacing boxwidth distx add def +/yspacing boxheight disty add def +/scalefactor + boxwidth cols mul distx cols 1 sub mul add + boxheight rows mul disty rows 1 sub mul add boundaspect mul + max def +boundx scalefactor div boundy scalefactor div scale + +% ----- classes ----- + + (Socket) 1 3 box + (CommunicatingSocket) 0.5 2 box + (TCPServerSocket) 1.5 2 box + (TCPSocket) 0 1 box + (UDPSocket) 1 1 box + (UDPPacketSource) 1 0 box + +% ----- relations ----- + +solid +1 1 2.25 out +solid +0.5 1.5 3 conn +solid +0 0.5 2.75 in +solid +1 0.5 1.25 out +solid +0 1 2 conn +solid +0 1.5 2.75 in +solid +0 0 1.75 in +solid +0 1 1.75 in +solid +1 1 0.25 out +solid +0 1 0.75 in diff --git a/doc/latex/classSocket.tex b/doc/latex/classSocket.tex new file mode 100644 index 0000000..fb6d58b --- /dev/null +++ b/doc/latex/classSocket.tex @@ -0,0 +1,180 @@ +\section{Socket Class Reference} +\label{classSocket}\index{Socket@{Socket}} +{\tt \#include $<$Practical\-Socket.h$>$} + +Inheritance diagram for Socket::\begin{figure}[H] +\begin{center} +\leavevmode +\includegraphics[height=4cm]{classSocket} +\end{center} +\end{figure} +\subsection*{Public Member Functions} +\begin{CompactItemize} +\item +{\bf $\sim$Socket} () +\item +string {\bf get\-Local\-Address} () throw (Socket\-Exception) +\item +unsigned short {\bf get\-Local\-Port} () throw (Socket\-Exception) +\item +void {\bf set\-Local\-Port} (unsigned short local\-Port) throw (Socket\-Exception) +\item +void {\bf set\-Local\-Address\-And\-Port} (const string \&local\-Address, unsigned short local\-Port=0) throw (Socket\-Exception) +\end{CompactItemize} +\subsection*{Static Public Member Functions} +\begin{CompactItemize} +\item +static void {\bf clean\-Up} () throw (Socket\-Exception) +\item +static unsigned short {\bf resolve\-Service} (const string \&service, const string \&protocol=\char`\"{}tcp\char`\"{}) +\end{CompactItemize} +\subsection*{Protected Member Functions} +\begin{CompactItemize} +\item +{\bf Socket} (int type, int protocol) throw (Socket\-Exception) +\item +{\bf Socket} (int {\bf sock\-Desc}) +\end{CompactItemize} +\subsection*{Protected Attributes} +\begin{CompactItemize} +\item +int {\bf sock\-Desc} +\end{CompactItemize} +\subsection*{Private Member Functions} +\begin{CompactItemize} +\item +{\bf Socket} (const {\bf Socket} \&sock) +\item +void {\bf operator=} (const {\bf Socket} \&sock) +\end{CompactItemize} + + +\subsection{Detailed Description} +Base class representing basic communication endpoint + + + +\subsection{Constructor \& Destructor Documentation} +\index{Socket@{Socket}!~Socket@{$\sim$Socket}} +\index{~Socket@{$\sim$Socket}!Socket@{Socket}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}Socket::$\sim$Socket ()}\label{classSocket_eac4eb6379a543d38ed88977d3b6630a} + + +Close and deallocate this socket \index{Socket@{Socket}!Socket@{Socket}} +\index{Socket@{Socket}!Socket@{Socket}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}Socket::Socket (const {\bf Socket} \& {\em sock})\hspace{0.3cm}{\tt [private]}}\label{classSocket_656389d58fa00729ff70c4e159623f5c} + + +\index{Socket@{Socket}!Socket@{Socket}} +\index{Socket@{Socket}!Socket@{Socket}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}Socket::Socket (int {\em type}, int {\em protocol}) throw ({\bf Socket\-Exception})\hspace{0.3cm}{\tt [protected]}}\label{classSocket_53e00027bab2125a2b407914c6148589} + + +\index{Socket@{Socket}!Socket@{Socket}} +\index{Socket@{Socket}!Socket@{Socket}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}Socket::Socket (int {\em sock\-Desc})\hspace{0.3cm}{\tt [protected]}}\label{classSocket_6a2609eef6559336a595a336f138d395} + + + + +\subsection{Member Function Documentation} +\index{Socket@{Socket}!getLocalAddress@{getLocalAddress}} +\index{getLocalAddress@{getLocalAddress}!Socket@{Socket}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}string Socket::get\-Local\-Address () throw ({\bf Socket\-Exception})}\label{classSocket_0fca07bdfa97874fba1a17995ed7cda3} + + +Get the local address \begin{Desc} +\item[Returns:]local address of socket \end{Desc} +\begin{Desc} +\item[Exceptions:] +\begin{description} +\item[{\em \doxyref{Socket\-Exception}{p.}{classSocketException}}]thrown if fetch fails \end{description} +\end{Desc} +\index{Socket@{Socket}!getLocalPort@{getLocalPort}} +\index{getLocalPort@{getLocalPort}!Socket@{Socket}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}unsigned short Socket::get\-Local\-Port () throw ({\bf Socket\-Exception})}\label{classSocket_e01143b667d69483a2f53d0f4ce7eeed} + + +Get the local port \begin{Desc} +\item[Returns:]local port of socket \end{Desc} +\begin{Desc} +\item[Exceptions:] +\begin{description} +\item[{\em \doxyref{Socket\-Exception}{p.}{classSocketException}}]thrown if fetch fails \end{description} +\end{Desc} +\index{Socket@{Socket}!setLocalPort@{setLocalPort}} +\index{setLocalPort@{setLocalPort}!Socket@{Socket}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void Socket::set\-Local\-Port (unsigned short {\em local\-Port}) throw ({\bf Socket\-Exception})}\label{classSocket_773fe4a35146002de76952e16fdebcfa} + + +Set the local port to the specified port and the local address to any interface \begin{Desc} +\item[Parameters:] +\begin{description} +\item[{\em local\-Port}]local port \end{description} +\end{Desc} +\begin{Desc} +\item[Exceptions:] +\begin{description} +\item[{\em \doxyref{Socket\-Exception}{p.}{classSocketException}}]thrown if setting local port fails \end{description} +\end{Desc} +\index{Socket@{Socket}!setLocalAddressAndPort@{setLocalAddressAndPort}} +\index{setLocalAddressAndPort@{setLocalAddressAndPort}!Socket@{Socket}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void Socket::set\-Local\-Address\-And\-Port (const string \& {\em local\-Address}, unsigned short {\em local\-Port} = {\tt 0}) throw ({\bf Socket\-Exception})}\label{classSocket_a6b986410bc2e606ba27d01fa7cb8836} + + +Set the local port to the specified port and the local address to the specified address. If you omit the port, a random port will be selected. \begin{Desc} +\item[Parameters:] +\begin{description} +\item[{\em local\-Address}]local address \item[{\em local\-Port}]local port \end{description} +\end{Desc} +\begin{Desc} +\item[Exceptions:] +\begin{description} +\item[{\em \doxyref{Socket\-Exception}{p.}{classSocketException}}]thrown if setting local port or address fails \end{description} +\end{Desc} +\index{Socket@{Socket}!cleanUp@{cleanUp}} +\index{cleanUp@{cleanUp}!Socket@{Socket}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void Socket::clean\-Up () throw ({\bf Socket\-Exception})\hspace{0.3cm}{\tt [static]}}\label{classSocket_c5060aeb501044044351d5a85b3fc95f} + + +If Win\-Sock, unload the Win\-Sock DLLs; otherwise do nothing. We ignore this in our sample client code but include it in the library for completeness. If you are running on Windows and you are concerned about DLL resource consumption, call this after you are done with all \doxyref{Socket}{p.}{classSocket} instances. If you execute this on Windows while some instance of \doxyref{Socket}{p.}{classSocket} exists, you are toast. For portability of client code, this is an empty function on non-Windows platforms so you can always include it. \begin{Desc} +\item[Parameters:] +\begin{description} +\item[{\em buffer}]buffer to receive the data \item[{\em buffer\-Len}]maximum number of bytes to read into buffer \end{description} +\end{Desc} +\begin{Desc} +\item[Returns:]number of bytes read, 0 for EOF, and -1 for error \end{Desc} +\begin{Desc} +\item[Exceptions:] +\begin{description} +\item[{\em \doxyref{Socket\-Exception}{p.}{classSocketException}}]thrown Win\-Sock clean up fails \end{description} +\end{Desc} +\index{Socket@{Socket}!resolveService@{resolveService}} +\index{resolveService@{resolveService}!Socket@{Socket}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}unsigned short Socket::resolve\-Service (const string \& {\em service}, const string \& {\em protocol} = {\tt \char`\"{}tcp\char`\"{}})\hspace{0.3cm}{\tt [static]}}\label{classSocket_982c63b25c5b756321a74074a275adbc} + + +Resolve the specified service for the specified protocol to the corresponding port number in host byte order \begin{Desc} +\item[Parameters:] +\begin{description} +\item[{\em service}]service to resolve (e.g., \char`\"{}http\char`\"{}) \item[{\em protocol}]protocol of service to resolve. Default is \char`\"{}tcp\char`\"{}. \end{description} +\end{Desc} +\index{Socket@{Socket}!operator=@{operator=}} +\index{operator=@{operator=}!Socket@{Socket}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void Socket::operator= (const {\bf Socket} \& {\em sock})\hspace{0.3cm}{\tt [private]}}\label{classSocket_1ef8f4c222c32756c8b1537323702df8} + + + + +\subsection{Member Data Documentation} +\index{Socket@{Socket}!sockDesc@{sockDesc}} +\index{sockDesc@{sockDesc}!Socket@{Socket}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}int {\bf Socket::sock\-Desc}\hspace{0.3cm}{\tt [protected]}}\label{classSocket_d5704d2fdfb062139e1f88831617bbfb} + + + + +The documentation for this class was generated from the following files:\begin{CompactItemize} +\item +{\bf Practical\-Socket.h}\item +{\bf Practical\-Socket.cpp}\end{CompactItemize} diff --git a/doc/latex/classSocketException.tex b/doc/latex/classSocketException.tex new file mode 100644 index 0000000..22ea6db --- /dev/null +++ b/doc/latex/classSocketException.tex @@ -0,0 +1,65 @@ +\section{Socket\-Exception Class Reference} +\label{classSocketException}\index{SocketException@{SocketException}} +{\tt \#include $<$Practical\-Socket.h$>$} + +\subsection*{Public Member Functions} +\begin{CompactItemize} +\item +{\bf Socket\-Exception} (const string \&message, bool incl\-Sys\-Msg=false) throw () +\item +{\bf $\sim$Socket\-Exception} () throw () +\item +const char $\ast$ {\bf what} () const throw () +\end{CompactItemize} +\subsection*{Private Attributes} +\begin{CompactItemize} +\item +string {\bf user\-Message} +\end{CompactItemize} + + +\subsection{Detailed Description} +Signals a problem with the execution of a socket call. + + + +\subsection{Constructor \& Destructor Documentation} +\index{SocketException@{Socket\-Exception}!SocketException@{SocketException}} +\index{SocketException@{SocketException}!SocketException@{Socket\-Exception}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}Socket\-Exception::Socket\-Exception (const string \& {\em message}, bool {\em incl\-Sys\-Msg} = {\tt false}) throw ()}\label{classSocketException_bb5bcecd9d9e20868c237ec5a82cf5c3} + + +Construct a \doxyref{Socket\-Exception}{p.}{classSocketException} with a explanatory message. \begin{Desc} +\item[Parameters:] +\begin{description} +\item[{\em message}]explanatory message \item[{\em inc\-Sys\-Msg}]true if system message (from strerror(errno)) should be postfixed to the user provided message \end{description} +\end{Desc} +\index{SocketException@{Socket\-Exception}!~SocketException@{$\sim$SocketException}} +\index{~SocketException@{$\sim$SocketException}!SocketException@{Socket\-Exception}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}Socket\-Exception::$\sim$Socket\-Exception () throw ()}\label{classSocketException_659557c899329aea01977c980c4db9b9} + + +Provided just to guarantee that no exceptions are thrown. + +\subsection{Member Function Documentation} +\index{SocketException@{Socket\-Exception}!what@{what}} +\index{what@{what}!SocketException@{Socket\-Exception}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}const char $\ast$ Socket\-Exception::what () const throw ()}\label{classSocketException_534b0625abe62cad2bae94758aa6eb42} + + +Get the exception message \begin{Desc} +\item[Returns:]exception message \end{Desc} + + +\subsection{Member Data Documentation} +\index{SocketException@{Socket\-Exception}!userMessage@{userMessage}} +\index{userMessage@{userMessage}!SocketException@{Socket\-Exception}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}string {\bf Socket\-Exception::user\-Message}\hspace{0.3cm}{\tt [private]}}\label{classSocketException_dcfeba6d4ce5754b48ae9d37b07a7e87} + + + + +The documentation for this class was generated from the following files:\begin{CompactItemize} +\item +{\bf Practical\-Socket.h}\item +{\bf Practical\-Socket.cpp}\end{CompactItemize} diff --git a/doc/latex/classTCPServerSocket.eps b/doc/latex/classTCPServerSocket.eps new file mode 100644 index 0000000..90e97f2 --- /dev/null +++ b/doc/latex/classTCPServerSocket.eps @@ -0,0 +1,197 @@ +%!PS-Adobe-2.0 EPSF-2.0 +%%Title: ClassName +%%Creator: Doxygen +%%CreationDate: Time +%%For: +%Magnification: 1.00 +%%Orientation: Portrait +%%BoundingBox: 0 0 500 330.579 +%%Pages: 0 +%%BeginSetup +%%EndSetup +%%EndComments + +% ----- variables ----- + +/boxwidth 0 def +/boxheight 40 def +/fontheight 24 def +/marginwidth 10 def +/distx 20 def +/disty 40 def +/boundaspect 1.5125 def % aspect ratio of the BoundingBox (width/height) +/boundx 500 def +/boundy boundx boundaspect div def +/xspacing 0 def +/yspacing 0 def +/rows 2 def +/cols 1 def +/scalefactor 0 def +/boxfont /Times-Roman findfont fontheight scalefont def + +% ----- procedures ----- + +/dotted { [1 4] 0 setdash } def +/dashed { [5] 0 setdash } def +/solid { [] 0 setdash } def + +/max % result = MAX(arg1,arg2) +{ + /a exch def + /b exch def + a b gt {a} {b} ifelse +} def + +/xoffset % result = MAX(0,(scalefactor-(boxwidth*cols+distx*(cols-1)))/2) +{ + 0 scalefactor boxwidth cols mul distx cols 1 sub mul add sub 2 div max +} def + +/cw % boxwidth = MAX(boxwidth, stringwidth(arg1)) +{ + /str exch def + /boxwidth boxwidth str stringwidth pop max def +} def + +/box % draws a box with text `arg1' at grid pos (arg2,arg3) +{ gsave + 2 setlinewidth + newpath + exch xspacing mul xoffset add + exch yspacing mul + moveto + boxwidth 0 rlineto + 0 boxheight rlineto + boxwidth neg 0 rlineto + 0 boxheight neg rlineto + closepath + dup stringwidth pop neg boxwidth add 2 div + boxheight fontheight 2 div sub 2 div + rmoveto show stroke + grestore +} def + +/mark +{ newpath + exch xspacing mul xoffset add boxwidth add + exch yspacing mul + moveto + 0 boxheight 4 div rlineto + boxheight neg 4 div boxheight neg 4 div rlineto + closepath + eofill + stroke +} def + +/arrow +{ newpath + moveto + 3 -8 rlineto + -6 0 rlineto + 3 8 rlineto + closepath + eofill + stroke +} def + +/out % draws an output connector for the block at (arg1,arg2) +{ + newpath + exch xspacing mul xoffset add boxwidth 2 div add + exch yspacing mul boxheight add + /y exch def + /x exch def + x y moveto + 0 disty 2 div rlineto + stroke + 1 eq { x y disty 2 div add arrow } if +} def + +/in % draws an input connector for the block at (arg1,arg2) +{ + newpath + exch xspacing mul xoffset add boxwidth 2 div add + exch yspacing mul disty 2 div sub + /y exch def + /x exch def + x y moveto + 0 disty 2 div rlineto + stroke + 1 eq { x y disty 2 div add arrow } if +} def + +/hedge +{ + exch xspacing mul xoffset add boxwidth 2 div add + exch yspacing mul boxheight 2 div sub + /y exch def + /x exch def + newpath + x y moveto + boxwidth 2 div distx add 0 rlineto + stroke + 1 eq + { newpath x boxwidth 2 div distx add add y moveto + -8 3 rlineto + 0 -6 rlineto + 8 3 rlineto + closepath + eofill + stroke + } if +} def + +/vedge +{ + /ye exch def + /ys exch def + /xs exch def + newpath + xs xspacing mul xoffset add boxwidth 2 div add dup + ys yspacing mul boxheight 2 div sub + moveto + ye yspacing mul boxheight 2 div sub + lineto + stroke +} def + +/conn % connections the blocks from col `arg1' to `arg2' of row `arg3' +{ + /ys exch def + /xe exch def + /xs exch def + newpath + xs xspacing mul xoffset add boxwidth 2 div add + ys yspacing mul disty 2 div sub + moveto + xspacing xe xs sub mul 0 + rlineto + stroke +} def + +% ----- main ------ + +boxfont setfont +1 boundaspect scale +(TCPServerSocket) cw +(Socket) cw +/boxwidth boxwidth marginwidth 2 mul add def +/xspacing boxwidth distx add def +/yspacing boxheight disty add def +/scalefactor + boxwidth cols mul distx cols 1 sub mul add + boxheight rows mul disty rows 1 sub mul add boundaspect mul + max def +boundx scalefactor div boundy scalefactor div scale + +% ----- classes ----- + + (TCPServerSocket) 0 0 box + (Socket) 0 1 box + +% ----- relations ----- + +solid +0 0 0 out +solid +1 0 1 in diff --git a/doc/latex/classTCPServerSocket.tex b/doc/latex/classTCPServerSocket.tex new file mode 100644 index 0000000..4225884 --- /dev/null +++ b/doc/latex/classTCPServerSocket.tex @@ -0,0 +1,88 @@ +\section{TCPServer\-Socket Class Reference} +\label{classTCPServerSocket}\index{TCPServerSocket@{TCPServerSocket}} +{\tt \#include $<$Practical\-Socket.h$>$} + +Inheritance diagram for TCPServer\-Socket::\begin{figure}[H] +\begin{center} +\leavevmode +\includegraphics[height=2cm]{classTCPServerSocket} +\end{center} +\end{figure} +\subsection*{Public Member Functions} +\begin{CompactItemize} +\item +{\bf TCPServer\-Socket} (unsigned short local\-Port, int queue\-Len=5) throw (Socket\-Exception) +\item +{\bf TCPServer\-Socket} (const string \&local\-Address, unsigned short local\-Port, int queue\-Len=5) throw (Socket\-Exception) +\item +{\bf TCPSocket} $\ast$ {\bf accept} () throw (Socket\-Exception) +\end{CompactItemize} +\subsection*{Private Member Functions} +\begin{CompactItemize} +\item +void {\bf set\-Listen} (int queue\-Len) throw (Socket\-Exception) +\end{CompactItemize} + + +\subsection{Detailed Description} +TCP socket class for servers + + + +\subsection{Constructor \& Destructor Documentation} +\index{TCPServerSocket@{TCPServer\-Socket}!TCPServerSocket@{TCPServerSocket}} +\index{TCPServerSocket@{TCPServerSocket}!TCPServerSocket@{TCPServer\-Socket}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}TCPServer\-Socket::TCPServer\-Socket (unsigned short {\em local\-Port}, int {\em queue\-Len} = {\tt 5}) throw ({\bf Socket\-Exception})}\label{classTCPServerSocket_e559a3154527d09fe14a8e5ee1f53d7a} + + +Construct a TCP socket for use with a server, accepting connections on the specified port on any interface \begin{Desc} +\item[Parameters:] +\begin{description} +\item[{\em local\-Port}]local port of server socket, a value of zero will give a system-assigned unused port \item[{\em queue\-Len}]maximum queue length for outstanding connection requests (default 5) \end{description} +\end{Desc} +\begin{Desc} +\item[Exceptions:] +\begin{description} +\item[{\em \doxyref{Socket\-Exception}{p.}{classSocketException}}]thrown if unable to create TCP server socket \end{description} +\end{Desc} +\index{TCPServerSocket@{TCPServer\-Socket}!TCPServerSocket@{TCPServerSocket}} +\index{TCPServerSocket@{TCPServerSocket}!TCPServerSocket@{TCPServer\-Socket}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}TCPServer\-Socket::TCPServer\-Socket (const string \& {\em local\-Address}, unsigned short {\em local\-Port}, int {\em queue\-Len} = {\tt 5}) throw ({\bf Socket\-Exception})}\label{classTCPServerSocket_3908fecb1b038f7c14fcc7726f54d01d} + + +Construct a TCP socket for use with a server, accepting connections on the specified port on the interface specified by the given address \begin{Desc} +\item[Parameters:] +\begin{description} +\item[{\em local\-Address}]local interface (address) of server socket \item[{\em local\-Port}]local port of server socket \item[{\em queue\-Len}]maximum queue length for outstanding connection requests (default 5) \end{description} +\end{Desc} +\begin{Desc} +\item[Exceptions:] +\begin{description} +\item[{\em \doxyref{Socket\-Exception}{p.}{classSocketException}}]thrown if unable to create TCP server socket \end{description} +\end{Desc} + + +\subsection{Member Function Documentation} +\index{TCPServerSocket@{TCPServer\-Socket}!accept@{accept}} +\index{accept@{accept}!TCPServerSocket@{TCPServer\-Socket}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf TCPSocket} $\ast$ TCPServer\-Socket::accept () throw ({\bf Socket\-Exception})}\label{classTCPServerSocket_1d161137e1b069de7a7bfc14d3f8212c} + + +Blocks until a new connection is established on this socket or error \begin{Desc} +\item[Returns:]new connection socket \end{Desc} +\begin{Desc} +\item[Exceptions:] +\begin{description} +\item[{\em \doxyref{Socket\-Exception}{p.}{classSocketException}}]thrown if attempt to accept a new connection fails \end{description} +\end{Desc} +\index{TCPServerSocket@{TCPServer\-Socket}!setListen@{setListen}} +\index{setListen@{setListen}!TCPServerSocket@{TCPServer\-Socket}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void TCPServer\-Socket::set\-Listen (int {\em queue\-Len}) throw ({\bf Socket\-Exception})\hspace{0.3cm}{\tt [private]}}\label{classTCPServerSocket_1f39a2e6721ab62d8875a234eb300bab} + + + + +The documentation for this class was generated from the following files:\begin{CompactItemize} +\item +{\bf Practical\-Socket.h}\item +{\bf Practical\-Socket.cpp}\end{CompactItemize} diff --git a/doc/latex/classTCPSocket.eps b/doc/latex/classTCPSocket.eps new file mode 100644 index 0000000..3b898a1 --- /dev/null +++ b/doc/latex/classTCPSocket.eps @@ -0,0 +1,203 @@ +%!PS-Adobe-2.0 EPSF-2.0 +%%Title: ClassName +%%Creator: Doxygen +%%CreationDate: Time +%%For: +%Magnification: 1.00 +%%Orientation: Portrait +%%BoundingBox: 0 0 500 419.58 +%%Pages: 0 +%%BeginSetup +%%EndSetup +%%EndComments + +% ----- variables ----- + +/boxwidth 0 def +/boxheight 40 def +/fontheight 24 def +/marginwidth 10 def +/distx 20 def +/disty 40 def +/boundaspect 1.19167 def % aspect ratio of the BoundingBox (width/height) +/boundx 500 def +/boundy boundx boundaspect div def +/xspacing 0 def +/yspacing 0 def +/rows 3 def +/cols 1 def +/scalefactor 0 def +/boxfont /Times-Roman findfont fontheight scalefont def + +% ----- procedures ----- + +/dotted { [1 4] 0 setdash } def +/dashed { [5] 0 setdash } def +/solid { [] 0 setdash } def + +/max % result = MAX(arg1,arg2) +{ + /a exch def + /b exch def + a b gt {a} {b} ifelse +} def + +/xoffset % result = MAX(0,(scalefactor-(boxwidth*cols+distx*(cols-1)))/2) +{ + 0 scalefactor boxwidth cols mul distx cols 1 sub mul add sub 2 div max +} def + +/cw % boxwidth = MAX(boxwidth, stringwidth(arg1)) +{ + /str exch def + /boxwidth boxwidth str stringwidth pop max def +} def + +/box % draws a box with text `arg1' at grid pos (arg2,arg3) +{ gsave + 2 setlinewidth + newpath + exch xspacing mul xoffset add + exch yspacing mul + moveto + boxwidth 0 rlineto + 0 boxheight rlineto + boxwidth neg 0 rlineto + 0 boxheight neg rlineto + closepath + dup stringwidth pop neg boxwidth add 2 div + boxheight fontheight 2 div sub 2 div + rmoveto show stroke + grestore +} def + +/mark +{ newpath + exch xspacing mul xoffset add boxwidth add + exch yspacing mul + moveto + 0 boxheight 4 div rlineto + boxheight neg 4 div boxheight neg 4 div rlineto + closepath + eofill + stroke +} def + +/arrow +{ newpath + moveto + 3 -8 rlineto + -6 0 rlineto + 3 8 rlineto + closepath + eofill + stroke +} def + +/out % draws an output connector for the block at (arg1,arg2) +{ + newpath + exch xspacing mul xoffset add boxwidth 2 div add + exch yspacing mul boxheight add + /y exch def + /x exch def + x y moveto + 0 disty 2 div rlineto + stroke + 1 eq { x y disty 2 div add arrow } if +} def + +/in % draws an input connector for the block at (arg1,arg2) +{ + newpath + exch xspacing mul xoffset add boxwidth 2 div add + exch yspacing mul disty 2 div sub + /y exch def + /x exch def + x y moveto + 0 disty 2 div rlineto + stroke + 1 eq { x y disty 2 div add arrow } if +} def + +/hedge +{ + exch xspacing mul xoffset add boxwidth 2 div add + exch yspacing mul boxheight 2 div sub + /y exch def + /x exch def + newpath + x y moveto + boxwidth 2 div distx add 0 rlineto + stroke + 1 eq + { newpath x boxwidth 2 div distx add add y moveto + -8 3 rlineto + 0 -6 rlineto + 8 3 rlineto + closepath + eofill + stroke + } if +} def + +/vedge +{ + /ye exch def + /ys exch def + /xs exch def + newpath + xs xspacing mul xoffset add boxwidth 2 div add dup + ys yspacing mul boxheight 2 div sub + moveto + ye yspacing mul boxheight 2 div sub + lineto + stroke +} def + +/conn % connections the blocks from col `arg1' to `arg2' of row `arg3' +{ + /ys exch def + /xe exch def + /xs exch def + newpath + xs xspacing mul xoffset add boxwidth 2 div add + ys yspacing mul disty 2 div sub + moveto + xspacing xe xs sub mul 0 + rlineto + stroke +} def + +% ----- main ------ + +boxfont setfont +1 boundaspect scale +(TCPSocket) cw +(CommunicatingSocket) cw +(Socket) cw +/boxwidth boxwidth marginwidth 2 mul add def +/xspacing boxwidth distx add def +/yspacing boxheight disty add def +/scalefactor + boxwidth cols mul distx cols 1 sub mul add + boxheight rows mul disty rows 1 sub mul add boundaspect mul + max def +boundx scalefactor div boundy scalefactor div scale + +% ----- classes ----- + + (TCPSocket) 0 0 box + (CommunicatingSocket) 0 1 box + (Socket) 0 2 box + +% ----- relations ----- + +solid +0 0 0 out +solid +1 0 1 in +solid +0 0 1 out +solid +1 0 2 in diff --git a/doc/latex/classTCPSocket.tex b/doc/latex/classTCPSocket.tex new file mode 100644 index 0000000..be413bd --- /dev/null +++ b/doc/latex/classTCPSocket.tex @@ -0,0 +1,79 @@ +\section{TCPSocket Class Reference} +\label{classTCPSocket}\index{TCPSocket@{TCPSocket}} +{\tt \#include $<$Practical\-Socket.h$>$} + +Inheritance diagram for TCPSocket::\begin{figure}[H] +\begin{center} +\leavevmode +\includegraphics[height=3cm]{classTCPSocket} +\end{center} +\end{figure} +\subsection*{Public Member Functions} +\begin{CompactItemize} +\item +{\bf TCPSocket} () throw (Socket\-Exception) +\item +{\bf TCPSocket} (const string \&foreign\-Address, unsigned short foreign\-Port) throw (Socket\-Exception) +\end{CompactItemize} +\subsection*{Private Member Functions} +\begin{CompactItemize} +\item +{\bf TCPSocket} (int new\-Conn\-SD) +\end{CompactItemize} +\subsection*{Friends} +\begin{CompactItemize} +\item +class {\bf TCPServer\-Socket} +\end{CompactItemize} + + +\subsection{Detailed Description} +TCP socket for communication with other TCP sockets + + + +\subsection{Constructor \& Destructor Documentation} +\index{TCPSocket@{TCPSocket}!TCPSocket@{TCPSocket}} +\index{TCPSocket@{TCPSocket}!TCPSocket@{TCPSocket}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}TCPSocket::TCPSocket () throw ({\bf Socket\-Exception})}\label{classTCPSocket_7a50427a401d1a6f3209d51818bad901} + + +Construct a TCP socket with no connection \begin{Desc} +\item[Exceptions:] +\begin{description} +\item[{\em \doxyref{Socket\-Exception}{p.}{classSocketException}}]thrown if unable to create TCP socket \end{description} +\end{Desc} +\index{TCPSocket@{TCPSocket}!TCPSocket@{TCPSocket}} +\index{TCPSocket@{TCPSocket}!TCPSocket@{TCPSocket}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}TCPSocket::TCPSocket (const string \& {\em foreign\-Address}, unsigned short {\em foreign\-Port}) throw ({\bf Socket\-Exception})}\label{classTCPSocket_7b246b66f6dc3246ab2777b771e5f917} + + +Construct a TCP socket with a connection to the given foreign address and port \begin{Desc} +\item[Parameters:] +\begin{description} +\item[{\em foreign\-Address}]foreign address (IP address or name) \item[{\em foreign\-Port}]foreign port \end{description} +\end{Desc} +\begin{Desc} +\item[Exceptions:] +\begin{description} +\item[{\em \doxyref{Socket\-Exception}{p.}{classSocketException}}]thrown if unable to create TCP socket \end{description} +\end{Desc} +\index{TCPSocket@{TCPSocket}!TCPSocket@{TCPSocket}} +\index{TCPSocket@{TCPSocket}!TCPSocket@{TCPSocket}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}TCPSocket::TCPSocket (int {\em new\-Conn\-SD})\hspace{0.3cm}{\tt [private]}}\label{classTCPSocket_4763ac3be0d7d5e143884bef45e351c5} + + + + +\subsection{Friends And Related Function Documentation} +\index{TCPSocket@{TCPSocket}!TCPServerSocket@{TCPServerSocket}} +\index{TCPServerSocket@{TCPServerSocket}!TCPSocket@{TCPSocket}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}friend class {\bf TCPServer\-Socket}\hspace{0.3cm}{\tt [friend]}}\label{classTCPSocket_e8bcdc0d25881a17b23e557296236fa9} + + + + +The documentation for this class was generated from the following files:\begin{CompactItemize} +\item +{\bf Practical\-Socket.h}\item +{\bf Practical\-Socket.cpp}\end{CompactItemize} diff --git a/doc/latex/classTunDevice.tex b/doc/latex/classTunDevice.tex new file mode 100644 index 0000000..cb5782b --- /dev/null +++ b/doc/latex/classTunDevice.tex @@ -0,0 +1,150 @@ +\section{Tun\-Device Class Reference} +\label{classTunDevice}\index{TunDevice@{TunDevice}} +{\tt \#include $<$tun\-Device.h$>$} + +\subsection*{Public Member Functions} +\begin{CompactItemize} +\item +{\bf Tun\-Device} (const char $\ast$dev, const char $\ast$dev\_\-type, const char $\ast$ifcfg\_\-lp, const char $\ast$ifcfg\_\-rnmp) +\item +{\bf $\sim$Tun\-Device} () +\item +void {\bf open} () +\item +void {\bf close} () +\item +bool {\bf is\-Open} () +\item +short {\bf read} ({\bf Buffer} \&buf) +\item +int {\bf write} ({\bf Buffer} \&buf) +\item +char $\ast$ {\bf get\-Actual\-Name} () +\item +{\bf u\_\-int32\_\-t} {\bf get\-Type} () +\item +char $\ast$ {\bf get\-Type\-String} () +\end{CompactItemize} +\subsection*{Static Public Attributes} +\begin{CompactItemize} +\item +static const {\bf u\_\-int32\_\-t} {\bf TYPE\_\-UNDEF} = 0 +\item +static const {\bf u\_\-int32\_\-t} {\bf TYPE\_\-TUN} = 1 +\item +static const {\bf u\_\-int32\_\-t} {\bf TYPE\_\-TAP} = 2 +\end{CompactItemize} +\subsection*{Private Member Functions} +\begin{CompactItemize} +\item +void {\bf operator=} (const {\bf Tun\-Device} \&src) +\item +{\bf Tun\-Device} (const {\bf Tun\-Device} \&src) +\end{CompactItemize} +\subsection*{Private Attributes} +\begin{CompactItemize} +\item +{\bf Mutex} {\bf io\_\-mutex\_\-} +\item +tuntap $\ast$ {\bf dev\_\-} +\end{CompactItemize} + + +\subsection{Constructor \& Destructor Documentation} +\index{TunDevice@{Tun\-Device}!TunDevice@{TunDevice}} +\index{TunDevice@{TunDevice}!TunDevice@{Tun\-Device}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}Tun\-Device::Tun\-Device (const char $\ast$ {\em dev}, const char $\ast$ {\em dev\_\-type}, const char $\ast$ {\em ifcfg\_\-lp}, const char $\ast$ {\em ifcfg\_\-rnmp})}\label{classTunDevice_d6914bd3a45e03ffe95676ac4420154a} + + +\index{TunDevice@{Tun\-Device}!~TunDevice@{$\sim$TunDevice}} +\index{~TunDevice@{$\sim$TunDevice}!TunDevice@{Tun\-Device}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}Tun\-Device::$\sim$Tun\-Device ()}\label{classTunDevice_2c6196d270bf4d0e99ff4f860391faed} + + +\index{TunDevice@{Tun\-Device}!TunDevice@{TunDevice}} +\index{TunDevice@{TunDevice}!TunDevice@{Tun\-Device}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}Tun\-Device::Tun\-Device (const {\bf Tun\-Device} \& {\em src})\hspace{0.3cm}{\tt [private]}}\label{classTunDevice_4587b54228b4240334ad4614211df394} + + + + +\subsection{Member Function Documentation} +\index{TunDevice@{Tun\-Device}!open@{open}} +\index{open@{open}!TunDevice@{Tun\-Device}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void Tun\-Device::open ()}\label{classTunDevice_323ddcfd4ac60d0dbfe6ebb5bbb9a323} + + +\index{TunDevice@{Tun\-Device}!close@{close}} +\index{close@{close}!TunDevice@{Tun\-Device}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void Tun\-Device::close ()}\label{classTunDevice_13986e13fe28da6c917293c40effb902} + + +\index{TunDevice@{Tun\-Device}!isOpen@{isOpen}} +\index{isOpen@{isOpen}!TunDevice@{Tun\-Device}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}bool Tun\-Device::is\-Open ()}\label{classTunDevice_f63f3331789f043e44eb435b78c815b2} + + +\index{TunDevice@{Tun\-Device}!read@{read}} +\index{read@{read}!TunDevice@{Tun\-Device}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}short Tun\-Device::read ({\bf Buffer} \& {\em buf})}\label{classTunDevice_553498887edc92f7b7e31e3bf04fb8fb} + + +\index{TunDevice@{Tun\-Device}!write@{write}} +\index{write@{write}!TunDevice@{Tun\-Device}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}int Tun\-Device::write ({\bf Buffer} \& {\em buf})}\label{classTunDevice_958bc73a627cc5d404ed87204547134d} + + +\index{TunDevice@{Tun\-Device}!getActualName@{getActualName}} +\index{getActualName@{getActualName}!TunDevice@{Tun\-Device}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}char $\ast$ Tun\-Device::get\-Actual\-Name ()}\label{classTunDevice_e02f8972f75b11b69280fba9b6649cab} + + +\index{TunDevice@{Tun\-Device}!getType@{getType}} +\index{getType@{getType}!TunDevice@{Tun\-Device}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf u\_\-int32\_\-t} Tun\-Device::get\-Type ()}\label{classTunDevice_b57512464007681dcc92820adb3deb0f} + + +\index{TunDevice@{Tun\-Device}!getTypeString@{getTypeString}} +\index{getTypeString@{getTypeString}!TunDevice@{Tun\-Device}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}char $\ast$ Tun\-Device::get\-Type\-String ()}\label{classTunDevice_0cecbc6a7e58d294dd005e7d523173bd} + + +\index{TunDevice@{Tun\-Device}!operator=@{operator=}} +\index{operator=@{operator=}!TunDevice@{Tun\-Device}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void Tun\-Device::operator= (const {\bf Tun\-Device} \& {\em src})\hspace{0.3cm}{\tt [private]}}\label{classTunDevice_de33e9a7a951b43f2f7e24d8fe9c311e} + + + + +\subsection{Member Data Documentation} +\index{TunDevice@{Tun\-Device}!TYPE_UNDEF@{TYPE\_\-UNDEF}} +\index{TYPE_UNDEF@{TYPE\_\-UNDEF}!TunDevice@{Tun\-Device}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}const {\bf u\_\-int32\_\-t} {\bf Tun\-Device::TYPE\_\-UNDEF} = 0\hspace{0.3cm}{\tt [static]}}\label{classTunDevice_ec146b27c7755747c1cc1511e4482875} + + +\index{TunDevice@{Tun\-Device}!TYPE_TUN@{TYPE\_\-TUN}} +\index{TYPE_TUN@{TYPE\_\-TUN}!TunDevice@{Tun\-Device}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}const {\bf u\_\-int32\_\-t} {\bf Tun\-Device::TYPE\_\-TUN} = 1\hspace{0.3cm}{\tt [static]}}\label{classTunDevice_ea416d7f03ef22bf1d166d33b47fd993} + + +\index{TunDevice@{Tun\-Device}!TYPE_TAP@{TYPE\_\-TAP}} +\index{TYPE_TAP@{TYPE\_\-TAP}!TunDevice@{Tun\-Device}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}const {\bf u\_\-int32\_\-t} {\bf Tun\-Device::TYPE\_\-TAP} = 2\hspace{0.3cm}{\tt [static]}}\label{classTunDevice_b4ce6b158bbe4fe051b6fea8cd3d6cd3} + + +\index{TunDevice@{Tun\-Device}!io_mutex_@{io\_\-mutex\_\-}} +\index{io_mutex_@{io\_\-mutex\_\-}!TunDevice@{Tun\-Device}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf Mutex} {\bf Tun\-Device::io\_\-mutex\_\-}\hspace{0.3cm}{\tt [private]}}\label{classTunDevice_e130228e28996e644d2013089e704d4c} + + +\index{TunDevice@{Tun\-Device}!dev_@{dev\_\-}} +\index{dev_@{dev\_\-}!TunDevice@{Tun\-Device}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}struct tuntap$\ast$ {\bf Tun\-Device::dev\_\-}\hspace{0.3cm}{\tt [private]}}\label{classTunDevice_239c85381dfcf1776303778d1784df51} + + + + +The documentation for this class was generated from the following files:\begin{CompactItemize} +\item +{\bf tun\-Device.h}\item +{\bf tun\-Device.cpp}\end{CompactItemize} diff --git a/doc/latex/classUDPPacketSource.eps b/doc/latex/classUDPPacketSource.eps new file mode 100644 index 0000000..a22e8f2 --- /dev/null +++ b/doc/latex/classUDPPacketSource.eps @@ -0,0 +1,215 @@ +%!PS-Adobe-2.0 EPSF-2.0 +%%Title: ClassName +%%Creator: Doxygen +%%CreationDate: Time +%%For: +%Magnification: 1.00 +%%Orientation: Portrait +%%BoundingBox: 0 0 500 279.72 +%%Pages: 0 +%%BeginSetup +%%EndSetup +%%EndComments + +% ----- variables ----- + +/boxwidth 0 def +/boxheight 40 def +/fontheight 24 def +/marginwidth 10 def +/distx 20 def +/disty 40 def +/boundaspect 1.7875 def % aspect ratio of the BoundingBox (width/height) +/boundx 500 def +/boundy boundx boundaspect div def +/xspacing 0 def +/yspacing 0 def +/rows 4 def +/cols 2 def +/scalefactor 0 def +/boxfont /Times-Roman findfont fontheight scalefont def + +% ----- procedures ----- + +/dotted { [1 4] 0 setdash } def +/dashed { [5] 0 setdash } def +/solid { [] 0 setdash } def + +/max % result = MAX(arg1,arg2) +{ + /a exch def + /b exch def + a b gt {a} {b} ifelse +} def + +/xoffset % result = MAX(0,(scalefactor-(boxwidth*cols+distx*(cols-1)))/2) +{ + 0 scalefactor boxwidth cols mul distx cols 1 sub mul add sub 2 div max +} def + +/cw % boxwidth = MAX(boxwidth, stringwidth(arg1)) +{ + /str exch def + /boxwidth boxwidth str stringwidth pop max def +} def + +/box % draws a box with text `arg1' at grid pos (arg2,arg3) +{ gsave + 2 setlinewidth + newpath + exch xspacing mul xoffset add + exch yspacing mul + moveto + boxwidth 0 rlineto + 0 boxheight rlineto + boxwidth neg 0 rlineto + 0 boxheight neg rlineto + closepath + dup stringwidth pop neg boxwidth add 2 div + boxheight fontheight 2 div sub 2 div + rmoveto show stroke + grestore +} def + +/mark +{ newpath + exch xspacing mul xoffset add boxwidth add + exch yspacing mul + moveto + 0 boxheight 4 div rlineto + boxheight neg 4 div boxheight neg 4 div rlineto + closepath + eofill + stroke +} def + +/arrow +{ newpath + moveto + 3 -8 rlineto + -6 0 rlineto + 3 8 rlineto + closepath + eofill + stroke +} def + +/out % draws an output connector for the block at (arg1,arg2) +{ + newpath + exch xspacing mul xoffset add boxwidth 2 div add + exch yspacing mul boxheight add + /y exch def + /x exch def + x y moveto + 0 disty 2 div rlineto + stroke + 1 eq { x y disty 2 div add arrow } if +} def + +/in % draws an input connector for the block at (arg1,arg2) +{ + newpath + exch xspacing mul xoffset add boxwidth 2 div add + exch yspacing mul disty 2 div sub + /y exch def + /x exch def + x y moveto + 0 disty 2 div rlineto + stroke + 1 eq { x y disty 2 div add arrow } if +} def + +/hedge +{ + exch xspacing mul xoffset add boxwidth 2 div add + exch yspacing mul boxheight 2 div sub + /y exch def + /x exch def + newpath + x y moveto + boxwidth 2 div distx add 0 rlineto + stroke + 1 eq + { newpath x boxwidth 2 div distx add add y moveto + -8 3 rlineto + 0 -6 rlineto + 8 3 rlineto + closepath + eofill + stroke + } if +} def + +/vedge +{ + /ye exch def + /ys exch def + /xs exch def + newpath + xs xspacing mul xoffset add boxwidth 2 div add dup + ys yspacing mul boxheight 2 div sub + moveto + ye yspacing mul boxheight 2 div sub + lineto + stroke +} def + +/conn % connections the blocks from col `arg1' to `arg2' of row `arg3' +{ + /ys exch def + /xe exch def + /xs exch def + newpath + xs xspacing mul xoffset add boxwidth 2 div add + ys yspacing mul disty 2 div sub + moveto + xspacing xe xs sub mul 0 + rlineto + stroke +} def + +% ----- main ------ + +boxfont setfont +1 boundaspect scale +(UDPPacketSource) cw +(PacketSource) cw +(UDPSocket) cw +(CommunicatingSocket) cw +(Socket) cw +/boxwidth boxwidth marginwidth 2 mul add def +/xspacing boxwidth distx add def +/yspacing boxheight disty add def +/scalefactor + boxwidth cols mul distx cols 1 sub mul add + boxheight rows mul disty rows 1 sub mul add boundaspect mul + max def +boundx scalefactor div boundy scalefactor div scale + +% ----- classes ----- + + (UDPPacketSource) 0.5 0 box + (PacketSource) 0 1 box + (UDPSocket) 1 1 box + (CommunicatingSocket) 1 2 box + (Socket) 1 3 box + +% ----- relations ----- + +solid +0 0.5 0 out +solid +0 1 1 conn +solid +1 0 1 in +solid +1 1 1 in +solid +0 1 1 out +solid +1 1 2 in +solid +0 1 2 out +solid +1 1 3 in diff --git a/doc/latex/classUDPPacketSource.tex b/doc/latex/classUDPPacketSource.tex new file mode 100644 index 0000000..8571f5d --- /dev/null +++ b/doc/latex/classUDPPacketSource.tex @@ -0,0 +1,64 @@ +\section{UDPPacket\-Source Class Reference} +\label{classUDPPacketSource}\index{UDPPacketSource@{UDPPacketSource}} +{\tt \#include $<$packet\-Source.h$>$} + +Inheritance diagram for UDPPacket\-Source::\begin{figure}[H] +\begin{center} +\leavevmode +\includegraphics[height=4cm]{classUDPPacketSource} +\end{center} +\end{figure} +\subsection*{Public Member Functions} +\begin{CompactItemize} +\item +{\bf UDPPacket\-Source} () +\item +{\bf UDPPacket\-Source} ({\bf u\_\-int16\_\-t} port) +\item +{\bf UDPPacket\-Source} (std::string localaddr, {\bf u\_\-int16\_\-t} port) +\item +{\bf u\_\-int32\_\-t} {\bf recv} ({\bf Buffer} \&buf, std::string \&addr, {\bf u\_\-int16\_\-t} \&port) +\item +void {\bf send} ({\bf Buffer} \&buf, std::string addr, {\bf u\_\-int16\_\-t} port) +\end{CompactItemize} + + +\subsection{Constructor \& Destructor Documentation} +\index{UDPPacketSource@{UDPPacket\-Source}!UDPPacketSource@{UDPPacketSource}} +\index{UDPPacketSource@{UDPPacketSource}!UDPPacketSource@{UDPPacket\-Source}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}UDPPacket\-Source::UDPPacket\-Source ()}\label{classUDPPacketSource_1dda248d4d7b03cb8301557271abc40e} + + +\index{UDPPacketSource@{UDPPacket\-Source}!UDPPacketSource@{UDPPacketSource}} +\index{UDPPacketSource@{UDPPacketSource}!UDPPacketSource@{UDPPacket\-Source}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}UDPPacket\-Source::UDPPacket\-Source ({\bf u\_\-int16\_\-t} {\em port})}\label{classUDPPacketSource_b9fd5944db99fd0f89c12b0d74ba5e74} + + +\index{UDPPacketSource@{UDPPacket\-Source}!UDPPacketSource@{UDPPacketSource}} +\index{UDPPacketSource@{UDPPacketSource}!UDPPacketSource@{UDPPacket\-Source}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}UDPPacket\-Source::UDPPacket\-Source (std::string {\em localaddr}, {\bf u\_\-int16\_\-t} {\em port})}\label{classUDPPacketSource_1cc870353b550b79f9161cfac41f26fa} + + + + +\subsection{Member Function Documentation} +\index{UDPPacketSource@{UDPPacket\-Source}!recv@{recv}} +\index{recv@{recv}!UDPPacketSource@{UDPPacket\-Source}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf u\_\-int32\_\-t} UDPPacket\-Source::recv ({\bf Buffer} \& {\em buf}, std::string \& {\em addr}, {\bf u\_\-int16\_\-t} \& {\em port})\hspace{0.3cm}{\tt [virtual]}}\label{classUDPPacketSource_a1f7daded0f9ead5599160bae9317eb8} + + + + +Implements {\bf Packet\-Source} \doxyref{}{p.}{classPacketSource_95901be715656540a7273c6c0dc1234e}.\index{UDPPacketSource@{UDPPacket\-Source}!send@{send}} +\index{send@{send}!UDPPacketSource@{UDPPacket\-Source}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void UDPPacket\-Source::send ({\bf Buffer} \& {\em buf}, std::string {\em addr}, {\bf u\_\-int16\_\-t} {\em port})\hspace{0.3cm}{\tt [virtual]}}\label{classUDPPacketSource_376a3b0c861aeb7561e8a9f6866292b9} + + + + +Implements {\bf Packet\-Source} \doxyref{}{p.}{classPacketSource_ffc5eb2c89d1395443432c3cc6b7898b}. + +The documentation for this class was generated from the following files:\begin{CompactItemize} +\item +{\bf packet\-Source.h}\item +{\bf packet\-Source.cpp}\end{CompactItemize} diff --git a/doc/latex/classUDPSocket.eps b/doc/latex/classUDPSocket.eps new file mode 100644 index 0000000..d803008 --- /dev/null +++ b/doc/latex/classUDPSocket.eps @@ -0,0 +1,209 @@ +%!PS-Adobe-2.0 EPSF-2.0 +%%Title: ClassName +%%Creator: Doxygen +%%CreationDate: Time +%%For: +%Magnification: 1.00 +%%Orientation: Portrait +%%BoundingBox: 0 0 500 559.441 +%%Pages: 0 +%%BeginSetup +%%EndSetup +%%EndComments + +% ----- variables ----- + +/boxwidth 0 def +/boxheight 40 def +/fontheight 24 def +/marginwidth 10 def +/distx 20 def +/disty 40 def +/boundaspect 0.89375 def % aspect ratio of the BoundingBox (width/height) +/boundx 500 def +/boundy boundx boundaspect div def +/xspacing 0 def +/yspacing 0 def +/rows 4 def +/cols 1 def +/scalefactor 0 def +/boxfont /Times-Roman findfont fontheight scalefont def + +% ----- procedures ----- + +/dotted { [1 4] 0 setdash } def +/dashed { [5] 0 setdash } def +/solid { [] 0 setdash } def + +/max % result = MAX(arg1,arg2) +{ + /a exch def + /b exch def + a b gt {a} {b} ifelse +} def + +/xoffset % result = MAX(0,(scalefactor-(boxwidth*cols+distx*(cols-1)))/2) +{ + 0 scalefactor boxwidth cols mul distx cols 1 sub mul add sub 2 div max +} def + +/cw % boxwidth = MAX(boxwidth, stringwidth(arg1)) +{ + /str exch def + /boxwidth boxwidth str stringwidth pop max def +} def + +/box % draws a box with text `arg1' at grid pos (arg2,arg3) +{ gsave + 2 setlinewidth + newpath + exch xspacing mul xoffset add + exch yspacing mul + moveto + boxwidth 0 rlineto + 0 boxheight rlineto + boxwidth neg 0 rlineto + 0 boxheight neg rlineto + closepath + dup stringwidth pop neg boxwidth add 2 div + boxheight fontheight 2 div sub 2 div + rmoveto show stroke + grestore +} def + +/mark +{ newpath + exch xspacing mul xoffset add boxwidth add + exch yspacing mul + moveto + 0 boxheight 4 div rlineto + boxheight neg 4 div boxheight neg 4 div rlineto + closepath + eofill + stroke +} def + +/arrow +{ newpath + moveto + 3 -8 rlineto + -6 0 rlineto + 3 8 rlineto + closepath + eofill + stroke +} def + +/out % draws an output connector for the block at (arg1,arg2) +{ + newpath + exch xspacing mul xoffset add boxwidth 2 div add + exch yspacing mul boxheight add + /y exch def + /x exch def + x y moveto + 0 disty 2 div rlineto + stroke + 1 eq { x y disty 2 div add arrow } if +} def + +/in % draws an input connector for the block at (arg1,arg2) +{ + newpath + exch xspacing mul xoffset add boxwidth 2 div add + exch yspacing mul disty 2 div sub + /y exch def + /x exch def + x y moveto + 0 disty 2 div rlineto + stroke + 1 eq { x y disty 2 div add arrow } if +} def + +/hedge +{ + exch xspacing mul xoffset add boxwidth 2 div add + exch yspacing mul boxheight 2 div sub + /y exch def + /x exch def + newpath + x y moveto + boxwidth 2 div distx add 0 rlineto + stroke + 1 eq + { newpath x boxwidth 2 div distx add add y moveto + -8 3 rlineto + 0 -6 rlineto + 8 3 rlineto + closepath + eofill + stroke + } if +} def + +/vedge +{ + /ye exch def + /ys exch def + /xs exch def + newpath + xs xspacing mul xoffset add boxwidth 2 div add dup + ys yspacing mul boxheight 2 div sub + moveto + ye yspacing mul boxheight 2 div sub + lineto + stroke +} def + +/conn % connections the blocks from col `arg1' to `arg2' of row `arg3' +{ + /ys exch def + /xe exch def + /xs exch def + newpath + xs xspacing mul xoffset add boxwidth 2 div add + ys yspacing mul disty 2 div sub + moveto + xspacing xe xs sub mul 0 + rlineto + stroke +} def + +% ----- main ------ + +boxfont setfont +1 boundaspect scale +(UDPSocket) cw +(CommunicatingSocket) cw +(Socket) cw +(UDPPacketSource) cw +/boxwidth boxwidth marginwidth 2 mul add def +/xspacing boxwidth distx add def +/yspacing boxheight disty add def +/scalefactor + boxwidth cols mul distx cols 1 sub mul add + boxheight rows mul disty rows 1 sub mul add boundaspect mul + max def +boundx scalefactor div boundy scalefactor div scale + +% ----- classes ----- + + (UDPSocket) 0 1 box + (CommunicatingSocket) 0 2 box + (Socket) 0 3 box + (UDPPacketSource) 0 0 box + +% ----- relations ----- + +solid +0 0 1 out +solid +1 0 2 in +solid +0 0 2 out +solid +1 0 3 in +solid +1 0 0.25 out +solid +0 0 0.75 in diff --git a/doc/latex/classUDPSocket.tex b/doc/latex/classUDPSocket.tex new file mode 100644 index 0000000..3530bca --- /dev/null +++ b/doc/latex/classUDPSocket.tex @@ -0,0 +1,189 @@ +\section{UDPSocket Class Reference} +\label{classUDPSocket}\index{UDPSocket@{UDPSocket}} +{\tt \#include $<$Practical\-Socket.h$>$} + +Inheritance diagram for UDPSocket::\begin{figure}[H] +\begin{center} +\leavevmode +\includegraphics[height=4cm]{classUDPSocket} +\end{center} +\end{figure} +\subsection*{Public Member Functions} +\begin{CompactItemize} +\item +{\bf UDPSocket} () throw (Socket\-Exception) +\item +{\bf UDPSocket} (unsigned short local\-Port) throw (Socket\-Exception) +\item +{\bf UDPSocket} (const string \&local\-Address, unsigned short local\-Port) throw (Socket\-Exception) +\item +void {\bf disconnect} () throw (Socket\-Exception) +\item +void {\bf send\-To} (const void $\ast$buffer, int buffer\-Len, const string \&foreign\-Address, unsigned short foreign\-Port) throw (Socket\-Exception) +\item +int {\bf recv\-From} (void $\ast$buffer, int buffer\-Len, string \&source\-Address, unsigned short \&source\-Port) throw (Socket\-Exception) +\item +void {\bf set\-Multicast\-TTL} (unsigned char multicast\-TTL) throw (Socket\-Exception) +\item +void {\bf join\-Group} (const string \&multicast\-Group) throw (Socket\-Exception) +\item +void {\bf leave\-Group} (const string \&multicast\-Group) throw (Socket\-Exception) +\end{CompactItemize} +\subsection*{Private Member Functions} +\begin{CompactItemize} +\item +void {\bf set\-Broadcast} () +\end{CompactItemize} + + +\subsection{Detailed Description} +UDP socket class + + + +\subsection{Constructor \& Destructor Documentation} +\index{UDPSocket@{UDPSocket}!UDPSocket@{UDPSocket}} +\index{UDPSocket@{UDPSocket}!UDPSocket@{UDPSocket}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}UDPSocket::UDPSocket () throw ({\bf Socket\-Exception})}\label{classUDPSocket_4f86f3023f5a08f6355802599a10e100} + + +Construct a UDP socket \begin{Desc} +\item[Exceptions:] +\begin{description} +\item[{\em \doxyref{Socket\-Exception}{p.}{classSocketException}}]thrown if unable to create UDP socket \end{description} +\end{Desc} +\index{UDPSocket@{UDPSocket}!UDPSocket@{UDPSocket}} +\index{UDPSocket@{UDPSocket}!UDPSocket@{UDPSocket}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}UDPSocket::UDPSocket (unsigned short {\em local\-Port}) throw ({\bf Socket\-Exception})}\label{classUDPSocket_14dcb55c4b60b12d4a7fff648cbb825f} + + +Construct a UDP socket with the given local port \begin{Desc} +\item[Parameters:] +\begin{description} +\item[{\em local\-Port}]local port \end{description} +\end{Desc} +\begin{Desc} +\item[Exceptions:] +\begin{description} +\item[{\em \doxyref{Socket\-Exception}{p.}{classSocketException}}]thrown if unable to create UDP socket \end{description} +\end{Desc} +\index{UDPSocket@{UDPSocket}!UDPSocket@{UDPSocket}} +\index{UDPSocket@{UDPSocket}!UDPSocket@{UDPSocket}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}UDPSocket::UDPSocket (const string \& {\em local\-Address}, unsigned short {\em local\-Port}) throw ({\bf Socket\-Exception})}\label{classUDPSocket_f19281c523f15ed30d7d78f09033713d} + + +Construct a UDP socket with the given local port and address \begin{Desc} +\item[Parameters:] +\begin{description} +\item[{\em local\-Address}]local address \item[{\em local\-Port}]local port \end{description} +\end{Desc} +\begin{Desc} +\item[Exceptions:] +\begin{description} +\item[{\em \doxyref{Socket\-Exception}{p.}{classSocketException}}]thrown if unable to create UDP socket \end{description} +\end{Desc} + + +\subsection{Member Function Documentation} +\index{UDPSocket@{UDPSocket}!disconnect@{disconnect}} +\index{disconnect@{disconnect}!UDPSocket@{UDPSocket}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void UDPSocket::disconnect () throw ({\bf Socket\-Exception})}\label{classUDPSocket_7482e8e61cef160e1a7c0d6ac15c01be} + + +Unset foreign address and port \begin{Desc} +\item[Returns:]true if disassociation is successful \end{Desc} +\begin{Desc} +\item[Exceptions:] +\begin{description} +\item[{\em \doxyref{Socket\-Exception}{p.}{classSocketException}}]thrown if unable to disconnect UDP socket \end{description} +\end{Desc} +\index{UDPSocket@{UDPSocket}!sendTo@{sendTo}} +\index{sendTo@{sendTo}!UDPSocket@{UDPSocket}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void UDPSocket::send\-To (const void $\ast$ {\em buffer}, int {\em buffer\-Len}, const string \& {\em foreign\-Address}, unsigned short {\em foreign\-Port}) throw ({\bf Socket\-Exception})}\label{classUDPSocket_41a3595e226f273953cbd38618af5d5b} + + +Send the given buffer as a UDP datagram to the specified address/port \begin{Desc} +\item[Parameters:] +\begin{description} +\item[{\em buffer}]buffer to be written \item[{\em buffer\-Len}]number of bytes to write \item[{\em foreign\-Address}]address (IP address or name) to send to \item[{\em foreign\-Port}]port number to send to \end{description} +\end{Desc} +\begin{Desc} +\item[Returns:]true if send is successful \end{Desc} +\begin{Desc} +\item[Exceptions:] +\begin{description} +\item[{\em \doxyref{Socket\-Exception}{p.}{classSocketException}}]thrown if unable to send datagram \end{description} +\end{Desc} +\index{UDPSocket@{UDPSocket}!recvFrom@{recvFrom}} +\index{recvFrom@{recvFrom}!UDPSocket@{UDPSocket}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}int UDPSocket::recv\-From (void $\ast$ {\em buffer}, int {\em buffer\-Len}, string \& {\em source\-Address}, unsigned short \& {\em source\-Port}) throw ({\bf Socket\-Exception})}\label{classUDPSocket_bcd5c064e2496bd8b1888fd4e1b68949} + + +Read read up to buffer\-Len bytes data from this socket. The given buffer is where the data will be placed \begin{Desc} +\item[Parameters:] +\begin{description} +\item[{\em buffer}]buffer to receive data \item[{\em buffer\-Len}]maximum number of bytes to receive \item[{\em source\-Address}]address of datagram source \item[{\em source\-Port}]port of data source \end{description} +\end{Desc} +\begin{Desc} +\item[Returns:]number of bytes received and -1 for error \end{Desc} +\begin{Desc} +\item[Exceptions:] +\begin{description} +\item[{\em \doxyref{Socket\-Exception}{p.}{classSocketException}}]thrown if unable to receive datagram \end{description} +\end{Desc} +\index{UDPSocket@{UDPSocket}!setMulticastTTL@{setMulticastTTL}} +\index{setMulticastTTL@{setMulticastTTL}!UDPSocket@{UDPSocket}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void UDPSocket::set\-Multicast\-TTL (unsigned char {\em multicast\-TTL}) throw ({\bf Socket\-Exception})}\label{classUDPSocket_4dcfff33b45d1b84b5a602fc6f4a27f8} + + +Set the multicast TTL \begin{Desc} +\item[Parameters:] +\begin{description} +\item[{\em multicast\-TTL}]multicast TTL \end{description} +\end{Desc} +\begin{Desc} +\item[Exceptions:] +\begin{description} +\item[{\em \doxyref{Socket\-Exception}{p.}{classSocketException}}]thrown if unable to set TTL \end{description} +\end{Desc} +\index{UDPSocket@{UDPSocket}!joinGroup@{joinGroup}} +\index{joinGroup@{joinGroup}!UDPSocket@{UDPSocket}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void UDPSocket::join\-Group (const string \& {\em multicast\-Group}) throw ({\bf Socket\-Exception})}\label{classUDPSocket_1b20c1e8bd49a9bd9b53dd4f1c8d4c11} + + +Join the specified multicast group \begin{Desc} +\item[Parameters:] +\begin{description} +\item[{\em multicast\-Group}]multicast group address to join \end{description} +\end{Desc} +\begin{Desc} +\item[Exceptions:] +\begin{description} +\item[{\em \doxyref{Socket\-Exception}{p.}{classSocketException}}]thrown if unable to join group \end{description} +\end{Desc} +\index{UDPSocket@{UDPSocket}!leaveGroup@{leaveGroup}} +\index{leaveGroup@{leaveGroup}!UDPSocket@{UDPSocket}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void UDPSocket::leave\-Group (const string \& {\em multicast\-Group}) throw ({\bf Socket\-Exception})}\label{classUDPSocket_78835eaeca8a5ac039b4579c795e3640} + + +Leave the specified multicast group \begin{Desc} +\item[Parameters:] +\begin{description} +\item[{\em multicast\-Group}]multicast group address to leave \end{description} +\end{Desc} +\begin{Desc} +\item[Exceptions:] +\begin{description} +\item[{\em \doxyref{Socket\-Exception}{p.}{classSocketException}}]thrown if unable to leave group \end{description} +\end{Desc} +\index{UDPSocket@{UDPSocket}!setBroadcast@{setBroadcast}} +\index{setBroadcast@{setBroadcast}!UDPSocket@{UDPSocket}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void UDPSocket::set\-Broadcast ()\hspace{0.3cm}{\tt [private]}}\label{classUDPSocket_316f08a017aa160643812f3c08734d27} + + + + +The documentation for this class was generated from the following files:\begin{CompactItemize} +\item +{\bf Practical\-Socket.h}\item +{\bf Practical\-Socket.cpp}\end{CompactItemize} diff --git a/doc/latex/classsatp_1_1SATP.eps b/doc/latex/classsatp_1_1SATP.eps new file mode 100644 index 0000000..8ac6158 --- /dev/null +++ b/doc/latex/classsatp_1_1SATP.eps @@ -0,0 +1,203 @@ +%!PS-Adobe-2.0 EPSF-2.0 +%%Title: ClassName +%%Creator: Doxygen +%%CreationDate: Time +%%For: +%Magnification: 1.00 +%%Orientation: Portrait +%%BoundingBox: 0 0 500 740.741 +%%Pages: 0 +%%BeginSetup +%%EndSetup +%%EndComments + +% ----- variables ----- + +/boxwidth 0 def +/boxheight 40 def +/fontheight 24 def +/marginwidth 10 def +/distx 20 def +/disty 40 def +/boundaspect 0.675 def % aspect ratio of the BoundingBox (width/height) +/boundx 500 def +/boundy boundx boundaspect div def +/xspacing 0 def +/yspacing 0 def +/rows 3 def +/cols 1 def +/scalefactor 0 def +/boxfont /Times-Roman findfont fontheight scalefont def + +% ----- procedures ----- + +/dotted { [1 4] 0 setdash } def +/dashed { [5] 0 setdash } def +/solid { [] 0 setdash } def + +/max % result = MAX(arg1,arg2) +{ + /a exch def + /b exch def + a b gt {a} {b} ifelse +} def + +/xoffset % result = MAX(0,(scalefactor-(boxwidth*cols+distx*(cols-1)))/2) +{ + 0 scalefactor boxwidth cols mul distx cols 1 sub mul add sub 2 div max +} def + +/cw % boxwidth = MAX(boxwidth, stringwidth(arg1)) +{ + /str exch def + /boxwidth boxwidth str stringwidth pop max def +} def + +/box % draws a box with text `arg1' at grid pos (arg2,arg3) +{ gsave + 2 setlinewidth + newpath + exch xspacing mul xoffset add + exch yspacing mul + moveto + boxwidth 0 rlineto + 0 boxheight rlineto + boxwidth neg 0 rlineto + 0 boxheight neg rlineto + closepath + dup stringwidth pop neg boxwidth add 2 div + boxheight fontheight 2 div sub 2 div + rmoveto show stroke + grestore +} def + +/mark +{ newpath + exch xspacing mul xoffset add boxwidth add + exch yspacing mul + moveto + 0 boxheight 4 div rlineto + boxheight neg 4 div boxheight neg 4 div rlineto + closepath + eofill + stroke +} def + +/arrow +{ newpath + moveto + 3 -8 rlineto + -6 0 rlineto + 3 8 rlineto + closepath + eofill + stroke +} def + +/out % draws an output connector for the block at (arg1,arg2) +{ + newpath + exch xspacing mul xoffset add boxwidth 2 div add + exch yspacing mul boxheight add + /y exch def + /x exch def + x y moveto + 0 disty 2 div rlineto + stroke + 1 eq { x y disty 2 div add arrow } if +} def + +/in % draws an input connector for the block at (arg1,arg2) +{ + newpath + exch xspacing mul xoffset add boxwidth 2 div add + exch yspacing mul disty 2 div sub + /y exch def + /x exch def + x y moveto + 0 disty 2 div rlineto + stroke + 1 eq { x y disty 2 div add arrow } if +} def + +/hedge +{ + exch xspacing mul xoffset add boxwidth 2 div add + exch yspacing mul boxheight 2 div sub + /y exch def + /x exch def + newpath + x y moveto + boxwidth 2 div distx add 0 rlineto + stroke + 1 eq + { newpath x boxwidth 2 div distx add add y moveto + -8 3 rlineto + 0 -6 rlineto + 8 3 rlineto + closepath + eofill + stroke + } if +} def + +/vedge +{ + /ye exch def + /ys exch def + /xs exch def + newpath + xs xspacing mul xoffset add boxwidth 2 div add dup + ys yspacing mul boxheight 2 div sub + moveto + ye yspacing mul boxheight 2 div sub + lineto + stroke +} def + +/conn % connections the blocks from col `arg1' to `arg2' of row `arg3' +{ + /ys exch def + /xe exch def + /xs exch def + newpath + xs xspacing mul xoffset add boxwidth 2 div add + ys yspacing mul disty 2 div sub + moveto + xspacing xe xs sub mul 0 + rlineto + stroke +} def + +% ----- main ------ + +boxfont setfont +1 boundaspect scale +(satp::SATP) cw +(Packet) cw +(Buffer) cw +/boxwidth boxwidth marginwidth 2 mul add def +/xspacing boxwidth distx add def +/yspacing boxheight disty add def +/scalefactor + boxwidth cols mul distx cols 1 sub mul add + boxheight rows mul disty rows 1 sub mul add boundaspect mul + max def +boundx scalefactor div boundy scalefactor div scale + +% ----- classes ----- + + (satp::SATP) 0 0 box + (Packet) 0 1 box + (Buffer) 0 2 box + +% ----- relations ----- + +solid +0 0 0 out +solid +1 0 1 in +solid +0 0 1 out +solid +1 0 2 in diff --git a/doc/latex/classsatp_1_1SATP.tex b/doc/latex/classsatp_1_1SATP.tex new file mode 100644 index 0000000..67da3e5 --- /dev/null +++ b/doc/latex/classsatp_1_1SATP.tex @@ -0,0 +1,40 @@ +\section{satp::SATP Class Reference} +\label{classsatp_1_1SATP}\index{satp::SATP@{satp::SATP}} +Inheritance diagram for satp::SATP::\begin{figure}[H] +\begin{center} +\leavevmode +\includegraphics[height=3cm]{classsatp_1_1SATP} +\end{center} +\end{figure} +\subsection*{Static Public Attributes} +\begin{CompactItemize} +\item +string {\bf name} = \char`\"{}SATP\char`\"{} +\item +list {\bf fields\_\-desc} +\end{CompactItemize} + + +\subsection{Member Data Documentation} +\index{satp::SATP@{satp::SATP}!name@{name}} +\index{name@{name}!satp::SATP@{satp::SATP}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}string {\bf satp::SATP::name} = \char`\"{}SATP\char`\"{}\hspace{0.3cm}{\tt [static]}}\label{classsatp_1_1SATP_e9e415324a6a9fbe14971c1ffd334139} + + +\index{satp::SATP@{satp::SATP}!fields_desc@{fields\_\-desc}} +\index{fields_desc@{fields\_\-desc}!satp::SATP@{satp::SATP}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}list {\bf satp::SATP::fields\_\-desc}\hspace{0.3cm}{\tt [static]}}\label{classsatp_1_1SATP_e51015e8537b5ec7aa53ba87bf638c15} + + +\textbf{Initial value:} + +\begin{Code}\begin{verbatim}[ + IntField("seq", None), + ShortField("id", None) + ] +\end{verbatim}\end{Code} + + +The documentation for this class was generated from the following file:\begin{CompactItemize} +\item +{\bf satp.py}\end{CompactItemize} diff --git a/doc/latex/cypher_8cpp.tex b/doc/latex/cypher_8cpp.tex new file mode 100644 index 0000000..ef972bb --- /dev/null +++ b/doc/latex/cypher_8cpp.tex @@ -0,0 +1,8 @@ +\section{cypher.cpp File Reference} +\label{cypher_8cpp}\index{cypher.cpp@{cypher.cpp}} +{\tt \#include $<$stdexcept$>$}\par +{\tt \#include $<$vector$>$}\par +{\tt \#include $<$iostream$>$}\par +{\tt \#include \char`\"{}cypher.h\char`\"{}}\par +{\tt \#include \char`\"{}key\-Derivation.h\char`\"{}}\par +{\tt \#include $<$gcrypt.h$>$}\par diff --git a/doc/latex/cypher_8h.tex b/doc/latex/cypher_8h.tex new file mode 100644 index 0000000..9bd359a --- /dev/null +++ b/doc/latex/cypher_8h.tex @@ -0,0 +1,15 @@ +\section{cypher.h File Reference} +\label{cypher_8h}\index{cypher.h@{cypher.h}} +{\tt \#include \char`\"{}datatypes.h\char`\"{}}\par +{\tt \#include \char`\"{}buffer.h\char`\"{}}\par +{\tt \#include $<$gcrypt.h$>$}\par +{\tt \#include $<$string$>$}\par +\subsection*{Classes} +\begin{CompactItemize} +\item +class {\bf Cypher} +\item +class {\bf Null\-Cypher} +\item +class {\bf Aes\-Icm\-Cypher} +\end{CompactItemize} diff --git a/doc/latex/datatypes_8h.tex b/doc/latex/datatypes_8h.tex new file mode 100644 index 0000000..9b96e3d --- /dev/null +++ b/doc/latex/datatypes_8h.tex @@ -0,0 +1,147 @@ +\section{datatypes.h File Reference} +\label{datatypes_8h}\index{datatypes.h@{datatypes.h}} +\subsection*{Defines} +\begin{CompactItemize} +\item +\#define {\bf SEQ\_\-NR\_\-T\_\-NTOH}(a)~ntohl(a) +\item +\#define {\bf SEQ\_\-NR\_\-T\_\-HTON}(a)~htonl(a) +\item +\#define {\bf SENDER\_\-ID\_\-T\_\-NTOH}(a)~ntohs(a) +\item +\#define {\bf SENDER\_\-ID\_\-T\_\-HTON}(a)~htons(a) +\item +\#define {\bf PAYLOAD\_\-TYPE\_\-T\_\-NTOH}(a)~ntohs(a) +\item +\#define {\bf PAYLOAD\_\-TYPE\_\-T\_\-HTON}(a)~htons(a) +\item +\#define {\bf AUTH\_\-TAG\_\-T\_\-NTOH}(a)~ntohl(a) +\item +\#define {\bf AUTH\_\-TAG\_\-T\_\-HTON}(a)~htonl(a) +\end{CompactItemize} +\subsection*{Typedefs} +\begin{CompactItemize} +\item +typedef signed char {\bf int8\_\-t} +\item +typedef unsigned char {\bf u\_\-int8\_\-t} +\item +typedef signed short {\bf int16} +\item +typedef unsigned short {\bf u\_\-int16\_\-t} +\item +typedef signed int {\bf int32} +\item +typedef unsigned int {\bf u\_\-int32\_\-t} +\item +typedef {\bf u\_\-int32\_\-t} {\bf window\_\-size\_\-t} +\item +typedef {\bf u\_\-int32\_\-t} {\bf seq\_\-nr\_\-t} +\item +typedef {\bf u\_\-int16\_\-t} {\bf sender\_\-id\_\-t} +\item +typedef {\bf u\_\-int16\_\-t} {\bf payload\_\-type\_\-t} +\item +typedef {\bf u\_\-int32\_\-t} {\bf auth\_\-tag\_\-t} +\end{CompactItemize} + + +\subsection{Define Documentation} +\index{datatypes.h@{datatypes.h}!AUTH_TAG_T_HTON@{AUTH\_\-TAG\_\-T\_\-HTON}} +\index{AUTH_TAG_T_HTON@{AUTH\_\-TAG\_\-T\_\-HTON}!datatypes.h@{datatypes.h}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}\#define AUTH\_\-TAG\_\-T\_\-HTON(a)~htonl(a)}\label{datatypes_8h_e08ddfb4ec6d5f44e41d776eec5d6c4b} + + +\index{datatypes.h@{datatypes.h}!AUTH_TAG_T_NTOH@{AUTH\_\-TAG\_\-T\_\-NTOH}} +\index{AUTH_TAG_T_NTOH@{AUTH\_\-TAG\_\-T\_\-NTOH}!datatypes.h@{datatypes.h}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}\#define AUTH\_\-TAG\_\-T\_\-NTOH(a)~ntohl(a)}\label{datatypes_8h_dfe492fa271ed259fdca87aec19b6e4c} + + +\index{datatypes.h@{datatypes.h}!PAYLOAD_TYPE_T_HTON@{PAYLOAD\_\-TYPE\_\-T\_\-HTON}} +\index{PAYLOAD_TYPE_T_HTON@{PAYLOAD\_\-TYPE\_\-T\_\-HTON}!datatypes.h@{datatypes.h}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}\#define PAYLOAD\_\-TYPE\_\-T\_\-HTON(a)~htons(a)}\label{datatypes_8h_173b0a15f5670e90c9bf443d70822753} + + +\index{datatypes.h@{datatypes.h}!PAYLOAD_TYPE_T_NTOH@{PAYLOAD\_\-TYPE\_\-T\_\-NTOH}} +\index{PAYLOAD_TYPE_T_NTOH@{PAYLOAD\_\-TYPE\_\-T\_\-NTOH}!datatypes.h@{datatypes.h}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}\#define PAYLOAD\_\-TYPE\_\-T\_\-NTOH(a)~ntohs(a)}\label{datatypes_8h_2974b1523b0f364e348edb469cf2814f} + + +\index{datatypes.h@{datatypes.h}!SENDER_ID_T_HTON@{SENDER\_\-ID\_\-T\_\-HTON}} +\index{SENDER_ID_T_HTON@{SENDER\_\-ID\_\-T\_\-HTON}!datatypes.h@{datatypes.h}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}\#define SENDER\_\-ID\_\-T\_\-HTON(a)~htons(a)}\label{datatypes_8h_8ecfc6bb5938ad141419ba4f62fc2eca} + + +\index{datatypes.h@{datatypes.h}!SENDER_ID_T_NTOH@{SENDER\_\-ID\_\-T\_\-NTOH}} +\index{SENDER_ID_T_NTOH@{SENDER\_\-ID\_\-T\_\-NTOH}!datatypes.h@{datatypes.h}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}\#define SENDER\_\-ID\_\-T\_\-NTOH(a)~ntohs(a)}\label{datatypes_8h_f0e02829fc534eac0fdec4712459dea4} + + +\index{datatypes.h@{datatypes.h}!SEQ_NR_T_HTON@{SEQ\_\-NR\_\-T\_\-HTON}} +\index{SEQ_NR_T_HTON@{SEQ\_\-NR\_\-T\_\-HTON}!datatypes.h@{datatypes.h}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}\#define SEQ\_\-NR\_\-T\_\-HTON(a)~htonl(a)}\label{datatypes_8h_18c9cf2c5be6cb1e16a319a4da44989b} + + +\index{datatypes.h@{datatypes.h}!SEQ_NR_T_NTOH@{SEQ\_\-NR\_\-T\_\-NTOH}} +\index{SEQ_NR_T_NTOH@{SEQ\_\-NR\_\-T\_\-NTOH}!datatypes.h@{datatypes.h}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}\#define SEQ\_\-NR\_\-T\_\-NTOH(a)~ntohl(a)}\label{datatypes_8h_4c349b0b408b8f654c8713c205f33f60} + + + + +\subsection{Typedef Documentation} +\index{datatypes.h@{datatypes.h}!auth_tag_t@{auth\_\-tag\_\-t}} +\index{auth_tag_t@{auth\_\-tag\_\-t}!datatypes.h@{datatypes.h}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}typedef {\bf u\_\-int32\_\-t} {\bf auth\_\-tag\_\-t}}\label{datatypes_8h_3618ec768f7f5b8ed61f2ad534e1882d} + + +\index{datatypes.h@{datatypes.h}!int16@{int16}} +\index{int16@{int16}!datatypes.h@{datatypes.h}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}typedef signed short {\bf int16}}\label{datatypes_8h_259fa4834387bd68627ddf37bb3ebdb9} + + +\index{datatypes.h@{datatypes.h}!int32@{int32}} +\index{int32@{int32}!datatypes.h@{datatypes.h}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}typedef signed int {\bf int32}}\label{datatypes_8h_43d43196463bde49cb067f5c20ab8481} + + +\index{datatypes.h@{datatypes.h}!int8_t@{int8\_\-t}} +\index{int8_t@{int8\_\-t}!datatypes.h@{datatypes.h}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}typedef signed char {\bf int8\_\-t}}\label{datatypes_8h_ef44329758059c91c76d334e8fc09700} + + +\index{datatypes.h@{datatypes.h}!payload_type_t@{payload\_\-type\_\-t}} +\index{payload_type_t@{payload\_\-type\_\-t}!datatypes.h@{datatypes.h}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}typedef {\bf u\_\-int16\_\-t} {\bf payload\_\-type\_\-t}}\label{datatypes_8h_cb4c65fa561443848e729372d970654d} + + +\index{datatypes.h@{datatypes.h}!sender_id_t@{sender\_\-id\_\-t}} +\index{sender_id_t@{sender\_\-id\_\-t}!datatypes.h@{datatypes.h}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}typedef {\bf u\_\-int16\_\-t} {\bf sender\_\-id\_\-t}}\label{datatypes_8h_c8be006c348a522ae126f67f7b2aaf4e} + + +\index{datatypes.h@{datatypes.h}!seq_nr_t@{seq\_\-nr\_\-t}} +\index{seq_nr_t@{seq\_\-nr\_\-t}!datatypes.h@{datatypes.h}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}typedef {\bf u\_\-int32\_\-t} {\bf seq\_\-nr\_\-t}}\label{datatypes_8h_317be74a3176b4149a817241bd69f9b2} + + +\index{datatypes.h@{datatypes.h}!u_int16_t@{u\_\-int16\_\-t}} +\index{u_int16_t@{u\_\-int16\_\-t}!datatypes.h@{datatypes.h}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}typedef unsigned short {\bf u\_\-int16\_\-t}}\label{datatypes_8h_3aa89f830bb876725b238e6a2a67a809} + + +\index{datatypes.h@{datatypes.h}!u_int32_t@{u\_\-int32\_\-t}} +\index{u_int32_t@{u\_\-int32\_\-t}!datatypes.h@{datatypes.h}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}typedef unsigned int {\bf u\_\-int32\_\-t}}\label{datatypes_8h_1382fcaa92d837ce7c0961788c8243d7} + + +\index{datatypes.h@{datatypes.h}!u_int8_t@{u\_\-int8\_\-t}} +\index{u_int8_t@{u\_\-int8\_\-t}!datatypes.h@{datatypes.h}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}typedef unsigned char {\bf u\_\-int8\_\-t}}\label{datatypes_8h_40a40c6e9649a4e3806e76fef247d241} + + +\index{datatypes.h@{datatypes.h}!window_size_t@{window\_\-size\_\-t}} +\index{window_size_t@{window\_\-size\_\-t}!datatypes.h@{datatypes.h}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}typedef {\bf u\_\-int32\_\-t} {\bf window\_\-size\_\-t}}\label{datatypes_8h_0246b9fac0b861d94e0e4cc9ae2e5070} + + diff --git a/doc/latex/doxygen.sty b/doc/latex/doxygen.sty new file mode 100644 index 0000000..3b75371 --- /dev/null +++ b/doc/latex/doxygen.sty @@ -0,0 +1,78 @@ +\NeedsTeXFormat{LaTeX2e} +\ProvidesPackage{doxygen} +\RequirePackage{calc} +\RequirePackage{array} +\pagestyle{fancyplain} +\newcommand{\clearemptydoublepage}{\newpage{\pagestyle{empty}\cleardoublepage}} +\renewcommand{\chaptermark}[1]{\markboth{#1}{}} +\renewcommand{\sectionmark}[1]{\markright{\thesection\ #1}} +\lhead[\fancyplain{}{\bfseries\thepage}] + {\fancyplain{}{\bfseries\rightmark}} +\rhead[\fancyplain{}{\bfseries\leftmark}] + {\fancyplain{}{\bfseries\thepage}} +\rfoot[\fancyplain{}{\bfseries\scriptsize Generated on Sun Oct 7 23:43:49 2007 for anytun by Doxygen }]{} +\lfoot[]{\fancyplain{}{\bfseries\scriptsize Generated on Sun Oct 7 23:43:49 2007 for anytun by Doxygen }} +\cfoot{} +\newenvironment{Code} +{\footnotesize} +{\normalsize} +\newcommand{\doxyref}[3]{\textbf{#1} (\textnormal{#2}\,\pageref{#3})} +\newenvironment{DocInclude} +{\footnotesize} +{\normalsize} +\newenvironment{VerbInclude} +{\footnotesize} +{\normalsize} +\newenvironment{Image} +{\begin{figure}[H]} +{\end{figure}} +\newenvironment{ImageNoCaption}{}{} +\newenvironment{CompactList} +{\begin{list}{}{ + \setlength{\leftmargin}{0.5cm} + \setlength{\itemsep}{0pt} + \setlength{\parsep}{0pt} + \setlength{\topsep}{0pt} + \renewcommand{\makelabel}{\hfill}}} +{\end{list}} +\newenvironment{CompactItemize} +{ + \begin{itemize} + \setlength{\itemsep}{-3pt} + \setlength{\parsep}{0pt} + \setlength{\topsep}{0pt} + \setlength{\partopsep}{0pt} +} +{\end{itemize}} +\newcommand{\PBS}[1]{\let\temp=\\#1\let\\=\temp} +\newlength{\tmplength} +\newenvironment{TabularC}[1] +{ +\setlength{\tmplength} + {\linewidth/(#1)-\tabcolsep*2-\arrayrulewidth*(#1+1)/(#1)} + \par\begin{tabular*}{\linewidth} + {*{#1}{|>{\PBS\raggedright\hspace{0pt}}p{\the\tmplength}}|} +} +{\end{tabular*}\par} +\newcommand{\entrylabel}[1]{ + {\parbox[b]{\labelwidth-4pt}{\makebox[0pt][l]{\textbf{#1}}\vspace{1.5\baselineskip}}}} +\newenvironment{Desc} +{\begin{list}{} + { + \settowidth{\labelwidth}{40pt} + \setlength{\leftmargin}{\labelwidth} + \setlength{\parsep}{0pt} + \setlength{\itemsep}{-4pt} + \renewcommand{\makelabel}{\entrylabel} + } +} +{\end{list}} +\newenvironment{Indent} + {\begin{list}{}{\setlength{\leftmargin}{0.5cm}} + \item[]\ignorespaces} + {\unskip\end{list}} +\setlength{\parindent}{0cm} +\setlength{\parskip}{0.2cm} +\addtocounter{secnumdepth}{1} +\sloppy +\usepackage[T1]{fontenc} diff --git a/doc/latex/files.tex b/doc/latex/files.tex new file mode 100644 index 0000000..0a7f754 --- /dev/null +++ b/doc/latex/files.tex @@ -0,0 +1,31 @@ +\section{anytun File List} +Here is a list of all files with brief descriptions:\begin{CompactList} +\item\contentsline{section}{{\bf anytun.cpp} }{\pageref{anytun_8cpp}}{} +\item\contentsline{section}{{\bf auth\-Algo.cpp} }{\pageref{authAlgo_8cpp}}{} +\item\contentsline{section}{{\bf auth\-Algo.h} }{\pageref{authAlgo_8h}}{} +\item\contentsline{section}{{\bf buffer.cpp} }{\pageref{buffer_8cpp}}{} +\item\contentsline{section}{{\bf buffer.h} }{\pageref{buffer_8h}}{} +\item\contentsline{section}{{\bf cypher.cpp} }{\pageref{cypher_8cpp}}{} +\item\contentsline{section}{{\bf cypher.h} }{\pageref{cypher_8h}}{} +\item\contentsline{section}{{\bf datatypes.h} }{\pageref{datatypes_8h}}{} +\item\contentsline{section}{{\bf key\-Derivation.cpp} }{\pageref{keyDerivation_8cpp}}{} +\item\contentsline{section}{{\bf key\-Derivation.h} }{\pageref{keyDerivation_8h}}{} +\item\contentsline{section}{{\bf log.cpp} }{\pageref{log_8cpp}}{} +\item\contentsline{section}{{\bf log.h} }{\pageref{log_8h}}{} +\item\contentsline{section}{{\bf options.cpp} }{\pageref{options_8cpp}}{} +\item\contentsline{section}{{\bf options.h} }{\pageref{options_8h}}{} +\item\contentsline{section}{{\bf packet.cpp} }{\pageref{packet_8cpp}}{} +\item\contentsline{section}{{\bf packet.h} }{\pageref{packet_8h}}{} +\item\contentsline{section}{{\bf packet\-Source.cpp} }{\pageref{packetSource_8cpp}}{} +\item\contentsline{section}{{\bf packet\-Source.h} }{\pageref{packetSource_8h}}{} +\item\contentsline{section}{{\bf Practical\-Socket.cpp} }{\pageref{PracticalSocket_8cpp}}{} +\item\contentsline{section}{{\bf Practical\-Socket.h} }{\pageref{PracticalSocket_8h}}{} +\item\contentsline{section}{{\bf satp.py} }{\pageref{satp_8py}}{} +\item\contentsline{section}{{\bf seq\-Window.cpp} }{\pageref{seqWindow_8cpp}}{} +\item\contentsline{section}{{\bf seq\-Window.h} }{\pageref{seqWindow_8h}}{} +\item\contentsline{section}{{\bf signal\-Controller.cpp} }{\pageref{signalController_8cpp}}{} +\item\contentsline{section}{{\bf signal\-Controller.h} }{\pageref{signalController_8h}}{} +\item\contentsline{section}{{\bf thread\-Utils.hpp} }{\pageref{threadUtils_8hpp}}{} +\item\contentsline{section}{{\bf tun\-Device.cpp} }{\pageref{tunDevice_8cpp}}{} +\item\contentsline{section}{{\bf tun\-Device.h} }{\pageref{tunDevice_8h}}{} +\end{CompactList} diff --git a/doc/latex/hierarchy.tex b/doc/latex/hierarchy.tex new file mode 100644 index 0000000..478b060 --- /dev/null +++ b/doc/latex/hierarchy.tex @@ -0,0 +1,60 @@ +\section{anytun Class Hierarchy} +This inheritance list is sorted roughly, but not completely, alphabetically:\begin{CompactList} +\item \contentsline{section}{Auth\-Algo}{\pageref{classAuthAlgo}}{} +\begin{CompactList} +\item \contentsline{section}{Hmac\-Auth\-Algo}{\pageref{classHmacAuthAlgo}}{} +\item \contentsline{section}{Null\-Auth\-Algo}{\pageref{classNullAuthAlgo}}{} +\end{CompactList} +\item \contentsline{section}{Buffer}{\pageref{classBuffer}}{} +\begin{CompactList} +\item \contentsline{section}{Packet}{\pageref{classPacket}}{} +\begin{CompactList} +\item \contentsline{section}{satp::SATP}{\pageref{classsatp_1_1SATP}}{} +\end{CompactList} +\end{CompactList} +\item \contentsline{section}{Condition}{\pageref{classCondition}}{} +\item \contentsline{section}{Cypher}{\pageref{classCypher}}{} +\begin{CompactList} +\item \contentsline{section}{Aes\-Icm\-Cypher}{\pageref{classAesIcmCypher}}{} +\item \contentsline{section}{Null\-Cypher}{\pageref{classNullCypher}}{} +\end{CompactList} +\item \contentsline{section}{Key\-Derivation}{\pageref{classKeyDerivation}}{} +\item \contentsline{section}{Lock}{\pageref{classLock}}{} +\item \contentsline{section}{Log}{\pageref{classLog}}{} +\item \contentsline{section}{Log::instance\-Cleaner}{\pageref{classLog_1_1instanceCleaner}}{} +\item \contentsline{section}{Log\-String\-Builder}{\pageref{classLogStringBuilder}}{} +\item \contentsline{section}{Mutex}{\pageref{classMutex}}{} +\item \contentsline{section}{Options}{\pageref{classOptions}}{} +\item \contentsline{section}{Packet::Header\-Struct}{\pageref{structPacket_1_1HeaderStruct}}{} +\item \contentsline{section}{Packet\-Source}{\pageref{classPacketSource}}{} +\begin{CompactList} +\item \contentsline{section}{UDPPacket\-Source}{\pageref{classUDPPacketSource}}{} +\end{CompactList} +\item \contentsline{section}{Param}{\pageref{structParam}}{} +\item \contentsline{section}{Semaphore}{\pageref{classSemaphore}}{} +\item \contentsline{section}{Seq\-Window}{\pageref{classSeqWindow}}{} +\item \contentsline{section}{Signal\-Controller}{\pageref{classSignalController}}{} +\item \contentsline{section}{Signal\-Handler}{\pageref{classSignalHandler}}{} +\begin{CompactList} +\item \contentsline{section}{Sig\-Hup\-Handler}{\pageref{classSigHupHandler}}{} +\item \contentsline{section}{Sig\-Int\-Handler}{\pageref{classSigIntHandler}}{} +\item \contentsline{section}{Sig\-Quit\-Handler}{\pageref{classSigQuitHandler}}{} +\item \contentsline{section}{Sig\-Term\-Handler}{\pageref{classSigTermHandler}}{} +\item \contentsline{section}{Sig\-Usr1Handler}{\pageref{classSigUsr1Handler}}{} +\item \contentsline{section}{Sig\-Usr2Handler}{\pageref{classSigUsr2Handler}}{} +\end{CompactList} +\item \contentsline{section}{Socket}{\pageref{classSocket}}{} +\begin{CompactList} +\item \contentsline{section}{Communicating\-Socket}{\pageref{classCommunicatingSocket}}{} +\begin{CompactList} +\item \contentsline{section}{TCPSocket}{\pageref{classTCPSocket}}{} +\item \contentsline{section}{UDPSocket}{\pageref{classUDPSocket}}{} +\begin{CompactList} +\item \contentsline{section}{UDPPacket\-Source}{\pageref{classUDPPacketSource}}{} +\end{CompactList} +\end{CompactList} +\item \contentsline{section}{TCPServer\-Socket}{\pageref{classTCPServerSocket}}{} +\end{CompactList} +\item \contentsline{section}{Socket\-Exception}{\pageref{classSocketException}}{} +\item \contentsline{section}{Tun\-Device}{\pageref{classTunDevice}}{} +\end{CompactList} diff --git a/doc/latex/index.tex b/doc/latex/index.tex new file mode 100644 index 0000000..56fd6f9 --- /dev/null +++ b/doc/latex/index.tex @@ -0,0 +1,11 @@ +anytun + +The secure anycast tunneling protocol (satp) defines a protocol used for communication between any combination of unicast and anycast tunnel endpoints. It has less protocol overhead than IPSec in Tunnel mode and allows tunneling of every ETHER TYPE protocol (e.g. ethernet, ip, arp ...). satp directly includes cryptography and message authentication based on the methodes used by SRTP. It is intended to deliver a generic, scaleable and secure solution for tunneling and relaying of packets of any protocol. + +Copyright (C) 2007 anytun.org $<${\tt satp@wirdorange.org}$>$ + +This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License version 2 as published by the Free Software Foundation. + +This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along with this program (see the file COPYING included with this distribution); if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
\ No newline at end of file diff --git a/doc/latex/keyDerivation_8cpp.tex b/doc/latex/keyDerivation_8cpp.tex new file mode 100644 index 0000000..64b16b3 --- /dev/null +++ b/doc/latex/keyDerivation_8cpp.tex @@ -0,0 +1,5 @@ +\section{key\-Derivation.cpp File Reference} +\label{keyDerivation_8cpp}\index{keyDerivation.cpp@{keyDerivation.cpp}} +{\tt \#include \char`\"{}key\-Derivation.h\char`\"{}}\par +{\tt \#include $<$iostream$>$}\par +{\tt \#include $<$srtp/crypto\_\-kernel.h$>$}\par diff --git a/doc/latex/keyDerivation_8h.tex b/doc/latex/keyDerivation_8h.tex new file mode 100644 index 0000000..1dc84ca --- /dev/null +++ b/doc/latex/keyDerivation_8h.tex @@ -0,0 +1,53 @@ +\section{key\-Derivation.h File Reference} +\label{keyDerivation_8h}\index{keyDerivation.h@{keyDerivation.h}} +{\tt \#include \char`\"{}datatypes.h\char`\"{}}\par +{\tt \#include \char`\"{}buffer.h\char`\"{}}\par +{\tt \#include $<$string$>$}\par +{\tt \#include $<$srtp/crypto\_\-kernel.h$>$}\par +{\tt \#include $<$gcrypt.h$>$}\par +\subsection*{Classes} +\begin{CompactItemize} +\item +class {\bf Key\-Derivation} +\end{CompactItemize} +\subsection*{Enumerations} +\begin{CompactItemize} +\item +enum {\bf satp\_\-prf\_\-label} \{ {\bf label\_\-satp\_\-encryption} = 0x00, +{\bf label\_\-satp\_\-msg\_\-auth} = 0x01, +{\bf label\_\-satp\_\-salt} = 0x02 + \} +\end{CompactItemize} +\subsection*{Variables} +\begin{CompactItemize} +\item +const std::string {\bf MIN\_\-GCRYPT\_\-VERSION} = \char`\"{}1.2.3\char`\"{} +\end{CompactItemize} + + +\subsection{Enumeration Type Documentation} +\index{keyDerivation.h@{key\-Derivation.h}!satp_prf_label@{satp\_\-prf\_\-label}} +\index{satp_prf_label@{satp\_\-prf\_\-label}!keyDerivation.h@{key\-Derivation.h}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}enum {\bf satp\_\-prf\_\-label}}\label{keyDerivation_8h_4829fcd87054af9b3ced79bbac1ce1eb} + + +\begin{Desc} +\item[Enumerator: ]\par +\begin{description} +\index{label_satp_encryption@{label\_\-satp\_\-encryption}!keyDerivation.h@{keyDerivation.h}}\index{keyDerivation.h@{keyDerivation.h}!label_satp_encryption@{label\_\-satp\_\-encryption}}\item[{\em +label\_\-satp\_\-encryption\label{keyDerivation_8h_4829fcd87054af9b3ced79bbac1ce1eb4cece0d357861fb1d1b4087f05284543} +}]\index{label_satp_msg_auth@{label\_\-satp\_\-msg\_\-auth}!keyDerivation.h@{keyDerivation.h}}\index{keyDerivation.h@{keyDerivation.h}!label_satp_msg_auth@{label\_\-satp\_\-msg\_\-auth}}\item[{\em +label\_\-satp\_\-msg\_\-auth\label{keyDerivation_8h_4829fcd87054af9b3ced79bbac1ce1ebd45276cca55df72c149b44bbf80757c3} +}]\index{label_satp_salt@{label\_\-satp\_\-salt}!keyDerivation.h@{keyDerivation.h}}\index{keyDerivation.h@{keyDerivation.h}!label_satp_salt@{label\_\-satp\_\-salt}}\item[{\em +label\_\-satp\_\-salt\label{keyDerivation_8h_4829fcd87054af9b3ced79bbac1ce1eb78eb4c963e5ca87676c0a713e2fd9aa4} +}]\end{description} +\end{Desc} + + + +\subsection{Variable Documentation} +\index{keyDerivation.h@{key\-Derivation.h}!MIN_GCRYPT_VERSION@{MIN\_\-GCRYPT\_\-VERSION}} +\index{MIN_GCRYPT_VERSION@{MIN\_\-GCRYPT\_\-VERSION}!keyDerivation.h@{key\-Derivation.h}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}const std::string {\bf MIN\_\-GCRYPT\_\-VERSION} = \char`\"{}1.2.3\char`\"{}}\label{keyDerivation_8h_6dcd6ca1447ccea53a7975c2a18f6a83} + + diff --git a/doc/latex/log_8cpp.tex b/doc/latex/log_8cpp.tex new file mode 100644 index 0000000..b33cbb7 --- /dev/null +++ b/doc/latex/log_8cpp.tex @@ -0,0 +1,20 @@ +\section{log.cpp File Reference} +\label{log_8cpp}\index{log.cpp@{log.cpp}} +{\tt \#include $<$iostream$>$}\par +{\tt \#include $<$string$>$}\par +{\tt \#include $<$syslog.h$>$}\par +{\tt \#include \char`\"{}log.h\char`\"{}}\par +{\tt \#include \char`\"{}thread\-Utils.hpp\char`\"{}}\par +\subsection*{Variables} +\begin{CompactItemize} +\item +{\bf Log} \& {\bf c\-Log} = Log::instance() +\end{CompactItemize} + + +\subsection{Variable Documentation} +\index{log.cpp@{log.cpp}!cLog@{cLog}} +\index{cLog@{cLog}!log.cpp@{log.cpp}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf Log}\& {\bf c\-Log} = Log::instance()}\label{log_8cpp_dabafeab912880de79e232735f44ce33} + + diff --git a/doc/latex/log_8h.tex b/doc/latex/log_8h.tex new file mode 100644 index 0000000..e158c2f --- /dev/null +++ b/doc/latex/log_8h.tex @@ -0,0 +1,28 @@ +\section{log.h File Reference} +\label{log_8h}\index{log.h@{log.h}} +{\tt \#include $<$string$>$}\par +{\tt \#include $<$sstream$>$}\par +{\tt \#include $<$syslog.h$>$}\par +{\tt \#include \char`\"{}thread\-Utils.hpp\char`\"{}}\par +\subsection*{Classes} +\begin{CompactItemize} +\item +class {\bf Log\-String\-Builder} +\item +class {\bf Log} +\item +class {\bf Log::instance\-Cleaner} +\end{CompactItemize} +\subsection*{Variables} +\begin{CompactItemize} +\item +{\bf Log} \& {\bf c\-Log} +\end{CompactItemize} + + +\subsection{Variable Documentation} +\index{log.h@{log.h}!cLog@{cLog}} +\index{cLog@{cLog}!log.h@{log.h}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf Log}\& {\bf c\-Log}}\label{log_8h_dabafeab912880de79e232735f44ce33} + + diff --git a/doc/latex/main.tex b/doc/latex/main.tex new file mode 100644 index 0000000..56fd6f9 --- /dev/null +++ b/doc/latex/main.tex @@ -0,0 +1,11 @@ +anytun + +The secure anycast tunneling protocol (satp) defines a protocol used for communication between any combination of unicast and anycast tunnel endpoints. It has less protocol overhead than IPSec in Tunnel mode and allows tunneling of every ETHER TYPE protocol (e.g. ethernet, ip, arp ...). satp directly includes cryptography and message authentication based on the methodes used by SRTP. It is intended to deliver a generic, scaleable and secure solution for tunneling and relaying of packets of any protocol. + +Copyright (C) 2007 anytun.org $<${\tt satp@wirdorange.org}$>$ + +This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License version 2 as published by the Free Software Foundation. + +This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along with this program (see the file COPYING included with this distribution); if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
\ No newline at end of file diff --git a/doc/latex/namespaces.tex b/doc/latex/namespaces.tex new file mode 100644 index 0000000..9fbe095 --- /dev/null +++ b/doc/latex/namespaces.tex @@ -0,0 +1,6 @@ +\section{anytun Namespace List} +Here is a list of all namespaces with brief descriptions:\begin{CompactList} +\item\contentsline{section}{{\bf satp} }{\pageref{namespacesatp}}{} +\item\contentsline{section}{{\bf scapy::$\ast$} }{\pageref{namespacescapy_1_1_5}}{} +\item\contentsline{section}{{\bf std} }{\pageref{namespacestd}}{} +\end{CompactList} diff --git a/doc/latex/namespacesatp.tex b/doc/latex/namespacesatp.tex new file mode 100644 index 0000000..6f73f8f --- /dev/null +++ b/doc/latex/namespacesatp.tex @@ -0,0 +1,9 @@ +\section{satp Namespace Reference} +\label{namespacesatp}\index{satp@{satp}} + + +\subsection*{Classes} +\begin{CompactItemize} +\item +class {\bf SATP} +\end{CompactItemize} diff --git a/doc/latex/namespacescapy_1_1_5.tex b/doc/latex/namespacescapy_1_1_5.tex new file mode 100644 index 0000000..56a649f --- /dev/null +++ b/doc/latex/namespacescapy_1_1_5.tex @@ -0,0 +1,4 @@ +\section{scapy::$\ast$ Namespace Reference} +\label{namespacescapy_1_1_5}\index{scapy::*@{scapy::$\ast$}} + + diff --git a/doc/latex/namespacestd.tex b/doc/latex/namespacestd.tex new file mode 100644 index 0000000..a1732dd --- /dev/null +++ b/doc/latex/namespacestd.tex @@ -0,0 +1,4 @@ +\section{std Namespace Reference} +\label{namespacestd}\index{std@{std}} + + diff --git a/doc/latex/options_8cpp.tex b/doc/latex/options_8cpp.tex new file mode 100644 index 0000000..251b52b --- /dev/null +++ b/doc/latex/options_8cpp.tex @@ -0,0 +1,79 @@ +\section{options.cpp File Reference} +\label{options_8cpp}\index{options.cpp@{options.cpp}} +{\tt \#include $<$iostream$>$}\par +{\tt \#include $<$string$>$}\par +{\tt \#include $<$sstream$>$}\par +{\tt \#include \char`\"{}datatypes.h\char`\"{}}\par +{\tt \#include \char`\"{}options.h\char`\"{}}\par +\subsection*{Defines} +\begin{CompactItemize} +\item +\#define {\bf PARSE\_\-BOOL\_\-PARAM}(SHORT, LONG, VALUE) +\item +\#define {\bf PARSE\_\-INVERSE\_\-BOOL\_\-PARAM}(SHORT, LONG, VALUE) +\item +\#define {\bf PARSE\_\-SCALAR\_\-PARAM}(SHORT, LONG, VALUE) +\item +\#define {\bf PARSE\_\-SCALAR\_\-PARAM2}(SHORT, LONG, VALUE1, VALUE2) +\end{CompactItemize} + + +\subsection{Define Documentation} +\index{options.cpp@{options.cpp}!PARSE_BOOL_PARAM@{PARSE\_\-BOOL\_\-PARAM}} +\index{PARSE_BOOL_PARAM@{PARSE\_\-BOOL\_\-PARAM}!options.cpp@{options.cpp}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}\#define PARSE\_\-BOOL\_\-PARAM(SHORT, LONG, VALUE)}\label{options_8cpp_b2c4e3c2031ae2187d3995f4b4848e10} + + +\textbf{Value:} + +\begin{Code}\begin{verbatim}else if(str == SHORT || str == LONG) \ + VALUE = true; +\end{verbatim}\end{Code} +\index{options.cpp@{options.cpp}!PARSE_INVERSE_BOOL_PARAM@{PARSE\_\-INVERSE\_\-BOOL\_\-PARAM}} +\index{PARSE_INVERSE_BOOL_PARAM@{PARSE\_\-INVERSE\_\-BOOL\_\-PARAM}!options.cpp@{options.cpp}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}\#define PARSE\_\-INVERSE\_\-BOOL\_\-PARAM(SHORT, LONG, VALUE)}\label{options_8cpp_0d965a5094bb6aa3a39c4ff7ea99a13f} + + +\textbf{Value:} + +\begin{Code}\begin{verbatim}else if(str == SHORT || str == LONG) \ + VALUE = false; +\end{verbatim}\end{Code} +\index{options.cpp@{options.cpp}!PARSE_SCALAR_PARAM@{PARSE\_\-SCALAR\_\-PARAM}} +\index{PARSE_SCALAR_PARAM@{PARSE\_\-SCALAR\_\-PARAM}!options.cpp@{options.cpp}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}\#define PARSE\_\-SCALAR\_\-PARAM(SHORT, LONG, VALUE)}\label{options_8cpp_8c39923ab70d37dd4ac5c17b7b41df93} + + +\textbf{Value:} + +\begin{Code}\begin{verbatim}else if(str == SHORT || str == LONG) \ + { \ + if(argc < 1 || argv[i+1][0] == '-') \ + return false; \ + std::stringstream tmp; \ + tmp << argv[i+1]; \ + tmp >> VALUE; \ + argc--; \ + i++; \ + } +\end{verbatim}\end{Code} +\index{options.cpp@{options.cpp}!PARSE_SCALAR_PARAM2@{PARSE\_\-SCALAR\_\-PARAM2}} +\index{PARSE_SCALAR_PARAM2@{PARSE\_\-SCALAR\_\-PARAM2}!options.cpp@{options.cpp}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}\#define PARSE\_\-SCALAR\_\-PARAM2(SHORT, LONG, VALUE1, VALUE2)}\label{options_8cpp_ff99f765434c4a73e4b4b9f5d71022e2} + + +\textbf{Value:} + +\begin{Code}\begin{verbatim}else if(str == SHORT || str == LONG) \ + { \ + if(argc < 2 || \ + argv[i+1][0] == '-' || argv[i+2][0] == '-') \ + return false; \ + std::stringstream tmp; \ + tmp << argv[i+1] << " " << argv[i+2]; \ + tmp >> VALUE1; \ + tmp >> VALUE2; \ + argc-=2; \ + i+=2; \ + } +\end{verbatim}\end{Code} diff --git a/doc/latex/options_8h.tex b/doc/latex/options_8h.tex new file mode 100644 index 0000000..df585d1 --- /dev/null +++ b/doc/latex/options_8h.tex @@ -0,0 +1,8 @@ +\section{options.h File Reference} +\label{options_8h}\index{options.h@{options.h}} +{\tt \#include \char`\"{}thread\-Utils.hpp\char`\"{}}\par +\subsection*{Classes} +\begin{CompactItemize} +\item +class {\bf Options} +\end{CompactItemize} diff --git a/doc/latex/packetSource_8cpp.tex b/doc/latex/packetSource_8cpp.tex new file mode 100644 index 0000000..d2fa177 --- /dev/null +++ b/doc/latex/packetSource_8cpp.tex @@ -0,0 +1,6 @@ +\section{packet\-Source.cpp File Reference} +\label{packetSource_8cpp}\index{packetSource.cpp@{packetSource.cpp}} +{\tt \#include \char`\"{}datatypes.h\char`\"{}}\par +{\tt \#include \char`\"{}packet\-Source.h\char`\"{}}\par +{\tt \#include \char`\"{}buffer.h\char`\"{}}\par +{\tt \#include \char`\"{}Practical\-Socket.h\char`\"{}}\par diff --git a/doc/latex/packetSource_8h.tex b/doc/latex/packetSource_8h.tex new file mode 100644 index 0000000..58de767 --- /dev/null +++ b/doc/latex/packetSource_8h.tex @@ -0,0 +1,12 @@ +\section{packet\-Source.h File Reference} +\label{packetSource_8h}\index{packetSource.h@{packetSource.h}} +{\tt \#include \char`\"{}datatypes.h\char`\"{}}\par +{\tt \#include \char`\"{}buffer.h\char`\"{}}\par +{\tt \#include \char`\"{}Practical\-Socket.h\char`\"{}}\par +\subsection*{Classes} +\begin{CompactItemize} +\item +class {\bf Packet\-Source} +\item +class {\bf UDPPacket\-Source} +\end{CompactItemize} diff --git a/doc/latex/packet_8cpp.tex b/doc/latex/packet_8cpp.tex new file mode 100644 index 0000000..82779f2 --- /dev/null +++ b/doc/latex/packet_8cpp.tex @@ -0,0 +1,6 @@ +\section{packet.cpp File Reference} +\label{packet_8cpp}\index{packet.cpp@{packet.cpp}} +{\tt \#include $<$stdexcept$>$}\par +{\tt \#include $<$arpa/inet.h$>$}\par +{\tt \#include \char`\"{}datatypes.h\char`\"{}}\par +{\tt \#include \char`\"{}packet.h\char`\"{}}\par diff --git a/doc/latex/packet_8h.tex b/doc/latex/packet_8h.tex new file mode 100644 index 0000000..520a692 --- /dev/null +++ b/doc/latex/packet_8h.tex @@ -0,0 +1,11 @@ +\section{packet.h File Reference} +\label{packet_8h}\index{packet.h@{packet.h}} +{\tt \#include \char`\"{}datatypes.h\char`\"{}}\par +{\tt \#include \char`\"{}buffer.h\char`\"{}}\par +\subsection*{Classes} +\begin{CompactItemize} +\item +class {\bf Packet} +\item +struct {\bf Packet::Header\-Struct} +\end{CompactItemize} diff --git a/doc/latex/refman.tex b/doc/latex/refman.tex new file mode 100644 index 0000000..4c186f1 --- /dev/null +++ b/doc/latex/refman.tex @@ -0,0 +1,113 @@ +\documentclass[a4paper]{book} +\usepackage{a4wide} +\usepackage{makeidx} +\usepackage{fancyhdr} +\usepackage{graphicx} +\usepackage{multicol} +\usepackage{float} +\usepackage{textcomp} +\usepackage{alltt} +\usepackage{doxygen} +\makeindex +\setcounter{tocdepth}{1} +\renewcommand{\footrulewidth}{0.4pt} +\begin{document} +\begin{titlepage} +\vspace*{7cm} +\begin{center} +{\Large anytun Reference Manual}\\ +\vspace*{1cm} +{\large Generated by Doxygen 1.5.1}\\ +\vspace*{0.5cm} +{\small Sun Oct 7 23:43:49 2007}\\ +\end{center} +\end{titlepage} +\clearemptydoublepage +\pagenumbering{roman} +\tableofcontents +\clearemptydoublepage +\pagenumbering{arabic} +\chapter{anytun Main Page} +\label{index}\input{main} +\chapter{anytun Namespace Index} +\input{namespaces} +\chapter{anytun Hierarchical Index} +\input{hierarchy} +\chapter{anytun Class Index} +\input{annotated} +\chapter{anytun File Index} +\input{files} +\chapter{anytun Namespace Documentation} +\input{namespacesatp} +\include{namespacescapy_1_1_5} +\include{namespacestd} +\chapter{anytun Class Documentation} +\input{classAesIcmCypher} +\include{classAuthAlgo} +\include{classBuffer} +\include{classCommunicatingSocket} +\include{classCondition} +\include{classCypher} +\include{classHmacAuthAlgo} +\include{classKeyDerivation} +\include{classLock} +\include{classLog} +\include{classLog_1_1instanceCleaner} +\include{classLogStringBuilder} +\include{classMutex} +\include{classNullAuthAlgo} +\include{classNullCypher} +\include{classOptions} +\include{classPacket} +\include{structPacket_1_1HeaderStruct} +\include{classPacketSource} +\include{structParam} +\include{classsatp_1_1SATP} +\include{classSemaphore} +\include{classSeqWindow} +\include{classSigHupHandler} +\include{classSigIntHandler} +\include{classSignalController} +\include{classSignalHandler} +\include{classSigQuitHandler} +\include{classSigTermHandler} +\include{classSigUsr1Handler} +\include{classSigUsr2Handler} +\include{classSocket} +\include{classSocketException} +\include{classTCPServerSocket} +\include{classTCPSocket} +\include{classTunDevice} +\include{classUDPPacketSource} +\include{classUDPSocket} +\chapter{anytun File Documentation} +\input{anytun_8cpp} +\include{authAlgo_8cpp} +\include{authAlgo_8h} +\include{buffer_8cpp} +\include{buffer_8h} +\include{cypher_8cpp} +\include{cypher_8h} +\include{datatypes_8h} +\include{keyDerivation_8cpp} +\include{keyDerivation_8h} +\include{log_8cpp} +\include{log_8h} +\include{options_8cpp} +\include{options_8h} +\include{packet_8cpp} +\include{packet_8h} +\include{packetSource_8cpp} +\include{packetSource_8h} +\include{PracticalSocket_8cpp} +\include{PracticalSocket_8h} +\include{satp_8py} +\include{seqWindow_8cpp} +\include{seqWindow_8h} +\include{signalController_8cpp} +\include{signalController_8h} +\include{threadUtils_8hpp} +\include{tunDevice_8cpp} +\include{tunDevice_8h} +\printindex +\end{document} diff --git a/doc/latex/satp_8py.tex b/doc/latex/satp_8py.tex new file mode 100644 index 0000000..b39e388 --- /dev/null +++ b/doc/latex/satp_8py.tex @@ -0,0 +1,14 @@ +\section{satp.py File Reference} +\label{satp_8py}\index{satp.py@{satp.py}} +\subsection*{Namespaces} +\begin{CompactItemize} +\item +namespace {\bf satp} +\item +namespace {\bf scapy::$\ast$} +\end{CompactItemize} +\subsection*{Classes} +\begin{CompactItemize} +\item +class {\bf satp::SATP} +\end{CompactItemize} diff --git a/doc/latex/seqWindow_8cpp.tex b/doc/latex/seqWindow_8cpp.tex new file mode 100644 index 0000000..b0f9c6c --- /dev/null +++ b/doc/latex/seqWindow_8cpp.tex @@ -0,0 +1,5 @@ +\section{seq\-Window.cpp File Reference} +\label{seqWindow_8cpp}\index{seqWindow.cpp@{seqWindow.cpp}} +{\tt \#include \char`\"{}thread\-Utils.hpp\char`\"{}}\par +{\tt \#include \char`\"{}datatypes.h\char`\"{}}\par +{\tt \#include \char`\"{}seq\-Window.h\char`\"{}}\par diff --git a/doc/latex/seqWindow_8h.tex b/doc/latex/seqWindow_8h.tex new file mode 100644 index 0000000..edd1032 --- /dev/null +++ b/doc/latex/seqWindow_8h.tex @@ -0,0 +1,11 @@ +\section{seq\-Window.h File Reference} +\label{seqWindow_8h}\index{seqWindow.h@{seqWindow.h}} +{\tt \#include $<$map$>$}\par +{\tt \#include $<$deque$>$}\par +{\tt \#include \char`\"{}thread\-Utils.hpp\char`\"{}}\par +{\tt \#include \char`\"{}datatypes.h\char`\"{}}\par +\subsection*{Classes} +\begin{CompactItemize} +\item +class {\bf Seq\-Window} +\end{CompactItemize} diff --git a/doc/latex/signalController_8cpp.tex b/doc/latex/signalController_8cpp.tex new file mode 100644 index 0000000..093ffad --- /dev/null +++ b/doc/latex/signalController_8cpp.tex @@ -0,0 +1,8 @@ +\section{signal\-Controller.cpp File Reference} +\label{signalController_8cpp}\index{signalController.cpp@{signalController.cpp}} +{\tt \#include $<$csignal$>$}\par +{\tt \#include $<$map$>$}\par +{\tt \#include $<$iostream$>$}\par +{\tt \#include \char`\"{}thread\-Utils.hpp\char`\"{}}\par +{\tt \#include \char`\"{}signal\-Controller.h\char`\"{}}\par +{\tt \#include \char`\"{}log.h\char`\"{}}\par diff --git a/doc/latex/signalController_8h.tex b/doc/latex/signalController_8h.tex new file mode 100644 index 0000000..73699e5 --- /dev/null +++ b/doc/latex/signalController_8h.tex @@ -0,0 +1,25 @@ +\section{signal\-Controller.h File Reference} +\label{signalController_8h}\index{signalController.h@{signalController.h}} +{\tt \#include $<$csignal$>$}\par +{\tt \#include $<$map$>$}\par +{\tt \#include $<$queue$>$}\par +{\tt \#include \char`\"{}thread\-Utils.hpp\char`\"{}}\par +\subsection*{Classes} +\begin{CompactItemize} +\item +class {\bf Signal\-Handler} +\item +class {\bf Sig\-Int\-Handler} +\item +class {\bf Sig\-Quit\-Handler} +\item +class {\bf Sig\-Hup\-Handler} +\item +class {\bf Sig\-Usr1Handler} +\item +class {\bf Sig\-Usr2Handler} +\item +class {\bf Sig\-Term\-Handler} +\item +class {\bf Signal\-Controller} +\end{CompactItemize} diff --git a/doc/latex/structPacket_1_1HeaderStruct.tex b/doc/latex/structPacket_1_1HeaderStruct.tex new file mode 100644 index 0000000..81d0daf --- /dev/null +++ b/doc/latex/structPacket_1_1HeaderStruct.tex @@ -0,0 +1,27 @@ +\section{Packet::Header\-Struct Struct Reference} +\label{structPacket_1_1HeaderStruct}\index{Packet::HeaderStruct@{Packet::HeaderStruct}} +\subsection*{Public Attributes} +\begin{CompactItemize} +\item +{\bf seq\_\-nr\_\-t} {\bf seq\_\-nr} +\item +{\bf sender\_\-id\_\-t} {\bf sender\_\-id} +\end{CompactItemize} + + +\subsection{Member Data Documentation} +\index{Packet::HeaderStruct@{Packet::Header\-Struct}!seq_nr@{seq\_\-nr}} +\index{seq_nr@{seq\_\-nr}!Packet::HeaderStruct@{Packet::Header\-Struct}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf seq\_\-nr\_\-t} {\bf Packet::Header\-Struct::seq\_\-nr}}\label{structPacket_1_1HeaderStruct_4b7b9bf68b204ca98171b7f818685521} + + +\index{Packet::HeaderStruct@{Packet::Header\-Struct}!sender_id@{sender\_\-id}} +\index{sender_id@{sender\_\-id}!Packet::HeaderStruct@{Packet::Header\-Struct}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf sender\_\-id\_\-t} {\bf Packet::Header\-Struct::sender\_\-id}}\label{structPacket_1_1HeaderStruct_c129b7cda1d848a579b689bacdabddea} + + + + +The documentation for this struct was generated from the following file:\begin{CompactItemize} +\item +{\bf packet.h}\end{CompactItemize} diff --git a/doc/latex/structParam.tex b/doc/latex/structParam.tex new file mode 100644 index 0000000..0cfd02a --- /dev/null +++ b/doc/latex/structParam.tex @@ -0,0 +1,62 @@ +\section{Param Struct Reference} +\label{structParam}\index{Param@{Param}} +\subsection*{Public Attributes} +\begin{CompactItemize} +\item +{\bf Options} \& {\bf opt} +\item +{\bf Tun\-Device} \& {\bf dev} +\item +{\bf Key\-Derivation} \& {\bf kd} +\item +{\bf Cypher} \& {\bf c} +\item +{\bf Auth\-Algo} \& {\bf a} +\item +{\bf Packet\-Source} \& {\bf src} +\item +{\bf Seq\-Window} \& {\bf seq} +\end{CompactItemize} + + +\subsection{Member Data Documentation} +\index{Param@{Param}!opt@{opt}} +\index{opt@{opt}!Param@{Param}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf Options}\& {\bf Param::opt}}\label{structParam_f690604eb7652c5f5407815c5022b46c} + + +\index{Param@{Param}!dev@{dev}} +\index{dev@{dev}!Param@{Param}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf Tun\-Device}\& {\bf Param::dev}}\label{structParam_1fa9d0f89264543bbad03a9e4e0c5f44} + + +\index{Param@{Param}!kd@{kd}} +\index{kd@{kd}!Param@{Param}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf Key\-Derivation}\& {\bf Param::kd}}\label{structParam_6cfe55741cae1cf1bdde27561f292d8a} + + +\index{Param@{Param}!c@{c}} +\index{c@{c}!Param@{Param}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf Cypher}\& {\bf Param::c}}\label{structParam_4ef5a8757e2f89fcb1317a1969641149} + + +\index{Param@{Param}!a@{a}} +\index{a@{a}!Param@{Param}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf Auth\-Algo}\& {\bf Param::a}}\label{structParam_22172435ee2e6beb10acf92b2d68e40c} + + +\index{Param@{Param}!src@{src}} +\index{src@{src}!Param@{Param}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf Packet\-Source}\& {\bf Param::src}}\label{structParam_fa5715cd7dc0833ea8f9afcbd1db455c} + + +\index{Param@{Param}!seq@{seq}} +\index{seq@{seq}!Param@{Param}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf Seq\-Window}\& {\bf Param::seq}}\label{structParam_dc6a71f9fa352d3ecb312e2e33354f4e} + + + + +The documentation for this struct was generated from the following file:\begin{CompactItemize} +\item +{\bf anytun.cpp}\end{CompactItemize} diff --git a/doc/latex/threadUtils_8hpp.tex b/doc/latex/threadUtils_8hpp.tex new file mode 100644 index 0000000..632fc36 --- /dev/null +++ b/doc/latex/threadUtils_8hpp.tex @@ -0,0 +1,15 @@ +\section{thread\-Utils.hpp File Reference} +\label{threadUtils_8hpp}\index{threadUtils.hpp@{threadUtils.hpp}} +{\tt \#include $<$stdexcept$>$}\par +{\tt \#include $<$semaphore.h$>$}\par +\subsection*{Classes} +\begin{CompactItemize} +\item +class {\bf Mutex} +\item +class {\bf Lock} +\item +class {\bf Condition} +\item +class {\bf Semaphore} +\end{CompactItemize} diff --git a/doc/latex/tunDevice_8cpp.tex b/doc/latex/tunDevice_8cpp.tex new file mode 100644 index 0000000..a4905a3 --- /dev/null +++ b/doc/latex/tunDevice_8cpp.tex @@ -0,0 +1,9 @@ +\section{tun\-Device.cpp File Reference} +\label{tunDevice_8cpp}\index{tunDevice.cpp@{tunDevice.cpp}} +{\tt \#include $<$stdexcept$>$}\par +{\tt \#include $<$poll.h$>$}\par +{\tt \#include \char`\"{}openvpn/config.h\char`\"{}}\par +{\tt \#include \char`\"{}openvpn/syshead.h\char`\"{}}\par +{\tt \#include \char`\"{}openvpn/tun.h\char`\"{}}\par +{\tt \#include \char`\"{}tun\-Device.h\char`\"{}}\par +{\tt \#include \char`\"{}thread\-Utils.hpp\char`\"{}}\par diff --git a/doc/latex/tunDevice_8h.tex b/doc/latex/tunDevice_8h.tex new file mode 100644 index 0000000..eeb76be --- /dev/null +++ b/doc/latex/tunDevice_8h.tex @@ -0,0 +1,9 @@ +\section{tun\-Device.h File Reference} +\label{tunDevice_8h}\index{tunDevice.h@{tunDevice.h}} +{\tt \#include \char`\"{}buffer.h\char`\"{}}\par +{\tt \#include \char`\"{}thread\-Utils.hpp\char`\"{}}\par +\subsection*{Classes} +\begin{CompactItemize} +\item +class {\bf Tun\-Device} +\end{CompactItemize} |