From 809b470ce90e53c532dfebc44c2e7c169c33402f Mon Sep 17 00:00:00 2001 From: Erwin Nindl Date: Fri, 7 Dec 2007 17:46:13 +0000 Subject: removed doxygen folders from svn --- doc/html/PracticalSocket_8cpp.html | 96 -- doc/html/PracticalSocket_8h-source.html | 197 ---- doc/html/PracticalSocket_8h.html | 44 - doc/html/annotated.html | 70 -- doc/html/anytun_8cpp.html | 179 ---- doc/html/authAlgo_8cpp.html | 29 - doc/html/authAlgo_8h-source.html | 84 -- doc/html/authAlgo_8h.html | 38 - doc/html/buffer_8cpp.html | 33 - doc/html/buffer_8h-source.html | 100 -- doc/html/buffer_8h.html | 33 - doc/html/classAesIcmCypher-members.html | 40 - doc/html/classAesIcmCypher.html | 259 ----- doc/html/classAesIcmCypher.png | Bin 395 -> 0 bytes doc/html/classAuthAlgo-members.html | 29 - doc/html/classAuthAlgo.html | 107 -- doc/html/classAuthAlgo.png | Bin 525 -> 0 bytes doc/html/classBuffer-members.html | 49 - doc/html/classBuffer.html | 534 ---------- doc/html/classBuffer.png | Bin 421 -> 0 bytes doc/html/classCommunicatingSocket-members.html | 43 - doc/html/classCommunicatingSocket.html | 281 ----- doc/html/classCommunicatingSocket.png | Bin 1010 -> 0 bytes doc/html/classCondition-members.html | 33 - doc/html/classCondition.html | 176 ---- doc/html/classCypher-members.html | 33 - doc/html/classCypher.html | 239 ----- doc/html/classCypher.png | Bin 558 -> 0 bytes doc/html/classHmacAuthAlgo-members.html | 29 - doc/html/classHmacAuthAlgo.html | 63 -- doc/html/classHmacAuthAlgo.png | Bin 371 -> 0 bytes doc/html/classKeyDerivation-members.html | 36 - doc/html/classKeyDerivation.html | 265 ----- doc/html/classLock-members.html | 31 - doc/html/classLock.html | 142 --- doc/html/classLog-members.html | 71 -- doc/html/classLog.html | 860 ---------------- doc/html/classLogStringBuilder-members.html | 33 - doc/html/classLogStringBuilder.html | 187 ---- doc/html/classLog_1_1instanceCleaner-members.html | 27 - doc/html/classLog_1_1instanceCleaner.html | 55 - doc/html/classMutex-members.html | 35 - doc/html/classMutex.html | 219 ---- doc/html/classNullAuthAlgo-members.html | 29 - doc/html/classNullAuthAlgo.html | 63 -- doc/html/classNullAuthAlgo.png | Bin 354 -> 0 bytes doc/html/classNullCypher-members.html | 33 - doc/html/classNullCypher.html | 78 -- doc/html/classNullCypher.png | Bin 362 -> 0 bytes doc/html/classOptions-members.html | 77 -- doc/html/classOptions.html | 1079 -------------------- doc/html/classPacket-members.html | 74 -- doc/html/classPacket.html | 574 ----------- doc/html/classPacket.png | Bin 427 -> 0 bytes doc/html/classPacketSource-members.html | 29 - doc/html/classPacketSource.html | 139 --- doc/html/classPacketSource.png | Bin 436 -> 0 bytes doc/html/classSemaphore-members.html | 31 - doc/html/classSemaphore.html | 139 --- doc/html/classSeqWindow-members.html | 40 - doc/html/classSeqWindow.html | 340 ------ doc/html/classSigHupHandler-members.html | 30 - doc/html/classSigHupHandler.html | 84 -- doc/html/classSigHupHandler.png | Bin 427 -> 0 bytes doc/html/classSigIntHandler-members.html | 30 - doc/html/classSigIntHandler.html | 84 -- doc/html/classSigIntHandler.png | Bin 417 -> 0 bytes doc/html/classSigQuitHandler-members.html | 30 - doc/html/classSigQuitHandler.html | 84 -- doc/html/classSigQuitHandler.png | Bin 435 -> 0 bytes doc/html/classSigTermHandler-members.html | 30 - doc/html/classSigTermHandler.html | 84 -- doc/html/classSigTermHandler.png | Bin 440 -> 0 bytes doc/html/classSigUsr1Handler-members.html | 30 - doc/html/classSigUsr1Handler.html | 84 -- doc/html/classSigUsr1Handler.png | Bin 435 -> 0 bytes doc/html/classSigUsr2Handler-members.html | 30 - doc/html/classSigUsr2Handler.html | 84 -- doc/html/classSigUsr2Handler.png | Bin 444 -> 0 bytes doc/html/classSignalController-members.html | 39 - doc/html/classSignalController.html | 293 ------ doc/html/classSignalHandler-members.html | 31 - doc/html/classSignalHandler.html | 150 --- doc/html/classSignalHandler.png | Bin 1187 -> 0 bytes doc/html/classSocket-members.html | 38 - doc/html/classSocket.html | 385 ------- doc/html/classSocket.png | Bin 1205 -> 0 bytes doc/html/classSocketException-members.html | 30 - doc/html/classSocketException.html | 137 --- doc/html/classTCPServerSocket-members.html | 40 - doc/html/classTCPServerSocket.html | 184 ---- doc/html/classTCPServerSocket.png | Bin 397 -> 0 bytes doc/html/classTCPSocket-members.html | 47 - doc/html/classTCPSocket.html | 153 --- doc/html/classTCPSocket.png | Bin 551 -> 0 bytes doc/html/classTunDevice-members.html | 43 - doc/html/classTunDevice.html | 402 -------- doc/html/classUDPPacketSource-members.html | 58 -- doc/html/classUDPPacketSource.html | 195 ---- doc/html/classUDPPacketSource.png | Bin 1119 -> 0 bytes doc/html/classUDPSocket-members.html | 53 - doc/html/classUDPSocket.html | 404 -------- doc/html/classUDPSocket.png | Bin 715 -> 0 bytes doc/html/classsatp_1_1SATP-members.html | 72 -- doc/html/classsatp_1_1SATP.html | 78 -- doc/html/classsatp_1_1SATP.png | Bin 410 -> 0 bytes doc/html/cypher_8cpp.html | 33 - doc/html/cypher_8h-source.html | 110 -- doc/html/cypher_8h.html | 39 - doc/html/datatypes_8h-source.html | 88 -- doc/html/datatypes_8h.html | 396 ------- doc/html/doxygen.css | 358 ------- doc/html/doxygen.png | Bin 1281 -> 0 bytes doc/html/files.html | 64 -- doc/html/ftv2blank.png | Bin 174 -> 0 bytes doc/html/ftv2doc.png | Bin 255 -> 0 bytes doc/html/ftv2folderclosed.png | Bin 259 -> 0 bytes doc/html/ftv2folderopen.png | Bin 261 -> 0 bytes doc/html/ftv2lastnode.png | Bin 233 -> 0 bytes doc/html/ftv2link.png | Bin 358 -> 0 bytes doc/html/ftv2mlastnode.png | Bin 160 -> 0 bytes doc/html/ftv2mnode.png | Bin 194 -> 0 bytes doc/html/ftv2node.png | Bin 235 -> 0 bytes doc/html/ftv2plastnode.png | Bin 165 -> 0 bytes doc/html/ftv2pnode.png | Bin 200 -> 0 bytes doc/html/ftv2vertline.png | Bin 229 -> 0 bytes doc/html/functions.html | 69 -- doc/html/functions_0x61.html | 90 -- doc/html/functions_0x62.html | 73 -- doc/html/functions_0x63.html | 111 -- doc/html/functions_0x64.html | 79 -- doc/html/functions_0x65.html | 71 -- doc/html/functions_0x66.html | 109 -- doc/html/functions_0x67.html | 142 --- doc/html/functions_0x68.html | 94 -- doc/html/functions_0x69.html | 90 -- doc/html/functions_0x6a.html | 69 -- doc/html/functions_0x6b.html | 73 -- doc/html/functions_0x6c.html | 100 -- doc/html/functions_0x6d.html | 86 -- doc/html/functions_0x6e.html | 73 -- doc/html/functions_0x6f.html | 104 -- doc/html/functions_0x70.html | 97 -- doc/html/functions_0x72.html | 97 -- doc/html/functions_0x73.html | 197 ---- doc/html/functions_0x74.html | 83 -- doc/html/functions_0x75.html | 78 -- doc/html/functions_0x77.html | 81 -- doc/html/functions_0x7e.html | 111 -- doc/html/functions_func.html | 82 -- doc/html/functions_func_0x62.html | 69 -- doc/html/functions_func_0x63.html | 92 -- doc/html/functions_func_0x64.html | 69 -- doc/html/functions_func_0x65.html | 67 -- doc/html/functions_func_0x67.html | 136 --- doc/html/functions_func_0x68.html | 82 -- doc/html/functions_func_0x69.html | 72 -- doc/html/functions_func_0x6a.html | 67 -- doc/html/functions_func_0x6b.html | 67 -- doc/html/functions_func_0x6c.html | 77 -- doc/html/functions_func_0x6d.html | 69 -- doc/html/functions_func_0x6f.html | 97 -- doc/html/functions_func_0x70.html | 75 -- doc/html/functions_func_0x72.html | 91 -- doc/html/functions_func_0x73.html | 157 --- doc/html/functions_func_0x74.html | 71 -- doc/html/functions_func_0x75.html | 73 -- doc/html/functions_func_0x77.html | 77 -- doc/html/functions_func_0x7e.html | 109 -- doc/html/functions_rela.html | 54 - doc/html/functions_type.html | 46 - doc/html/functions_vars.html | 319 ------ doc/html/globals.html | 163 --- doc/html/globals_defs.html | 67 -- doc/html/globals_enum.html | 43 - doc/html/globals_eval.html | 51 - doc/html/globals_func.html | 49 - doc/html/globals_type.html | 63 -- doc/html/globals_vars.html | 42 - doc/html/hierarchy.html | 89 -- doc/html/index.html | 8 - doc/html/keyDerivation_8cpp.html | 32 - doc/html/keyDerivation_8h-source.html | 95 -- doc/html/keyDerivation_8h.html | 67 -- doc/html/log_8cpp.html | 51 - doc/html/log_8h-source.html | 150 --- doc/html/log_8h.html | 59 -- doc/html/main.html | 21 - doc/html/namespaces.html | 25 - doc/html/namespacesatp.html | 27 - doc/html/namespacescapy_1_1_5.html | 24 - doc/html/namespacestd.html | 24 - doc/html/options_8cpp.html | 175 ---- doc/html/options_8h-source.html | 121 --- doc/html/options_8h.html | 34 - doc/html/packetSource_8cpp.html | 31 - doc/html/packetSource_8h-source.html | 78 -- doc/html/packetSource_8h.html | 37 - doc/html/packet_8cpp.html | 31 - doc/html/packet_8h-source.html | 100 -- doc/html/packet_8h.html | 36 - doc/html/satp_8py.html | 35 - doc/html/seqWindow_8cpp.html | 30 - doc/html/seqWindow_8h-source.html | 88 -- doc/html/seqWindow_8h.html | 36 - doc/html/signalController_8cpp.html | 33 - doc/html/signalController_8h-source.html | 145 --- doc/html/signalController_8h.html | 50 - doc/html/structPacket_1_1HeaderStruct-members.html | 28 - doc/html/structPacket_1_1HeaderStruct.html | 68 -- doc/html/structParam-members.html | 33 - doc/html/structParam.html | 151 --- doc/html/tab_b.gif | Bin 35 -> 0 bytes doc/html/tab_l.gif | Bin 706 -> 0 bytes doc/html/tab_r.gif | Bin 2585 -> 0 bytes doc/html/tabs.css | 102 -- doc/html/threadUtils_8hpp-source.html | 198 ---- doc/html/threadUtils_8hpp.html | 40 - doc/html/tree.html | 230 ----- doc/html/tunDevice_8cpp.html | 34 - doc/html/tunDevice_8h-source.html | 90 -- doc/html/tunDevice_8h.html | 34 - doc/latex/FreeSans.ttf | Bin 22932 -> 0 bytes doc/latex/Makefile | 39 - doc/latex/PracticalSocket_8cpp.tex | 41 - doc/latex/PracticalSocket_8h.tex | 19 - doc/latex/annotated.tex | 46 - doc/latex/anytun_8cpp.tex | 75 -- doc/latex/authAlgo_8cpp.tex | 4 - doc/latex/authAlgo_8h.tex | 13 - doc/latex/buffer_8cpp.tex | 8 - doc/latex/buffer_8h.tex | 8 - doc/latex/classAesIcmCypher.eps | 197 ---- doc/latex/classAesIcmCypher.tex | 116 --- doc/latex/classAuthAlgo.eps | 203 ---- doc/latex/classAuthAlgo.tex | 47 - doc/latex/classBuffer.eps | 203 ---- doc/latex/classBuffer.tex | 198 ---- doc/latex/classCommunicatingSocket.eps | 215 ---- doc/latex/classCommunicatingSocket.tex | 128 --- doc/latex/classCondition.tex | 73 -- doc/latex/classCypher.eps | 203 ---- doc/latex/classCypher.tex | 83 -- doc/latex/classHmacAuthAlgo.eps | 197 ---- doc/latex/classHmacAuthAlgo.tex | 31 - doc/latex/classKeyDerivation.tex | 98 -- doc/latex/classLock.tex | 62 -- doc/latex/classLog.tex | 363 ------- doc/latex/classLogStringBuilder.tex | 74 -- doc/latex/classLog_1_1instanceCleaner.tex | 20 - doc/latex/classMutex.tex | 96 -- doc/latex/classNullAuthAlgo.eps | 197 ---- doc/latex/classNullAuthAlgo.tex | 31 - doc/latex/classNullCypher.eps | 197 ---- doc/latex/classNullCypher.tex | 31 - doc/latex/classOptions.tex | 382 ------- doc/latex/classPacket.eps | 203 ---- doc/latex/classPacket.tex | 211 ---- doc/latex/classPacketSource.eps | 197 ---- doc/latex/classPacketSource.tex | 49 - doc/latex/classSemaphore.tex | 59 -- doc/latex/classSeqWindow.tex | 132 --- doc/latex/classSigHupHandler.eps | 197 ---- doc/latex/classSigHupHandler.tex | 41 - doc/latex/classSigIntHandler.eps | 197 ---- doc/latex/classSigIntHandler.tex | 41 - doc/latex/classSigQuitHandler.eps | 197 ---- doc/latex/classSigQuitHandler.tex | 41 - doc/latex/classSigTermHandler.eps | 197 ---- doc/latex/classSigTermHandler.tex | 41 - doc/latex/classSigUsr1Handler.eps | 197 ---- doc/latex/classSigUsr1Handler.tex | 41 - doc/latex/classSigUsr2Handler.eps | 197 ---- doc/latex/classSigUsr2Handler.tex | 41 - doc/latex/classSignalController.tex | 128 --- doc/latex/classSignalHandler.eps | 219 ---- doc/latex/classSignalHandler.tex | 76 -- doc/latex/classSocket.eps | 221 ---- doc/latex/classSocket.tex | 180 ---- doc/latex/classSocketException.tex | 65 -- doc/latex/classTCPServerSocket.eps | 197 ---- doc/latex/classTCPServerSocket.tex | 88 -- doc/latex/classTCPSocket.eps | 203 ---- doc/latex/classTCPSocket.tex | 79 -- doc/latex/classTunDevice.tex | 150 --- doc/latex/classUDPPacketSource.eps | 215 ---- doc/latex/classUDPPacketSource.tex | 64 -- doc/latex/classUDPSocket.eps | 209 ---- doc/latex/classUDPSocket.tex | 189 ---- doc/latex/classsatp_1_1SATP.eps | 203 ---- doc/latex/classsatp_1_1SATP.tex | 40 - doc/latex/cypher_8cpp.tex | 8 - doc/latex/cypher_8h.tex | 14 - doc/latex/datatypes_8h.tex | 147 --- doc/latex/doxygen.sty | 78 -- doc/latex/files.tex | 41 - doc/latex/hierarchy.tex | 65 -- doc/latex/index.tex | 11 - doc/latex/keyDerivation_8cpp.tex | 7 - doc/latex/keyDerivation_8h.tex | 38 - doc/latex/log_8cpp.tex | 20 - doc/latex/log_8h.tex | 28 - doc/latex/main.tex | 11 - doc/latex/namespaces.tex | 7 - doc/latex/namespacesatp.tex | 9 - doc/latex/namespacescapy_1_1_5.tex | 4 - doc/latex/namespacestd.tex | 4 - doc/latex/options_8cpp.tex | 79 -- doc/latex/options_8h.tex | 9 - doc/latex/packetSource_8cpp.tex | 6 - doc/latex/packetSource_8h.tex | 12 - doc/latex/packet_8cpp.tex | 6 - doc/latex/packet_8h.tex | 11 - doc/latex/refman.tex | 127 --- doc/latex/satp_8py.tex | 14 - doc/latex/seqWindow_8cpp.tex | 5 - doc/latex/seqWindow_8h.tex | 11 - doc/latex/signalController_8cpp.tex | 8 - doc/latex/signalController_8h.tex | 25 - doc/latex/structPacket_1_1HeaderStruct.tex | 27 - doc/latex/structParam.tex | 62 -- doc/latex/threadUtils_8hpp.tex | 15 - doc/latex/tunDevice_8cpp.tex | 9 - doc/latex/tunDevice_8h.tex | 9 - 324 files changed, 29051 deletions(-) delete mode 100644 doc/html/PracticalSocket_8cpp.html delete mode 100644 doc/html/PracticalSocket_8h-source.html delete mode 100644 doc/html/PracticalSocket_8h.html delete mode 100644 doc/html/annotated.html delete mode 100644 doc/html/anytun_8cpp.html delete mode 100644 doc/html/authAlgo_8cpp.html delete mode 100644 doc/html/authAlgo_8h-source.html delete mode 100644 doc/html/authAlgo_8h.html delete mode 100644 doc/html/buffer_8cpp.html delete mode 100644 doc/html/buffer_8h-source.html delete mode 100644 doc/html/buffer_8h.html delete mode 100644 doc/html/classAesIcmCypher-members.html delete mode 100644 doc/html/classAesIcmCypher.html delete mode 100644 doc/html/classAesIcmCypher.png delete mode 100644 doc/html/classAuthAlgo-members.html delete mode 100644 doc/html/classAuthAlgo.html delete mode 100644 doc/html/classAuthAlgo.png delete mode 100644 doc/html/classBuffer-members.html delete mode 100644 doc/html/classBuffer.html delete mode 100644 doc/html/classBuffer.png delete mode 100644 doc/html/classCommunicatingSocket-members.html delete mode 100644 doc/html/classCommunicatingSocket.html delete mode 100644 doc/html/classCommunicatingSocket.png delete mode 100644 doc/html/classCondition-members.html delete mode 100644 doc/html/classCondition.html delete mode 100644 doc/html/classCypher-members.html delete mode 100644 doc/html/classCypher.html delete mode 100644 doc/html/classCypher.png delete mode 100644 doc/html/classHmacAuthAlgo-members.html delete mode 100644 doc/html/classHmacAuthAlgo.html delete mode 100644 doc/html/classHmacAuthAlgo.png delete mode 100644 doc/html/classKeyDerivation-members.html delete mode 100644 doc/html/classKeyDerivation.html delete mode 100644 doc/html/classLock-members.html delete mode 100644 doc/html/classLock.html delete mode 100644 doc/html/classLog-members.html delete mode 100644 doc/html/classLog.html delete mode 100644 doc/html/classLogStringBuilder-members.html delete mode 100644 doc/html/classLogStringBuilder.html delete mode 100644 doc/html/classLog_1_1instanceCleaner-members.html delete mode 100644 doc/html/classLog_1_1instanceCleaner.html delete mode 100644 doc/html/classMutex-members.html delete mode 100644 doc/html/classMutex.html delete mode 100644 doc/html/classNullAuthAlgo-members.html delete mode 100644 doc/html/classNullAuthAlgo.html delete mode 100644 doc/html/classNullAuthAlgo.png delete mode 100644 doc/html/classNullCypher-members.html delete mode 100644 doc/html/classNullCypher.html delete mode 100644 doc/html/classNullCypher.png delete mode 100644 doc/html/classOptions-members.html delete mode 100644 doc/html/classOptions.html delete mode 100644 doc/html/classPacket-members.html delete mode 100644 doc/html/classPacket.html delete mode 100644 doc/html/classPacket.png delete mode 100644 doc/html/classPacketSource-members.html delete mode 100644 doc/html/classPacketSource.html delete mode 100644 doc/html/classPacketSource.png delete mode 100644 doc/html/classSemaphore-members.html delete mode 100644 doc/html/classSemaphore.html delete mode 100644 doc/html/classSeqWindow-members.html delete mode 100644 doc/html/classSeqWindow.html delete mode 100644 doc/html/classSigHupHandler-members.html delete mode 100644 doc/html/classSigHupHandler.html delete mode 100644 doc/html/classSigHupHandler.png delete mode 100644 doc/html/classSigIntHandler-members.html delete mode 100644 doc/html/classSigIntHandler.html delete mode 100644 doc/html/classSigIntHandler.png delete mode 100644 doc/html/classSigQuitHandler-members.html delete mode 100644 doc/html/classSigQuitHandler.html delete mode 100644 doc/html/classSigQuitHandler.png delete mode 100644 doc/html/classSigTermHandler-members.html delete mode 100644 doc/html/classSigTermHandler.html delete mode 100644 doc/html/classSigTermHandler.png delete mode 100644 doc/html/classSigUsr1Handler-members.html delete mode 100644 doc/html/classSigUsr1Handler.html delete mode 100644 doc/html/classSigUsr1Handler.png delete mode 100644 doc/html/classSigUsr2Handler-members.html delete mode 100644 doc/html/classSigUsr2Handler.html delete mode 100644 doc/html/classSigUsr2Handler.png delete mode 100644 doc/html/classSignalController-members.html delete mode 100644 doc/html/classSignalController.html delete mode 100644 doc/html/classSignalHandler-members.html delete mode 100644 doc/html/classSignalHandler.html delete mode 100644 doc/html/classSignalHandler.png delete mode 100644 doc/html/classSocket-members.html delete mode 100644 doc/html/classSocket.html delete mode 100644 doc/html/classSocket.png delete mode 100644 doc/html/classSocketException-members.html delete mode 100644 doc/html/classSocketException.html delete mode 100644 doc/html/classTCPServerSocket-members.html delete mode 100644 doc/html/classTCPServerSocket.html delete mode 100644 doc/html/classTCPServerSocket.png delete mode 100644 doc/html/classTCPSocket-members.html delete mode 100644 doc/html/classTCPSocket.html delete mode 100644 doc/html/classTCPSocket.png delete mode 100644 doc/html/classTunDevice-members.html delete mode 100644 doc/html/classTunDevice.html delete mode 100644 doc/html/classUDPPacketSource-members.html delete mode 100644 doc/html/classUDPPacketSource.html delete mode 100644 doc/html/classUDPPacketSource.png delete mode 100644 doc/html/classUDPSocket-members.html delete mode 100644 doc/html/classUDPSocket.html delete mode 100644 doc/html/classUDPSocket.png delete mode 100644 doc/html/classsatp_1_1SATP-members.html delete mode 100644 doc/html/classsatp_1_1SATP.html delete mode 100644 doc/html/classsatp_1_1SATP.png delete mode 100644 doc/html/cypher_8cpp.html delete mode 100644 doc/html/cypher_8h-source.html delete mode 100644 doc/html/cypher_8h.html delete mode 100644 doc/html/datatypes_8h-source.html delete mode 100644 doc/html/datatypes_8h.html delete mode 100644 doc/html/doxygen.css delete mode 100644 doc/html/doxygen.png delete mode 100644 doc/html/files.html delete mode 100644 doc/html/ftv2blank.png delete mode 100644 doc/html/ftv2doc.png delete mode 100644 doc/html/ftv2folderclosed.png delete mode 100644 doc/html/ftv2folderopen.png delete mode 100644 doc/html/ftv2lastnode.png delete mode 100644 doc/html/ftv2link.png delete mode 100644 doc/html/ftv2mlastnode.png delete mode 100644 doc/html/ftv2mnode.png delete mode 100644 doc/html/ftv2node.png delete mode 100644 doc/html/ftv2plastnode.png delete mode 100644 doc/html/ftv2pnode.png delete mode 100644 doc/html/ftv2vertline.png delete mode 100644 doc/html/functions.html delete mode 100644 doc/html/functions_0x61.html delete mode 100644 doc/html/functions_0x62.html delete mode 100644 doc/html/functions_0x63.html delete mode 100644 doc/html/functions_0x64.html delete mode 100644 doc/html/functions_0x65.html delete mode 100644 doc/html/functions_0x66.html delete mode 100644 doc/html/functions_0x67.html delete mode 100644 doc/html/functions_0x68.html delete mode 100644 doc/html/functions_0x69.html delete mode 100644 doc/html/functions_0x6a.html delete mode 100644 doc/html/functions_0x6b.html delete mode 100644 doc/html/functions_0x6c.html delete mode 100644 doc/html/functions_0x6d.html delete mode 100644 doc/html/functions_0x6e.html delete mode 100644 doc/html/functions_0x6f.html delete mode 100644 doc/html/functions_0x70.html delete mode 100644 doc/html/functions_0x72.html delete mode 100644 doc/html/functions_0x73.html delete mode 100644 doc/html/functions_0x74.html delete mode 100644 doc/html/functions_0x75.html delete mode 100644 doc/html/functions_0x77.html delete mode 100644 doc/html/functions_0x7e.html delete mode 100644 doc/html/functions_func.html delete mode 100644 doc/html/functions_func_0x62.html delete mode 100644 doc/html/functions_func_0x63.html delete mode 100644 doc/html/functions_func_0x64.html delete mode 100644 doc/html/functions_func_0x65.html delete mode 100644 doc/html/functions_func_0x67.html delete mode 100644 doc/html/functions_func_0x68.html delete mode 100644 doc/html/functions_func_0x69.html delete mode 100644 doc/html/functions_func_0x6a.html delete mode 100644 doc/html/functions_func_0x6b.html delete mode 100644 doc/html/functions_func_0x6c.html delete mode 100644 doc/html/functions_func_0x6d.html delete mode 100644 doc/html/functions_func_0x6f.html delete mode 100644 doc/html/functions_func_0x70.html delete mode 100644 doc/html/functions_func_0x72.html delete mode 100644 doc/html/functions_func_0x73.html delete mode 100644 doc/html/functions_func_0x74.html delete mode 100644 doc/html/functions_func_0x75.html delete mode 100644 doc/html/functions_func_0x77.html delete mode 100644 doc/html/functions_func_0x7e.html delete mode 100644 doc/html/functions_rela.html delete mode 100644 doc/html/functions_type.html delete mode 100644 doc/html/functions_vars.html delete mode 100644 doc/html/globals.html delete mode 100644 doc/html/globals_defs.html delete mode 100644 doc/html/globals_enum.html delete mode 100644 doc/html/globals_eval.html delete mode 100644 doc/html/globals_func.html delete mode 100644 doc/html/globals_type.html delete mode 100644 doc/html/globals_vars.html delete mode 100644 doc/html/hierarchy.html delete mode 100644 doc/html/index.html delete mode 100644 doc/html/keyDerivation_8cpp.html delete mode 100644 doc/html/keyDerivation_8h-source.html delete mode 100644 doc/html/keyDerivation_8h.html delete mode 100644 doc/html/log_8cpp.html delete mode 100644 doc/html/log_8h-source.html delete mode 100644 doc/html/log_8h.html delete mode 100644 doc/html/main.html delete mode 100644 doc/html/namespaces.html delete mode 100644 doc/html/namespacesatp.html delete mode 100644 doc/html/namespacescapy_1_1_5.html delete mode 100644 doc/html/namespacestd.html delete mode 100644 doc/html/options_8cpp.html delete mode 100644 doc/html/options_8h-source.html delete mode 100644 doc/html/options_8h.html delete mode 100644 doc/html/packetSource_8cpp.html delete mode 100644 doc/html/packetSource_8h-source.html delete mode 100644 doc/html/packetSource_8h.html delete mode 100644 doc/html/packet_8cpp.html delete mode 100644 doc/html/packet_8h-source.html delete mode 100644 doc/html/packet_8h.html delete mode 100644 doc/html/satp_8py.html delete mode 100644 doc/html/seqWindow_8cpp.html delete mode 100644 doc/html/seqWindow_8h-source.html delete mode 100644 doc/html/seqWindow_8h.html delete mode 100644 doc/html/signalController_8cpp.html delete mode 100644 doc/html/signalController_8h-source.html delete mode 100644 doc/html/signalController_8h.html delete mode 100644 doc/html/structPacket_1_1HeaderStruct-members.html delete mode 100644 doc/html/structPacket_1_1HeaderStruct.html delete mode 100644 doc/html/structParam-members.html delete mode 100644 doc/html/structParam.html delete mode 100644 doc/html/tab_b.gif delete mode 100644 doc/html/tab_l.gif delete mode 100644 doc/html/tab_r.gif delete mode 100644 doc/html/tabs.css delete mode 100644 doc/html/threadUtils_8hpp-source.html delete mode 100644 doc/html/threadUtils_8hpp.html delete mode 100644 doc/html/tree.html delete mode 100644 doc/html/tunDevice_8cpp.html delete mode 100644 doc/html/tunDevice_8h-source.html delete mode 100644 doc/html/tunDevice_8h.html delete mode 100644 doc/latex/FreeSans.ttf delete mode 100644 doc/latex/Makefile delete mode 100644 doc/latex/PracticalSocket_8cpp.tex delete mode 100644 doc/latex/PracticalSocket_8h.tex delete mode 100644 doc/latex/annotated.tex delete mode 100644 doc/latex/anytun_8cpp.tex delete mode 100644 doc/latex/authAlgo_8cpp.tex delete mode 100644 doc/latex/authAlgo_8h.tex delete mode 100644 doc/latex/buffer_8cpp.tex delete mode 100644 doc/latex/buffer_8h.tex delete mode 100644 doc/latex/classAesIcmCypher.eps delete mode 100644 doc/latex/classAesIcmCypher.tex delete mode 100644 doc/latex/classAuthAlgo.eps delete mode 100644 doc/latex/classAuthAlgo.tex delete mode 100644 doc/latex/classBuffer.eps delete mode 100644 doc/latex/classBuffer.tex delete mode 100644 doc/latex/classCommunicatingSocket.eps delete mode 100644 doc/latex/classCommunicatingSocket.tex delete mode 100644 doc/latex/classCondition.tex delete mode 100644 doc/latex/classCypher.eps delete mode 100644 doc/latex/classCypher.tex delete mode 100644 doc/latex/classHmacAuthAlgo.eps delete mode 100644 doc/latex/classHmacAuthAlgo.tex delete mode 100644 doc/latex/classKeyDerivation.tex delete mode 100644 doc/latex/classLock.tex delete mode 100644 doc/latex/classLog.tex delete mode 100644 doc/latex/classLogStringBuilder.tex delete mode 100644 doc/latex/classLog_1_1instanceCleaner.tex delete mode 100644 doc/latex/classMutex.tex delete mode 100644 doc/latex/classNullAuthAlgo.eps delete mode 100644 doc/latex/classNullAuthAlgo.tex delete mode 100644 doc/latex/classNullCypher.eps delete mode 100644 doc/latex/classNullCypher.tex delete mode 100644 doc/latex/classOptions.tex delete mode 100644 doc/latex/classPacket.eps delete mode 100644 doc/latex/classPacket.tex delete mode 100644 doc/latex/classPacketSource.eps delete mode 100644 doc/latex/classPacketSource.tex delete mode 100644 doc/latex/classSemaphore.tex delete mode 100644 doc/latex/classSeqWindow.tex delete mode 100644 doc/latex/classSigHupHandler.eps delete mode 100644 doc/latex/classSigHupHandler.tex delete mode 100644 doc/latex/classSigIntHandler.eps delete mode 100644 doc/latex/classSigIntHandler.tex delete mode 100644 doc/latex/classSigQuitHandler.eps delete mode 100644 doc/latex/classSigQuitHandler.tex delete mode 100644 doc/latex/classSigTermHandler.eps delete mode 100644 doc/latex/classSigTermHandler.tex delete mode 100644 doc/latex/classSigUsr1Handler.eps delete mode 100644 doc/latex/classSigUsr1Handler.tex delete mode 100644 doc/latex/classSigUsr2Handler.eps delete mode 100644 doc/latex/classSigUsr2Handler.tex delete mode 100644 doc/latex/classSignalController.tex delete mode 100644 doc/latex/classSignalHandler.eps delete mode 100644 doc/latex/classSignalHandler.tex delete mode 100644 doc/latex/classSocket.eps delete mode 100644 doc/latex/classSocket.tex delete mode 100644 doc/latex/classSocketException.tex delete mode 100644 doc/latex/classTCPServerSocket.eps delete mode 100644 doc/latex/classTCPServerSocket.tex delete mode 100644 doc/latex/classTCPSocket.eps delete mode 100644 doc/latex/classTCPSocket.tex delete mode 100644 doc/latex/classTunDevice.tex delete mode 100644 doc/latex/classUDPPacketSource.eps delete mode 100644 doc/latex/classUDPPacketSource.tex delete mode 100644 doc/latex/classUDPSocket.eps delete mode 100644 doc/latex/classUDPSocket.tex delete mode 100644 doc/latex/classsatp_1_1SATP.eps delete mode 100644 doc/latex/classsatp_1_1SATP.tex delete mode 100644 doc/latex/cypher_8cpp.tex delete mode 100644 doc/latex/cypher_8h.tex delete mode 100644 doc/latex/datatypes_8h.tex delete mode 100644 doc/latex/doxygen.sty delete mode 100644 doc/latex/files.tex delete mode 100644 doc/latex/hierarchy.tex delete mode 100644 doc/latex/index.tex delete mode 100644 doc/latex/keyDerivation_8cpp.tex delete mode 100644 doc/latex/keyDerivation_8h.tex delete mode 100644 doc/latex/log_8cpp.tex delete mode 100644 doc/latex/log_8h.tex delete mode 100644 doc/latex/main.tex delete mode 100644 doc/latex/namespaces.tex delete mode 100644 doc/latex/namespacesatp.tex delete mode 100644 doc/latex/namespacescapy_1_1_5.tex delete mode 100644 doc/latex/namespacestd.tex delete mode 100644 doc/latex/options_8cpp.tex delete mode 100644 doc/latex/options_8h.tex delete mode 100644 doc/latex/packetSource_8cpp.tex delete mode 100644 doc/latex/packetSource_8h.tex delete mode 100644 doc/latex/packet_8cpp.tex delete mode 100644 doc/latex/packet_8h.tex delete mode 100644 doc/latex/refman.tex delete mode 100644 doc/latex/satp_8py.tex delete mode 100644 doc/latex/seqWindow_8cpp.tex delete mode 100644 doc/latex/seqWindow_8h.tex delete mode 100644 doc/latex/signalController_8cpp.tex delete mode 100644 doc/latex/signalController_8h.tex delete mode 100644 doc/latex/structPacket_1_1HeaderStruct.tex delete mode 100644 doc/latex/structParam.tex delete mode 100644 doc/latex/threadUtils_8hpp.tex delete mode 100644 doc/latex/tunDevice_8cpp.tex delete mode 100644 doc/latex/tunDevice_8h.tex (limited to 'doc') diff --git a/doc/html/PracticalSocket_8cpp.html b/doc/html/PracticalSocket_8cpp.html deleted file mode 100644 index 10442c5..0000000 --- a/doc/html/PracticalSocket_8cpp.html +++ /dev/null @@ -1,96 +0,0 @@ - - -anytun: PracticalSocket.cpp File Reference - - - - -
-
-
-
-

PracticalSocket.cpp File Reference

#include "PracticalSocket.h"
-#include <sys/types.h>
-#include <sys/socket.h>
-#include <netdb.h>
-#include <arpa/inet.h>
-#include <unistd.h>
-#include <netinet/in.h>
-#include <errno.h>
- - - - - - - - - - - -

Namespaces

namespace  std

Typedefs

typedef void raw_type

Functions

static void fillAddr (const string &address, unsigned short port, sockaddr_in &addr)
-

Typedef Documentation

- -
-
- - - - -
typedef void raw_type
-
-
- -

- -

-

-


Function Documentation

- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
static void fillAddr (const string &  address,
unsigned short  port,
sockaddr_in &  addr 
) [static]
-
-
- -

- -

-

-


Generated on Mon Dec 3 11:49:25 2007 for anytun by  - -doxygen 1.5.1
- - diff --git a/doc/html/PracticalSocket_8h-source.html b/doc/html/PracticalSocket_8h-source.html deleted file mode 100644 index fb4f728..0000000 --- a/doc/html/PracticalSocket_8h-source.html +++ /dev/null @@ -1,197 +0,0 @@ - - -anytun: PracticalSocket.h Source File - - - - -
-
-
-
-

PracticalSocket.h

Go to the documentation of this file.
00001 /*
-00002  *  anytun
-00003  *
-00004  *  The secure anycast tunneling protocol (satp) defines a protocol used
-00005  *  for communication between any combination of unicast and anycast
-00006  *  tunnel endpoints.  It has less protocol overhead than IPSec in Tunnel
-00007  *  mode and allows tunneling of every ETHER TYPE protocol (e.g.
-00008  *  ethernet, ip, arp ...). satp directly includes cryptography and
-00009  *  message authentication based on the methodes used by SRTP.  It is
-00010  *  intended to deliver a generic, scaleable and secure solution for
-00011  *  tunneling and relaying of packets of any protocol.
-00012  *
-00013  *
-00014  *  Copyright (C) 2007 anytun.org <satp@wirdorange.org>
-00015  *
-00016  *  This program is free software; you can redistribute it and/or modify
-00017  *  it under the terms of the GNU General Public License version 2
-00018  *  as published by the Free Software Foundation.
-00019  *
-00020  *  This program is distributed in the hope that it will be useful,
-00021  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
-00022  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-00023  *  GNU General Public License for more details.
-00024  *
-00025  *  You should have received a copy of the GNU General Public License
-00026  *  along with this program (see the file COPYING included with this
-00027  *  distribution); if not, write to the Free Software Foundation, Inc.,
-00028  *  59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
-00029  */
-00030 
-00031 // this is from: http://cs.ecs.baylor.edu/~donahoo/practical/CSockets/practical/
-00032 // and this is their header:
-00033 /*
-00034  *   C++ sockets on Unix and Windows
-00035  *   Copyright (C) 2002
-00036  *
-00037  *   This program is free software; you can redistribute it and/or modify
-00038  *   it under the terms of the GNU General Public License as published by
-00039  *   the Free Software Foundation; either version 2 of the License, or
-00040  *   (at your option) any later version.
-00041  *
-00042  *   This program is distributed in the hope that it will be useful,
-00043  *   but WITHOUT ANY WARRANTY; without even the implied warranty of
-00044  *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-00045  *   GNU General Public License for more details.
-00046  *
-00047  *   You should have received a copy of the GNU General Public License
-00048  *   along with this program; if not, write to the Free Software
-00049  *   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
-00050  */
-00051 
-00052 #ifndef __PRACTICALSOCKET_INCLUDED__
-00053 #define __PRACTICALSOCKET_INCLUDED__
-00054 
-00055 #include <string>            // For string
-00056 #include <exception>         // For exception class
-00057 
-00058 using namespace std;
-00059 
-00063 class SocketException : public exception {
-00064 public:
-00071   SocketException(const string &message, bool inclSysMsg = false) throw();
-00072 
-00076   ~SocketException() throw();
-00077 
-00082   const char *what() const throw();
-00083 
-00084 private:
-00085   string userMessage;  // Exception message
-00086 };
-00087 
-00091 class Socket {
-00092 public:
-00096   ~Socket();
-00097 
-00103   string getLocalAddress() throw(SocketException);
-00104 
-00110   unsigned short getLocalPort() throw(SocketException);
-00111 
-00118   void setLocalPort(unsigned short localPort) throw(SocketException);
-00119 
-00128   void setLocalAddressAndPort(const string &localAddress, 
-00129     unsigned short localPort = 0) throw(SocketException);
-00130 
-00144   static void cleanUp() throw(SocketException);
-00145 
-00152   static unsigned short resolveService(const string &service,
-00153                                        const string &protocol = "tcp");
-00154 
-00155 private:
-00156   // Prevent the user from trying to use value semantics on this object
-00157   Socket(const Socket &sock);
-00158   void operator=(const Socket &sock);
-00159 
-00160 protected:
-00161   int sockDesc;              // Socket descriptor
-00162   Socket(int type, int protocol) throw(SocketException);
-00163   Socket(int sockDesc);
-00164 };
-00165 
-00169 class CommunicatingSocket : public Socket {
-00170 public:
-00178   void connect(const string &foreignAddress, unsigned short foreignPort)
-00179     throw(SocketException);
-00180 
-00188   void send(const void *buffer, int bufferLen) throw(SocketException);
-00189 
-00198   int recv(void *buffer, int bufferLen) throw(SocketException);
-00199 
-00205   string getForeignAddress() throw(SocketException);
-00206 
-00212   unsigned short getForeignPort() throw(SocketException);
-00213 
-00214 protected:
-00215   CommunicatingSocket(int type, int protocol) throw(SocketException);
-00216   CommunicatingSocket(int newConnSD);
-00217 };
-00218 
-00222 class TCPSocket : public CommunicatingSocket {
-00223 public:
-00228   TCPSocket() throw(SocketException);
-00229 
-00237   TCPSocket(const string &foreignAddress, unsigned short foreignPort) 
-00238       throw(SocketException);
-00239 
-00240 private:
-00241   // Access for TCPServerSocket::accept() connection creation
-00242   friend class TCPServerSocket;
-00243   TCPSocket(int newConnSD);
-00244 };
-00245 
-00249 class TCPServerSocket : public Socket {
-00250 public:
-00260   TCPServerSocket(unsigned short localPort, int queueLen = 5) 
-00261       throw(SocketException);
-00262 
-00272   TCPServerSocket(const string &localAddress, unsigned short localPort,
-00273       int queueLen = 5) throw(SocketException);
-00274 
-00280   TCPSocket *accept() throw(SocketException);
-00281 
-00282 private:
-00283   void setListen(int queueLen) throw(SocketException);
-00284 };
-00285 
-00289 class UDPSocket : public CommunicatingSocket {
-00290 public:
-00295   UDPSocket() throw(SocketException);
-00296 
-00302   UDPSocket(unsigned short localPort) throw(SocketException);
-00303 
-00310   UDPSocket(const string &localAddress, unsigned short localPort) 
-00311       throw(SocketException);
-00312 
-00318   void disconnect() throw(SocketException);
-00319 
-00330   void sendTo(const void *buffer, int bufferLen, const string &foreignAddress,
-00331             unsigned short foreignPort) throw(SocketException);
-00332 
-00343   int recvFrom(void *buffer, int bufferLen, string &sourceAddress, 
-00344                unsigned short &sourcePort) throw(SocketException);
-00345 
-00351   void setMulticastTTL(unsigned char multicastTTL) throw(SocketException);
-00352 
-00358   void joinGroup(const string &multicastGroup) throw(SocketException);
-00359 
-00365   void leaveGroup(const string &multicastGroup) throw(SocketException);
-00366 
-00367 private:
-00368   void setBroadcast();
-00369 };
-00370 
-00371 #endif
-

Generated on Mon Dec 3 11:49:24 2007 for anytun by  - -doxygen 1.5.1
- - diff --git a/doc/html/PracticalSocket_8h.html b/doc/html/PracticalSocket_8h.html deleted file mode 100644 index 2c481ad..0000000 --- a/doc/html/PracticalSocket_8h.html +++ /dev/null @@ -1,44 +0,0 @@ - - -anytun: PracticalSocket.h File Reference - - - - -
-
-
-
-

PracticalSocket.h File Reference

#include <string>
-#include <exception>
- -

-Go to the source code of this file. - - - - - - - - - - - - - - -

Classes

class  SocketException
class  Socket
class  CommunicatingSocket
class  TCPSocket
class  TCPServerSocket
class  UDPSocket
-


Generated on Mon Dec 3 11:49:25 2007 for anytun by  - -doxygen 1.5.1
- - diff --git a/doc/html/annotated.html b/doc/html/annotated.html deleted file mode 100644 index 8197fa2..0000000 --- a/doc/html/annotated.html +++ /dev/null @@ -1,70 +0,0 @@ - - -anytun: Class List - - - - -
-
-
-
-

anytun Class List

Here are the classes, structs, unions and interfaces with brief descriptions: - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
AesIcmCypher
AuthAlgo
Buffer
CommunicatingSocket
Condition
ConnectionList
ConnectionParam
Cypher
HmacAuthAlgo
KeyDerivation
Lock
Log
Log::instanceCleaner
LogStringBuilder
Mutex
NetworkAddress
NullAuthAlgo
NullCypher
Options
Packet
Packet::HeaderStruct
PacketSource
Param
Router
satp::SATP
Semaphore
SeqWindow
SigHupHandler
SigIntHandler
SignalController
SignalHandler
SigQuitHandler
SigTermHandler
SigUsr1Handler
SigUsr2Handler
Socket
SocketException
SyncSocket
TCPServerSocket
TCPSocket
TunDevice
UDPPacketSource
UDPSocket
-
Generated on Mon Dec 3 11:49:25 2007 for anytun by  - -doxygen 1.5.1
- - diff --git a/doc/html/anytun_8cpp.html b/doc/html/anytun_8cpp.html deleted file mode 100644 index b20defe..0000000 --- a/doc/html/anytun_8cpp.html +++ /dev/null @@ -1,179 +0,0 @@ - - -anytun: anytun.cpp File Reference - - - - -
-
-
-
-

anytun.cpp File Reference

#include <iostream>
-#include <poll.h>
-#include "datatypes.h"
-#include "log.h"
-#include "buffer.h"
-#include "packet.h"
-#include "cypher.h"
-#include "keyDerivation.h"
-#include "authAlgo.h"
-#include "signalController.h"
-#include "packetSource.h"
-#include "tunDevice.h"
-#include "options.h"
-#include "seqWindow.h"
- - - - - - - - - - - - - - - - - - - -

Classes

struct  Param

Defines

#define PAYLOAD_TYPE_TAP   0x6558
#define PAYLOAD_TYPE_TUN   0x0800

Functions

void * sender (void *p)
void * sync_receiver (void *p)
void * receiver (void *p)
int main (int argc, char *argv[])
-

Define Documentation

- -
-
- - - - -
#define PAYLOAD_TYPE_TAP   0x6558
-
-
- -

- -

-

- -

-
- - - - -
#define PAYLOAD_TYPE_TUN   0x0800
-
-
- -

- -

-

-


Function Documentation

- -
-
- - - - - - - - - - - - - - - - - - -
int main (int  argc,
char *  argv[] 
)
-
-
- -

- -

-

- -

-
- - - - - - - - - -
void* receiver (void *  p  ) 
-
-
- -

- -

-

- -

-
- - - - - - - - - -
void* sender (void *  p  ) 
-
-
- -

- -

-

- -

-
- - - - - - - - - -
void* sync_receiver (void *  p  ) 
-
-
- -

- -

-

-


Generated on Mon Dec 3 11:49:24 2007 for anytun by  - -doxygen 1.5.1
- - diff --git a/doc/html/authAlgo_8cpp.html b/doc/html/authAlgo_8cpp.html deleted file mode 100644 index 96d9fd9..0000000 --- a/doc/html/authAlgo_8cpp.html +++ /dev/null @@ -1,29 +0,0 @@ - - -anytun: authAlgo.cpp File Reference - - - - -
-
-
-
-

authAlgo.cpp File Reference

#include "authAlgo.h"
-#include <gcrypt.h>
- - -
-
Generated on Mon Dec 3 11:49:24 2007 for anytun by  - -doxygen 1.5.1
- - diff --git a/doc/html/authAlgo_8h-source.html b/doc/html/authAlgo_8h-source.html deleted file mode 100644 index 72ae3b7..0000000 --- a/doc/html/authAlgo_8h-source.html +++ /dev/null @@ -1,84 +0,0 @@ - - -anytun: authAlgo.h Source File - - - - -
-
-
-
-

authAlgo.h

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

Generated on Mon Dec 3 11:49:24 2007 for anytun by  - -doxygen 1.5.1
- - diff --git a/doc/html/authAlgo_8h.html b/doc/html/authAlgo_8h.html deleted file mode 100644 index 6691c03..0000000 --- a/doc/html/authAlgo_8h.html +++ /dev/null @@ -1,38 +0,0 @@ - - -anytun: authAlgo.h File Reference - - - - -
-
-
-
-

authAlgo.h File Reference

#include "datatypes.h"
-#include "buffer.h"
- -

-Go to the source code of this file. - - - - - - - - -

Classes

class  AuthAlgo
class  NullAuthAlgo
class  HmacAuthAlgo
-


Generated on Mon Dec 3 11:49:24 2007 for anytun by  - -doxygen 1.5.1
- - diff --git a/doc/html/buffer_8cpp.html b/doc/html/buffer_8cpp.html deleted file mode 100644 index 30ee9db..0000000 --- a/doc/html/buffer_8cpp.html +++ /dev/null @@ -1,33 +0,0 @@ - - -anytun: buffer.cpp File Reference - - - - -
-
-
-
-

buffer.cpp File Reference

#include <stdexcept>
-#include <string>
-#include <cstdio>
-#include <iostream>
-#include "datatypes.h"
-#include "buffer.h"
- - -
-
Generated on Mon Dec 3 11:49:24 2007 for anytun by  - -doxygen 1.5.1
- - diff --git a/doc/html/buffer_8h-source.html b/doc/html/buffer_8h-source.html deleted file mode 100644 index 3cd42f4..0000000 --- a/doc/html/buffer_8h-source.html +++ /dev/null @@ -1,100 +0,0 @@ - - -anytun: buffer.h Source File - - - - -
-
-
-
-

buffer.h

Go to the documentation of this file.
00001 /*
-00002  *  anytun
-00003  *
-00004  *  The secure anycast tunneling protocol (satp) defines a protocol used
-00005  *  for communication between any combination of unicast and anycast
-00006  *  tunnel endpoints.  It has less protocol overhead than IPSec in Tunnel
-00007  *  mode and allows tunneling of every ETHER TYPE protocol (e.g.
-00008  *  ethernet, ip, arp ...). satp directly includes cryptography and
-00009  *  message authentication based on the methodes used by SRTP.  It is
-00010  *  intended to deliver a generic, scaleable and secure solution for
-00011  *  tunneling and relaying of packets of any protocol.
-00012  *
-00013  *
-00014  *  Copyright (C) 2007 anytun.org <satp@wirdorange.org>
-00015  *
-00016  *  This program is free software; you can redistribute it and/or modify
-00017  *  it under the terms of the GNU General Public License version 2
-00018  *  as published by the Free Software Foundation.
-00019  *
-00020  *  This program is distributed in the hope that it will be useful,
-00021  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
-00022  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-00023  *  GNU General Public License for more details.
-00024  *
-00025  *  You should have received a copy of the GNU General Public License
-00026  *  along with this program (see the file COPYING included with this
-00027  *  distribution); if not, write to the Free Software Foundation, Inc.,
-00028  *  59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
-00029  */
-00030 
-00031 #ifndef _BUFFER_H_
-00032 #define _BUFFER_H_
-00033 
-00034 #include "datatypes.h"
-00035 
-00036 class TunDevice;
-00037 class UDPPacketSource;
-00038 
-00039 class Buffer
-00040 {
-00041 public:
-00042   Buffer();
-00043   Buffer(u_int32_t length);
-00044   Buffer(u_int8_t* data, u_int32_t length);
-00045   virtual ~Buffer();
-00046   Buffer(const Buffer &src);
-00047   void operator=(const Buffer &src);
-00048   void operator=(const seq_nr_t &src);
-00049   void operator=(const sender_id_t &src);
-00050 
-00051   // math operations to calculate IVs and keys
-00052   virtual Buffer operator^(const Buffer &xor_by) const;
-00053   virtual Buffer leftByteShift(u_int32_t width) const;
-00054   virtual Buffer rightByteShift(u_int32_t width) const;
-00055 
-00056   u_int32_t resizeFront(u_int32_t new_length);
-00057   u_int32_t resizeBack(u_int32_t new_length);
-00058   u_int32_t getLength() const;
-00059   u_int8_t* getBuf();
-00060   u_int8_t& operator[](u_int32_t index);
-00061   u_int8_t operator[](u_int32_t index) const;
-00062   void printHexDump() const;
-00063 
-00064   operator u_int8_t*(); // just for write/read tun and packetSource
-00065 protected:
-00066   friend class TunDevice;
-00067   friend class UDPPacketSource;
-00068 //  friend class AesIcmCypher;
-00069 //  friend class KeyDerivation;   // 
-00070 
-00071   u_int8_t *buf_;
-00072   u_int32_t length_;
-00073 
-00074 };
-00075 
-00076 #endif
-

Generated on Mon Dec 3 11:49:24 2007 for anytun by  - -doxygen 1.5.1
- - diff --git a/doc/html/buffer_8h.html b/doc/html/buffer_8h.html deleted file mode 100644 index 7ac3de9..0000000 --- a/doc/html/buffer_8h.html +++ /dev/null @@ -1,33 +0,0 @@ - - -anytun: buffer.h File Reference - - - - -
-
-
-
-

buffer.h File Reference

#include "datatypes.h"
- -

-Go to the source code of this file. - - - - -

Classes

class  Buffer
-


Generated on Mon Dec 3 11:49:24 2007 for anytun by  - -doxygen 1.5.1
- - diff --git a/doc/html/classAesIcmCypher-members.html b/doc/html/classAesIcmCypher-members.html deleted file mode 100644 index ce31628..0000000 --- a/doc/html/classAesIcmCypher-members.html +++ /dev/null @@ -1,40 +0,0 @@ - - -anytun: Member List - - - - -
-
-
-
-

AesIcmCypher Member List

This is the complete list of members for AesIcmCypher, including all inherited members.

- - - - - - - - - - - - - - -
AesIcmCypher()AesIcmCypher
cipher_AesIcmCypher [protected]
Cypher()Cypher [inline]
cypher(Buffer &buf, seq_nr_t seq_nr, sender_id_t sender_id)Cypher
exor(Buffer &buf, const Buffer &bit_stream)Cypher [protected]
gcrypt_initialized_AesIcmCypher [private, static]
GCRYPT_SEC_MEMAesIcmCypher [static]
getBitStream(u_int32_t length, seq_nr_t seq_nr, sender_id_t sender_id)AesIcmCypher [protected, virtual]
MIN_GCRYPT_VERSIONAesIcmCypher [static]
salt_AesIcmCypher [protected]
setKey(Buffer key)AesIcmCypher
setSalt(Buffer salt)AesIcmCypher
~AesIcmCypher()AesIcmCypher
~Cypher()Cypher [inline, virtual]


Generated on Mon Dec 3 11:49:25 2007 for anytun by  - -doxygen 1.5.1
- - diff --git a/doc/html/classAesIcmCypher.html b/doc/html/classAesIcmCypher.html deleted file mode 100644 index 8c53211..0000000 --- a/doc/html/classAesIcmCypher.html +++ /dev/null @@ -1,259 +0,0 @@ - - -anytun: AesIcmCypher Class Reference - - - - -
-
-
-
-

AesIcmCypher Class Reference

#include <cypher.h> -

-

Inheritance diagram for AesIcmCypher: -

- -Cypher - -List of all members. - - - - - - - - - - - - - - - - - - - - - - - - - - -

Public Member Functions

 AesIcmCypher ()
 ~AesIcmCypher ()
void setKey (Buffer key)
void setSalt (Buffer salt)

Static Public Attributes

static const char * MIN_GCRYPT_VERSION
static const u_int32_t GCRYPT_SEC_MEM = 16384

Protected Member Functions

Buffer getBitStream (u_int32_t length, seq_nr_t seq_nr, sender_id_t sender_id)

Protected Attributes

gcry_cipher_hd_t cipher_
Buffer salt_

Static Private Attributes

static bool gcrypt_initialized_
-

Constructor & Destructor Documentation

- -
-
- - - - - - - - -
AesIcmCypher::AesIcmCypher (  ) 
-
-
- -

- -

-

- -

-
- - - - - - - - -
AesIcmCypher::~AesIcmCypher (  ) 
-
-
- -

- -

-

-


Member Function Documentation

- -
-
- - - - - - - - - -
void AesIcmCypher::setKey (Buffer  key  ) 
-
-
- -

- -

-Reimplemented from Cypher. -

-

- -

-
- - - - - - - - - -
void AesIcmCypher::setSalt (Buffer  salt  ) 
-
-
- -

- -

-Reimplemented from Cypher. -

-

- -

-
- - - - - - - - - - - - - - - - - - - - - - - - -
Buffer AesIcmCypher::getBitStream (u_int32_t  length,
seq_nr_t  seq_nr,
sender_id_t  sender_id 
) [protected, virtual]
-
-
- -

- -

-Implements Cypher. -

-

-


Member Data Documentation

- -
-
- - - - -
const char * AesIcmCypher::MIN_GCRYPT_VERSION [static]
-
-
- -

- -

-

- -

-
- - - - -
const u_int32_t AesIcmCypher::GCRYPT_SEC_MEM = 16384 [static]
-
-
- -

- -

-

- -

-
- - - - -
gcry_cipher_hd_t AesIcmCypher::cipher_ [protected]
-
-
- -

- -

-

- -

-
- - - - -
Buffer AesIcmCypher::salt_ [protected]
-
-
- -

- -

-

- -

-
- - - - -
bool AesIcmCypher::gcrypt_initialized_ [static, private]
-
-
- -

- -

-

-


The documentation for this class was generated from the following files: -
Generated on Mon Dec 3 11:49:25 2007 for anytun by  - -doxygen 1.5.1
- - diff --git a/doc/html/classAesIcmCypher.png b/doc/html/classAesIcmCypher.png deleted file mode 100644 index cb9166f..0000000 Binary files a/doc/html/classAesIcmCypher.png and /dev/null differ diff --git a/doc/html/classAuthAlgo-members.html b/doc/html/classAuthAlgo-members.html deleted file mode 100644 index 47c622b..0000000 --- a/doc/html/classAuthAlgo-members.html +++ /dev/null @@ -1,29 +0,0 @@ - - -anytun: Member List - - - - -
-
-
-
-

AuthAlgo Member List

This is the complete list of members for AuthAlgo, including all inherited members.

- - - -
AuthAlgo()AuthAlgo [inline]
calc(const Buffer &buf)=0AuthAlgo [pure virtual]
~AuthAlgo()AuthAlgo [inline, virtual]


Generated on Mon Dec 3 11:49:25 2007 for anytun by  - -doxygen 1.5.1
- - diff --git a/doc/html/classAuthAlgo.html b/doc/html/classAuthAlgo.html deleted file mode 100644 index 59bf63a..0000000 --- a/doc/html/classAuthAlgo.html +++ /dev/null @@ -1,107 +0,0 @@ - - -anytun: AuthAlgo Class Reference - - - - -
-
-
-
-

AuthAlgo Class Reference

#include <authAlgo.h> -

-

Inheritance diagram for AuthAlgo: -

- -HmacAuthAlgo -NullAuthAlgo - -List of all members. - - - - - - - - -

Public Member Functions

 AuthAlgo ()
virtual ~AuthAlgo ()
virtual auth_tag_t calc (const Buffer &buf)=0
-

Constructor & Destructor Documentation

- -
-
- - - - - - - - -
AuthAlgo::AuthAlgo (  )  [inline]
-
-
- -

- -

-

- -

-
- - - - - - - - -
virtual AuthAlgo::~AuthAlgo (  )  [inline, virtual]
-
-
- -

- -

-

-


Member Function Documentation

- -
-
- - - - - - - - - -
virtual auth_tag_t AuthAlgo::calc (const Buffer buf  )  [pure virtual]
-
-
- -

- -

-Implemented in NullAuthAlgo, and HmacAuthAlgo. -

-

-


The documentation for this class was generated from the following file: -
Generated on Mon Dec 3 11:49:25 2007 for anytun by  - -doxygen 1.5.1
- - diff --git a/doc/html/classAuthAlgo.png b/doc/html/classAuthAlgo.png deleted file mode 100644 index eb8532f..0000000 Binary files a/doc/html/classAuthAlgo.png and /dev/null differ diff --git a/doc/html/classBuffer-members.html b/doc/html/classBuffer-members.html deleted file mode 100644 index 5da6ef5..0000000 --- a/doc/html/classBuffer-members.html +++ /dev/null @@ -1,49 +0,0 @@ - - -anytun: Member List - - - - -
-
-
-
-

Buffer Member List

This is the complete list of members for Buffer, including all inherited members.

- - - - - - - - - - - - - - - - - - - - - - - -
buf_Buffer [protected]
Buffer()Buffer
Buffer(u_int32_t length)Buffer
Buffer(u_int8_t *data, u_int32_t length)Buffer
Buffer(const Buffer &src)Buffer
getBuf()Buffer
getLength() constBuffer
leftByteShift(u_int32_t width) constBuffer [virtual]
length_Buffer [protected]
operator u_int8_t *()Buffer
operator=(const Buffer &src)Buffer
operator=(const seq_nr_t &src)Buffer
operator=(const sender_id_t &src)Buffer
operator[](u_int32_t index)Buffer
operator[](u_int32_t index) constBuffer
operator^(const Buffer &xor_by) const Buffer [virtual]
printHexDump() constBuffer
resizeBack(u_int32_t new_length)Buffer
resizeFront(u_int32_t new_length)Buffer
rightByteShift(u_int32_t width) constBuffer [virtual]
TunDevice classBuffer [friend]
UDPPacketSource classBuffer [friend]
~Buffer()Buffer [virtual]


Generated on Mon Dec 3 11:49:25 2007 for anytun by  - -doxygen 1.5.1
- - diff --git a/doc/html/classBuffer.html b/doc/html/classBuffer.html deleted file mode 100644 index 63ee8c2..0000000 --- a/doc/html/classBuffer.html +++ /dev/null @@ -1,534 +0,0 @@ - - -anytun: Buffer Class Reference - - - - -
-
-
-
-

Buffer Class Reference

#include <buffer.h> -

-

Inheritance diagram for Buffer: -

- -Packet -satp::SATP - -List of all members. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Public Member Functions

 Buffer ()
 Buffer (u_int32_t length)
 Buffer (u_int8_t *data, u_int32_t length)
virtual ~Buffer ()
 Buffer (const Buffer &src)
void operator= (const Buffer &src)
void operator= (const seq_nr_t &src)
void operator= (const sender_id_t &src)
virtual Buffer operator^ (const Buffer &xor_by) const
virtual Buffer leftByteShift (u_int32_t width) const
virtual Buffer rightByteShift (u_int32_t width) const
u_int32_t resizeFront (u_int32_t new_length)
u_int32_t resizeBack (u_int32_t new_length)
u_int32_t getLength () const
u_int8_tgetBuf ()
u_int8_toperator[] (u_int32_t index)
u_int8_t operator[] (u_int32_t index) const
void printHexDump () const
 operator u_int8_t * ()

Protected Attributes

u_int8_tbuf_
u_int32_t length_

Friends

class TunDevice
class UDPPacketSource
-

Constructor & Destructor Documentation

- -
-
- - - - - - - - -
Buffer::Buffer (  ) 
-
-
- -

- -

-

- -

-
- - - - - - - - - -
Buffer::Buffer (u_int32_t  length  ) 
-
-
- -

- -

-

- -

-
- - - - - - - - - - - - - - - - - - -
Buffer::Buffer (u_int8_t data,
u_int32_t  length 
)
-
-
- -

- -

-

- -

-
- - - - - - - - -
Buffer::~Buffer (  )  [virtual]
-
-
- -

- -

-

- -

-
- - - - - - - - - -
Buffer::Buffer (const Buffer src  ) 
-
-
- -

- -

-

-


Member Function Documentation

- -
-
- - - - - - - - - -
void Buffer::operator= (const Buffer src  ) 
-
-
- -

- -

-

- -

-
- - - - - - - - - -
void Buffer::operator= (const seq_nr_t src  ) 
-
-
- -

- -

-

- -

-
- - - - - - - - - -
void Buffer::operator= (const sender_id_t src  ) 
-
-
- -

- -

-

- -

-
- - - - - - - - - -
Buffer Buffer::operator^ (const Buffer xor_by  )  const [virtual]
-
-
- -

- -

-

- -

-
- - - - - - - - - -
Buffer Buffer::leftByteShift (u_int32_t  width  )  const [virtual]
-
-
- -

- -

-

- -

-
- - - - - - - - - -
Buffer Buffer::rightByteShift (u_int32_t  width  )  const [virtual]
-
-
- -

- -

-

- -

-
- - - - - - - - - -
u_int32_t Buffer::resizeFront (u_int32_t  new_length  ) 
-
-
- -

- -

-

- -

-
- - - - - - - - - -
u_int32_t Buffer::resizeBack (u_int32_t  new_length  ) 
-
-
- -

- -

-

- -

-
- - - - - - - - -
u_int32_t Buffer::getLength (  )  const
-
-
- -

- -

-

- -

-
- - - - - - - - -
u_int8_t * Buffer::getBuf (  ) 
-
-
- -

- -

-

- -

-
- - - - - - - - - -
u_int8_t & Buffer::operator[] (u_int32_t  index  ) 
-
-
- -

- -

-

- -

-
- - - - - - - - - -
u_int8_t Buffer::operator[] (u_int32_t  index  )  const
-
-
- -

- -

-

- -

-
- - - - - - - - -
void Buffer::printHexDump (  )  const
-
-
- -

- -

-

- -

-
- - - - - - - - -
Buffer::operator u_int8_t * (  ) 
-
-
- -

- -

-

-


Friends And Related Function Documentation

- -
-
- - - - -
friend class TunDevice [friend]
-
-
- -

- -

-

- -

-
- - - - -
friend class UDPPacketSource [friend]
-
-
- -

- -

-

-


Member Data Documentation

- -
-
- - - - -
u_int8_t* Buffer::buf_ [protected]
-
-
- -

- -

-

- -

-
- - - - -
u_int32_t Buffer::length_ [protected]
-
-
- -

- -

-

-


The documentation for this class was generated from the following files: -
Generated on Mon Dec 3 11:49:25 2007 for anytun by  - -doxygen 1.5.1
- - diff --git a/doc/html/classBuffer.png b/doc/html/classBuffer.png deleted file mode 100644 index e6dbf20..0000000 Binary files a/doc/html/classBuffer.png and /dev/null differ diff --git a/doc/html/classCommunicatingSocket-members.html b/doc/html/classCommunicatingSocket-members.html deleted file mode 100644 index 7c80934..0000000 --- a/doc/html/classCommunicatingSocket-members.html +++ /dev/null @@ -1,43 +0,0 @@ - - -anytun: Member List - - - - -
-
-
-
-

CommunicatingSocket Member List

This is the complete list of members for CommunicatingSocket, including all inherited members.

- - - - - - - - - - - - - - - - - -
cleanUp()Socket [static]
CommunicatingSocket(int type, int protocol)CommunicatingSocket [protected]
CommunicatingSocket(int newConnSD)CommunicatingSocket [protected]
connect(const string &foreignAddress, unsigned short foreignPort)CommunicatingSocket
getForeignAddress()CommunicatingSocket
getForeignPort()CommunicatingSocket
getLocalAddress()Socket
getLocalPort()Socket
recv(void *buffer, int bufferLen)CommunicatingSocket
resolveService(const string &service, const string &protocol="tcp")Socket [static]
send(const void *buffer, int bufferLen)CommunicatingSocket
setLocalAddressAndPort(const string &localAddress, unsigned short localPort=0)Socket
setLocalPort(unsigned short localPort)Socket
sockDescSocket [protected]
Socket(int type, int protocol)Socket [protected]
Socket(int sockDesc)Socket [protected]
~Socket()Socket


Generated on Mon Dec 3 11:49:25 2007 for anytun by  - -doxygen 1.5.1
- - diff --git a/doc/html/classCommunicatingSocket.html b/doc/html/classCommunicatingSocket.html deleted file mode 100644 index 4015647..0000000 --- a/doc/html/classCommunicatingSocket.html +++ /dev/null @@ -1,281 +0,0 @@ - - -anytun: CommunicatingSocket Class Reference - - - - -
-
-
-
-

CommunicatingSocket Class Reference

#include <PracticalSocket.h> -

-

Inheritance diagram for CommunicatingSocket: -

- -Socket -TCPSocket -UDPSocket -UDPPacketSource - -List of all members. - - - - - - - - - - - - - - - - - -

Public Member Functions

void connect (const string &foreignAddress, unsigned short foreignPort) throw (SocketException)
void send (const void *buffer, int bufferLen) throw (SocketException)
int recv (void *buffer, int bufferLen) throw (SocketException)
string getForeignAddress () throw (SocketException)
unsigned short getForeignPort () throw (SocketException)

Protected Member Functions

 CommunicatingSocket (int type, int protocol) throw (SocketException)
 CommunicatingSocket (int newConnSD)
-

Detailed Description

-Socket which is able to connect, send, and receive -

-


Constructor & Destructor Documentation

- -
-
- - - - - - - - - - - - - - - - - - -
CommunicatingSocket::CommunicatingSocket (int  type,
int  protocol 
) throw (SocketException) [protected]
-
-
- -

- -

-

- -

-
- - - - - - - - - -
CommunicatingSocket::CommunicatingSocket (int  newConnSD  )  [protected]
-
-
- -

- -

-

-


Member Function Documentation

- -
-
- - - - - - - - - - - - - - - - - - -
void CommunicatingSocket::connect (const string &  foreignAddress,
unsigned short  foreignPort 
) throw (SocketException)
-
-
- -

-Establish a socket connection with the given foreign address and port

Parameters:
- - - -
foreignAddress foreign address (IP address or name)
foreignPort foreign port
-
-
Exceptions:
- - -
SocketException thrown if unable to establish connection
-
- -
-

- -

-
- - - - - - - - - - - - - - - - - - -
void CommunicatingSocket::send (const void *  buffer,
int  bufferLen 
) throw (SocketException)
-
-
- -

-Write the given buffer to this socket. Call connect() before calling send()

Parameters:
- - - -
buffer buffer to be written
bufferLen number of bytes from buffer to be written
-
-
Exceptions:
- - -
SocketException thrown if unable to send data
-
- -
-

- -

-
- - - - - - - - - - - - - - - - - - -
int CommunicatingSocket::recv (void *  buffer,
int  bufferLen 
) throw (SocketException)
-
-
- -

-Read into the given buffer up to bufferLen bytes data from this socket. Call connect() before calling recv()

Parameters:
- - - -
buffer buffer to receive the data
bufferLen maximum number of bytes to read into buffer
-
-
Returns:
number of bytes read, 0 for EOF, and -1 for error
-
Exceptions:
- - -
SocketException thrown if unable to receive data
-
- -
-

- -

-
- - - - - - - - -
string CommunicatingSocket::getForeignAddress (  )  throw (SocketException)
-
-
- -

-Get the foreign address. Call connect() before calling recv()

Returns:
foreign address
-
Exceptions:
- - -
SocketException thrown if unable to fetch foreign address
-
- -
-

- -

-
- - - - - - - - -
unsigned short CommunicatingSocket::getForeignPort (  )  throw (SocketException)
-
-
- -

-Get the foreign port. Call connect() before calling recv()

Returns:
foreign port
-
Exceptions:
- - -
SocketException thrown if unable to fetch foreign port
-
- -
-

-


The documentation for this class was generated from the following files: -
Generated on Mon Dec 3 11:49:25 2007 for anytun by  - -doxygen 1.5.1
- - diff --git a/doc/html/classCommunicatingSocket.png b/doc/html/classCommunicatingSocket.png deleted file mode 100644 index 75605ec..0000000 Binary files a/doc/html/classCommunicatingSocket.png and /dev/null differ diff --git a/doc/html/classCondition-members.html b/doc/html/classCondition-members.html deleted file mode 100644 index 158a05d..0000000 --- a/doc/html/classCondition-members.html +++ /dev/null @@ -1,33 +0,0 @@ - - -anytun: Member List - - - - -
-
-
-
-

Condition Member List

This is the complete list of members for Condition, including all inherited members.

- - - - - - - -
broadcast()Condition [inline]
condCondition [private]
Condition()Condition [inline]
mutexCondition [private]
signal()Condition [inline]
wait()Condition [inline]
~Condition()Condition [inline]


Generated on Mon Dec 3 11:49:25 2007 for anytun by  - -doxygen 1.5.1
- - diff --git a/doc/html/classCondition.html b/doc/html/classCondition.html deleted file mode 100644 index 9f8b676..0000000 --- a/doc/html/classCondition.html +++ /dev/null @@ -1,176 +0,0 @@ - - -anytun: Condition Class Reference - - - - -
-
-
-
-

Condition Class Reference

#include <threadUtils.hpp> -

-List of all members. - - - - - - - - - - - - - - - - - -

Public Member Functions

 Condition ()
 ~Condition ()
void wait ()
void signal ()
void broadcast ()

Private Attributes

pthread_cond_t cond
Mutex mutex
-


Constructor & Destructor Documentation

- -
-
- - - - - - - - -
Condition::Condition (  )  [inline]
-
-
- -

- -

-

- -

-
- - - - - - - - -
Condition::~Condition (  )  [inline]
-
-
- -

- -

-

-


Member Function Documentation

- -
-
- - - - - - - - -
void Condition::wait (  )  [inline]
-
-
- -

- -

-

- -

-
- - - - - - - - -
void Condition::signal (  )  [inline]
-
-
- -

- -

-

- -

-
- - - - - - - - -
void Condition::broadcast (  )  [inline]
-
-
- -

- -

-

-


Member Data Documentation

- -
-
- - - - -
pthread_cond_t Condition::cond [private]
-
-
- -

- -

-

- -

-
- - - - -
Mutex Condition::mutex [private]
-
-
- -

- -

-

-


The documentation for this class was generated from the following file: -
Generated on Mon Dec 3 11:49:25 2007 for anytun by  - -doxygen 1.5.1
- - diff --git a/doc/html/classCypher-members.html b/doc/html/classCypher-members.html deleted file mode 100644 index 18e53fb..0000000 --- a/doc/html/classCypher-members.html +++ /dev/null @@ -1,33 +0,0 @@ - - -anytun: Member List - - - - -
-
-
-
-

Cypher Member List

This is the complete list of members for Cypher, including all inherited members.

- - - - - - - -
Cypher()Cypher [inline]
cypher(Buffer &buf, seq_nr_t seq_nr, sender_id_t sender_id)Cypher
exor(Buffer &buf, const Buffer &bit_stream)Cypher [protected]
getBitStream(u_int32_t length, seq_nr_t seq_nr, sender_id_t sender_id)=0Cypher [protected, pure virtual]
setKey(Buffer key)Cypher [inline]
setSalt(Buffer salt)Cypher [inline]
~Cypher()Cypher [inline, virtual]


Generated on Mon Dec 3 11:49:25 2007 for anytun by  - -doxygen 1.5.1
- - diff --git a/doc/html/classCypher.html b/doc/html/classCypher.html deleted file mode 100644 index d20b56f..0000000 --- a/doc/html/classCypher.html +++ /dev/null @@ -1,239 +0,0 @@ - - -anytun: Cypher Class Reference - - - - -
-
-
-
-

Cypher Class Reference

#include <cypher.h> -

-

Inheritance diagram for Cypher: -

- -AesIcmCypher -NullCypher - -List of all members. - - - - - - - - - - - - - - - - - -

Public Member Functions

 Cypher ()
virtual ~Cypher ()
void setKey (Buffer key)
void setSalt (Buffer salt)
void cypher (Buffer &buf, seq_nr_t seq_nr, sender_id_t sender_id)

Protected Member Functions

void exor (Buffer &buf, const Buffer &bit_stream)
virtual Buffer getBitStream (u_int32_t length, seq_nr_t seq_nr, sender_id_t sender_id)=0
-

Constructor & Destructor Documentation

- -
-
- - - - - - - - -
Cypher::Cypher (  )  [inline]
-
-
- -

- -

-

- -

-
- - - - - - - - -
virtual Cypher::~Cypher (  )  [inline, virtual]
-
-
- -

- -

-

-


Member Function Documentation

- -
-
- - - - - - - - - -
void Cypher::setKey (Buffer  key  )  [inline]
-
-
- -

- -

-Reimplemented in AesIcmCypher. -

-

- -

-
- - - - - - - - - -
void Cypher::setSalt (Buffer  salt  )  [inline]
-
-
- -

- -

-Reimplemented in AesIcmCypher. -

-

- -

-
- - - - - - - - - - - - - - - - - - - - - - - - -
void Cypher::cypher (Buffer buf,
seq_nr_t  seq_nr,
sender_id_t  sender_id 
)
-
-
- -

- -

-

- -

-
- - - - - - - - - - - - - - - - - - -
void Cypher::exor (Buffer buf,
const Buffer bit_stream 
) [protected]
-
-
- -

- -

-

- -

-
- - - - - - - - - - - - - - - - - - - - - - - - -
virtual Buffer Cypher::getBitStream (u_int32_t  length,
seq_nr_t  seq_nr,
sender_id_t  sender_id 
) [protected, pure virtual]
-
-
- -

- -

-Implemented in NullCypher, and AesIcmCypher. -

-

-


The documentation for this class was generated from the following files: -
Generated on Mon Dec 3 11:49:25 2007 for anytun by  - -doxygen 1.5.1
- - diff --git a/doc/html/classCypher.png b/doc/html/classCypher.png deleted file mode 100644 index b7081e0..0000000 Binary files a/doc/html/classCypher.png and /dev/null differ diff --git a/doc/html/classHmacAuthAlgo-members.html b/doc/html/classHmacAuthAlgo-members.html deleted file mode 100644 index 49a09aa..0000000 --- a/doc/html/classHmacAuthAlgo-members.html +++ /dev/null @@ -1,29 +0,0 @@ - - -anytun: Member List - - - - -
-
-
-
-

HmacAuthAlgo Member List

This is the complete list of members for HmacAuthAlgo, including all inherited members.

- - - -
AuthAlgo()AuthAlgo [inline]
calc(const Buffer &buf)HmacAuthAlgo [virtual]
~AuthAlgo()AuthAlgo [inline, virtual]


Generated on Mon Dec 3 11:49:25 2007 for anytun by  - -doxygen 1.5.1
- - diff --git a/doc/html/classHmacAuthAlgo.html b/doc/html/classHmacAuthAlgo.html deleted file mode 100644 index 6011d99..0000000 --- a/doc/html/classHmacAuthAlgo.html +++ /dev/null @@ -1,63 +0,0 @@ - - -anytun: HmacAuthAlgo Class Reference - - - - -
-
-
-
-

HmacAuthAlgo Class Reference

#include <authAlgo.h> -

-

Inheritance diagram for HmacAuthAlgo: -

- -AuthAlgo - -List of all members. - - - - -

Public Member Functions

auth_tag_t calc (const Buffer &buf)
-

Member Function Documentation

- -
-
- - - - - - - - - -
auth_tag_t HmacAuthAlgo::calc (const Buffer buf  )  [virtual]
-
-
- -

- -

-Implements AuthAlgo. -

-

-


The documentation for this class was generated from the following files: -
Generated on Mon Dec 3 11:49:25 2007 for anytun by  - -doxygen 1.5.1
- - diff --git a/doc/html/classHmacAuthAlgo.png b/doc/html/classHmacAuthAlgo.png deleted file mode 100644 index d7059e2..0000000 Binary files a/doc/html/classHmacAuthAlgo.png and /dev/null differ diff --git a/doc/html/classKeyDerivation-members.html b/doc/html/classKeyDerivation-members.html deleted file mode 100644 index cc9f3cd..0000000 --- a/doc/html/classKeyDerivation-members.html +++ /dev/null @@ -1,36 +0,0 @@ - - -anytun: Member List - - - - -
-
-
-
-

KeyDerivation Member List

This is the complete list of members for KeyDerivation, including all inherited members.

- - - - - - - - - - -
cipher_KeyDerivation [protected]
clear()KeyDerivation
generate(satp_prf_label label, seq_nr_t seq_nr, Buffer &key, u_int32_t length)KeyDerivation
init(Buffer key, Buffer salt)KeyDerivation
KeyDerivation()KeyDerivation [inline]
ld_kdr_KeyDerivation [protected]
MIN_GCRYPT_VERSIONKeyDerivation [protected, static]
salt_KeyDerivation [protected]
setLogKDRate(const u_int8_t ld_rate)KeyDerivation
~KeyDerivation()KeyDerivation [inline, virtual]


Generated on Mon Dec 3 11:49:25 2007 for anytun by  - -doxygen 1.5.1
- - diff --git a/doc/html/classKeyDerivation.html b/doc/html/classKeyDerivation.html deleted file mode 100644 index 1f3cbe1..0000000 --- a/doc/html/classKeyDerivation.html +++ /dev/null @@ -1,265 +0,0 @@ - - -anytun: KeyDerivation Class Reference - - - - -
-
-
-
-

KeyDerivation Class Reference

#include <keyDerivation.h> -

-List of all members. - - - - - - - - - - - - - - - - - - - - - - - - -

Public Member Functions

 KeyDerivation ()
virtual ~KeyDerivation ()
void init (Buffer key, Buffer salt)
void setLogKDRate (const u_int8_t ld_rate)
void generate (satp_prf_label label, seq_nr_t seq_nr, Buffer &key, u_int32_t length)
void clear ()

Protected Attributes

int8_t ld_kdr_
Buffer salt_
gcry_cipher_hd_t cipher_

Static Protected Attributes

static const char * MIN_GCRYPT_VERSION
-


Constructor & Destructor Documentation

- -
-
- - - - - - - - -
KeyDerivation::KeyDerivation (  )  [inline]
-
-
- -

- -

-

- -

-
- - - - - - - - -
virtual KeyDerivation::~KeyDerivation (  )  [inline, virtual]
-
-
- -

- -

-

-


Member Function Documentation

- -
-
- - - - - - - - - - - - - - - - - - -
void KeyDerivation::init (Buffer  key,
Buffer  salt 
)
-
-
- -

- -

-

- -

-
- - - - - - - - - -
void KeyDerivation::setLogKDRate (const u_int8_t  ld_rate  ) 
-
-
- -

- -

-

- -

-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
void KeyDerivation::generate (satp_prf_label  label,
seq_nr_t  seq_nr,
Buffer key,
u_int32_t  length 
)
-
-
- -

- -

-

- -

-
- - - - - - - - -
void KeyDerivation::clear (  ) 
-
-
- -

- -

-

-


Member Data Documentation

- -
-
- - - - -
int8_t KeyDerivation::ld_kdr_ [protected]
-
-
- -

- -

-

- -

-
- - - - -
Buffer KeyDerivation::salt_ [protected]
-
-
- -

- -

-

- -

-
- - - - -
const char * KeyDerivation::MIN_GCRYPT_VERSION [static, protected]
-
-
- -

- -

-

- -

-
- - - - -
gcry_cipher_hd_t KeyDerivation::cipher_ [protected]
-
-
- -

- -

-

-


The documentation for this class was generated from the following files: -
Generated on Mon Dec 3 11:49:25 2007 for anytun by  - -doxygen 1.5.1
- - diff --git a/doc/html/classLock-members.html b/doc/html/classLock-members.html deleted file mode 100644 index cdfc830..0000000 --- a/doc/html/classLock-members.html +++ /dev/null @@ -1,31 +0,0 @@ - - -anytun: Member List - - - - -
-
-
-
-

Lock Member List

This is the complete list of members for Lock, including all inherited members.

- - - - - -
Lock(Mutex &m)Lock [inline]
Lock(const Lock &src)Lock [private]
mutexLock [private]
operator=(const Lock &src)Lock [private]
~Lock()Lock [inline]


Generated on Mon Dec 3 11:49:25 2007 for anytun by  - -doxygen 1.5.1
- - diff --git a/doc/html/classLock.html b/doc/html/classLock.html deleted file mode 100644 index 97a9388..0000000 --- a/doc/html/classLock.html +++ /dev/null @@ -1,142 +0,0 @@ - - -anytun: Lock Class Reference - - - - -
-
-
-
-

Lock Class Reference

#include <threadUtils.hpp> -

-List of all members. - - - - - - - - - - - - - - -

Public Member Functions

 Lock (Mutex &m)
 ~Lock ()

Private Member Functions

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

Private Attributes

Mutexmutex
-


Constructor & Destructor Documentation

- -
-
- - - - - - - - - -
Lock::Lock (Mutex m  )  [inline]
-
-
- -

- -

-

- -

-
- - - - - - - - -
Lock::~Lock (  )  [inline]
-
-
- -

- -

-

- -

-
- - - - - - - - - -
Lock::Lock (const Lock src  )  [private]
-
-
- -

- -

-

-


Member Function Documentation

- -
-
- - - - - - - - - -
void Lock::operator= (const Lock src  )  [private]
-
-
- -

- -

-

-


Member Data Documentation

- -
-
- - - - -
Mutex& Lock::mutex [private]
-
-
- -

- -

-

-


The documentation for this class was generated from the following file: -
Generated on Mon Dec 3 11:49:25 2007 for anytun by  - -doxygen 1.5.1
- - diff --git a/doc/html/classLog-members.html b/doc/html/classLog-members.html deleted file mode 100644 index 57ce2b9..0000000 --- a/doc/html/classLog-members.html +++ /dev/null @@ -1,71 +0,0 @@ - - -anytun: Member List - - - - -
-
-
-
-

Log Member List

This is the complete list of members for Log, including all inherited members.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
FAC_AUTHLog [static]
FAC_AUTHPRIVLog [static]
FAC_CRONLog [static]
FAC_DAEMONLog [static]
FAC_FTPLog [static]
FAC_LOCAL0Log [static]
FAC_LOCAL1Log [static]
FAC_LOCAL2Log [static]
FAC_LOCAL3Log [static]
FAC_LOCAL4Log [static]
FAC_LOCAL5Log [static]
FAC_LOCAL6Log [static]
FAC_LOCAL7Log [static]
FAC_LPRLog [static]
FAC_MAILLog [static]
FAC_NEWSLog [static]
FAC_SYSLOGLog [static]
FAC_USERLog [static]
FAC_UUCPLog [static]
facilityLog [private]
getFacility() constLog [inline]
getLogName() constLog [inline]
instLog [private, static]
instance()Log [static]
instanceCleaner classLog [friend]
instMutexLog [private, static]
Log()Log [private]
Log(const Log &l)Log [private]
logNameLog [private]
LogStringBuilder classLog [friend]
msg(int prio=PRIO_INFO)Log [inline]
mutexLog [private]
open()Log [private]
operator=(const Log &l)Log [private]
PRIO_ALERTLog [static]
PRIO_CRITLog [static]
PRIO_DEBUGLog [static]
PRIO_EMERGLog [static]
PRIO_ERRLog [static]
PRIO_INFOLog [static]
PRIO_NOTICELog [static]
PRIO_WARNINGLog [static]
setFacility(int newFacility)Log
setLogName(std::string newLogName)Log
~Log()Log [private]


Generated on Mon Dec 3 11:49:25 2007 for anytun by  - -doxygen 1.5.1
- - diff --git a/doc/html/classLog.html b/doc/html/classLog.html deleted file mode 100644 index f158ffe..0000000 --- a/doc/html/classLog.html +++ /dev/null @@ -1,860 +0,0 @@ - - -anytun: Log Class Reference - - - - -
-
-
-
-

Log Class Reference

#include <log.h> -

-List of all members. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Public Member Functions

LogsetLogName (std::string newLogName)
std::string getLogName () const
LogsetFacility (int newFacility)
int getFacility () const
LogStringBuilder msg (int prio=PRIO_INFO)

Static Public Member Functions

static Loginstance ()

Static Public Attributes

static const int FAC_USER = LOG_USER
static const int FAC_MAIL = LOG_MAIL
static const int FAC_DAEMON = LOG_DAEMON
static const int FAC_AUTH = LOG_AUTH
static const int FAC_SYSLOG = LOG_SYSLOG
static const int FAC_LPR = LOG_LPR
static const int FAC_NEWS = LOG_NEWS
static const int FAC_UUCP = LOG_UUCP
static const int FAC_CRON = LOG_CRON
static const int FAC_AUTHPRIV = LOG_AUTHPRIV
static const int FAC_FTP = LOG_FTP
static const int FAC_LOCAL0 = LOG_LOCAL0
static const int FAC_LOCAL1 = LOG_LOCAL1
static const int FAC_LOCAL2 = LOG_LOCAL2
static const int FAC_LOCAL3 = LOG_LOCAL3
static const int FAC_LOCAL4 = LOG_LOCAL4
static const int FAC_LOCAL5 = LOG_LOCAL5
static const int FAC_LOCAL6 = LOG_LOCAL6
static const int FAC_LOCAL7 = LOG_LOCAL7
static const int PRIO_EMERG = LOG_EMERG
static const int PRIO_ALERT = LOG_ALERT
static const int PRIO_CRIT = LOG_CRIT
static const int PRIO_ERR = LOG_ERR
static const int PRIO_WARNING = LOG_WARNING
static const int PRIO_NOTICE = LOG_NOTICE
static const int PRIO_INFO = LOG_INFO
static const int PRIO_DEBUG = LOG_DEBUG

Private Member Functions

 Log ()
 ~Log ()
 Log (const Log &l)
void operator= (const Log &l)
void open ()

Private Attributes

Mutex mutex
std::string logName
int facility

Static Private Attributes

static Loginst
static Mutex instMutex

Friends

class instanceCleaner
class LogStringBuilder

Classes

class  instanceCleaner
-


Constructor & Destructor Documentation

- -
-
- - - - - - - - -
Log::Log (  )  [private]
-
-
- -

- -

-

- -

-
- - - - - - - - -
Log::~Log (  )  [private]
-
-
- -

- -

-

- -

-
- - - - - - - - - -
Log::Log (const Log l  )  [private]
-
-
- -

- -

-

-


Member Function Documentation

- -
-
- - - - - - - - -
Log & Log::instance (  )  [static]
-
-
- -

- -

-

- -

-
- - - - - - - - - -
Log & Log::setLogName (std::string  newLogName  ) 
-
-
- -

- -

-

- -

-
- - - - - - - - -
std::string Log::getLogName (  )  const [inline]
-
-
- -

- -

-

- -

-
- - - - - - - - - -
Log & Log::setFacility (int  newFacility  ) 
-
-
- -

- -

-

- -

-
- - - - - - - - -
int Log::getFacility (  )  const [inline]
-
-
- -

- -

-

- -

-
- - - - - - - - - -
LogStringBuilder Log::msg (int  prio = PRIO_INFO  )  [inline]
-
-
- -

- -

-

- -

-
- - - - - - - - - -
void Log::operator= (const Log l  )  [private]
-
-
- -

- -

-

- -

-
- - - - - - - - -
void Log::open (  )  [private]
-
-
- -

- -

-

-


Friends And Related Function Documentation

- -
-
- - - - -
friend class instanceCleaner [friend]
-
-
- -

- -

-

- -

-
- - - - -
friend class LogStringBuilder [friend]
-
-
- -

- -

-

-


Member Data Documentation

- -
-
- - - - -
const int Log::FAC_USER = LOG_USER [static]
-
-
- -

- -

-

- -

-
- - - - -
const int Log::FAC_MAIL = LOG_MAIL [static]
-
-
- -

- -

-

- -

-
- - - - -
const int Log::FAC_DAEMON = LOG_DAEMON [static]
-
-
- -

- -

-

- -

-
- - - - -
const int Log::FAC_AUTH = LOG_AUTH [static]
-
-
- -

- -

-

- -

-
- - - - -
const int Log::FAC_SYSLOG = LOG_SYSLOG [static]
-
-
- -

- -

-

- -

-
- - - - -
const int Log::FAC_LPR = LOG_LPR [static]
-
-
- -

- -

-

- -

-
- - - - -
const int Log::FAC_NEWS = LOG_NEWS [static]
-
-
- -

- -

-

- -

-
- - - - -
const int Log::FAC_UUCP = LOG_UUCP [static]
-
-
- -

- -

-

- -

-
- - - - -
const int Log::FAC_CRON = LOG_CRON [static]
-
-
- -

- -

-

- -

-
- - - - -
const int Log::FAC_AUTHPRIV = LOG_AUTHPRIV [static]
-
-
- -

- -

-

- -

-
- - - - -
const int Log::FAC_FTP = LOG_FTP [static]
-
-
- -

- -

-

- -

-
- - - - -
const int Log::FAC_LOCAL0 = LOG_LOCAL0 [static]
-
-
- -

- -

-

- -

-
- - - - -
const int Log::FAC_LOCAL1 = LOG_LOCAL1 [static]
-
-
- -

- -

-

- -

-
- - - - -
const int Log::FAC_LOCAL2 = LOG_LOCAL2 [static]
-
-
- -

- -

-

- -

-
- - - - -
const int Log::FAC_LOCAL3 = LOG_LOCAL3 [static]
-
-
- -

- -

-

- -

-
- - - - -
const int Log::FAC_LOCAL4 = LOG_LOCAL4 [static]
-
-
- -

- -

-

- -

-
- - - - -
const int Log::FAC_LOCAL5 = LOG_LOCAL5 [static]
-
-
- -

- -

-

- -

-
- - - - -
const int Log::FAC_LOCAL6 = LOG_LOCAL6 [static]
-
-
- -

- -

-

- -

-
- - - - -
const int Log::FAC_LOCAL7 = LOG_LOCAL7 [static]
-
-
- -

- -

-

- -

-
- - - - -
const int Log::PRIO_EMERG = LOG_EMERG [static]
-
-
- -

- -

-

- -

-
- - - - -
const int Log::PRIO_ALERT = LOG_ALERT [static]
-
-
- -

- -

-

- -

-
- - - - -
const int Log::PRIO_CRIT = LOG_CRIT [static]
-
-
- -

- -

-

- -

-
- - - - -
const int Log::PRIO_ERR = LOG_ERR [static]
-
-
- -

- -

-

- -

-
- - - - -
const int Log::PRIO_WARNING = LOG_WARNING [static]
-
-
- -

- -

-

- -

-
- - - - -
const int Log::PRIO_NOTICE = LOG_NOTICE [static]
-
-
- -

- -

-

- -

-
- - - - -
const int Log::PRIO_INFO = LOG_INFO [static]
-
-
- -

- -

-

- -

-
- - - - -
const int Log::PRIO_DEBUG = LOG_DEBUG [static]
-
-
- -

- -

-

- -

-
- - - - -
Log * Log::inst [static, private]
-
-
- -

- -

-

- -

-
- - - - -
Mutex Log::instMutex [static, private]
-
-
- -

- -

-

- -

-
- - - - -
Mutex Log::mutex [private]
-
-
- -

- -

-

- -

-
- - - - -
std::string Log::logName [private]
-
-
- -

- -

-

- -

-
- - - - -
int Log::facility [private]
-
-
- -

- -

-

-


The documentation for this class was generated from the following files: -
Generated on Mon Dec 3 11:49:25 2007 for anytun by  - -doxygen 1.5.1
- - diff --git a/doc/html/classLogStringBuilder-members.html b/doc/html/classLogStringBuilder-members.html deleted file mode 100644 index b9be18d..0000000 --- a/doc/html/classLogStringBuilder-members.html +++ /dev/null @@ -1,33 +0,0 @@ - - -anytun: Member List - - - - -
-
-
-
-

LogStringBuilder Member List

This is the complete list of members for LogStringBuilder, including all inherited members.

- - - - - - - -
logLogStringBuilder [private]
LogStringBuilder(LogStringBuilder const &src)LogStringBuilder
LogStringBuilder(Log &l, int p)LogStringBuilder
operator<<(T const &value)LogStringBuilder [inline]
prioLogStringBuilder [private]
streamLogStringBuilder [private]
~LogStringBuilder()LogStringBuilder


Generated on Mon Dec 3 11:49:25 2007 for anytun by  - -doxygen 1.5.1
- - diff --git a/doc/html/classLogStringBuilder.html b/doc/html/classLogStringBuilder.html deleted file mode 100644 index 3282308..0000000 --- a/doc/html/classLogStringBuilder.html +++ /dev/null @@ -1,187 +0,0 @@ - - -anytun: LogStringBuilder Class Reference - - - - -
-
-
-
-

LogStringBuilder Class Reference

#include <log.h> -

-List of all members. - - - - - - - - - - - - - - - - - - -

Public Member Functions

 LogStringBuilder (LogStringBuilder const &src)
 LogStringBuilder (Log &l, int p)
 ~LogStringBuilder ()
template<class T>
std::ostream & operator<< (T const &value)

Private Attributes

Loglog
int prio
std::stringstream stream
-


Constructor & Destructor Documentation

- -
-
- - - - - - - - - -
LogStringBuilder::LogStringBuilder (LogStringBuilder const &  src  ) 
-
-
- -

- -

-

- -

-
- - - - - - - - - - - - - - - - - - -
LogStringBuilder::LogStringBuilder (Log l,
int  p 
)
-
-
- -

- -

-

- -

-
- - - - - - - - -
LogStringBuilder::~LogStringBuilder (  ) 
-
-
- -

- -

-

-


Member Function Documentation

- -
-
-
-template<class T>
- - - - - - - - - -
std::ostream& LogStringBuilder::operator<< (T const &  value  )  [inline]
-
-
- -

- -

-

-


Member Data Documentation

- -
-
- - - - -
Log& LogStringBuilder::log [private]
-
-
- -

- -

-

- -

-
- - - - -
int LogStringBuilder::prio [private]
-
-
- -

- -

-

- -

-
- - - - -
std::stringstream LogStringBuilder::stream [private]
-
-
- -

- -

-

-


The documentation for this class was generated from the following files: -
Generated on Mon Dec 3 11:49:25 2007 for anytun by  - -doxygen 1.5.1
- - diff --git a/doc/html/classLog_1_1instanceCleaner-members.html b/doc/html/classLog_1_1instanceCleaner-members.html deleted file mode 100644 index 1fdccc7..0000000 --- a/doc/html/classLog_1_1instanceCleaner-members.html +++ /dev/null @@ -1,27 +0,0 @@ - - -anytun: Member List - - - - -
-
-
-
-

Log::instanceCleaner Member List

This is the complete list of members for Log::instanceCleaner, including all inherited members.

- -
~instanceCleaner()Log::instanceCleaner [inline]


Generated on Mon Dec 3 11:49:25 2007 for anytun by  - -doxygen 1.5.1
- - diff --git a/doc/html/classLog_1_1instanceCleaner.html b/doc/html/classLog_1_1instanceCleaner.html deleted file mode 100644 index 39bc6be..0000000 --- a/doc/html/classLog_1_1instanceCleaner.html +++ /dev/null @@ -1,55 +0,0 @@ - - -anytun: Log::instanceCleaner Class Reference - - - - -
-
-
-
- -

Log::instanceCleaner Class Reference

List of all members. - - - - -

Public Member Functions

 ~instanceCleaner ()
-

Constructor & Destructor Documentation

- -
-
- - - - - - - - -
Log::instanceCleaner::~instanceCleaner (  )  [inline]
-
-
- -

- -

-

-


The documentation for this class was generated from the following file: -
Generated on Mon Dec 3 11:49:25 2007 for anytun by  - -doxygen 1.5.1
- - diff --git a/doc/html/classMutex-members.html b/doc/html/classMutex-members.html deleted file mode 100644 index ac4a5a7..0000000 --- a/doc/html/classMutex-members.html +++ /dev/null @@ -1,35 +0,0 @@ - - -anytun: Member List - - - - -
-
-
-
-

Mutex Member List

This is the complete list of members for Mutex, including all inherited members.

- - - - - - - - - -
Condition classMutex [friend]
Lock classMutex [friend]
lock()Mutex [inline, private]
Mutex()Mutex [inline]
Mutex(const Mutex &src)Mutex [private]
mutexMutex [private]
operator=(const Mutex &src)Mutex [private]
unlock()Mutex [inline, private]
~Mutex()Mutex [inline]


Generated on Mon Dec 3 11:49:25 2007 for anytun by  - -doxygen 1.5.1
- - diff --git a/doc/html/classMutex.html b/doc/html/classMutex.html deleted file mode 100644 index 590872f..0000000 --- a/doc/html/classMutex.html +++ /dev/null @@ -1,219 +0,0 @@ - - -anytun: Mutex Class Reference - - - - -
-
-
-
-

Mutex Class Reference

#include <threadUtils.hpp> -

-List of all members. - - - - - - - - - - - - - - - - - - - - - - - -

Public Member Functions

 Mutex ()
 ~Mutex ()

Private Member Functions

 Mutex (const Mutex &src)
void operator= (const Mutex &src)
void lock ()
void unlock ()

Private Attributes

pthread_mutex_t mutex

Friends

class Lock
class Condition
-


Constructor & Destructor Documentation

- -
-
- - - - - - - - -
Mutex::Mutex (  )  [inline]
-
-
- -

- -

-

- -

-
- - - - - - - - -
Mutex::~Mutex (  )  [inline]
-
-
- -

- -

-

- -

-
- - - - - - - - - -
Mutex::Mutex (const Mutex src  )  [private]
-
-
- -

- -

-

-


Member Function Documentation

- -
-
- - - - - - - - - -
void Mutex::operator= (const Mutex src  )  [private]
-
-
- -

- -

-

- -

-
- - - - - - - - -
void Mutex::lock (  )  [inline, private]
-
-
- -

- -

-

- -

-
- - - - - - - - -
void Mutex::unlock (  )  [inline, private]
-
-
- -

- -

-

-


Friends And Related Function Documentation

- -
-
- - - - -
friend class Lock [friend]
-
-
- -

- -

-

- -

-
- - - - -
friend class Condition [friend]
-
-
- -

- -

-

-


Member Data Documentation

- -
-
- - - - -
pthread_mutex_t Mutex::mutex [private]
-
-
- -

- -

-

-


The documentation for this class was generated from the following file: -
Generated on Mon Dec 3 11:49:25 2007 for anytun by  - -doxygen 1.5.1
- - diff --git a/doc/html/classNullAuthAlgo-members.html b/doc/html/classNullAuthAlgo-members.html deleted file mode 100644 index 8d99c3a..0000000 --- a/doc/html/classNullAuthAlgo-members.html +++ /dev/null @@ -1,29 +0,0 @@ - - -anytun: Member List - - - - -
-
-
-
-

NullAuthAlgo Member List

This is the complete list of members for NullAuthAlgo, including all inherited members.

- - - -
AuthAlgo()AuthAlgo [inline]
calc(const Buffer &buf)NullAuthAlgo [virtual]
~AuthAlgo()AuthAlgo [inline, virtual]


Generated on Mon Dec 3 11:49:25 2007 for anytun by  - -doxygen 1.5.1
- - diff --git a/doc/html/classNullAuthAlgo.html b/doc/html/classNullAuthAlgo.html deleted file mode 100644 index 7534505..0000000 --- a/doc/html/classNullAuthAlgo.html +++ /dev/null @@ -1,63 +0,0 @@ - - -anytun: NullAuthAlgo Class Reference - - - - -
-
-
-
-

NullAuthAlgo Class Reference

#include <authAlgo.h> -

-

Inheritance diagram for NullAuthAlgo: -

- -AuthAlgo - -List of all members. - - - - -

Public Member Functions

auth_tag_t calc (const Buffer &buf)
-

Member Function Documentation

- -
-
- - - - - - - - - -
auth_tag_t NullAuthAlgo::calc (const Buffer buf  )  [virtual]
-
-
- -

- -

-Implements AuthAlgo. -

-

-


The documentation for this class was generated from the following files: -
Generated on Mon Dec 3 11:49:25 2007 for anytun by  - -doxygen 1.5.1
- - diff --git a/doc/html/classNullAuthAlgo.png b/doc/html/classNullAuthAlgo.png deleted file mode 100644 index cdfd518..0000000 Binary files a/doc/html/classNullAuthAlgo.png and /dev/null differ diff --git a/doc/html/classNullCypher-members.html b/doc/html/classNullCypher-members.html deleted file mode 100644 index 33a6156..0000000 --- a/doc/html/classNullCypher-members.html +++ /dev/null @@ -1,33 +0,0 @@ - - -anytun: Member List - - - - -
-
-
-
-

NullCypher Member List

This is the complete list of members for NullCypher, including all inherited members.

- - - - - - - -
Cypher()Cypher [inline]
cypher(Buffer &buf, seq_nr_t seq_nr, sender_id_t sender_id)Cypher
exor(Buffer &buf, const Buffer &bit_stream)Cypher [protected]
getBitStream(u_int32_t length, seq_nr_t seq_nr, sender_id_t sender_id)NullCypher [protected, virtual]
setKey(Buffer key)Cypher [inline]
setSalt(Buffer salt)Cypher [inline]
~Cypher()Cypher [inline, virtual]


Generated on Mon Dec 3 11:49:25 2007 for anytun by  - -doxygen 1.5.1
- - diff --git a/doc/html/classNullCypher.html b/doc/html/classNullCypher.html deleted file mode 100644 index c06e693..0000000 --- a/doc/html/classNullCypher.html +++ /dev/null @@ -1,78 +0,0 @@ - - -anytun: NullCypher Class Reference - - - - -
-
-
-
-

NullCypher Class Reference

#include <cypher.h> -

-

Inheritance diagram for NullCypher: -

- -Cypher - -List of all members. - - - - -

Protected Member Functions

Buffer getBitStream (u_int32_t length, seq_nr_t seq_nr, sender_id_t sender_id)
-

Member Function Documentation

- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
Buffer NullCypher::getBitStream (u_int32_t  length,
seq_nr_t  seq_nr,
sender_id_t  sender_id 
) [protected, virtual]
-
-
- -

- -

-Implements Cypher. -

-

-


The documentation for this class was generated from the following files: -
Generated on Mon Dec 3 11:49:25 2007 for anytun by  - -doxygen 1.5.1
- - diff --git a/doc/html/classNullCypher.png b/doc/html/classNullCypher.png deleted file mode 100644 index 256fd36..0000000 Binary files a/doc/html/classNullCypher.png and /dev/null differ diff --git a/doc/html/classOptions-members.html b/doc/html/classOptions-members.html deleted file mode 100644 index e259c59..0000000 --- a/doc/html/classOptions-members.html +++ /dev/null @@ -1,77 +0,0 @@ - - -anytun: Member List - - - - -
-
-
-
-

Options Member List

This is the complete list of members for Options, including all inherited members.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
auth_algo_Options [private]
cypher_Options [private]
dev_name_Options [private]
dev_type_Options [private]
getAuthAlgo()Options
getCypher()Options
getDevName()Options
getDevType()Options
getIfconfigParamLocal()Options
getIfconfigParamRemoteNetmask()Options
getLocalAddr()Options
getLocalPort()Options
getLocalSyncAddr()Options
getLocalSyncPort()Options
getProgname()Options
getRemoteAddr()Options
getRemotePort()Options
getSenderId()Options
getSeqWindowSize()Options
ifconfig_param_local_Options [private]
ifconfig_param_remote_netmask_Options [private]
local_addr_Options [private]
local_port_Options [private]
local_sync_addr_Options [private]
local_sync_port_Options [private]
mutexOptions [private]
Options()Options
parse(int argc, char *argv[])Options
printOptions()Options
printUsage()Options
progname_Options [private]
remote_addr_Options [private]
remote_port_Options [private]
sender_id_Options [private]
seq_window_size_Options [private]
setAuthAlgo(std::string a)Options
setCypher(std::string c)Options
setDevName(std::string d)Options
setDevType(std::string d)Options
setIfconfigParamLocal(std::string i)Options
setIfconfigParamRemoteNetmask(std::string i)Options
setLocalAddr(std::string l)Options
setLocalPort(u_int16_t l)Options
setLocalSyncAddr(std::string l)Options
setLocalSyncPort(u_int16_t l)Options
setProgname(std::string p)Options
setRemoteAddr(std::string r)Options
setRemoteAddrPort(std::string addr, u_int16_t port)Options
setRemotePort(u_int16_t r)Options
setSenderId(sender_id_t s)Options
setSeqWindowSize(window_size_t s)Options


Generated on Mon Dec 3 11:49:25 2007 for anytun by  - -doxygen 1.5.1
- - diff --git a/doc/html/classOptions.html b/doc/html/classOptions.html deleted file mode 100644 index 23598ea..0000000 --- a/doc/html/classOptions.html +++ /dev/null @@ -1,1079 +0,0 @@ - - -anytun: Options Class Reference - - - - -
-
-
-
-

Options Class Reference

#include <options.h> -

-List of all members. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Public Member Functions

 Options ()
bool parse (int argc, char *argv[])
void printUsage ()
void printOptions ()
std::string getProgname ()
OptionssetProgname (std::string p)
sender_id_t getSenderId ()
OptionssetSenderId (sender_id_t s)
std::string getLocalAddr ()
OptionssetLocalAddr (std::string l)
std::string getLocalSyncAddr ()
OptionssetLocalSyncAddr (std::string l)
u_int16_t getLocalPort ()
OptionssetLocalPort (u_int16_t l)
std::string getRemoteAddr ()
OptionssetRemoteAddr (std::string r)
u_int16_t getLocalSyncPort ()
OptionssetLocalSyncPort (u_int16_t l)
u_int16_t getRemotePort ()
OptionssetRemotePort (u_int16_t r)
OptionssetRemoteAddrPort (std::string addr, u_int16_t port)
std::string getDevName ()
OptionssetDevName (std::string d)
std::string getDevType ()
OptionssetDevType (std::string d)
std::string getIfconfigParamLocal ()
OptionssetIfconfigParamLocal (std::string i)
std::string getIfconfigParamRemoteNetmask ()
OptionssetIfconfigParamRemoteNetmask (std::string i)
window_size_t getSeqWindowSize ()
OptionssetSeqWindowSize (window_size_t s)
std::string getCypher ()
OptionssetCypher (std::string c)
std::string getAuthAlgo ()
OptionssetAuthAlgo (std::string a)

Private Attributes

Mutex mutex
std::string progname_
sender_id_t sender_id_
std::string local_addr_
std::string local_sync_addr_
u_int16_t local_port_
u_int16_t local_sync_port_
std::string remote_addr_
u_int16_t remote_port_
std::string dev_name_
std::string dev_type_
std::string ifconfig_param_local_
std::string ifconfig_param_remote_netmask_
window_size_t seq_window_size_
std::string cypher_
std::string auth_algo_
-


Constructor & Destructor Documentation

- -
-
- - - - - - - - -
Options::Options (  ) 
-
-
- -

- -

-

-


Member Function Documentation

- -
-
- - - - - - - - - - - - - - - - - - -
bool Options::parse (int  argc,
char *  argv[] 
)
-
-
- -

- -

-

- -

-
- - - - - - - - -
void Options::printUsage (  ) 
-
-
- -

- -

-

- -

-
- - - - - - - - -
void Options::printOptions (  ) 
-
-
- -

- -

-

- -

-
- - - - - - - - -
std::string Options::getProgname (  ) 
-
-
- -

- -

-

- -

-
- - - - - - - - - -
Options & Options::setProgname (std::string  p  ) 
-
-
- -

- -

-

- -

-
- - - - - - - - -
sender_id_t Options::getSenderId (  ) 
-
-
- -

- -

-

- -

-
- - - - - - - - - -
Options & Options::setSenderId (sender_id_t  s  ) 
-
-
- -

- -

-

- -

-
- - - - - - - - -
std::string Options::getLocalAddr (  ) 
-
-
- -

- -

-

- -

-
- - - - - - - - - -
Options & Options::setLocalAddr (std::string  l  ) 
-
-
- -

- -

-

- -

-
- - - - - - - - -
std::string Options::getLocalSyncAddr (  ) 
-
-
- -

- -

-

- -

-
- - - - - - - - - -
Options & Options::setLocalSyncAddr (std::string  l  ) 
-
-
- -

- -

-

- -

-
- - - - - - - - -
u_int16_t Options::getLocalPort (  ) 
-
-
- -

- -

-

- -

-
- - - - - - - - - -
Options & Options::setLocalPort (u_int16_t  l  ) 
-
-
- -

- -

-

- -

-
- - - - - - - - -
std::string Options::getRemoteAddr (  ) 
-
-
- -

- -

-

- -

-
- - - - - - - - - -
Options & Options::setRemoteAddr (std::string  r  ) 
-
-
- -

- -

-

- -

-
- - - - - - - - -
u_int16_t Options::getLocalSyncPort (  ) 
-
-
- -

- -

-

- -

-
- - - - - - - - - -
Options & Options::setLocalSyncPort (u_int16_t  l  ) 
-
-
- -

- -

-

- -

-
- - - - - - - - -
u_int16_t Options::getRemotePort (  ) 
-
-
- -

- -

-

- -

-
- - - - - - - - - -
Options & Options::setRemotePort (u_int16_t  r  ) 
-
-
- -

- -

-

- -

-
- - - - - - - - - - - - - - - - - - -
Options & Options::setRemoteAddrPort (std::string  addr,
u_int16_t  port 
)
-
-
- -

- -

-

- -

-
- - - - - - - - -
std::string Options::getDevName (  ) 
-
-
- -

- -

-

- -

-
- - - - - - - - - -
Options & Options::setDevName (std::string  d  ) 
-
-
- -

- -

-

- -

-
- - - - - - - - -
std::string Options::getDevType (  ) 
-
-
- -

- -

-

- -

-
- - - - - - - - - -
Options & Options::setDevType (std::string  d  ) 
-
-
- -

- -

-

- -

-
- - - - - - - - -
std::string Options::getIfconfigParamLocal (  ) 
-
-
- -

- -

-

- -

-
- - - - - - - - - -
Options & Options::setIfconfigParamLocal (std::string  i  ) 
-
-
- -

- -

-

- -

-
- - - - - - - - -
std::string Options::getIfconfigParamRemoteNetmask (  ) 
-
-
- -

- -

-

- -

-
- - - - - - - - - -
Options & Options::setIfconfigParamRemoteNetmask (std::string  i  ) 
-
-
- -

- -

-

- -

-
- - - - - - - - -
window_size_t Options::getSeqWindowSize (  ) 
-
-
- -

- -

-

- -

-
- - - - - - - - - -
Options & Options::setSeqWindowSize (window_size_t  s  ) 
-
-
- -

- -

-

- -

-
- - - - - - - - -
std::string Options::getCypher (  ) 
-
-
- -

- -

-

- -

-
- - - - - - - - - -
Options & Options::setCypher (std::string  c  ) 
-
-
- -

- -

-

- -

-
- - - - - - - - -
std::string Options::getAuthAlgo (  ) 
-
-
- -

- -

-

- -

-
- - - - - - - - - -
Options & Options::setAuthAlgo (std::string  a  ) 
-
-
- -

- -

-

-


Member Data Documentation

- -
-
- - - - -
Mutex Options::mutex [private]
-
-
- -

- -

-

- -

-
- - - - -
std::string Options::progname_ [private]
-
-
- -

- -

-

- -

-
- - - - -
sender_id_t Options::sender_id_ [private]
-
-
- -

- -

-

- -

-
- - - - -
std::string Options::local_addr_ [private]
-
-
- -

- -

-

- -

-
- - - - -
std::string Options::local_sync_addr_ [private]
-
-
- -

- -

-

- -

-
- - - - -
u_int16_t Options::local_port_ [private]
-
-
- -

- -

-

- -

-
- - - - -
u_int16_t Options::local_sync_port_ [private]
-
-
- -

- -

-

- -

-
- - - - -
std::string Options::remote_addr_ [private]
-
-
- -

- -

-

- -

-
- - - - -
u_int16_t Options::remote_port_ [private]
-
-
- -

- -

-

- -

-
- - - - -
std::string Options::dev_name_ [private]
-
-
- -

- -

-

- -

-
- - - - -
std::string Options::dev_type_ [private]
-
-
- -

- -

-

- -

-
- - - - -
std::string Options::ifconfig_param_local_ [private]
-
-
- -

- -

-

- -

-
- - - - -
std::string Options::ifconfig_param_remote_netmask_ [private]
-
-
- -

- -

-

- -

- -
- -

- -

-

- -

-
- - - - -
std::string Options::cypher_ [private]
-
-
- -

- -

-

- -

-
- - - - -
std::string Options::auth_algo_ [private]
-
-
- -

- -

-

-


The documentation for this class was generated from the following files: -
Generated on Mon Dec 3 11:49:25 2007 for anytun by  - -doxygen 1.5.1
- - diff --git a/doc/html/classPacket-members.html b/doc/html/classPacket-members.html deleted file mode 100644 index 7a2de31..0000000 --- a/doc/html/classPacket-members.html +++ /dev/null @@ -1,74 +0,0 @@ - - -anytun: Member List - - - - -
-
-
-
-

Packet Member List

This is the complete list of members for Packet, including all inherited members.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
__packed__Packet [private]
addAuthTag(auth_tag_t auth_tag)Packet
addHeader(seq_nr_t seq_nr, sender_id_t sender_id)Packet
addPayloadType(payload_type_t payload_type)Packet
buf_Buffer [protected]
Buffer()Buffer
Buffer(u_int32_t length)Buffer
Buffer(u_int8_t *data, u_int32_t length)Buffer
Buffer(const Buffer &src)Buffer
getAuthTag() constPacket
getBuf()Buffer
getLength() constBuffer
getPayloadType() constPacket
getSenderId() constPacket
getSeqNr() constPacket
has_auth_tag_Packet [private]
has_header_Packet [private]
has_payload_type_Packet [private]
hasAuthTag() constPacket
hasHeader() constPacket
hasPayloadType() constPacket
leftByteShift(u_int32_t width) constBuffer [virtual]
length_Buffer [protected]
operator u_int8_t *()Buffer
operator=(const Buffer &src)Buffer
operator=(const seq_nr_t &src)Buffer
operator=(const sender_id_t &src)Buffer
operator[](u_int32_t index)Buffer
operator[](u_int32_t index) constBuffer
operator^(const Buffer &xor_by) const Buffer [virtual]
Packet()Packet
Packet(u_int32_t length)Packet
Packet(const Buffer &src)Packet
printHexDump() constBuffer
removeAuthTag()Packet
removeHeader()Packet
removePayloadType()Packet
resizeBack(u_int32_t new_length)Buffer
resizeFront(u_int32_t new_length)Buffer
rightByteShift(u_int32_t width) constBuffer [virtual]
setSenderId(sender_id_t sender_id)Packet
setSeqNr(seq_nr_t seq_nr)Packet
TunDevice classBuffer [friend]
UDPPacketSource classBuffer [friend]
withAuthTag(bool b)Packet
withHeader(bool b)Packet
withPayloadType(bool b)Packet
~Buffer()Buffer [virtual]


Generated on Mon Dec 3 11:49:25 2007 for anytun by  - -doxygen 1.5.1
- - diff --git a/doc/html/classPacket.html b/doc/html/classPacket.html deleted file mode 100644 index 8bffd60..0000000 --- a/doc/html/classPacket.html +++ /dev/null @@ -1,574 +0,0 @@ - - -anytun: Packet Class Reference - - - - -
-
-
-
-

Packet Class Reference

#include <packet.h> -

-

Inheritance diagram for Packet: -

- -Buffer -satp::SATP - -List of all members. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Public Member Functions

 Packet ()
 Packet (u_int32_t length)
 Packet (const Buffer &src)
bool hasHeader () const
PacketwithHeader (bool b)
seq_nr_t getSeqNr () const
sender_id_t getSenderId () const
PacketaddHeader (seq_nr_t seq_nr, sender_id_t sender_id)
PacketremoveHeader ()
PacketsetSeqNr (seq_nr_t seq_nr)
PacketsetSenderId (sender_id_t sender_id)
bool hasPayloadType () const
PacketwithPayloadType (bool b)
payload_type_t getPayloadType () const
PacketaddPayloadType (payload_type_t payload_type)
PacketremovePayloadType ()
bool hasAuthTag () const
PacketwithAuthTag (bool b)
auth_tag_t getAuthTag () const
PacketaddAuthTag (auth_tag_t auth_tag)
PacketremoveAuthTag ()

Private Attributes

Packet::HeaderStruct __packed__
bool has_header_
bool has_payload_type_
bool has_auth_tag_

Classes

struct  HeaderStruct
-

Constructor & Destructor Documentation

- -
-
- - - - - - - - -
Packet::Packet (  ) 
-
-
- -

- -

-

- -

-
- - - - - - - - - -
Packet::Packet (u_int32_t  length  ) 
-
-
- -

- -

-

- -

-
- - - - - - - - - -
Packet::Packet (const Buffer src  ) 
-
-
- -

- -

-

-


Member Function Documentation

- -
-
- - - - - - - - -
bool Packet::hasHeader (  )  const
-
-
- -

- -

-

- -

-
- - - - - - - - - -
Packet & Packet::withHeader (bool  b  ) 
-
-
- -

- -

-

- -

-
- - - - - - - - -
seq_nr_t Packet::getSeqNr (  )  const
-
-
- -

- -

-

- -

-
- - - - - - - - -
sender_id_t Packet::getSenderId (  )  const
-
-
- -

- -

-

- -

-
- - - - - - - - - - - - - - - - - - -
Packet & Packet::addHeader (seq_nr_t  seq_nr,
sender_id_t  sender_id 
)
-
-
- -

- -

-

- -

-
- - - - - - - - -
Packet & Packet::removeHeader (  ) 
-
-
- -

- -

-

- -

-
- - - - - - - - - -
Packet & Packet::setSeqNr (seq_nr_t  seq_nr  ) 
-
-
- -

- -

-

- -

-
- - - - - - - - - -
Packet & Packet::setSenderId (sender_id_t  sender_id  ) 
-
-
- -

- -

-

- -

-
- - - - - - - - -
bool Packet::hasPayloadType (  )  const
-
-
- -

- -

-

- -

-
- - - - - - - - - -
Packet & Packet::withPayloadType (bool  b  ) 
-
-
- -

- -

-

- -

-
- - - - - - - - -
payload_type_t Packet::getPayloadType (  )  const
-
-
- -

- -

-

- -

-
- - - - - - - - - -
Packet & Packet::addPayloadType (payload_type_t  payload_type  ) 
-
-
- -

- -

-

- -

-
- - - - - - - - -
Packet & Packet::removePayloadType (  ) 
-
-
- -

- -

-

- -

-
- - - - - - - - -
bool Packet::hasAuthTag (  )  const
-
-
- -

- -

-

- -

-
- - - - - - - - - -
Packet & Packet::withAuthTag (bool  b  ) 
-
-
- -

- -

-

- -

-
- - - - - - - - -
auth_tag_t Packet::getAuthTag (  )  const
-
-
- -

- -

-

- -

-
- - - - - - - - - -
Packet & Packet::addAuthTag (auth_tag_t  auth_tag  ) 
-
-
- -

- -

-

- -

-
- - - - - - - - -
Packet & Packet::removeAuthTag (  ) 
-
-
- -

- -

-

-


Member Data Documentation

- -
-
- - - - -
struct Packet::HeaderStruct Packet::__packed__ [private]
-
-
- -

- -

-

- -

-
- - - - -
bool Packet::has_header_ [private]
-
-
- -

- -

-

- -

-
- - - - -
bool Packet::has_payload_type_ [private]
-
-
- -

- -

-

- -

-
- - - - -
bool Packet::has_auth_tag_ [private]
-
-
- -

- -

-

-


The documentation for this class was generated from the following files: -
Generated on Mon Dec 3 11:49:25 2007 for anytun by  - -doxygen 1.5.1
- - diff --git a/doc/html/classPacket.png b/doc/html/classPacket.png deleted file mode 100644 index fe021c7..0000000 Binary files a/doc/html/classPacket.png and /dev/null differ diff --git a/doc/html/classPacketSource-members.html b/doc/html/classPacketSource-members.html deleted file mode 100644 index 68c208c..0000000 --- a/doc/html/classPacketSource-members.html +++ /dev/null @@ -1,29 +0,0 @@ - - -anytun: Member List - - - - -
-
-
-
-

PacketSource Member List

This is the complete list of members for PacketSource, including all inherited members.

- - - -
recv(Buffer &buf, std::string &addr, u_int16_t &port)=0PacketSource [pure virtual]
send(Buffer &buf, std::string addr, u_int16_t port)=0PacketSource [pure virtual]
~PacketSource()PacketSource [inline, virtual]


Generated on Mon Dec 3 11:49:25 2007 for anytun by  - -doxygen 1.5.1
- - diff --git a/doc/html/classPacketSource.html b/doc/html/classPacketSource.html deleted file mode 100644 index f55abb0..0000000 --- a/doc/html/classPacketSource.html +++ /dev/null @@ -1,139 +0,0 @@ - - -anytun: PacketSource Class Reference - - - - -
-
-
-
-

PacketSource Class Reference

#include <packetSource.h> -

-

Inheritance diagram for PacketSource: -

- -UDPPacketSource - -List of all members. - - - - - - - - -

Public Member Functions

virtual ~PacketSource ()
virtual u_int32_t recv (Buffer &buf, std::string &addr, u_int16_t &port)=0
virtual void send (Buffer &buf, std::string addr, u_int16_t port)=0
-

Constructor & Destructor Documentation

- -
-
- - - - - - - - -
virtual PacketSource::~PacketSource (  )  [inline, virtual]
-
-
- -

- -

-

-


Member Function Documentation

- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
virtual u_int32_t PacketSource::recv (Buffer buf,
std::string &  addr,
u_int16_t port 
) [pure virtual]
-
-
- -

- -

-Implemented in UDPPacketSource. -

-

- -

-
- - - - - - - - - - - - - - - - - - - - - - - - -
virtual void PacketSource::send (Buffer buf,
std::string  addr,
u_int16_t  port 
) [pure virtual]
-
-
- -

- -

-Implemented in UDPPacketSource. -

-

-


The documentation for this class was generated from the following file: -
Generated on Mon Dec 3 11:49:25 2007 for anytun by  - -doxygen 1.5.1
- - diff --git a/doc/html/classPacketSource.png b/doc/html/classPacketSource.png deleted file mode 100644 index 1f0d587..0000000 Binary files a/doc/html/classPacketSource.png and /dev/null differ diff --git a/doc/html/classSemaphore-members.html b/doc/html/classSemaphore-members.html deleted file mode 100644 index adaf15f..0000000 --- a/doc/html/classSemaphore-members.html +++ /dev/null @@ -1,31 +0,0 @@ - - -anytun: Member List - - - - -
-
-
-
-

Semaphore Member List

This is the complete list of members for Semaphore, including all inherited members.

- - - - - -
down()Semaphore [inline]
semSemaphore [private]
Semaphore(unsigned int initVal=0)Semaphore [inline]
up()Semaphore [inline]
~Semaphore()Semaphore [inline]


Generated on Mon Dec 3 11:49:25 2007 for anytun by  - -doxygen 1.5.1
- - diff --git a/doc/html/classSemaphore.html b/doc/html/classSemaphore.html deleted file mode 100644 index 846d6f5..0000000 --- a/doc/html/classSemaphore.html +++ /dev/null @@ -1,139 +0,0 @@ - - -anytun: Semaphore Class Reference - - - - -
-
-
-
-

Semaphore Class Reference

#include <threadUtils.hpp> -

-List of all members. - - - - - - - - - - - - - -

Public Member Functions

 Semaphore (unsigned int initVal=0)
 ~Semaphore ()
void down ()
void up ()

Private Attributes

sem_t sem
-


Constructor & Destructor Documentation

- -
-
- - - - - - - - - -
Semaphore::Semaphore (unsigned int  initVal = 0  )  [inline]
-
-
- -

- -

-

- -

-
- - - - - - - - -
Semaphore::~Semaphore (  )  [inline]
-
-
- -

- -

-

-


Member Function Documentation

- -
-
- - - - - - - - -
void Semaphore::down (  )  [inline]
-
-
- -

- -

-

- -

-
- - - - - - - - -
void Semaphore::up (  )  [inline]
-
-
- -

- -

-

-


Member Data Documentation

- -
-
- - - - -
sem_t Semaphore::sem [private]
-
-
- -

- -

-

-


The documentation for this class was generated from the following file: -
Generated on Mon Dec 3 11:49:25 2007 for anytun by  - -doxygen 1.5.1
- - diff --git a/doc/html/classSeqWindow-members.html b/doc/html/classSeqWindow-members.html deleted file mode 100644 index 1ef47da..0000000 --- a/doc/html/classSeqWindow-members.html +++ /dev/null @@ -1,40 +0,0 @@ - - -anytun: Member List - - - - -
-
-
-
-

SeqWindow Member List

This is the complete list of members for SeqWindow, including all inherited members.

- - - - - - - - - - - - - - -
addSeqNr(sender_id_t sender, seq_nr_t seq)SeqWindow
clear(sender_id_t sender)SeqWindow
clear()SeqWindow
getLength(sender_id_t sender)SeqWindow
hasSeqNr(sender_id_t sender, seq_nr_t seq)SeqWindow
mutex_SeqWindow [private]
operator=(const SeqWindow &s)SeqWindow [private]
sender_SeqWindow [private]
SenderMap typedefSeqWindow
SeqDeque typedefSeqWindow
SeqWindow(window_size_t w)SeqWindow
SeqWindow(const SeqWindow &s)SeqWindow [private]
window_size_SeqWindow [private]
~SeqWindow()SeqWindow


Generated on Mon Dec 3 11:49:25 2007 for anytun by  - -doxygen 1.5.1
- - diff --git a/doc/html/classSeqWindow.html b/doc/html/classSeqWindow.html deleted file mode 100644 index 3473e09..0000000 --- a/doc/html/classSeqWindow.html +++ /dev/null @@ -1,340 +0,0 @@ - - -anytun: SeqWindow Class Reference - - - - -
-
-
-
-

SeqWindow Class Reference

#include <seqWindow.h> -

-List of all members. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Public Types

typedef std::deque< seq_nr_tSeqDeque
typedef std::map< sender_id_t,
- SeqDeque
SenderMap

Public Member Functions

 SeqWindow (window_size_t w)
 ~SeqWindow ()
SeqDeque::size_type getLength (sender_id_t sender)
bool hasSeqNr (sender_id_t sender, seq_nr_t seq)
void addSeqNr (sender_id_t sender, seq_nr_t seq)
void clear (sender_id_t sender)
void clear ()

Private Member Functions

 SeqWindow (const SeqWindow &s)
void operator= (const SeqWindow &s)

Private Attributes

window_size_t window_size_
Mutex mutex_
SenderMap sender_
-


Member Typedef Documentation

- -
-
- - - - -
typedef std::deque<seq_nr_t> SeqWindow::SeqDeque
-
-
- -

- -

-

- -

-
- - - - -
typedef std::map<sender_id_t, SeqDeque> SeqWindow::SenderMap
-
-
- -

- -

-

-


Constructor & Destructor Documentation

- -
-
- - - - - - - - - -
SeqWindow::SeqWindow (window_size_t  w  ) 
-
-
- -

- -

-

- -

-
- - - - - - - - -
SeqWindow::~SeqWindow (  ) 
-
-
- -

- -

-

- -

-
- - - - - - - - - -
SeqWindow::SeqWindow (const SeqWindow s  )  [private]
-
-
- -

- -

-

-


Member Function Documentation

- -
-
- - - - - - - - - -
SeqWindow::SeqDeque::size_type SeqWindow::getLength (sender_id_t  sender  ) 
-
-
- -

- -

-

- -

-
- - - - - - - - - - - - - - - - - - -
bool SeqWindow::hasSeqNr (sender_id_t  sender,
seq_nr_t  seq 
)
-
-
- -

- -

-

- -

-
- - - - - - - - - - - - - - - - - - -
void SeqWindow::addSeqNr (sender_id_t  sender,
seq_nr_t  seq 
)
-
-
- -

- -

-

- -

-
- - - - - - - - - -
void SeqWindow::clear (sender_id_t  sender  ) 
-
-
- -

- -

-

- -

-
- - - - - - - - -
void SeqWindow::clear (  ) 
-
-
- -

- -

-

- -

-
- - - - - - - - - -
void SeqWindow::operator= (const SeqWindow s  )  [private]
-
-
- -

- -

-

-


Member Data Documentation

- -
-
- - - - -
window_size_t SeqWindow::window_size_ [private]
-
-
- -

- -

-

- -

-
- - - - -
Mutex SeqWindow::mutex_ [private]
-
-
- -

- -

-

- -

-
- - - - -
SenderMap SeqWindow::sender_ [private]
-
-
- -

- -

-

-


The documentation for this class was generated from the following files: -
Generated on Mon Dec 3 11:49:25 2007 for anytun by  - -doxygen 1.5.1
- - diff --git a/doc/html/classSigHupHandler-members.html b/doc/html/classSigHupHandler-members.html deleted file mode 100644 index d3d0bd7..0000000 --- a/doc/html/classSigHupHandler-members.html +++ /dev/null @@ -1,30 +0,0 @@ - - -anytun: Member List - - - - -
-
-
-
-

SigHupHandler Member List

This is the complete list of members for SigHupHandler, including all inherited members.

- - - - -
handle()SigHupHandler [virtual]
SigHupHandler()SigHupHandler [inline]
SignalHandler(int s)SignalHandler [inline, protected]
~SignalHandler()SignalHandler [inline, virtual]


Generated on Mon Dec 3 11:49:25 2007 for anytun by  - -doxygen 1.5.1
- - diff --git a/doc/html/classSigHupHandler.html b/doc/html/classSigHupHandler.html deleted file mode 100644 index eafbcd0..0000000 --- a/doc/html/classSigHupHandler.html +++ /dev/null @@ -1,84 +0,0 @@ - - -anytun: SigHupHandler Class Reference - - - - -
-
-
-
-

SigHupHandler Class Reference

#include <signalController.h> -

-

Inheritance diagram for SigHupHandler: -

- -SignalHandler - -List of all members. - - - - - - -

Public Member Functions

 SigHupHandler ()
int handle ()
-

Constructor & Destructor Documentation

- -
-
- - - - - - - - -
SigHupHandler::SigHupHandler (  )  [inline]
-
-
- -

- -

-

-


Member Function Documentation

- -
-
- - - - - - - - -
int SigHupHandler::handle (  )  [virtual]
-
-
- -

- -

-Reimplemented from SignalHandler. -

-

-


The documentation for this class was generated from the following files: -
Generated on Mon Dec 3 11:49:25 2007 for anytun by  - -doxygen 1.5.1
- - diff --git a/doc/html/classSigHupHandler.png b/doc/html/classSigHupHandler.png deleted file mode 100644 index dda04a9..0000000 Binary files a/doc/html/classSigHupHandler.png and /dev/null differ diff --git a/doc/html/classSigIntHandler-members.html b/doc/html/classSigIntHandler-members.html deleted file mode 100644 index c6e66c1..0000000 --- a/doc/html/classSigIntHandler-members.html +++ /dev/null @@ -1,30 +0,0 @@ - - -anytun: Member List - - - - -
-
-
-
-

SigIntHandler Member List

This is the complete list of members for SigIntHandler, including all inherited members.

- - - - -
handle()SigIntHandler [virtual]
SigIntHandler()SigIntHandler [inline]
SignalHandler(int s)SignalHandler [inline, protected]
~SignalHandler()SignalHandler [inline, virtual]


Generated on Mon Dec 3 11:49:25 2007 for anytun by  - -doxygen 1.5.1
- - diff --git a/doc/html/classSigIntHandler.html b/doc/html/classSigIntHandler.html deleted file mode 100644 index 5e17b28..0000000 --- a/doc/html/classSigIntHandler.html +++ /dev/null @@ -1,84 +0,0 @@ - - -anytun: SigIntHandler Class Reference - - - - -
-
-
-
-

SigIntHandler Class Reference

#include <signalController.h> -

-

Inheritance diagram for SigIntHandler: -

- -SignalHandler - -List of all members. - - - - - - -

Public Member Functions

 SigIntHandler ()
int handle ()
-

Constructor & Destructor Documentation

- -
-
- - - - - - - - -
SigIntHandler::SigIntHandler (  )  [inline]
-
-
- -

- -

-

-


Member Function Documentation

- -
-
- - - - - - - - -
int SigIntHandler::handle (  )  [virtual]
-
-
- -

- -

-Reimplemented from SignalHandler. -

-

-


The documentation for this class was generated from the following files: -
Generated on Mon Dec 3 11:49:25 2007 for anytun by  - -doxygen 1.5.1
- - diff --git a/doc/html/classSigIntHandler.png b/doc/html/classSigIntHandler.png deleted file mode 100644 index a11134b..0000000 Binary files a/doc/html/classSigIntHandler.png and /dev/null differ diff --git a/doc/html/classSigQuitHandler-members.html b/doc/html/classSigQuitHandler-members.html deleted file mode 100644 index b11bf68..0000000 --- a/doc/html/classSigQuitHandler-members.html +++ /dev/null @@ -1,30 +0,0 @@ - - -anytun: Member List - - - - -
-
-
-
-

SigQuitHandler Member List

This is the complete list of members for SigQuitHandler, including all inherited members.

- - - - -
handle()SigQuitHandler [virtual]
SignalHandler(int s)SignalHandler [inline, protected]
SigQuitHandler()SigQuitHandler [inline]
~SignalHandler()SignalHandler [inline, virtual]


Generated on Mon Dec 3 11:49:25 2007 for anytun by  - -doxygen 1.5.1
- - diff --git a/doc/html/classSigQuitHandler.html b/doc/html/classSigQuitHandler.html deleted file mode 100644 index f878f0a..0000000 --- a/doc/html/classSigQuitHandler.html +++ /dev/null @@ -1,84 +0,0 @@ - - -anytun: SigQuitHandler Class Reference - - - - -
-
-
-
-

SigQuitHandler Class Reference

#include <signalController.h> -

-

Inheritance diagram for SigQuitHandler: -

- -SignalHandler - -List of all members. - - - - - - -

Public Member Functions

 SigQuitHandler ()
int handle ()
-

Constructor & Destructor Documentation

- -
-
- - - - - - - - -
SigQuitHandler::SigQuitHandler (  )  [inline]
-
-
- -

- -

-

-


Member Function Documentation

- -
-
- - - - - - - - -
int SigQuitHandler::handle (  )  [virtual]
-
-
- -

- -

-Reimplemented from SignalHandler. -

-

-


The documentation for this class was generated from the following files: -
Generated on Mon Dec 3 11:49:25 2007 for anytun by  - -doxygen 1.5.1
- - diff --git a/doc/html/classSigQuitHandler.png b/doc/html/classSigQuitHandler.png deleted file mode 100644 index d223fbd..0000000 Binary files a/doc/html/classSigQuitHandler.png and /dev/null differ diff --git a/doc/html/classSigTermHandler-members.html b/doc/html/classSigTermHandler-members.html deleted file mode 100644 index 3280b9e..0000000 --- a/doc/html/classSigTermHandler-members.html +++ /dev/null @@ -1,30 +0,0 @@ - - -anytun: Member List - - - - -
-
-
-
-

SigTermHandler Member List

This is the complete list of members for SigTermHandler, including all inherited members.

- - - - -
handle()SigTermHandler [virtual]
SignalHandler(int s)SignalHandler [inline, protected]
SigTermHandler()SigTermHandler [inline]
~SignalHandler()SignalHandler [inline, virtual]


Generated on Mon Dec 3 11:49:25 2007 for anytun by  - -doxygen 1.5.1
- - diff --git a/doc/html/classSigTermHandler.html b/doc/html/classSigTermHandler.html deleted file mode 100644 index dc3abae..0000000 --- a/doc/html/classSigTermHandler.html +++ /dev/null @@ -1,84 +0,0 @@ - - -anytun: SigTermHandler Class Reference - - - - -
-
-
-
-

SigTermHandler Class Reference

#include <signalController.h> -

-

Inheritance diagram for SigTermHandler: -

- -SignalHandler - -List of all members. - - - - - - -

Public Member Functions

 SigTermHandler ()
int handle ()
-

Constructor & Destructor Documentation

- -
-
- - - - - - - - -
SigTermHandler::SigTermHandler (  )  [inline]
-
-
- -

- -

-

-


Member Function Documentation

- -
-
- - - - - - - - -
int SigTermHandler::handle (  )  [virtual]
-
-
- -

- -

-Reimplemented from SignalHandler. -

-

-


The documentation for this class was generated from the following files: -
Generated on Mon Dec 3 11:49:25 2007 for anytun by  - -doxygen 1.5.1
- - diff --git a/doc/html/classSigTermHandler.png b/doc/html/classSigTermHandler.png deleted file mode 100644 index 793b60c..0000000 Binary files a/doc/html/classSigTermHandler.png and /dev/null differ diff --git a/doc/html/classSigUsr1Handler-members.html b/doc/html/classSigUsr1Handler-members.html deleted file mode 100644 index 6b73db0..0000000 --- a/doc/html/classSigUsr1Handler-members.html +++ /dev/null @@ -1,30 +0,0 @@ - - -anytun: Member List - - - - -
-
-
-
-

SigUsr1Handler Member List

This is the complete list of members for SigUsr1Handler, including all inherited members.

- - - - -
handle()SigUsr1Handler [virtual]
SignalHandler(int s)SignalHandler [inline, protected]
SigUsr1Handler()SigUsr1Handler [inline]
~SignalHandler()SignalHandler [inline, virtual]


Generated on Mon Dec 3 11:49:25 2007 for anytun by  - -doxygen 1.5.1
- - diff --git a/doc/html/classSigUsr1Handler.html b/doc/html/classSigUsr1Handler.html deleted file mode 100644 index 795774d..0000000 --- a/doc/html/classSigUsr1Handler.html +++ /dev/null @@ -1,84 +0,0 @@ - - -anytun: SigUsr1Handler Class Reference - - - - -
-
-
-
-

SigUsr1Handler Class Reference

#include <signalController.h> -

-

Inheritance diagram for SigUsr1Handler: -

- -SignalHandler - -List of all members. - - - - - - -

Public Member Functions

 SigUsr1Handler ()
int handle ()
-

Constructor & Destructor Documentation

- -
-
- - - - - - - - -
SigUsr1Handler::SigUsr1Handler (  )  [inline]
-
-
- -

- -

-

-


Member Function Documentation

- -
-
- - - - - - - - -
int SigUsr1Handler::handle (  )  [virtual]
-
-
- -

- -

-Reimplemented from SignalHandler. -

-

-


The documentation for this class was generated from the following files: -
Generated on Mon Dec 3 11:49:25 2007 for anytun by  - -doxygen 1.5.1
- - diff --git a/doc/html/classSigUsr1Handler.png b/doc/html/classSigUsr1Handler.png deleted file mode 100644 index e77ee94..0000000 Binary files a/doc/html/classSigUsr1Handler.png and /dev/null differ diff --git a/doc/html/classSigUsr2Handler-members.html b/doc/html/classSigUsr2Handler-members.html deleted file mode 100644 index cb81e23..0000000 --- a/doc/html/classSigUsr2Handler-members.html +++ /dev/null @@ -1,30 +0,0 @@ - - -anytun: Member List - - - - -
-
-
-
-

SigUsr2Handler Member List

This is the complete list of members for SigUsr2Handler, including all inherited members.

- - - - -
handle()SigUsr2Handler [virtual]
SignalHandler(int s)SignalHandler [inline, protected]
SigUsr2Handler()SigUsr2Handler [inline]
~SignalHandler()SignalHandler [inline, virtual]


Generated on Mon Dec 3 11:49:25 2007 for anytun by  - -doxygen 1.5.1
- - diff --git a/doc/html/classSigUsr2Handler.html b/doc/html/classSigUsr2Handler.html deleted file mode 100644 index cfbf6d4..0000000 --- a/doc/html/classSigUsr2Handler.html +++ /dev/null @@ -1,84 +0,0 @@ - - -anytun: SigUsr2Handler Class Reference - - - - -
-
-
-
-

SigUsr2Handler Class Reference

#include <signalController.h> -

-

Inheritance diagram for SigUsr2Handler: -

- -SignalHandler - -List of all members. - - - - - - -

Public Member Functions

 SigUsr2Handler ()
int handle ()
-

Constructor & Destructor Documentation

- -
-
- - - - - - - - -
SigUsr2Handler::SigUsr2Handler (  )  [inline]
-
-
- -

- -

-

-


Member Function Documentation

- -
-
- - - - - - - - -
int SigUsr2Handler::handle (  )  [virtual]
-
-
- -

- -

-Reimplemented from SignalHandler. -

-

-


The documentation for this class was generated from the following files: -
Generated on Mon Dec 3 11:49:25 2007 for anytun by  - -doxygen 1.5.1
- - diff --git a/doc/html/classSigUsr2Handler.png b/doc/html/classSigUsr2Handler.png deleted file mode 100644 index 8f981c5..0000000 Binary files a/doc/html/classSigUsr2Handler.png and /dev/null differ diff --git a/doc/html/classSignalController-members.html b/doc/html/classSignalController-members.html deleted file mode 100644 index b491ebe..0000000 --- a/doc/html/classSignalController-members.html +++ /dev/null @@ -1,39 +0,0 @@ - - -anytun: Member List - - - - -
-
-
-
-

SignalController Member List

This is the complete list of members for SignalController, including all inherited members.

- - - - - - - - - - - - - -
handle(void *s)SignalController [static]
handlerSignalController [private]
HandlerMap typedefSignalController [private]
init()SignalController
operator=(const SignalController &s)SignalController [private]
run()SignalController
SignalController()SignalController [inline]
SignalController(const SignalController &s)SignalController [private]
sigQueueSignalController [private]
sigQueueMutexSignalController [private]
sigQueueSemSignalController [private]
threadSignalController [private]
~SignalController()SignalController


Generated on Mon Dec 3 11:49:25 2007 for anytun by  - -doxygen 1.5.1
- - diff --git a/doc/html/classSignalController.html b/doc/html/classSignalController.html deleted file mode 100644 index 459adc3..0000000 --- a/doc/html/classSignalController.html +++ /dev/null @@ -1,293 +0,0 @@ - - -anytun: SignalController Class Reference - - - - -
-
-
-
-

SignalController Class Reference

#include <signalController.h> -

-List of all members. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Public Member Functions

 SignalController ()
 ~SignalController ()
void init ()
int run ()

Static Public Member Functions

static void * handle (void *s)

Private Types

typedef std::map< int, SignalHandler * > HandlerMap

Private Member Functions

 SignalController (const SignalController &s)
void operator= (const SignalController &s)

Private Attributes

std::queue< int > sigQueue
Mutex sigQueueMutex
Semaphore sigQueueSem
pthread_t thread
HandlerMap handler
-


Member Typedef Documentation

- -
-
- - - - -
typedef std::map<int, SignalHandler*> SignalController::HandlerMap [private]
-
-
- -

- -

-

-


Constructor & Destructor Documentation

- -
-
- - - - - - - - -
SignalController::SignalController (  )  [inline]
-
-
- -

- -

-

- -

-
- - - - - - - - -
SignalController::~SignalController (  ) 
-
-
- -

- -

-

- -

-
- - - - - - - - - -
SignalController::SignalController (const SignalController s  )  [private]
-
-
- -

- -

-

-


Member Function Documentation

- -
-
- - - - - - - - - -
void * SignalController::handle (void *  s  )  [static]
-
-
- -

- -

-

- -

-
- - - - - - - - -
void SignalController::init (  ) 
-
-
- -

- -

-

- -

-
- - - - - - - - -
int SignalController::run (  ) 
-
-
- -

- -

-

- -

-
- - - - - - - - - -
void SignalController::operator= (const SignalController s  )  [private]
-
-
- -

- -

-

-


Member Data Documentation

- -
-
- - - - -
std::queue<int> SignalController::sigQueue [private]
-
-
- -

- -

-

- -

-
- - - - -
Mutex SignalController::sigQueueMutex [private]
-
-
- -

- -

-

- -

- -
- -

- -

-

- -

-
- - - - -
pthread_t SignalController::thread [private]
-
-
- -

- -

-

- -

-
- - - - -
HandlerMap SignalController::handler [private]
-
-
- -

- -

-

-


The documentation for this class was generated from the following files: -
Generated on Mon Dec 3 11:49:25 2007 for anytun by  - -doxygen 1.5.1
- - diff --git a/doc/html/classSignalHandler-members.html b/doc/html/classSignalHandler-members.html deleted file mode 100644 index 707ea24..0000000 --- a/doc/html/classSignalHandler-members.html +++ /dev/null @@ -1,31 +0,0 @@ - - -anytun: Member List - - - - -
-
-
-
-

SignalHandler Member List

This is the complete list of members for SignalHandler, including all inherited members.

- - - - - -
handle()SignalHandler [inline, virtual]
SignalController classSignalHandler [friend]
SignalHandler(int s)SignalHandler [inline, protected]
sigNumSignalHandler [private]
~SignalHandler()SignalHandler [inline, virtual]


Generated on Mon Dec 3 11:49:25 2007 for anytun by  - -doxygen 1.5.1
- - diff --git a/doc/html/classSignalHandler.html b/doc/html/classSignalHandler.html deleted file mode 100644 index 5538d9a..0000000 --- a/doc/html/classSignalHandler.html +++ /dev/null @@ -1,150 +0,0 @@ - - -anytun: SignalHandler Class Reference - - - - -
-
-
-
-

SignalHandler Class Reference

#include <signalController.h> -

-

Inheritance diagram for SignalHandler: -

- -SigHupHandler -SigIntHandler -SigQuitHandler -SigTermHandler -SigUsr1Handler -SigUsr2Handler - -List of all members. - - - - - - - - - - - - - - - -

Public Member Functions

virtual ~SignalHandler ()
virtual int handle ()

Protected Member Functions

 SignalHandler (int s)

Private Attributes

int sigNum

Friends

class SignalController
-

Constructor & Destructor Documentation

- -
-
- - - - - - - - -
virtual SignalHandler::~SignalHandler (  )  [inline, virtual]
-
-
- -

- -

-

- -

-
- - - - - - - - - -
SignalHandler::SignalHandler (int  s  )  [inline, protected]
-
-
- -

- -

-

-


Member Function Documentation

- -
-
- - - - - - - - -
virtual int SignalHandler::handle (  )  [inline, virtual]
-
- -

-


Friends And Related Function Documentation

- -
-
- - - - -
friend class SignalController [friend]
-
-
- -

- -

-

-


Member Data Documentation

- -
-
- - - - -
int SignalHandler::sigNum [private]
-
-
- -

- -

-

-


The documentation for this class was generated from the following file: -
Generated on Mon Dec 3 11:49:25 2007 for anytun by  - -doxygen 1.5.1
- - diff --git a/doc/html/classSignalHandler.png b/doc/html/classSignalHandler.png deleted file mode 100644 index 8ab57ec..0000000 Binary files a/doc/html/classSignalHandler.png and /dev/null differ diff --git a/doc/html/classSocket-members.html b/doc/html/classSocket-members.html deleted file mode 100644 index b1b072a..0000000 --- a/doc/html/classSocket-members.html +++ /dev/null @@ -1,38 +0,0 @@ - - -anytun: Member List - - - - -
-
-
-
-

Socket Member List

This is the complete list of members for Socket, including all inherited members.

- - - - - - - - - - - - -
cleanUp()Socket [static]
getLocalAddress()Socket
getLocalPort()Socket
operator=(const Socket &sock)Socket [private]
resolveService(const string &service, const string &protocol="tcp")Socket [static]
setLocalAddressAndPort(const string &localAddress, unsigned short localPort=0)Socket
setLocalPort(unsigned short localPort)Socket
sockDescSocket [protected]
Socket(const Socket &sock)Socket [private]
Socket(int type, int protocol)Socket [protected]
Socket(int sockDesc)Socket [protected]
~Socket()Socket


Generated on Mon Dec 3 11:49:25 2007 for anytun by  - -doxygen 1.5.1
- - diff --git a/doc/html/classSocket.html b/doc/html/classSocket.html deleted file mode 100644 index a0a5587..0000000 --- a/doc/html/classSocket.html +++ /dev/null @@ -1,385 +0,0 @@ - - -anytun: Socket Class Reference - - - - -
-
-
-
-

Socket Class Reference

#include <PracticalSocket.h> -

-

Inheritance diagram for Socket: -

- -CommunicatingSocket -TCPServerSocket -TCPSocket -UDPSocket -UDPPacketSource - -List of all members. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Public Member Functions

 ~Socket ()
string getLocalAddress () throw (SocketException)
unsigned short getLocalPort () throw (SocketException)
void setLocalPort (unsigned short localPort) throw (SocketException)
void setLocalAddressAndPort (const string &localAddress, unsigned short localPort=0) throw (SocketException)

Static Public Member Functions

static void cleanUp () throw (SocketException)
static unsigned short resolveService (const string &service, const string &protocol="tcp")

Protected Member Functions

 Socket (int type, int protocol) throw (SocketException)
 Socket (int sockDesc)

Protected Attributes

int sockDesc

Private Member Functions

 Socket (const Socket &sock)
void operator= (const Socket &sock)
-

Detailed Description

-Base class representing basic communication endpoint -

-


Constructor & Destructor Documentation

- -
-
- - - - - - - - -
Socket::~Socket (  ) 
-
-
- -

-Close and deallocate this socket -

-

- -

-
- - - - - - - - - -
Socket::Socket (const Socket sock  )  [private]
-
-
- -

- -

-

- -

-
- - - - - - - - - - - - - - - - - - -
Socket::Socket (int  type,
int  protocol 
) throw (SocketException) [protected]
-
-
- -

- -

-

- -

-
- - - - - - - - - -
Socket::Socket (int  sockDesc  )  [protected]
-
-
- -

- -

-

-


Member Function Documentation

- -
-
- - - - - - - - -
string Socket::getLocalAddress (  )  throw (SocketException)
-
-
- -

-Get the local address

Returns:
local address of socket
-
Exceptions:
- - -
SocketException thrown if fetch fails
-
- -
-

- -

-
- - - - - - - - -
unsigned short Socket::getLocalPort (  )  throw (SocketException)
-
-
- -

-Get the local port

Returns:
local port of socket
-
Exceptions:
- - -
SocketException thrown if fetch fails
-
- -
-

- -

-
- - - - - - - - - -
void Socket::setLocalPort (unsigned short  localPort  )  throw (SocketException)
-
-
- -

-Set the local port to the specified port and the local address to any interface

Parameters:
- - -
localPort local port
-
-
Exceptions:
- - -
SocketException thrown if setting local port fails
-
- -
-

- -

-
- - - - - - - - - - - - - - - - - - -
void Socket::setLocalAddressAndPort (const string &  localAddress,
unsigned short  localPort = 0 
) throw (SocketException)
-
-
- -

-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.

Parameters:
- - - -
localAddress local address
localPort local port
-
-
Exceptions:
- - -
SocketException thrown if setting local port or address fails
-
- -
-

- -

-
- - - - - - - - -
void Socket::cleanUp (  )  throw (SocketException) [static]
-
-
- -

-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 Socket instances. If you execute this on Windows while some instance of Socket exists, you are toast. For portability of client code, this is an empty function on non-Windows platforms so you can always include it.

Parameters:
- - - -
buffer buffer to receive the data
bufferLen maximum number of bytes to read into buffer
-
-
Returns:
number of bytes read, 0 for EOF, and -1 for error
-
Exceptions:
- - -
SocketException thrown WinSock clean up fails
-
- -
-

- -

-
- - - - - - - - - - - - - - - - - - -
unsigned short Socket::resolveService (const string &  service,
const string &  protocol = "tcp" 
) [static]
-
-
- -

-Resolve the specified service for the specified protocol to the corresponding port number in host byte order

Parameters:
- - - -
service service to resolve (e.g., "http")
protocol protocol of service to resolve. Default is "tcp".
-
- -
-

- -

-
- - - - - - - - - -
void Socket::operator= (const Socket sock  )  [private]
-
-
- -

- -

-

-


Member Data Documentation

- -
-
- - - - -
int Socket::sockDesc [protected]
-
-
- -

- -

-

-


The documentation for this class was generated from the following files: -
Generated on Mon Dec 3 11:49:25 2007 for anytun by  - -doxygen 1.5.1
- - diff --git a/doc/html/classSocket.png b/doc/html/classSocket.png deleted file mode 100644 index af55d66..0000000 Binary files a/doc/html/classSocket.png and /dev/null differ diff --git a/doc/html/classSocketException-members.html b/doc/html/classSocketException-members.html deleted file mode 100644 index 7d1d8fa..0000000 --- a/doc/html/classSocketException-members.html +++ /dev/null @@ -1,30 +0,0 @@ - - -anytun: Member List - - - - -
-
-
-
-

SocketException Member List

This is the complete list of members for SocketException, including all inherited members.

- - - - -
SocketException(const string &message, bool inclSysMsg=false)SocketException
userMessageSocketException [private]
what() constSocketException
~SocketException()SocketException


Generated on Mon Dec 3 11:49:25 2007 for anytun by  - -doxygen 1.5.1
- - diff --git a/doc/html/classSocketException.html b/doc/html/classSocketException.html deleted file mode 100644 index fb81446..0000000 --- a/doc/html/classSocketException.html +++ /dev/null @@ -1,137 +0,0 @@ - - -anytun: SocketException Class Reference - - - - -
-
-
-
-

SocketException Class Reference

#include <PracticalSocket.h> -

-List of all members. - - - - - - - - - - - -

Public Member Functions

 SocketException (const string &message, bool inclSysMsg=false) throw ()
 ~SocketException () throw ()
const char * what () const throw ()

Private Attributes

string userMessage
-


Detailed Description

-Signals a problem with the execution of a socket call. -

-


Constructor & Destructor Documentation

- -
-
- - - - - - - - - - - - - - - - - - -
SocketException::SocketException (const string &  message,
bool  inclSysMsg = false 
) throw ()
-
-
- -

-Construct a SocketException with a explanatory message.

Parameters:
- - - -
message explanatory message
incSysMsg true if system message (from strerror(errno)) should be postfixed to the user provided message
-
- -
-

- -

-
- - - - - - - - -
SocketException::~SocketException (  )  throw ()
-
-
- -

-Provided just to guarantee that no exceptions are thrown. -

-

-


Member Function Documentation

- -
-
- - - - - - - - -
const char * SocketException::what (  )  const throw ()
-
-
- -

-Get the exception message

Returns:
exception message
- -
-

-


Member Data Documentation

- -
-
- - - - -
string SocketException::userMessage [private]
-
-
- -

- -

-

-


The documentation for this class was generated from the following files: -
Generated on Mon Dec 3 11:49:25 2007 for anytun by  - -doxygen 1.5.1
- - diff --git a/doc/html/classTCPServerSocket-members.html b/doc/html/classTCPServerSocket-members.html deleted file mode 100644 index 78fbbc6..0000000 --- a/doc/html/classTCPServerSocket-members.html +++ /dev/null @@ -1,40 +0,0 @@ - - -anytun: Member List - - - - -
-
-
-
-

TCPServerSocket Member List

This is the complete list of members for TCPServerSocket, including all inherited members.

- - - - - - - - - - - - - - -
accept()TCPServerSocket
cleanUp()Socket [static]
getLocalAddress()Socket
getLocalPort()Socket
resolveService(const string &service, const string &protocol="tcp")Socket [static]
setListen(int queueLen)TCPServerSocket [private]
setLocalAddressAndPort(const string &localAddress, unsigned short localPort=0)Socket
setLocalPort(unsigned short localPort)Socket
sockDescSocket [protected]
Socket(int type, int protocol)Socket [protected]
Socket(int sockDesc)Socket [protected]
TCPServerSocket(unsigned short localPort, int queueLen=5)TCPServerSocket
TCPServerSocket(const string &localAddress, unsigned short localPort, int queueLen=5)TCPServerSocket
~Socket()Socket


Generated on Mon Dec 3 11:49:25 2007 for anytun by  - -doxygen 1.5.1
- - diff --git a/doc/html/classTCPServerSocket.html b/doc/html/classTCPServerSocket.html deleted file mode 100644 index ae28527..0000000 --- a/doc/html/classTCPServerSocket.html +++ /dev/null @@ -1,184 +0,0 @@ - - -anytun: TCPServerSocket Class Reference - - - - -
-
-
-
-

TCPServerSocket Class Reference

#include <PracticalSocket.h> -

-

Inheritance diagram for TCPServerSocket: -

- -Socket - -List of all members. - - - - - - - - - - - -

Public Member Functions

 TCPServerSocket (unsigned short localPort, int queueLen=5) throw (SocketException)
 TCPServerSocket (const string &localAddress, unsigned short localPort, int queueLen=5) throw (SocketException)
TCPSocketaccept () throw (SocketException)

Private Member Functions

void setListen (int queueLen) throw (SocketException)
-

Detailed Description

-TCP socket class for servers -

-


Constructor & Destructor Documentation

- -
-
- - - - - - - - - - - - - - - - - - -
TCPServerSocket::TCPServerSocket (unsigned short  localPort,
int  queueLen = 5 
) throw (SocketException)
-
-
- -

-Construct a TCP socket for use with a server, accepting connections on the specified port on any interface

Parameters:
- - - -
localPort local port of server socket, a value of zero will give a system-assigned unused port
queueLen maximum queue length for outstanding connection requests (default 5)
-
-
Exceptions:
- - -
SocketException thrown if unable to create TCP server socket
-
- -
-

- -

-
- - - - - - - - - - - - - - - - - - - - - - - - -
TCPServerSocket::TCPServerSocket (const string &  localAddress,
unsigned short  localPort,
int  queueLen = 5 
) throw (SocketException)
-
-
- -

-Construct a TCP socket for use with a server, accepting connections on the specified port on the interface specified by the given address

Parameters:
- - - - -
localAddress local interface (address) of server socket
localPort local port of server socket
queueLen maximum queue length for outstanding connection requests (default 5)
-
-
Exceptions:
- - -
SocketException thrown if unable to create TCP server socket
-
- -
-

-


Member Function Documentation

- -
-
- - - - - - - - -
TCPSocket * TCPServerSocket::accept (  )  throw (SocketException)
-
-
- -

-Blocks until a new connection is established on this socket or error

Returns:
new connection socket
-
Exceptions:
- - -
SocketException thrown if attempt to accept a new connection fails
-
- -
-

- -

-
- - - - - - - - - -
void TCPServerSocket::setListen (int  queueLen  )  throw (SocketException) [private]
-
-
- -

- -

-

-


The documentation for this class was generated from the following files: -
Generated on Mon Dec 3 11:49:25 2007 for anytun by  - -doxygen 1.5.1
- - diff --git a/doc/html/classTCPServerSocket.png b/doc/html/classTCPServerSocket.png deleted file mode 100644 index 1a22e63..0000000 Binary files a/doc/html/classTCPServerSocket.png and /dev/null differ diff --git a/doc/html/classTCPSocket-members.html b/doc/html/classTCPSocket-members.html deleted file mode 100644 index af641d0..0000000 --- a/doc/html/classTCPSocket-members.html +++ /dev/null @@ -1,47 +0,0 @@ - - -anytun: Member List - - - - -
-
-
-
-

TCPSocket Member List

This is the complete list of members for TCPSocket, including all inherited members.

- - - - - - - - - - - - - - - - - - - - - -
cleanUp()Socket [static]
CommunicatingSocket(int type, int protocol)CommunicatingSocket [protected]
CommunicatingSocket(int newConnSD)CommunicatingSocket [protected]
connect(const string &foreignAddress, unsigned short foreignPort)CommunicatingSocket
getForeignAddress()CommunicatingSocket
getForeignPort()CommunicatingSocket
getLocalAddress()Socket
getLocalPort()Socket
recv(void *buffer, int bufferLen)CommunicatingSocket
resolveService(const string &service, const string &protocol="tcp")Socket [static]
send(const void *buffer, int bufferLen)CommunicatingSocket
setLocalAddressAndPort(const string &localAddress, unsigned short localPort=0)Socket
setLocalPort(unsigned short localPort)Socket
sockDescSocket [protected]
Socket(int type, int protocol)Socket [protected]
Socket(int sockDesc)Socket [protected]
TCPServerSocket classTCPSocket [friend]
TCPSocket()TCPSocket
TCPSocket(const string &foreignAddress, unsigned short foreignPort)TCPSocket
TCPSocket(int newConnSD)TCPSocket [private]
~Socket()Socket


Generated on Mon Dec 3 11:49:25 2007 for anytun by  - -doxygen 1.5.1
- - diff --git a/doc/html/classTCPSocket.html b/doc/html/classTCPSocket.html deleted file mode 100644 index 0443d36..0000000 --- a/doc/html/classTCPSocket.html +++ /dev/null @@ -1,153 +0,0 @@ - - -anytun: TCPSocket Class Reference - - - - -
-
-
-
-

TCPSocket Class Reference

#include <PracticalSocket.h> -

-

Inheritance diagram for TCPSocket: -

- -CommunicatingSocket -Socket - -List of all members. - - - - - - - - - - - - -

Public Member Functions

 TCPSocket () throw (SocketException)
 TCPSocket (const string &foreignAddress, unsigned short foreignPort) throw (SocketException)

Private Member Functions

 TCPSocket (int newConnSD)

Friends

class TCPServerSocket
-

Detailed Description

-TCP socket for communication with other TCP sockets -

-


Constructor & Destructor Documentation

- -
-
- - - - - - - - -
TCPSocket::TCPSocket (  )  throw (SocketException)
-
-
- -

-Construct a TCP socket with no connection

Exceptions:
- - -
SocketException thrown if unable to create TCP socket
-
- -
-

- -

-
- - - - - - - - - - - - - - - - - - -
TCPSocket::TCPSocket (const string &  foreignAddress,
unsigned short  foreignPort 
) throw (SocketException)
-
-
- -

-Construct a TCP socket with a connection to the given foreign address and port

Parameters:
- - - -
foreignAddress foreign address (IP address or name)
foreignPort foreign port
-
-
Exceptions:
- - -
SocketException thrown if unable to create TCP socket
-
- -
-

- -

-
- - - - - - - - - -
TCPSocket::TCPSocket (int  newConnSD  )  [private]
-
-
- -

- -

-

-


Friends And Related Function Documentation

- -
-
- - - - -
friend class TCPServerSocket [friend]
-
-
- -

- -

-

-


The documentation for this class was generated from the following files: -
Generated on Mon Dec 3 11:49:25 2007 for anytun by  - -doxygen 1.5.1
- - diff --git a/doc/html/classTCPSocket.png b/doc/html/classTCPSocket.png deleted file mode 100644 index 2b3e546..0000000 Binary files a/doc/html/classTCPSocket.png and /dev/null differ diff --git a/doc/html/classTunDevice-members.html b/doc/html/classTunDevice-members.html deleted file mode 100644 index 6b64451..0000000 --- a/doc/html/classTunDevice-members.html +++ /dev/null @@ -1,43 +0,0 @@ - - -anytun: Member List - - - - -
-
-
-
-

TunDevice Member List

This is the complete list of members for TunDevice, including all inherited members.

- - - - - - - - - - - - - - - - - -
close()TunDevice
dev_TunDevice [private]
getActualName()TunDevice
getType()TunDevice
getTypeString()TunDevice
io_mutex_TunDevice [private]
isOpen()TunDevice
open()TunDevice
operator=(const TunDevice &src)TunDevice [private]
read(Buffer &buf)TunDevice
TunDevice(const char *dev, const char *dev_type, const char *ifcfg_lp, const char *ifcfg_rnmp)TunDevice
TunDevice(const TunDevice &src)TunDevice [private]
TYPE_TAPTunDevice [static]
TYPE_TUNTunDevice [static]
TYPE_UNDEFTunDevice [static]
write(Buffer &buf)TunDevice
~TunDevice()TunDevice


Generated on Mon Dec 3 11:49:25 2007 for anytun by  - -doxygen 1.5.1
- - diff --git a/doc/html/classTunDevice.html b/doc/html/classTunDevice.html deleted file mode 100644 index 4753ea7..0000000 --- a/doc/html/classTunDevice.html +++ /dev/null @@ -1,402 +0,0 @@ - - -anytun: TunDevice Class Reference - - - - -
-
-
-
-

TunDevice Class Reference

#include <tunDevice.h> -

-List of all members. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Public Member Functions

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

Static Public Attributes

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

Private Member Functions

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

Private Attributes

Mutex io_mutex_
tuntap * dev_
-


Constructor & Destructor Documentation

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

- -

-

- -

-
- - - - - - - - -
TunDevice::~TunDevice (  ) 
-
-
- -

- -

-

- -

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

- -

-

-


Member Function Documentation

- -
-
- - - - - - - - -
void TunDevice::open (  ) 
-
-
- -

- -

-

- -

-
- - - - - - - - -
void TunDevice::close (  ) 
-
-
- -

- -

-

- -

-
- - - - - - - - -
bool TunDevice::isOpen (  ) 
-
-
- -

- -

-

- -

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

- -

-

- -

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

- -

-

- -

-
- - - - - - - - -
char * TunDevice::getActualName (  ) 
-
-
- -

- -

-

- -

-
- - - - - - - - -
u_int32_t TunDevice::getType (  ) 
-
-
- -

- -

-

- -

-
- - - - - - - - -
const char * TunDevice::getTypeString (  ) 
-
-
- -

- -

-

- -

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

- -

-

-


Member Data Documentation

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

- -

-

- -

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

- -

-

- -

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

- -

-

- -

-
- - - - -
Mutex TunDevice::io_mutex_ [private]
-
-
- -

- -

-

- -

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

- -

-

-


The documentation for this class was generated from the following files: -
Generated on Mon Dec 3 11:49:25 2007 for anytun by  - -doxygen 1.5.1
- - diff --git a/doc/html/classUDPPacketSource-members.html b/doc/html/classUDPPacketSource-members.html deleted file mode 100644 index d02740e..0000000 --- a/doc/html/classUDPPacketSource-members.html +++ /dev/null @@ -1,58 +0,0 @@ - - -anytun: Member List - - - - -
-
-
-
-

UDPPacketSource Member List

This is the complete list of members for UDPPacketSource, including all inherited members.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
cleanUp()Socket [static]
CommunicatingSocket(int type, int protocol)CommunicatingSocket [protected]
CommunicatingSocket(int newConnSD)CommunicatingSocket [protected]
connect(const string &foreignAddress, unsigned short foreignPort)CommunicatingSocket
disconnect()UDPSocket
getForeignAddress()CommunicatingSocket
getForeignPort()CommunicatingSocket
getLocalAddress()Socket
getLocalPort()Socket
joinGroup(const string &multicastGroup)UDPSocket
leaveGroup(const string &multicastGroup)UDPSocket
recv(Buffer &buf, std::string &addr, u_int16_t &port)UDPPacketSource [virtual]
UDPSocket::recv(void *buffer, int bufferLen)CommunicatingSocket
recvFrom(void *buffer, int bufferLen, string &sourceAddress, unsigned short &sourcePort)UDPSocket
resolveService(const string &service, const string &protocol="tcp")Socket [static]
send(Buffer &buf, std::string addr, u_int16_t port)UDPPacketSource [virtual]
UDPSocket::send(const void *buffer, int bufferLen)CommunicatingSocket
sendTo(const void *buffer, int bufferLen, const string &foreignAddress, unsigned short foreignPort)UDPSocket
setLocalAddressAndPort(const string &localAddress, unsigned short localPort=0)Socket
setLocalPort(unsigned short localPort)Socket
setMulticastTTL(unsigned char multicastTTL)UDPSocket
sockDescSocket [protected]
Socket(int type, int protocol)Socket [protected]
Socket(int sockDesc)Socket [protected]
UDPPacketSource()UDPPacketSource
UDPPacketSource(u_int16_t port)UDPPacketSource
UDPPacketSource(std::string localaddr, u_int16_t port)UDPPacketSource
UDPSocket()UDPSocket
UDPSocket(unsigned short localPort)UDPSocket
UDPSocket(const string &localAddress, unsigned short localPort)UDPSocket
~PacketSource()PacketSource [inline, virtual]
~Socket()Socket


Generated on Mon Dec 3 11:49:25 2007 for anytun by  - -doxygen 1.5.1
- - diff --git a/doc/html/classUDPPacketSource.html b/doc/html/classUDPPacketSource.html deleted file mode 100644 index 1326f09..0000000 --- a/doc/html/classUDPPacketSource.html +++ /dev/null @@ -1,195 +0,0 @@ - - -anytun: UDPPacketSource Class Reference - - - - -
-
-
-
-

UDPPacketSource Class Reference

#include <packetSource.h> -

-

Inheritance diagram for UDPPacketSource: -

- -PacketSource -UDPSocket -CommunicatingSocket -Socket - -List of all members. - - - - - - - - - - - - -

Public Member Functions

 UDPPacketSource ()
 UDPPacketSource (u_int16_t port)
 UDPPacketSource (std::string localaddr, u_int16_t port)
u_int32_t recv (Buffer &buf, std::string &addr, u_int16_t &port)
void send (Buffer &buf, std::string addr, u_int16_t port)
-

Constructor & Destructor Documentation

- -
-
- - - - - - - - -
UDPPacketSource::UDPPacketSource (  ) 
-
-
- -

- -

-

- -

-
- - - - - - - - - -
UDPPacketSource::UDPPacketSource (u_int16_t  port  ) 
-
-
- -

- -

-

- -

-
- - - - - - - - - - - - - - - - - - -
UDPPacketSource::UDPPacketSource (std::string  localaddr,
u_int16_t  port 
)
-
-
- -

- -

-

-


Member Function Documentation

- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
u_int32_t UDPPacketSource::recv (Buffer buf,
std::string &  addr,
u_int16_t port 
) [virtual]
-
-
- -

- -

-Implements PacketSource. -

-

- -

-
- - - - - - - - - - - - - - - - - - - - - - - - -
void UDPPacketSource::send (Buffer buf,
std::string  addr,
u_int16_t  port 
) [virtual]
-
-
- -

- -

-Implements PacketSource. -

-

-


The documentation for this class was generated from the following files: -
Generated on Mon Dec 3 11:49:25 2007 for anytun by  - -doxygen 1.5.1
- - diff --git a/doc/html/classUDPPacketSource.png b/doc/html/classUDPPacketSource.png deleted file mode 100644 index f180736..0000000 Binary files a/doc/html/classUDPPacketSource.png and /dev/null differ diff --git a/doc/html/classUDPSocket-members.html b/doc/html/classUDPSocket-members.html deleted file mode 100644 index 49e8e41..0000000 --- a/doc/html/classUDPSocket-members.html +++ /dev/null @@ -1,53 +0,0 @@ - - -anytun: Member List - - - - -
-
-
-
-

UDPSocket Member List

This is the complete list of members for UDPSocket, including all inherited members.

- - - - - - - - - - - - - - - - - - - - - - - - - - - -
cleanUp()Socket [static]
CommunicatingSocket(int type, int protocol)CommunicatingSocket [protected]
CommunicatingSocket(int newConnSD)CommunicatingSocket [protected]
connect(const string &foreignAddress, unsigned short foreignPort)CommunicatingSocket
disconnect()UDPSocket
getForeignAddress()CommunicatingSocket
getForeignPort()CommunicatingSocket
getLocalAddress()Socket
getLocalPort()Socket
joinGroup(const string &multicastGroup)UDPSocket
leaveGroup(const string &multicastGroup)UDPSocket
recv(void *buffer, int bufferLen)CommunicatingSocket
recvFrom(void *buffer, int bufferLen, string &sourceAddress, unsigned short &sourcePort)UDPSocket
resolveService(const string &service, const string &protocol="tcp")Socket [static]
send(const void *buffer, int bufferLen)CommunicatingSocket
sendTo(const void *buffer, int bufferLen, const string &foreignAddress, unsigned short foreignPort)UDPSocket
setBroadcast()UDPSocket [private]
setLocalAddressAndPort(const string &localAddress, unsigned short localPort=0)Socket
setLocalPort(unsigned short localPort)Socket
setMulticastTTL(unsigned char multicastTTL)UDPSocket
sockDescSocket [protected]
Socket(int type, int protocol)Socket [protected]
Socket(int sockDesc)Socket [protected]
UDPSocket()UDPSocket
UDPSocket(unsigned short localPort)UDPSocket
UDPSocket(const string &localAddress, unsigned short localPort)UDPSocket
~Socket()Socket


Generated on Mon Dec 3 11:49:25 2007 for anytun by  - -doxygen 1.5.1
- - diff --git a/doc/html/classUDPSocket.html b/doc/html/classUDPSocket.html deleted file mode 100644 index 4e63041..0000000 --- a/doc/html/classUDPSocket.html +++ /dev/null @@ -1,404 +0,0 @@ - - -anytun: UDPSocket Class Reference - - - - -
-
-
-
-

UDPSocket Class Reference

#include <PracticalSocket.h> -

-

Inheritance diagram for UDPSocket: -

- -CommunicatingSocket -Socket -UDPPacketSource - -List of all members. - - - - - - - - - - - - - - - - - - - - - - - -

Public Member Functions

 UDPSocket () throw (SocketException)
 UDPSocket (unsigned short localPort) throw (SocketException)
 UDPSocket (const string &localAddress, unsigned short localPort) throw (SocketException)
void disconnect () throw (SocketException)
void sendTo (const void *buffer, int bufferLen, const string &foreignAddress, unsigned short foreignPort) throw (SocketException)
int recvFrom (void *buffer, int bufferLen, string &sourceAddress, unsigned short &sourcePort) throw (SocketException)
void setMulticastTTL (unsigned char multicastTTL) throw (SocketException)
void joinGroup (const string &multicastGroup) throw (SocketException)
void leaveGroup (const string &multicastGroup) throw (SocketException)

Private Member Functions

void setBroadcast ()
-

Detailed Description

-UDP socket class -

-


Constructor & Destructor Documentation

- -
-
- - - - - - - - -
UDPSocket::UDPSocket (  )  throw (SocketException)
-
-
- -

-Construct a UDP socket

Exceptions:
- - -
SocketException thrown if unable to create UDP socket
-
- -
-

- -

-
- - - - - - - - - -
UDPSocket::UDPSocket (unsigned short  localPort  )  throw (SocketException)
-
-
- -

-Construct a UDP socket with the given local port

Parameters:
- - -
localPort local port
-
-
Exceptions:
- - -
SocketException thrown if unable to create UDP socket
-
- -
-

- -

-
- - - - - - - - - - - - - - - - - - -
UDPSocket::UDPSocket (const string &  localAddress,
unsigned short  localPort 
) throw (SocketException)
-
-
- -

-Construct a UDP socket with the given local port and address

Parameters:
- - - -
localAddress local address
localPort local port
-
-
Exceptions:
- - -
SocketException thrown if unable to create UDP socket
-
- -
-

-


Member Function Documentation

- -
-
- - - - - - - - -
void UDPSocket::disconnect (  )  throw (SocketException)
-
-
- -

-Unset foreign address and port

Returns:
true if disassociation is successful
-
Exceptions:
- - -
SocketException thrown if unable to disconnect UDP socket
-
- -
-

- -

-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
void UDPSocket::sendTo (const void *  buffer,
int  bufferLen,
const string &  foreignAddress,
unsigned short  foreignPort 
) throw (SocketException)
-
-
- -

-Send the given buffer as a UDP datagram to the specified address/port

Parameters:
- - - - - -
buffer buffer to be written
bufferLen number of bytes to write
foreignAddress address (IP address or name) to send to
foreignPort port number to send to
-
-
Returns:
true if send is successful
-
Exceptions:
- - -
SocketException thrown if unable to send datagram
-
- -
-

- -

-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
int UDPSocket::recvFrom (void *  buffer,
int  bufferLen,
string &  sourceAddress,
unsigned short &  sourcePort 
) throw (SocketException)
-
-
- -

-Read read up to bufferLen bytes data from this socket. The given buffer is where the data will be placed

Parameters:
- - - - - -
buffer buffer to receive data
bufferLen maximum number of bytes to receive
sourceAddress address of datagram source
sourcePort port of data source
-
-
Returns:
number of bytes received and -1 for error
-
Exceptions:
- - -
SocketException thrown if unable to receive datagram
-
- -
-

- -

-
- - - - - - - - - -
void UDPSocket::setMulticastTTL (unsigned char  multicastTTL  )  throw (SocketException)
-
-
- -

-Set the multicast TTL

Parameters:
- - -
multicastTTL multicast TTL
-
-
Exceptions:
- - -
SocketException thrown if unable to set TTL
-
- -
-

- -

-
- - - - - - - - - -
void UDPSocket::joinGroup (const string &  multicastGroup  )  throw (SocketException)
-
-
- -

-Join the specified multicast group

Parameters:
- - -
multicastGroup multicast group address to join
-
-
Exceptions:
- - -
SocketException thrown if unable to join group
-
- -
-

- -

-
- - - - - - - - - -
void UDPSocket::leaveGroup (const string &  multicastGroup  )  throw (SocketException)
-
-
- -

-Leave the specified multicast group

Parameters:
- - -
multicastGroup multicast group address to leave
-
-
Exceptions:
- - -
SocketException thrown if unable to leave group
-
- -
-

- -

-
- - - - - - - - -
void UDPSocket::setBroadcast (  )  [private]
-
-
- -

- -

-

-


The documentation for this class was generated from the following files: -
Generated on Mon Dec 3 11:49:25 2007 for anytun by  - -doxygen 1.5.1
- - diff --git a/doc/html/classUDPSocket.png b/doc/html/classUDPSocket.png deleted file mode 100644 index 318812b..0000000 Binary files a/doc/html/classUDPSocket.png and /dev/null differ diff --git a/doc/html/classsatp_1_1SATP-members.html b/doc/html/classsatp_1_1SATP-members.html deleted file mode 100644 index 51da390..0000000 --- a/doc/html/classsatp_1_1SATP-members.html +++ /dev/null @@ -1,72 +0,0 @@ - - -anytun: Member List - - - - -
-
-
-
-

satp::SATP Member List

This is the complete list of members for satp::SATP, including all inherited members.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
addAuthTag(auth_tag_t auth_tag)Packet
addHeader(seq_nr_t seq_nr, sender_id_t sender_id)Packet
addPayloadType(payload_type_t payload_type)Packet
buf_Buffer [protected]
Buffer()Buffer
Buffer(u_int32_t length)Buffer
Buffer(u_int8_t *data, u_int32_t length)Buffer
Buffer(const Buffer &src)Buffer
fields_descsatp::SATP [static]
getAuthTag() constPacket
getBuf()Buffer
getLength() constBuffer
getPayloadType() constPacket
getSenderId() constPacket
getSeqNr() constPacket
hasAuthTag() constPacket
hasHeader() constPacket
hasPayloadType() constPacket
leftByteShift(u_int32_t width) constBuffer [virtual]
length_Buffer [protected]
namesatp::SATP [static]
operator u_int8_t *()Buffer
operator=(const Buffer &src)Buffer
operator=(const seq_nr_t &src)Buffer
operator=(const sender_id_t &src)Buffer
operator[](u_int32_t index)Buffer
operator[](u_int32_t index) constBuffer
operator^(const Buffer &xor_by) const Buffer [virtual]
Packet()Packet
Packet(u_int32_t length)Packet
Packet(const Buffer &src)Packet
printHexDump() constBuffer
removeAuthTag()Packet
removeHeader()Packet
removePayloadType()Packet
resizeBack(u_int32_t new_length)Buffer
resizeFront(u_int32_t new_length)Buffer
rightByteShift(u_int32_t width) constBuffer [virtual]
setSenderId(sender_id_t sender_id)Packet
setSeqNr(seq_nr_t seq_nr)Packet
TunDevice classBuffer [friend]
UDPPacketSource classBuffer [friend]
withAuthTag(bool b)Packet
withHeader(bool b)Packet
withPayloadType(bool b)Packet
~Buffer()Buffer [virtual]


Generated on Mon Dec 3 11:49:25 2007 for anytun by  - -doxygen 1.5.1
- - diff --git a/doc/html/classsatp_1_1SATP.html b/doc/html/classsatp_1_1SATP.html deleted file mode 100644 index f95ae4a..0000000 --- a/doc/html/classsatp_1_1SATP.html +++ /dev/null @@ -1,78 +0,0 @@ - - -anytun: satp::SATP Class Reference - - - - -
-
-
-
- -

satp::SATP Class Reference

Inheritance diagram for satp::SATP: -

- -Packet -Buffer - -List of all members. - - - - - - -

Static Public Attributes

string name = "SATP"
list fields_desc
-

Member Data Documentation

- -
-
- - - - -
string satp::SATP::name = "SATP" [static]
-
-
- -

- -

-

- -

-
- - - - -
list satp::SATP::fields_desc [static]
-
-
- -

-Initial value:

[
-            IntField("seq", None),
-            ShortField("id", None)
-            ]
-
-
-

-


The documentation for this class was generated from the following file: -
Generated on Mon Dec 3 11:49:25 2007 for anytun by  - -doxygen 1.5.1
- - diff --git a/doc/html/classsatp_1_1SATP.png b/doc/html/classsatp_1_1SATP.png deleted file mode 100644 index 5f85c4e..0000000 Binary files a/doc/html/classsatp_1_1SATP.png and /dev/null differ diff --git a/doc/html/cypher_8cpp.html b/doc/html/cypher_8cpp.html deleted file mode 100644 index 74a61a7..0000000 --- a/doc/html/cypher_8cpp.html +++ /dev/null @@ -1,33 +0,0 @@ - - -anytun: cypher.cpp File Reference - - - - -
-
-
-
-

cypher.cpp File Reference

#include <stdexcept>
-#include <iostream>
-#include <string>
-#include "cypher.h"
-#include "keyDerivation.h"
-#include <gcrypt.h>
- - -
-
Generated on Mon Dec 3 11:49:24 2007 for anytun by  - -doxygen 1.5.1
- - diff --git a/doc/html/cypher_8h-source.html b/doc/html/cypher_8h-source.html deleted file mode 100644 index 766e2a2..0000000 --- a/doc/html/cypher_8h-source.html +++ /dev/null @@ -1,110 +0,0 @@ - - -anytun: cypher.h Source File - - - - -
-
-
-
-

cypher.h

Go to the documentation of this file.
00001 /*
-00002  *  anytun
-00003  *
-00004  *  The secure anycast tunneling protocol (satp) defines a protocol used
-00005  *  for communication between any combination of unicast and anycast
-00006  *  tunnel endpoints.  It has less protocol overhead than IPSec in Tunnel
-00007  *  mode and allows tunneling of every ETHER TYPE protocol (e.g.
-00008  *  ethernet, ip, arp ...). satp directly includes cryptography and
-00009  *  message authentication based on the methodes used by SRTP.  It is
-00010  *  intended to deliver a generic, scaleable and secure solution for
-00011  *  tunneling and relaying of packets of any protocol.
-00012  *
-00013  *
-00014  *  Copyright (C) 2007 anytun.org <satp@wirdorange.org>
-00015  *
-00016  *  This program is free software; you can redistribute it and/or modify
-00017  *  it under the terms of the GNU General Public License version 2
-00018  *  as published by the Free Software Foundation.
-00019  *
-00020  *  This program is distributed in the hope that it will be useful,
-00021  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
-00022  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-00023  *  GNU General Public License for more details.
-00024  *
-00025  *  You should have received a copy of the GNU General Public License
-00026  *  along with this program (see the file COPYING included with this
-00027  *  distribution); if not, write to the Free Software Foundation, Inc.,
-00028  *  59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
-00029  */
-00030 
-00031 #ifndef _CYPHER_H_
-00032 #define _CYPHER_H_
-00033 
-00034 
-00035 
-00036 #include "datatypes.h"
-00037 #include "buffer.h"
-00038 
-00039 extern "C" {
-00040 #include <gcrypt.h>
-00041 }
-00042 
-00043 
-00044 class Cypher
-00045 {
-00046 public:
-00047   Cypher() {};
-00048   virtual ~Cypher() {};
-00049  
-00050   void setKey(Buffer key) {};
-00051   void setSalt(Buffer salt) {};
-00052   void cypher(Buffer& buf, seq_nr_t seq_nr, sender_id_t sender_id);
-00053   
-00054 protected:
-00055   void exor(Buffer& buf, const Buffer& bit_stream);
-00056   virtual Buffer getBitStream(u_int32_t length, seq_nr_t seq_nr, sender_id_t sender_id) = 0;
-00057 };
-00058 
-00059 class NullCypher : public Cypher
-00060 {
-00061 protected:
-00062   Buffer getBitStream(u_int32_t length, seq_nr_t seq_nr, sender_id_t sender_id);
-00063 };
-00064 
-00065 class AesIcmCypher : public Cypher
-00066 {
-00067 public:
-00068   AesIcmCypher();
-00069   ~AesIcmCypher();
-00070   void setKey(Buffer key);
-00071   void setSalt(Buffer salt);
-00072 
-00073   static const char* MIN_GCRYPT_VERSION;
-00074   static const u_int32_t GCRYPT_SEC_MEM = 16384;    // 16k secure memory
-00075 
-00076 protected:
-00077   Buffer getBitStream(u_int32_t length, seq_nr_t seq_nr, sender_id_t sender_id);
-00078   gcry_cipher_hd_t cipher_;
-00079   Buffer salt_;
-00080 
-00081 private:
-00082   static bool gcrypt_initialized_;
-00083 };
-00084 
-00085 
-00086 #endif
-

Generated on Mon Dec 3 11:49:24 2007 for anytun by  - -doxygen 1.5.1
- - diff --git a/doc/html/cypher_8h.html b/doc/html/cypher_8h.html deleted file mode 100644 index 9638644..0000000 --- a/doc/html/cypher_8h.html +++ /dev/null @@ -1,39 +0,0 @@ - - -anytun: cypher.h File Reference - - - - -
-
-
-
-

cypher.h File Reference

#include "datatypes.h"
-#include "buffer.h"
-#include <gcrypt.h>
- -

-Go to the source code of this file. - - - - - - - - -

Classes

class  Cypher
class  NullCypher
class  AesIcmCypher
-


Generated on Mon Dec 3 11:49:24 2007 for anytun by  - -doxygen 1.5.1
- - diff --git a/doc/html/datatypes_8h-source.html b/doc/html/datatypes_8h-source.html deleted file mode 100644 index 3d42f4c..0000000 --- a/doc/html/datatypes_8h-source.html +++ /dev/null @@ -1,88 +0,0 @@ - - -anytun: datatypes.h Source File - - - - -
-
-
-
-

datatypes.h

Go to the documentation of this file.
00001 /*
-00002  *  anytun
-00003  *
-00004  *  The secure anycast tunneling protocol (satp) defines a protocol used
-00005  *  for communication between any combination of unicast and anycast
-00006  *  tunnel endpoints.  It has less protocol overhead than IPSec in Tunnel
-00007  *  mode and allows tunneling of every ETHER TYPE protocol (e.g.
-00008  *  ethernet, ip, arp ...). satp directly includes cryptography and
-00009  *  message authentication based on the methodes used by SRTP.  It is
-00010  *  intended to deliver a generic, scaleable and secure solution for
-00011  *  tunneling and relaying of packets of any protocol.
-00012  *
-00013  *
-00014  *  Copyright (C) 2007 anytun.org <satp@wirdorange.org>
-00015  *
-00016  *  This program is free software; you can redistribute it and/or modify
-00017  *  it under the terms of the GNU General Public License version 2
-00018  *  as published by the Free Software Foundation.
-00019  *
-00020  *  This program is distributed in the hope that it will be useful,
-00021  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
-00022  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-00023  *  GNU General Public License for more details.
-00024  *
-00025  *  You should have received a copy of the GNU General Public License
-00026  *  along with this program (see the file COPYING included with this
-00027  *  distribution); if not, write to the Free Software Foundation, Inc.,
-00028  *  59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
-00029  */
-00030 
-00031 #ifndef _DATATYPES_H_
-00032 #define _DATATYPES_H_
-00033 
-00034 typedef signed char int8_t;
-00035 typedef unsigned char u_int8_t;
-00036 
-00037 typedef signed short int16;
-00038 typedef unsigned short u_int16_t;
-00039 
-00040 typedef signed int int32;
-00041 typedef unsigned int u_int32_t;
-00042 
-00043 //typedef signed long long int64_t;
-00044 //typedef unsigned long long u_int64_t;
-00045 
-00046 typedef u_int32_t window_size_t;
-00047 
-00048 typedef u_int32_t seq_nr_t;
-00049 #define SEQ_NR_T_NTOH(a) ntohl(a)
-00050 #define SEQ_NR_T_HTON(a) htonl(a)
-00051 
-00052 typedef u_int16_t sender_id_t;
-00053 #define SENDER_ID_T_NTOH(a) ntohs(a)
-00054 #define SENDER_ID_T_HTON(a) htons(a)
-00055 
-00056 typedef u_int16_t payload_type_t;
-00057 #define PAYLOAD_TYPE_T_NTOH(a) ntohs(a)
-00058 #define PAYLOAD_TYPE_T_HTON(a) htons(a)
-00059 
-00060 typedef u_int32_t auth_tag_t;
-00061 #define AUTH_TAG_T_NTOH(a) ntohl(a)
-00062 #define AUTH_TAG_T_HTON(a) htonl(a)
-00063 
-00064 #endif
-

Generated on Mon Dec 3 11:49:24 2007 for anytun by  - -doxygen 1.5.1
- - diff --git a/doc/html/datatypes_8h.html b/doc/html/datatypes_8h.html deleted file mode 100644 index 94147ce..0000000 --- a/doc/html/datatypes_8h.html +++ /dev/null @@ -1,396 +0,0 @@ - - -anytun: datatypes.h File Reference - - - - -
-
-
-
-

datatypes.h File Reference

-

-Go to the source code of this file. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Defines

#define SEQ_NR_T_NTOH(a)   ntohl(a)
#define SEQ_NR_T_HTON(a)   htonl(a)
#define SENDER_ID_T_NTOH(a)   ntohs(a)
#define SENDER_ID_T_HTON(a)   htons(a)
#define PAYLOAD_TYPE_T_NTOH(a)   ntohs(a)
#define PAYLOAD_TYPE_T_HTON(a)   htons(a)
#define AUTH_TAG_T_NTOH(a)   ntohl(a)
#define AUTH_TAG_T_HTON(a)   htonl(a)

Typedefs

typedef signed char int8_t
typedef unsigned char u_int8_t
typedef signed short int16
typedef unsigned short u_int16_t
typedef signed int int32
typedef unsigned int u_int32_t
typedef u_int32_t window_size_t
typedef u_int32_t seq_nr_t
typedef u_int16_t sender_id_t
typedef u_int16_t payload_type_t
typedef u_int32_t auth_tag_t
-


Define Documentation

- -
-
- - - - - - - - - -
#define AUTH_TAG_T_HTON (  )    htonl(a)
-
-
- -

- -

-

- -

-
- - - - - - - - - -
#define AUTH_TAG_T_NTOH (  )    ntohl(a)
-
-
- -

- -

-

- -

-
- - - - - - - - - -
#define PAYLOAD_TYPE_T_HTON (  )    htons(a)
-
-
- -

- -

-

- -

-
- - - - - - - - - -
#define PAYLOAD_TYPE_T_NTOH (  )    ntohs(a)
-
-
- -

- -

-

- -

-
- - - - - - - - - -
#define SENDER_ID_T_HTON (  )    htons(a)
-
-
- -

- -

-

- -

-
- - - - - - - - - -
#define SENDER_ID_T_NTOH (  )    ntohs(a)
-
-
- -

- -

-

- -

-
- - - - - - - - - -
#define SEQ_NR_T_HTON (  )    htonl(a)
-
-
- -

- -

-

- -

-
- - - - - - - - - -
#define SEQ_NR_T_NTOH (  )    ntohl(a)
-
-
- -

- -

-

-


Typedef Documentation

- -
-
- - - - -
typedef u_int32_t auth_tag_t
-
-
- -

- -

-

- -

-
- - - - -
typedef signed short int16
-
-
- -

- -

-

- -

-
- - - - -
typedef signed int int32
-
-
- -

- -

-

- -

-
- - - - -
typedef signed char int8_t
-
-
- -

- -

-

- -

-
- - - - -
typedef u_int16_t payload_type_t
-
-
- -

- -

-

- -

-
- - - - -
typedef u_int16_t sender_id_t
-
-
- -

- -

-

- -

-
- - - - -
typedef u_int32_t seq_nr_t
-
-
- -

- -

-

- -

-
- - - - -
typedef unsigned short u_int16_t
-
-
- -

- -

-

- -

-
- - - - -
typedef unsigned int u_int32_t
-
-
- -

- -

-

- -

-
- - - - -
typedef unsigned char u_int8_t
-
-
- -

- -

-

- -

-
- - - - -
typedef u_int32_t window_size_t
-
-
- -

- -

-

-


Generated on Mon Dec 3 11:49:24 2007 for anytun by  - -doxygen 1.5.1
- - diff --git a/doc/html/doxygen.css b/doc/html/doxygen.css deleted file mode 100644 index c7db1a8..0000000 --- a/doc/html/doxygen.css +++ /dev/null @@ -1,358 +0,0 @@ -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 deleted file mode 100644 index f0a274b..0000000 Binary files a/doc/html/doxygen.png and /dev/null differ diff --git a/doc/html/files.html b/doc/html/files.html deleted file mode 100644 index 002ccd9..0000000 --- a/doc/html/files.html +++ /dev/null @@ -1,64 +0,0 @@ - - -anytun: File Index - - - - -
-
-
-
-

anytun File List

Here is a list of all files with brief descriptions: - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
anytun.cpp
authAlgo.cpp
authAlgo.h [code]
buffer.cpp
buffer.h [code]
connectionList.cpp
connectionList.h [code]
connectionParam.cpp
connectionParam.h [code]
cypher.cpp
cypher.h [code]
datatypes.h [code]
keyDerivation.cpp
keyDerivation.h [code]
log.cpp
log.h [code]
networkAddress.cpp
networkAddress.h [code]
options.cpp
options.h [code]
packet.cpp
packet.h [code]
packetSource.cpp
packetSource.h [code]
PracticalSocket.cpp
PracticalSocket.h [code]
router.cpp
router.h [code]
satp.py
seqWindow.cpp
seqWindow.h [code]
signalController.cpp
signalController.h [code]
syncSocket.cpp
syncSocket.h [code]
threadUtils.hpp [code]
tunDevice.cpp
tunDevice.h [code]
-
Generated on Mon Dec 3 11:49:25 2007 for anytun by  - -doxygen 1.5.1
- - diff --git a/doc/html/ftv2blank.png b/doc/html/ftv2blank.png deleted file mode 100644 index 493c3c0..0000000 Binary files a/doc/html/ftv2blank.png and /dev/null differ diff --git a/doc/html/ftv2doc.png b/doc/html/ftv2doc.png deleted file mode 100644 index f72999f..0000000 Binary files a/doc/html/ftv2doc.png and /dev/null differ diff --git a/doc/html/ftv2folderclosed.png b/doc/html/ftv2folderclosed.png deleted file mode 100644 index d6d0634..0000000 Binary files a/doc/html/ftv2folderclosed.png and /dev/null differ diff --git a/doc/html/ftv2folderopen.png b/doc/html/ftv2folderopen.png deleted file mode 100644 index bbe2c91..0000000 Binary files a/doc/html/ftv2folderopen.png and /dev/null differ diff --git a/doc/html/ftv2lastnode.png b/doc/html/ftv2lastnode.png deleted file mode 100644 index e7b9ba9..0000000 Binary files a/doc/html/ftv2lastnode.png and /dev/null differ diff --git a/doc/html/ftv2link.png b/doc/html/ftv2link.png deleted file mode 100644 index 14f3fed..0000000 Binary files a/doc/html/ftv2link.png and /dev/null differ diff --git a/doc/html/ftv2mlastnode.png b/doc/html/ftv2mlastnode.png deleted file mode 100644 index 09ceb6a..0000000 Binary files a/doc/html/ftv2mlastnode.png and /dev/null differ diff --git a/doc/html/ftv2mnode.png b/doc/html/ftv2mnode.png deleted file mode 100644 index 3254c05..0000000 Binary files a/doc/html/ftv2mnode.png and /dev/null differ diff --git a/doc/html/ftv2node.png b/doc/html/ftv2node.png deleted file mode 100644 index c9f06a5..0000000 Binary files a/doc/html/ftv2node.png and /dev/null differ diff --git a/doc/html/ftv2plastnode.png b/doc/html/ftv2plastnode.png deleted file mode 100644 index 0b07e00..0000000 Binary files a/doc/html/ftv2plastnode.png and /dev/null differ diff --git a/doc/html/ftv2pnode.png b/doc/html/ftv2pnode.png deleted file mode 100644 index 2001b79..0000000 Binary files a/doc/html/ftv2pnode.png and /dev/null differ diff --git a/doc/html/ftv2vertline.png b/doc/html/ftv2vertline.png deleted file mode 100644 index b330f3a..0000000 Binary files a/doc/html/ftv2vertline.png and /dev/null differ diff --git a/doc/html/functions.html b/doc/html/functions.html deleted file mode 100644 index ab8af3e..0000000 --- a/doc/html/functions.html +++ /dev/null @@ -1,69 +0,0 @@ - - -anytun: Class Members - - - - -
-
-
-
-
- -
-
- -
- -

-Here is a list of all class members with links to the classes they belong to: -

-

- _ -

-
Generated on Mon Dec 3 11:49:25 2007 for anytun by  - -doxygen 1.5.1
- - diff --git a/doc/html/functions_0x61.html b/doc/html/functions_0x61.html deleted file mode 100644 index 9de59fc..0000000 --- a/doc/html/functions_0x61.html +++ /dev/null @@ -1,90 +0,0 @@ - - -anytun: Class Members - - - - -
-
-
-
-
- -
-
- -
- -

-Here is a list of all class members with links to the classes they belong to: -

-

- a -

-
Generated on Mon Dec 3 11:49:25 2007 for anytun by  - -doxygen 1.5.1
- - diff --git a/doc/html/functions_0x62.html b/doc/html/functions_0x62.html deleted file mode 100644 index 1b6731b..0000000 --- a/doc/html/functions_0x62.html +++ /dev/null @@ -1,73 +0,0 @@ - - -anytun: Class Members - - - - -
-
-
-
-
- -
-
- -
- -

-Here is a list of all class members with links to the classes they belong to: -

-

- b -

-
Generated on Mon Dec 3 11:49:25 2007 for anytun by  - -doxygen 1.5.1
- - diff --git a/doc/html/functions_0x63.html b/doc/html/functions_0x63.html deleted file mode 100644 index 84328c9..0000000 --- a/doc/html/functions_0x63.html +++ /dev/null @@ -1,111 +0,0 @@ - - -anytun: Class Members - - - - -
-
-
-
-
- -
-
- -
- -

-Here is a list of all class members with links to the classes they belong to: -

-

- c -

-
Generated on Mon Dec 3 11:49:25 2007 for anytun by  - -doxygen 1.5.1
- - diff --git a/doc/html/functions_0x64.html b/doc/html/functions_0x64.html deleted file mode 100644 index 415a82c..0000000 --- a/doc/html/functions_0x64.html +++ /dev/null @@ -1,79 +0,0 @@ - - -anytun: Class Members - - - - -
-
-
-
-
- -
-
- -
- -

-Here is a list of all class members with links to the classes they belong to: -

-

- d -

-
Generated on Mon Dec 3 11:49:25 2007 for anytun by  - -doxygen 1.5.1
- - diff --git a/doc/html/functions_0x65.html b/doc/html/functions_0x65.html deleted file mode 100644 index a6e32e8..0000000 --- a/doc/html/functions_0x65.html +++ /dev/null @@ -1,71 +0,0 @@ - - -anytun: Class Members - - - - -
-
-
-
-
- -
-
- -
- -

-Here is a list of all class members with links to the classes they belong to: -

-

- e -

-
Generated on Mon Dec 3 11:49:25 2007 for anytun by  - -doxygen 1.5.1
- - diff --git a/doc/html/functions_0x66.html b/doc/html/functions_0x66.html deleted file mode 100644 index 967a01c..0000000 --- a/doc/html/functions_0x66.html +++ /dev/null @@ -1,109 +0,0 @@ - - -anytun: Class Members - - - - -
-
-
-
-
- -
-
- -
- -

-Here is a list of all class members with links to the classes they belong to: -

-

- f -

-
Generated on Mon Dec 3 11:49:25 2007 for anytun by  - -doxygen 1.5.1
- - diff --git a/doc/html/functions_0x67.html b/doc/html/functions_0x67.html deleted file mode 100644 index 601f9fb..0000000 --- a/doc/html/functions_0x67.html +++ /dev/null @@ -1,142 +0,0 @@ - - -anytun: Class Members - - - - -
-
-
-
-
- -
-
- -
- -

-Here is a list of all class members with links to the classes they belong to: -

-

- g -

-
Generated on Mon Dec 3 11:49:25 2007 for anytun by  - -doxygen 1.5.1
- - diff --git a/doc/html/functions_0x68.html b/doc/html/functions_0x68.html deleted file mode 100644 index 254b8f6..0000000 --- a/doc/html/functions_0x68.html +++ /dev/null @@ -1,94 +0,0 @@ - - -anytun: Class Members - - - - -
-
-
-
-
- -
-
- -
- -

-Here is a list of all class members with links to the classes they belong to: -

-

- h -

-
Generated on Mon Dec 3 11:49:25 2007 for anytun by  - -doxygen 1.5.1
- - diff --git a/doc/html/functions_0x69.html b/doc/html/functions_0x69.html deleted file mode 100644 index 23010bd..0000000 --- a/doc/html/functions_0x69.html +++ /dev/null @@ -1,90 +0,0 @@ - - -anytun: Class Members - - - - -
-
-
-
-
- -
-
- -
- -

-Here is a list of all class members with links to the classes they belong to: -

-

- i -

-
Generated on Mon Dec 3 11:49:25 2007 for anytun by  - -doxygen 1.5.1
- - diff --git a/doc/html/functions_0x6a.html b/doc/html/functions_0x6a.html deleted file mode 100644 index 03ad19d..0000000 --- a/doc/html/functions_0x6a.html +++ /dev/null @@ -1,69 +0,0 @@ - - -anytun: Class Members - - - - -
-
-
-
-
- -
-
- -
- -

-Here is a list of all class members with links to the classes they belong to: -

-

- j -

-
Generated on Mon Dec 3 11:49:25 2007 for anytun by  - -doxygen 1.5.1
- - diff --git a/doc/html/functions_0x6b.html b/doc/html/functions_0x6b.html deleted file mode 100644 index dcaf957..0000000 --- a/doc/html/functions_0x6b.html +++ /dev/null @@ -1,73 +0,0 @@ - - -anytun: Class Members - - - - -
-
-
-
-
- -
-
- -
- -

-Here is a list of all class members with links to the classes they belong to: -

-

- k -

-
Generated on Mon Dec 3 11:49:25 2007 for anytun by  - -doxygen 1.5.1
- - diff --git a/doc/html/functions_0x6c.html b/doc/html/functions_0x6c.html deleted file mode 100644 index a0c9e1b..0000000 --- a/doc/html/functions_0x6c.html +++ /dev/null @@ -1,100 +0,0 @@ - - -anytun: Class Members - - - - -
-
-
-
-
- -
-
- -
- -

-Here is a list of all class members with links to the classes they belong to: -

-

- l -

-
Generated on Mon Dec 3 11:49:25 2007 for anytun by  - -doxygen 1.5.1
- - diff --git a/doc/html/functions_0x6d.html b/doc/html/functions_0x6d.html deleted file mode 100644 index 8386421..0000000 --- a/doc/html/functions_0x6d.html +++ /dev/null @@ -1,86 +0,0 @@ - - -anytun: Class Members - - - - -
-
-
-
-
- -
-
- -
- -

-Here is a list of all class members with links to the classes they belong to: -

-

- m -

-
Generated on Mon Dec 3 11:49:25 2007 for anytun by  - -doxygen 1.5.1
- - diff --git a/doc/html/functions_0x6e.html b/doc/html/functions_0x6e.html deleted file mode 100644 index 778be7a..0000000 --- a/doc/html/functions_0x6e.html +++ /dev/null @@ -1,73 +0,0 @@ - - -anytun: Class Members - - - - -
-
-
-
-
- -
-
- -
- -

-Here is a list of all class members with links to the classes they belong to: -

-

- n -

-
Generated on Mon Dec 3 11:49:25 2007 for anytun by  - -doxygen 1.5.1
- - diff --git a/doc/html/functions_0x6f.html b/doc/html/functions_0x6f.html deleted file mode 100644 index db9fab5..0000000 --- a/doc/html/functions_0x6f.html +++ /dev/null @@ -1,104 +0,0 @@ - - -anytun: Class Members - - - - -
-
-
-
-
- -
-
- -
- -

-Here is a list of all class members with links to the classes they belong to: -

-

- o -

-
Generated on Mon Dec 3 11:49:25 2007 for anytun by  - -doxygen 1.5.1
- - diff --git a/doc/html/functions_0x70.html b/doc/html/functions_0x70.html deleted file mode 100644 index 2422d5e..0000000 --- a/doc/html/functions_0x70.html +++ /dev/null @@ -1,97 +0,0 @@ - - -anytun: Class Members - - - - -
-
-
-
-
- -
-
- -
- -

-Here is a list of all class members with links to the classes they belong to: -

-

- p -

-
Generated on Mon Dec 3 11:49:25 2007 for anytun by  - -doxygen 1.5.1
- - diff --git a/doc/html/functions_0x72.html b/doc/html/functions_0x72.html deleted file mode 100644 index 8f77018..0000000 --- a/doc/html/functions_0x72.html +++ /dev/null @@ -1,97 +0,0 @@ - - -anytun: Class Members - - - - -
-
-
-
-
- -
-
- -
- -

-Here is a list of all class members with links to the classes they belong to: -

-

- r -

-
Generated on Mon Dec 3 11:49:25 2007 for anytun by  - -doxygen 1.5.1
- - diff --git a/doc/html/functions_0x73.html b/doc/html/functions_0x73.html deleted file mode 100644 index a93c1c8..0000000 --- a/doc/html/functions_0x73.html +++ /dev/null @@ -1,197 +0,0 @@ - - -anytun: Class Members - - - - -
-
-
-
-
- -
-
- -
- -

-Here is a list of all class members with links to the classes they belong to: -

-

- s -

-
Generated on Mon Dec 3 11:49:25 2007 for anytun by  - -doxygen 1.5.1
- - diff --git a/doc/html/functions_0x74.html b/doc/html/functions_0x74.html deleted file mode 100644 index 5e15c67..0000000 --- a/doc/html/functions_0x74.html +++ /dev/null @@ -1,83 +0,0 @@ - - -anytun: Class Members - - - - -
-
-
-
-
- -
-
- -
- -

-Here is a list of all class members with links to the classes they belong to: -

-

- t -

-
Generated on Mon Dec 3 11:49:25 2007 for anytun by  - -doxygen 1.5.1
- - diff --git a/doc/html/functions_0x75.html b/doc/html/functions_0x75.html deleted file mode 100644 index bb25909..0000000 --- a/doc/html/functions_0x75.html +++ /dev/null @@ -1,78 +0,0 @@ - - -anytun: Class Members - - - - -
-
-
-
-
- -
-
- -
- -

-Here is a list of all class members with links to the classes they belong to: -

-

- u -

-
Generated on Mon Dec 3 11:49:25 2007 for anytun by  - -doxygen 1.5.1
- - diff --git a/doc/html/functions_0x77.html b/doc/html/functions_0x77.html deleted file mode 100644 index e43cf3c..0000000 --- a/doc/html/functions_0x77.html +++ /dev/null @@ -1,81 +0,0 @@ - - -anytun: Class Members - - - - -
-
-
-
-
- -
-
- -
- -

-Here is a list of all class members with links to the classes they belong to: -

-

- w -

-
Generated on Mon Dec 3 11:49:25 2007 for anytun by  - -doxygen 1.5.1
- - diff --git a/doc/html/functions_0x7e.html b/doc/html/functions_0x7e.html deleted file mode 100644 index 5bfa655..0000000 --- a/doc/html/functions_0x7e.html +++ /dev/null @@ -1,111 +0,0 @@ - - -anytun: Class Members - - - - -
-
-
-
-
- -
-
- -
- -

-Here is a list of all class members with links to the classes they belong to: -

-

- ~ -

-
Generated on Mon Dec 3 11:49:25 2007 for anytun by  - -doxygen 1.5.1
- - diff --git a/doc/html/functions_func.html b/doc/html/functions_func.html deleted file mode 100644 index 8fc1770..0000000 --- a/doc/html/functions_func.html +++ /dev/null @@ -1,82 +0,0 @@ - - -anytun: Class Members - Functions - - - - -
-
-
-
-
- -
-
- -
- -

-  -

-

- a -

-
Generated on Mon Dec 3 11:49:25 2007 for anytun by  - -doxygen 1.5.1
- - diff --git a/doc/html/functions_func_0x62.html b/doc/html/functions_func_0x62.html deleted file mode 100644 index e911008..0000000 --- a/doc/html/functions_func_0x62.html +++ /dev/null @@ -1,69 +0,0 @@ - - -anytun: Class Members - Functions - - - - -
-
-
-
-
- -
-
- -
- -

-  -

-

- b -

-
Generated on Mon Dec 3 11:49:25 2007 for anytun by  - -doxygen 1.5.1
- - diff --git a/doc/html/functions_func_0x63.html b/doc/html/functions_func_0x63.html deleted file mode 100644 index d6ef957..0000000 --- a/doc/html/functions_func_0x63.html +++ /dev/null @@ -1,92 +0,0 @@ - - -anytun: Class Members - Functions - - - - -
-
-
-
-
- -
-
- -
- -

-  -

-

- c -

-
Generated on Mon Dec 3 11:49:25 2007 for anytun by  - -doxygen 1.5.1
- - diff --git a/doc/html/functions_func_0x64.html b/doc/html/functions_func_0x64.html deleted file mode 100644 index 722fb0b..0000000 --- a/doc/html/functions_func_0x64.html +++ /dev/null @@ -1,69 +0,0 @@ - - -anytun: Class Members - Functions - - - - -
-
-
-
-
- -
-
- -
- -

-  -

-

- d -

-
Generated on Mon Dec 3 11:49:25 2007 for anytun by  - -doxygen 1.5.1
- - diff --git a/doc/html/functions_func_0x65.html b/doc/html/functions_func_0x65.html deleted file mode 100644 index f20e00c..0000000 --- a/doc/html/functions_func_0x65.html +++ /dev/null @@ -1,67 +0,0 @@ - - -anytun: Class Members - Functions - - - - -
-
-
-
-
- -
-
- -
- -

-  -

-

- e -

-
Generated on Mon Dec 3 11:49:25 2007 for anytun by  - -doxygen 1.5.1
- - diff --git a/doc/html/functions_func_0x67.html b/doc/html/functions_func_0x67.html deleted file mode 100644 index bee54f4..0000000 --- a/doc/html/functions_func_0x67.html +++ /dev/null @@ -1,136 +0,0 @@ - - -anytun: Class Members - Functions - - - - -
-
-
-
-
- -
-
- -
- -

-  -

-

- g -

-
Generated on Mon Dec 3 11:49:25 2007 for anytun by  - -doxygen 1.5.1
- - diff --git a/doc/html/functions_func_0x68.html b/doc/html/functions_func_0x68.html deleted file mode 100644 index 1d580de..0000000 --- a/doc/html/functions_func_0x68.html +++ /dev/null @@ -1,82 +0,0 @@ - - -anytun: Class Members - Functions - - - - -
-
-
-
-
- -
-
- -
- -

-  -

-

- h -

-
Generated on Mon Dec 3 11:49:25 2007 for anytun by  - -doxygen 1.5.1
- - diff --git a/doc/html/functions_func_0x69.html b/doc/html/functions_func_0x69.html deleted file mode 100644 index 1cfff83..0000000 --- a/doc/html/functions_func_0x69.html +++ /dev/null @@ -1,72 +0,0 @@ - - -anytun: Class Members - Functions - - - - -
-
-
-
-
- -
-
- -
- -

-  -

-

- i -

-
Generated on Mon Dec 3 11:49:25 2007 for anytun by  - -doxygen 1.5.1
- - diff --git a/doc/html/functions_func_0x6a.html b/doc/html/functions_func_0x6a.html deleted file mode 100644 index 81982c5..0000000 --- a/doc/html/functions_func_0x6a.html +++ /dev/null @@ -1,67 +0,0 @@ - - -anytun: Class Members - Functions - - - - -
-
-
-
-
- -
-
- -
- -

-  -

-

- j -

-
Generated on Mon Dec 3 11:49:25 2007 for anytun by  - -doxygen 1.5.1
- - diff --git a/doc/html/functions_func_0x6b.html b/doc/html/functions_func_0x6b.html deleted file mode 100644 index 36b2ab6..0000000 --- a/doc/html/functions_func_0x6b.html +++ /dev/null @@ -1,67 +0,0 @@ - - -anytun: Class Members - Functions - - - - -
-
-
-
-
- -
-
- -
- -

-  -

-

- k -

-
Generated on Mon Dec 3 11:49:25 2007 for anytun by  - -doxygen 1.5.1
- - diff --git a/doc/html/functions_func_0x6c.html b/doc/html/functions_func_0x6c.html deleted file mode 100644 index 50e635f..0000000 --- a/doc/html/functions_func_0x6c.html +++ /dev/null @@ -1,77 +0,0 @@ - - -anytun: Class Members - Functions - - - - -
-
-
-
-
- -
-
- -
- -

-  -

-

- l -

-
Generated on Mon Dec 3 11:49:25 2007 for anytun by  - -doxygen 1.5.1
- - diff --git a/doc/html/functions_func_0x6d.html b/doc/html/functions_func_0x6d.html deleted file mode 100644 index d514da8..0000000 --- a/doc/html/functions_func_0x6d.html +++ /dev/null @@ -1,69 +0,0 @@ - - -anytun: Class Members - Functions - - - - -
-
-
-
-
- -
-
- -
- -

-  -

-

- m -

-
Generated on Mon Dec 3 11:49:25 2007 for anytun by  - -doxygen 1.5.1
- - diff --git a/doc/html/functions_func_0x6f.html b/doc/html/functions_func_0x6f.html deleted file mode 100644 index a30d609..0000000 --- a/doc/html/functions_func_0x6f.html +++ /dev/null @@ -1,97 +0,0 @@ - - -anytun: Class Members - Functions - - - - -
-
-
-
-
- -
-
- -
- -

-  -

-

- o -

-
Generated on Mon Dec 3 11:49:25 2007 for anytun by  - -doxygen 1.5.1
- - diff --git a/doc/html/functions_func_0x70.html b/doc/html/functions_func_0x70.html deleted file mode 100644 index 69aadc5..0000000 --- a/doc/html/functions_func_0x70.html +++ /dev/null @@ -1,75 +0,0 @@ - - -anytun: Class Members - Functions - - - - -
-
-
-
-
- -
-
- -
- -

-  -

-

- p -

-
Generated on Mon Dec 3 11:49:25 2007 for anytun by  - -doxygen 1.5.1
- - diff --git a/doc/html/functions_func_0x72.html b/doc/html/functions_func_0x72.html deleted file mode 100644 index 2d33f96..0000000 --- a/doc/html/functions_func_0x72.html +++ /dev/null @@ -1,91 +0,0 @@ - - -anytun: Class Members - Functions - - - - -
-
-
-
-
- -
-
- -
- -

-  -

-

- r -

-
Generated on Mon Dec 3 11:49:25 2007 for anytun by  - -doxygen 1.5.1
- - diff --git a/doc/html/functions_func_0x73.html b/doc/html/functions_func_0x73.html deleted file mode 100644 index 3a129e3..0000000 --- a/doc/html/functions_func_0x73.html +++ /dev/null @@ -1,157 +0,0 @@ - - -anytun: Class Members - Functions - - - - -
-
-
-
-
- -
-
- -
- -

-  -

-

- s -

-
Generated on Mon Dec 3 11:49:25 2007 for anytun by  - -doxygen 1.5.1
- - diff --git a/doc/html/functions_func_0x74.html b/doc/html/functions_func_0x74.html deleted file mode 100644 index 5bb1114..0000000 --- a/doc/html/functions_func_0x74.html +++ /dev/null @@ -1,71 +0,0 @@ - - -anytun: Class Members - Functions - - - - -
-
-
-
-
- -
-
- -
- -

-  -

-

- t -

-
Generated on Mon Dec 3 11:49:25 2007 for anytun by  - -doxygen 1.5.1
- - diff --git a/doc/html/functions_func_0x75.html b/doc/html/functions_func_0x75.html deleted file mode 100644 index 4af2a72..0000000 --- a/doc/html/functions_func_0x75.html +++ /dev/null @@ -1,73 +0,0 @@ - - -anytun: Class Members - Functions - - - - -
-
-
-
-
- -
-
- -
- -

-  -

-

- u -

-
Generated on Mon Dec 3 11:49:25 2007 for anytun by  - -doxygen 1.5.1
- - diff --git a/doc/html/functions_func_0x77.html b/doc/html/functions_func_0x77.html deleted file mode 100644 index 37e9e32..0000000 --- a/doc/html/functions_func_0x77.html +++ /dev/null @@ -1,77 +0,0 @@ - - -anytun: Class Members - Functions - - - - -
-
-
-
-
- -
-
- -
- -

-  -

-

- w -

-
Generated on Mon Dec 3 11:49:25 2007 for anytun by  - -doxygen 1.5.1
- - diff --git a/doc/html/functions_func_0x7e.html b/doc/html/functions_func_0x7e.html deleted file mode 100644 index 6d326f2..0000000 --- a/doc/html/functions_func_0x7e.html +++ /dev/null @@ -1,109 +0,0 @@ - - -anytun: Class Members - Functions - - - - -
-
-
-
-
- -
-
- -
- -

-  -

-

- ~ -

-
Generated on Mon Dec 3 11:49:25 2007 for anytun by  - -doxygen 1.5.1
- - diff --git a/doc/html/functions_rela.html b/doc/html/functions_rela.html deleted file mode 100644 index 03806c3..0000000 --- a/doc/html/functions_rela.html +++ /dev/null @@ -1,54 +0,0 @@ - - -anytun: Class Members - Related Functions - - - - -
-
-
-
-
- -
-  -

-

-
Generated on Mon Dec 3 11:49:25 2007 for anytun by  - -doxygen 1.5.1
- - diff --git a/doc/html/functions_type.html b/doc/html/functions_type.html deleted file mode 100644 index 9a47f7c..0000000 --- a/doc/html/functions_type.html +++ /dev/null @@ -1,46 +0,0 @@ - - -anytun: Class Members - Typedefs - - - - -
-
-
-
-
- -
-  -

-

-
Generated on Mon Dec 3 11:49:25 2007 for anytun by  - -doxygen 1.5.1
- - diff --git a/doc/html/functions_vars.html b/doc/html/functions_vars.html deleted file mode 100644 index c5a6aa9..0000000 --- a/doc/html/functions_vars.html +++ /dev/null @@ -1,319 +0,0 @@ - - -anytun: Class Members - Variables - - - - -
-
-
-
-
- -
-
- -
- -

-  -

-

- _ -

-

- a -

-

- b -

-

- c -

-

- d -

-

- e -

-

- f -

-

- g -

-

- h -

-

- i -

-

- k -

-

- l -

-

- m -

-

- n -

-

- o -

-

- p -

-

- r -

-

- s -

-

- t -

-

- u -

-

- w -

-
Generated on Mon Dec 3 11:49:25 2007 for anytun by  - -doxygen 1.5.1
- - diff --git a/doc/html/globals.html b/doc/html/globals.html deleted file mode 100644 index c90093c..0000000 --- a/doc/html/globals.html +++ /dev/null @@ -1,163 +0,0 @@ - - -anytun: Class Members - - - - -
-
-
-
-
- -
-
- -
- -

-Here is a list of all file members with links to the files they belong to: -

-

- a -

-

- c -

-

- e -

-

- f -

-

- i -

-

- l -

-

- m -

-

- n -

-

- p -

-

- r -

-

- s -

-

- u -

-

- w -

-
Generated on Mon Dec 3 11:49:25 2007 for anytun by  - -doxygen 1.5.1
- - diff --git a/doc/html/globals_defs.html b/doc/html/globals_defs.html deleted file mode 100644 index 9fc1ae9..0000000 --- a/doc/html/globals_defs.html +++ /dev/null @@ -1,67 +0,0 @@ - - -anytun: Class Members - - - - -
-
-
-
-
- -
-  -

-

-
Generated on Mon Dec 3 11:49:25 2007 for anytun by  - -doxygen 1.5.1
- - diff --git a/doc/html/globals_enum.html b/doc/html/globals_enum.html deleted file mode 100644 index 3e6ba95..0000000 --- a/doc/html/globals_enum.html +++ /dev/null @@ -1,43 +0,0 @@ - - -anytun: Class Members - - - - -
-
-
-
-
- -
-  -

-

-
Generated on Mon Dec 3 11:49:25 2007 for anytun by  - -doxygen 1.5.1
- - diff --git a/doc/html/globals_eval.html b/doc/html/globals_eval.html deleted file mode 100644 index ae49325..0000000 --- a/doc/html/globals_eval.html +++ /dev/null @@ -1,51 +0,0 @@ - - -anytun: Class Members - - - - -
-
-
-
-
- -
-  -

-

-
Generated on Mon Dec 3 11:49:25 2007 for anytun by  - -doxygen 1.5.1
- - diff --git a/doc/html/globals_func.html b/doc/html/globals_func.html deleted file mode 100644 index 90b25d4..0000000 --- a/doc/html/globals_func.html +++ /dev/null @@ -1,49 +0,0 @@ - - -anytun: Class Members - - - - -
-
-
-
-
- -
-  -

-

-
Generated on Mon Dec 3 11:49:25 2007 for anytun by  - -doxygen 1.5.1
- - diff --git a/doc/html/globals_type.html b/doc/html/globals_type.html deleted file mode 100644 index d8eaed3..0000000 --- a/doc/html/globals_type.html +++ /dev/null @@ -1,63 +0,0 @@ - - -anytun: Class Members - - - - -
-
-
-
-
- -
-  -

-

-
Generated on Mon Dec 3 11:49:25 2007 for anytun by  - -doxygen 1.5.1
- - diff --git a/doc/html/globals_vars.html b/doc/html/globals_vars.html deleted file mode 100644 index 798de5e..0000000 --- a/doc/html/globals_vars.html +++ /dev/null @@ -1,42 +0,0 @@ - - -anytun: Class Members - - - - -
-
-
-
-
- -
-  -

-

-
Generated on Mon Dec 3 11:49:25 2007 for anytun by  - -doxygen 1.5.1
- - diff --git a/doc/html/hierarchy.html b/doc/html/hierarchy.html deleted file mode 100644 index adabb7e..0000000 --- a/doc/html/hierarchy.html +++ /dev/null @@ -1,89 +0,0 @@ - - -anytun: Hierarchical Index - - - - -
-
-
-
-

anytun Class Hierarchy

This inheritance list is sorted roughly, but not completely, alphabetically: -
Generated on Mon Dec 3 11:49:25 2007 for anytun by  - -doxygen 1.5.1
- - diff --git a/doc/html/index.html b/doc/html/index.html deleted file mode 100644 index 1b8693f..0000000 --- a/doc/html/index.html +++ /dev/null @@ -1,8 +0,0 @@ - - -anytun - - - - - diff --git a/doc/html/keyDerivation_8cpp.html b/doc/html/keyDerivation_8cpp.html deleted file mode 100644 index 5ef5a9f..0000000 --- a/doc/html/keyDerivation_8cpp.html +++ /dev/null @@ -1,32 +0,0 @@ - - -anytun: keyDerivation.cpp File Reference - - - - -
-
-
-
-

keyDerivation.cpp File Reference

#include "keyDerivation.h"
-#include <stdexcept>
-#include <iostream>
-#include <string>
-#include <gcrypt.h>
- - -
-
Generated on Mon Dec 3 11:49:24 2007 for anytun by  - -doxygen 1.5.1
- - diff --git a/doc/html/keyDerivation_8h-source.html b/doc/html/keyDerivation_8h-source.html deleted file mode 100644 index c21f190..0000000 --- a/doc/html/keyDerivation_8h-source.html +++ /dev/null @@ -1,95 +0,0 @@ - - -anytun: keyDerivation.h Source File - - - - -
-
-
-
-

keyDerivation.h

Go to the documentation of this file.
00001 /*
-00002  *  anytun
-00003  *
-00004  *  The secure anycast tunneling protocol (satp) defines a protocol used
-00005  *  for communication between any combination of unicast and anycast
-00006  *  tunnel endpoints.  It has less protocol overhead than IPSec in Tunnel
-00007  *  mode and allows tunneling of every ETHER TYPE protocol (e.g.
-00008  *  ethernet, ip, arp ...). satp directly includes cryptography and
-00009  *  message authentication based on the methodes used by SRTP.  It is
-00010  *  intended to deliver a generic, scaleable and secure solution for
-00011  *  tunneling and relaying of packets of any protocol.
-00012  *
-00013  *
-00014  *  Copyright (C) 2007 anytun.org <satp@wirdorange.org>
-00015  *
-00016  *  This program is free software; you can redistribute it and/or modify
-00017  *  it under the terms of the GNU General Public License version 2
-00018  *  as published by the Free Software Foundation.
-00019  *
-00020  *  This program is distributed in the hope that it will be useful,
-00021  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
-00022  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-00023  *  GNU General Public License for more details.
-00024  *
-00025  *  You should have received a copy of the GNU General Public License
-00026  *  along with this program (see the file COPYING included with this
-00027  *  distribution); if not, write to the Free Software Foundation, Inc.,
-00028  *  59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
-00029  */
-00030 
-00031 #ifndef _KEYDERIVATION_H_
-00032 #define _KEYDERIVATION_H_
-00033 
-00034 #include "datatypes.h"
-00035 #include "buffer.h"
-00036 
-00037 
-00038 extern "C" {
-00039   #include <gcrypt.h>
-00040 }
-00041 
-00042 
-00043 typedef enum {
-00044   label_satp_encryption  = 0x00,
-00045   label_satp_msg_auth    = 0x01,
-00046   label_satp_salt        = 0x02,
-00047 } satp_prf_label;
-00048 
-00049 class KeyDerivation
-00050 {
-00051 public:
-00052   KeyDerivation() : ld_kdr_(-1), cipher_(NULL) {};
-00053   virtual ~KeyDerivation() {};
-00054 
-00055   void init(Buffer key, Buffer salt);
-00056   void setLogKDRate(const u_int8_t ld_rate);
-00057   void generate(satp_prf_label label, seq_nr_t seq_nr, Buffer& key, u_int32_t length);
-00058   void clear();
-00059 
-00060 
-00061 protected:
-00062   int8_t ld_kdr_;     // ld(key_derivation_rate)
-00063   Buffer salt_;
-00064   static const char* MIN_GCRYPT_VERSION;
-00065 
-00066   gcry_cipher_hd_t cipher_;
-00067 };
-00068 
-00069 
-00070 #endif
-00071 
-

Generated on Mon Dec 3 11:49:24 2007 for anytun by  - -doxygen 1.5.1
- - diff --git a/doc/html/keyDerivation_8h.html b/doc/html/keyDerivation_8h.html deleted file mode 100644 index 9b3d465..0000000 --- a/doc/html/keyDerivation_8h.html +++ /dev/null @@ -1,67 +0,0 @@ - - -anytun: keyDerivation.h File Reference - - - - -
-
-
-
-

keyDerivation.h File Reference

#include "datatypes.h"
-#include "buffer.h"
-#include <gcrypt.h>
- -

-Go to the source code of this file. - - - - - - - -

Classes

class  KeyDerivation

Enumerations

enum  satp_prf_label { label_satp_encryption = 0x00, -label_satp_msg_auth = 0x01, -label_satp_salt = 0x02 - }
-


Enumeration Type Documentation

- -
-
- - - - -
enum satp_prf_label
-
-
- -

-

Enumerator:
- - - - -
label_satp_encryption  -
label_satp_msg_auth  -
label_satp_salt  -
-
- -
-

-


Generated on Mon Dec 3 11:49:25 2007 for anytun by  - -doxygen 1.5.1
- - diff --git a/doc/html/log_8cpp.html b/doc/html/log_8cpp.html deleted file mode 100644 index 458340e..0000000 --- a/doc/html/log_8cpp.html +++ /dev/null @@ -1,51 +0,0 @@ - - -anytun: log.cpp File Reference - - - - -
-
-
-
-

log.cpp File Reference

#include <iostream>
-#include <string>
-#include <syslog.h>
-#include "log.h"
-#include "threadUtils.hpp"
- - - - - -

Variables

LogcLog = Log::instance()
-

Variable Documentation

- -
-
- - - - -
Log& cLog = Log::instance()
-
-
- -

- -

-

-


Generated on Mon Dec 3 11:49:25 2007 for anytun by  - -doxygen 1.5.1
- - diff --git a/doc/html/log_8h-source.html b/doc/html/log_8h-source.html deleted file mode 100644 index 8a31ca2..0000000 --- a/doc/html/log_8h-source.html +++ /dev/null @@ -1,150 +0,0 @@ - - -anytun: log.h Source File - - - - -
-
-
-
-

log.h

Go to the documentation of this file.
00001 /*
-00002  *  anytun
-00003  *
-00004  *  The secure anycast tunneling protocol (satp) defines a protocol used
-00005  *  for communication between any combination of unicast and anycast
-00006  *  tunnel endpoints.  It has less protocol overhead than IPSec in Tunnel
-00007  *  mode and allows tunneling of every ETHER TYPE protocol (e.g.
-00008  *  ethernet, ip, arp ...). satp directly includes cryptography and
-00009  *  message authentication based on the methodes used by SRTP.  It is
-00010  *  intended to deliver a generic, scaleable and secure solution for
-00011  *  tunneling and relaying of packets of any protocol.
-00012  *
-00013  *
-00014  *  Copyright (C) 2007 anytun.org <satp@wirdorange.org>
-00015  *
-00016  *  This program is free software; you can redistribute it and/or modify
-00017  *  it under the terms of the GNU General Public License version 2
-00018  *  as published by the Free Software Foundation.
-00019  *
-00020  *  This program is distributed in the hope that it will be useful,
-00021  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
-00022  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-00023  *  GNU General Public License for more details.
-00024  *
-00025  *  You should have received a copy of the GNU General Public License
-00026  *  along with this program (see the file COPYING included with this
-00027  *  distribution); if not, write to the Free Software Foundation, Inc.,
-00028  *  59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
-00029  */
-00030 
-00031 #ifndef _LOG_H_
-00032 #define _LOG_H_
-00033 
-00034 #include <string>
-00035 #include <sstream>
-00036 #include <syslog.h>
-00037 
-00038 #include "threadUtils.hpp"
-00039 
-00040 class Log;
-00041 
-00042 class LogStringBuilder 
-00043 {
-00044 public:
-00045   LogStringBuilder(LogStringBuilder const& src);
-00046   LogStringBuilder(Log& l, int p);
-00047   ~LogStringBuilder();
-00048 
-00049   template<class T>
-00050   std::ostream& operator<<(T const& value) { return stream << value; }
-00051 
-00052 private:
-00053   Log& log;
-00054   int prio;
-00055   std::stringstream stream;
-00056 };
-00057 
-00058 class Log : public std::ostringstream
-00059 {
-00060 public:
-00061   static const int FAC_USER = LOG_USER;
-00062   static const int FAC_MAIL = LOG_MAIL;
-00063   static const int FAC_DAEMON = LOG_DAEMON;
-00064   static const int FAC_AUTH = LOG_AUTH;
-00065   static const int FAC_SYSLOG = LOG_SYSLOG;
-00066   static const int FAC_LPR = LOG_LPR;
-00067   static const int FAC_NEWS = LOG_NEWS;
-00068   static const int FAC_UUCP = LOG_UUCP;
-00069   static const int FAC_CRON = LOG_CRON;
-00070   static const int FAC_AUTHPRIV = LOG_AUTHPRIV;
-00071   static const int FAC_FTP = LOG_FTP;
-00072   static const int FAC_LOCAL0 = LOG_LOCAL0;
-00073   static const int FAC_LOCAL1 = LOG_LOCAL1;
-00074   static const int FAC_LOCAL2 = LOG_LOCAL2;
-00075   static const int FAC_LOCAL3 = LOG_LOCAL3;
-00076   static const int FAC_LOCAL4 = LOG_LOCAL4;
-00077   static const int FAC_LOCAL5 = LOG_LOCAL5;
-00078   static const int FAC_LOCAL6 = LOG_LOCAL6;
-00079   static const int FAC_LOCAL7 = LOG_LOCAL7;
-00080 
-00081   static const int PRIO_EMERG = LOG_EMERG;
-00082   static const int PRIO_ALERT = LOG_ALERT;
-00083   static const int PRIO_CRIT = LOG_CRIT;
-00084   static const int PRIO_ERR = LOG_ERR;
-00085   static const int PRIO_WARNING = LOG_WARNING;
-00086   static const int PRIO_NOTICE = LOG_NOTICE;
-00087   static const int PRIO_INFO = LOG_INFO;
-00088   static const int PRIO_DEBUG = LOG_DEBUG;
-00089 
-00090   static Log& instance();
-00091 
-00092   Log& setLogName(std::string newLogName); 
-00093   std::string getLogName() const { return logName; }
-00094   Log& setFacility(int newFacility);
-00095   int getFacility() const { return facility; }
-00096 
-00097   LogStringBuilder msg(int prio=PRIO_INFO) { return LogStringBuilder(*this, prio); }
-00098 
-00099 private:
-00100   Log();
-00101   ~Log();
-00102   Log(const Log &l);
-00103   void operator=(const Log &l);
-00104 
-00105   static Log* inst;
-00106   static Mutex instMutex;
-00107   class instanceCleaner {
-00108     public: ~instanceCleaner() {
-00109       if(Log::inst != 0)
-00110         delete Log::inst;
-00111     }
-00112   };
-00113   friend class instanceCleaner;
-00114 
-00115   void open();
-00116 
-00117   Mutex mutex;
-00118   friend class LogStringBuilder;
-00119 
-00120   std::string logName;
-00121   int facility;
-00122 };
-00123 
-00124 extern Log& cLog;
-00125 
-00126 #endif
-

Generated on Mon Dec 3 11:49:24 2007 for anytun by  - -doxygen 1.5.1
- - diff --git a/doc/html/log_8h.html b/doc/html/log_8h.html deleted file mode 100644 index d19f0f5..0000000 --- a/doc/html/log_8h.html +++ /dev/null @@ -1,59 +0,0 @@ - - -anytun: log.h File Reference - - - - -
-
-
-
-

log.h File Reference

#include <string>
-#include <sstream>
-#include <syslog.h>
-#include "threadUtils.hpp"
- -

-Go to the source code of this file. - - - - - - - - - - - -

Classes

class  LogStringBuilder
class  Log
class  Log::instanceCleaner

Variables

LogcLog
-


Variable Documentation

- -
-
- - - - -
Log& cLog
-
-
- -

- -

-

-


Generated on Mon Dec 3 11:49:25 2007 for anytun by  - -doxygen 1.5.1
- - diff --git a/doc/html/main.html b/doc/html/main.html deleted file mode 100644 index a996f47..0000000 --- a/doc/html/main.html +++ /dev/null @@ -1,21 +0,0 @@ - - -anytun: Main Page - - - - -
-
-

anytun Documentation

-

-


Generated on Mon Dec 3 11:49:24 2007 for anytun by  - -doxygen 1.5.1
- - diff --git a/doc/html/namespaces.html b/doc/html/namespaces.html deleted file mode 100644 index 317480d..0000000 --- a/doc/html/namespaces.html +++ /dev/null @@ -1,25 +0,0 @@ - - -anytun: Namespace Index - - - - -
-
-

anytun Namespace List

Here is a list of all namespaces with brief descriptions: - - - - -
satp
scapy::*
sockets
std
-
Generated on Mon Dec 3 11:49:25 2007 for anytun by  - -doxygen 1.5.1
- - diff --git a/doc/html/namespacesatp.html b/doc/html/namespacesatp.html deleted file mode 100644 index 7350ea2..0000000 --- a/doc/html/namespacesatp.html +++ /dev/null @@ -1,27 +0,0 @@ - - -anytun: satp Namespace Reference - - - - -
-
-

satp Namespace Reference

-

- - - - - -

Classes

class  SATP
-


Generated on Mon Dec 3 11:49:25 2007 for anytun by  - -doxygen 1.5.1
- - diff --git a/doc/html/namespacescapy_1_1_5.html b/doc/html/namespacescapy_1_1_5.html deleted file mode 100644 index 35f8937..0000000 --- a/doc/html/namespacescapy_1_1_5.html +++ /dev/null @@ -1,24 +0,0 @@ - - -anytun: scapy::* Namespace Reference - - - - -
-
-

scapy::* Namespace Reference

-

- - -
-


Generated on Mon Dec 3 11:49:25 2007 for anytun by  - -doxygen 1.5.1
- - diff --git a/doc/html/namespacestd.html b/doc/html/namespacestd.html deleted file mode 100644 index 9221963..0000000 --- a/doc/html/namespacestd.html +++ /dev/null @@ -1,24 +0,0 @@ - - -anytun: std Namespace Reference - - - - -
-
-

std Namespace Reference

-

- - -
-


Generated on Mon Dec 3 11:49:25 2007 for anytun by  - -doxygen 1.5.1
- - diff --git a/doc/html/options_8cpp.html b/doc/html/options_8cpp.html deleted file mode 100644 index 55dc4ca..0000000 --- a/doc/html/options_8cpp.html +++ /dev/null @@ -1,175 +0,0 @@ - - -anytun: options.cpp File Reference - - - - -
-
-
-
-

options.cpp File Reference

#include <iostream>
-#include <string>
-#include <sstream>
-#include "datatypes.h"
-#include "options.h"
- - - - - - - - - - - -

Defines

#define PARSE_BOOL_PARAM(SHORT, LONG, VALUE)
#define PARSE_INVERSE_BOOL_PARAM(SHORT, LONG, VALUE)
#define PARSE_SCALAR_PARAM(SHORT, LONG, VALUE)
#define PARSE_SCALAR_PARAM2(SHORT, LONG, VALUE1, VALUE2)
-

Define Documentation

- -
-
- - - - - - - - - - - - - - - -
#define PARSE_BOOL_PARAM (SHORT,
LONG,
VALUE   ) 
-
-
- -

-Value:

else if(str == SHORT || str == LONG)                 \
-      VALUE = true;
-
-
-

- -

-
- - - - - - - - - - - - - - - -
#define PARSE_INVERSE_BOOL_PARAM (SHORT,
LONG,
VALUE   ) 
-
-
- -

-Value:

else if(str == SHORT || str == LONG)                 \
-      VALUE = false;
-
-
-

- -

-
- - - - - - - - - - - - - - - -
#define PARSE_SCALAR_PARAM (SHORT,
LONG,
VALUE   ) 
-
-
- -

-Value:

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++;                                               \
-    }
-
-
-

- -

-
- - - - - - - - - - - - - - - - - - -
#define PARSE_SCALAR_PARAM2 (SHORT,
LONG,
VALUE1,
VALUE2   ) 
-
-
- -

-Value:

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;                                              \
-    }
-
-
-

-


Generated on Mon Dec 3 11:49:25 2007 for anytun by  - -doxygen 1.5.1
- - diff --git a/doc/html/options_8h-source.html b/doc/html/options_8h-source.html deleted file mode 100644 index 0462740..0000000 --- a/doc/html/options_8h-source.html +++ /dev/null @@ -1,121 +0,0 @@ - - -anytun: options.h Source File - - - - -
-
-
-
-

options.h

Go to the documentation of this file.
00001 /*
-00002  *  anytun
-00003  *
-00004  *  The secure anycast tunneling protocol (satp) defines a protocol used
-00005  *  for communication between any combination of unicast and anycast
-00006  *  tunnel endpoints.  It has less protocol overhead than IPSec in Tunnel
-00007  *  mode and allows tunneling of every ETHER TYPE protocol (e.g.
-00008  *  ethernet, ip, arp ...). satp directly includes cryptography and
-00009  *  message authentication based on the methodes used by SRTP.  It is
-00010  *  intended to deliver a generic, scaleable and secure solution for
-00011  *  tunneling and relaying of packets of any protocol.
-00012  *
-00013  *
-00014  *  Copyright (C) 2007 anytun.org <satp@wirdorange.org>
-00015  *
-00016  *  This program is free software; you can redistribute it and/or modify
-00017  *  it under the terms of the GNU General Public License version 2
-00018  *  as published by the Free Software Foundation.
-00019  *
-00020  *  This program is distributed in the hope that it will be useful,
-00021  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
-00022  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-00023  *  GNU General Public License for more details.
-00024  *
-00025  *  You should have received a copy of the GNU General Public License
-00026  *  along with this program (see the file COPYING included with this
-00027  *  distribution); if not, write to the Free Software Foundation, Inc.,
-00028  *  59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
-00029  */
-00030 
-00031 #ifndef _OPTIONS_H_
-00032 #define _OPTIONS_H_
-00033 
-00034 #include "datatypes.h"
-00035 #include "threadUtils.hpp"
-00036 
-00037 class Options
-00038 {
-00039 public:
-00040   Options();
-00041   bool parse(int argc, char* argv[]);
-00042   void printUsage();
-00043   void printOptions();
-00044 
-00045   std::string getProgname();
-00046   Options& setProgname(std::string p);
-00047   sender_id_t getSenderId();
-00048   Options& setSenderId(sender_id_t s);
-00049   std::string getLocalAddr();
-00050   Options& setLocalAddr(std::string l);
-00051   std::string getLocalSyncAddr();
-00052   Options& setLocalSyncAddr(std::string l);
-00053   u_int16_t getLocalPort();
-00054   Options& setLocalPort(u_int16_t l);
-00055   std::string getRemoteAddr();
-00056   Options& setRemoteAddr(std::string r);
-00057   u_int16_t getLocalSyncPort();
-00058   Options& setLocalSyncPort(u_int16_t l);
-00059   u_int16_t getRemotePort();
-00060   Options& setRemotePort(u_int16_t r);
-00061   Options& setRemoteAddrPort(std::string addr, u_int16_t port);
-00062   std::string getDevName();
-00063   Options& setDevName(std::string d);
-00064   std::string getDevType();
-00065   Options& setDevType(std::string d);
-00066   std::string getIfconfigParamLocal();
-00067   Options& setIfconfigParamLocal(std::string i);
-00068   std::string getIfconfigParamRemoteNetmask();
-00069   Options& setIfconfigParamRemoteNetmask(std::string i);
-00070   window_size_t getSeqWindowSize();
-00071   Options& setSeqWindowSize(window_size_t s);
-00072   std::string getCypher();
-00073   Options& setCypher(std::string c);
-00074   std::string getAuthAlgo();
-00075   Options& setAuthAlgo(std::string a);
-00076 
-00077 private:
-00078   Mutex mutex;
-00079 
-00080   std::string progname_;
-00081   sender_id_t sender_id_;
-00082   std::string local_addr_;
-00083   std::string local_sync_addr_;
-00084   u_int16_t local_port_;
-00085   u_int16_t local_sync_port_;
-00086   std::string remote_addr_;
-00087   u_int16_t remote_port_;
-00088   std::string dev_name_;
-00089   std::string dev_type_;
-00090   std::string ifconfig_param_local_;
-00091   std::string ifconfig_param_remote_netmask_;
-00092   window_size_t seq_window_size_;
-00093   std::string cypher_;
-00094   std::string auth_algo_;
-00095 };
-00096 
-00097 #endif
-

Generated on Mon Dec 3 11:49:24 2007 for anytun by  - -doxygen 1.5.1
- - diff --git a/doc/html/options_8h.html b/doc/html/options_8h.html deleted file mode 100644 index 5cea566..0000000 --- a/doc/html/options_8h.html +++ /dev/null @@ -1,34 +0,0 @@ - - -anytun: options.h File Reference - - - - -
-
-
-
-

options.h File Reference

#include "datatypes.h"
-#include "threadUtils.hpp"
- -

-Go to the source code of this file. - - - - -

Classes

class  Options
-


Generated on Mon Dec 3 11:49:25 2007 for anytun by  - -doxygen 1.5.1
- - diff --git a/doc/html/packetSource_8cpp.html b/doc/html/packetSource_8cpp.html deleted file mode 100644 index 2615f04..0000000 --- a/doc/html/packetSource_8cpp.html +++ /dev/null @@ -1,31 +0,0 @@ - - -anytun: packetSource.cpp File Reference - - - - -
-
-
-
-

packetSource.cpp File Reference

#include "datatypes.h"
-#include "packetSource.h"
-#include "buffer.h"
-#include "PracticalSocket.h"
- - -
-
Generated on Mon Dec 3 11:49:25 2007 for anytun by  - -doxygen 1.5.1
- - diff --git a/doc/html/packetSource_8h-source.html b/doc/html/packetSource_8h-source.html deleted file mode 100644 index 8bb8151..0000000 --- a/doc/html/packetSource_8h-source.html +++ /dev/null @@ -1,78 +0,0 @@ - - -anytun: packetSource.h Source File - - - - -
-
-
-
-

packetSource.h

Go to the documentation of this file.
00001 /*
-00002  *  anytun
-00003  *
-00004  *  The secure anycast tunneling protocol (satp) defines a protocol used
-00005  *  for communication between any combination of unicast and anycast
-00006  *  tunnel endpoints.  It has less protocol overhead than IPSec in Tunnel
-00007  *  mode and allows tunneling of every ETHER TYPE protocol (e.g.
-00008  *  ethernet, ip, arp ...). satp directly includes cryptography and
-00009  *  message authentication based on the methodes used by SRTP.  It is
-00010  *  intended to deliver a generic, scaleable and secure solution for
-00011  *  tunneling and relaying of packets of any protocol.
-00012  *
-00013  *
-00014  *  Copyright (C) 2007 anytun.org <satp@wirdorange.org>
-00015  *
-00016  *  This program is free software; you can redistribute it and/or modify
-00017  *  it under the terms of the GNU General Public License version 2
-00018  *  as published by the Free Software Foundation.
-00019  *
-00020  *  This program is distributed in the hope that it will be useful,
-00021  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
-00022  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-00023  *  GNU General Public License for more details.
-00024  *
-00025  *  You should have received a copy of the GNU General Public License
-00026  *  along with this program (see the file COPYING included with this
-00027  *  distribution); if not, write to the Free Software Foundation, Inc.,
-00028  *  59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
-00029  */
-00030 
-00031 #include "datatypes.h"
-00032 #include "buffer.h"
-00033 #include "PracticalSocket.h"
-00034 
-00035 class PacketSource
-00036 {
-00037 public:
-00038   virtual ~PacketSource() {}
-00039 
-00040   virtual u_int32_t recv(Buffer& buf, std::string& addr, u_int16_t &port) = 0;
-00041   virtual void send(Buffer& buf, std::string addr, u_int16_t port) = 0;
-00042 };
-00043 
-00044 class UDPPacketSource : public PacketSource, public UDPSocket
-00045 {  
-00046 public:
-00047   UDPPacketSource();
-00048   UDPPacketSource(u_int16_t port);
-00049   UDPPacketSource(std::string localaddr, u_int16_t port);
-00050 
-00051   u_int32_t recv(Buffer& buf, std::string& addr, u_int16_t &port);
-00052   void send(Buffer& buf, std::string addr, u_int16_t port);
-00053 };
-00054 
-

Generated on Mon Dec 3 11:49:24 2007 for anytun by  - -doxygen 1.5.1
- - diff --git a/doc/html/packetSource_8h.html b/doc/html/packetSource_8h.html deleted file mode 100644 index afc9c47..0000000 --- a/doc/html/packetSource_8h.html +++ /dev/null @@ -1,37 +0,0 @@ - - -anytun: packetSource.h File Reference - - - - -
-
-
-
-

packetSource.h File Reference

#include "datatypes.h"
-#include "buffer.h"
-#include "PracticalSocket.h"
- -

-Go to the source code of this file. - - - - - - -

Classes

class  PacketSource
class  UDPPacketSource
-


Generated on Mon Dec 3 11:49:25 2007 for anytun by  - -doxygen 1.5.1
- - diff --git a/doc/html/packet_8cpp.html b/doc/html/packet_8cpp.html deleted file mode 100644 index f0b45bb..0000000 --- a/doc/html/packet_8cpp.html +++ /dev/null @@ -1,31 +0,0 @@ - - -anytun: packet.cpp File Reference - - - - -
-
-
-
-

packet.cpp File Reference

#include <stdexcept>
-#include <arpa/inet.h>
-#include "datatypes.h"
-#include "packet.h"
- - -
-
Generated on Mon Dec 3 11:49:25 2007 for anytun by  - -doxygen 1.5.1
- - diff --git a/doc/html/packet_8h-source.html b/doc/html/packet_8h-source.html deleted file mode 100644 index f66d440..0000000 --- a/doc/html/packet_8h-source.html +++ /dev/null @@ -1,100 +0,0 @@ - - -anytun: packet.h Source File - - - - -
-
-
-
-

packet.h

Go to the documentation of this file.
00001 /*
-00002  *  anytun
-00003  *
-00004  *  The secure anycast tunneling protocol (satp) defines a protocol used
-00005  *  for communication between any combination of unicast and anycast
-00006  *  tunnel endpoints.  It has less protocol overhead than IPSec in Tunnel
-00007  *  mode and allows tunneling of every ETHER TYPE protocol (e.g.
-00008  *  ethernet, ip, arp ...). satp directly includes cryptography and
-00009  *  message authentication based on the methodes used by SRTP.  It is
-00010  *  intended to deliver a generic, scaleable and secure solution for
-00011  *  tunneling and relaying of packets of any protocol.
-00012  *
-00013  *
-00014  *  Copyright (C) 2007 anytun.org <satp@wirdorange.org>
-00015  *
-00016  *  This program is free software; you can redistribute it and/or modify
-00017  *  it under the terms of the GNU General Public License version 2
-00018  *  as published by the Free Software Foundation.
-00019  *
-00020  *  This program is distributed in the hope that it will be useful,
-00021  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
-00022  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-00023  *  GNU General Public License for more details.
-00024  *
-00025  *  You should have received a copy of the GNU General Public License
-00026  *  along with this program (see the file COPYING included with this
-00027  *  distribution); if not, write to the Free Software Foundation, Inc.,
-00028  *  59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
-00029  */
-00030 
-00031 #ifndef _PACKET_H_
-00032 #define _PACKET_H_
-00033 
-00034 #include "datatypes.h"
-00035 #include "buffer.h"
-00036 
-00037 class Packet : public Buffer
-00038 {
-00039 public:
-00040   Packet();
-00041   Packet(u_int32_t length);
-00042   Packet(const Buffer &src);
-00043   
-00044   bool hasHeader() const;
-00045   Packet& withHeader(bool b);
-00046   seq_nr_t getSeqNr() const;
-00047   sender_id_t getSenderId() const;
-00048   Packet& addHeader(seq_nr_t seq_nr, sender_id_t sender_id);
-00049   Packet& removeHeader();
-00050   Packet& setSeqNr(seq_nr_t seq_nr);
-00051   Packet& setSenderId(sender_id_t sender_id);
-00052                        
-00053   bool hasPayloadType() const;
-00054   Packet& withPayloadType(bool b);
-00055   payload_type_t getPayloadType() const;  
-00056   Packet& addPayloadType(payload_type_t payload_type);
-00057   Packet& removePayloadType();
-00058   
-00059   bool hasAuthTag() const;
-00060   Packet& withAuthTag(bool b);
-00061   auth_tag_t getAuthTag() const;
-00062   Packet& addAuthTag(auth_tag_t auth_tag);
-00063   Packet& removeAuthTag();                     
-00064 
-00065 private:
-00066   struct HeaderStruct
-00067   {
-00068     seq_nr_t seq_nr;
-00069     sender_id_t sender_id;
-00070   }__attribute__((__packed__));
-00071   bool has_header_;
-00072   bool has_payload_type_;
-00073   bool has_auth_tag_;
-00074 };
-00075 
-00076 #endif
-

Generated on Mon Dec 3 11:49:24 2007 for anytun by  - -doxygen 1.5.1
- - diff --git a/doc/html/packet_8h.html b/doc/html/packet_8h.html deleted file mode 100644 index 94b6f21..0000000 --- a/doc/html/packet_8h.html +++ /dev/null @@ -1,36 +0,0 @@ - - -anytun: packet.h File Reference - - - - -
-
-
-
-

packet.h File Reference

#include "datatypes.h"
-#include "buffer.h"
- -

-Go to the source code of this file. - - - - - - -

Classes

class  Packet
struct  Packet::HeaderStruct
-


Generated on Mon Dec 3 11:49:25 2007 for anytun by  - -doxygen 1.5.1
- - diff --git a/doc/html/satp_8py.html b/doc/html/satp_8py.html deleted file mode 100644 index 4a7a53d..0000000 --- a/doc/html/satp_8py.html +++ /dev/null @@ -1,35 +0,0 @@ - - -anytun: satp.py File Reference - - - - -
-
-
-
-

satp.py File Reference

- - - - - - - - - -

Namespaces

namespace  satp
namespace  scapy::*

Classes

class  satp::SATP
-
Generated on Mon Dec 3 11:49:25 2007 for anytun by  - -doxygen 1.5.1
- - diff --git a/doc/html/seqWindow_8cpp.html b/doc/html/seqWindow_8cpp.html deleted file mode 100644 index d220208..0000000 --- a/doc/html/seqWindow_8cpp.html +++ /dev/null @@ -1,30 +0,0 @@ - - -anytun: seqWindow.cpp File Reference - - - - -
-
-
-
-

seqWindow.cpp File Reference

#include "threadUtils.hpp"
-#include "datatypes.h"
-#include "seqWindow.h"
- - -
-
Generated on Mon Dec 3 11:49:25 2007 for anytun by  - -doxygen 1.5.1
- - diff --git a/doc/html/seqWindow_8h-source.html b/doc/html/seqWindow_8h-source.html deleted file mode 100644 index a58960b..0000000 --- a/doc/html/seqWindow_8h-source.html +++ /dev/null @@ -1,88 +0,0 @@ - - -anytun: seqWindow.h Source File - - - - -
-
-
-
-

seqWindow.h

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

Generated on Mon Dec 3 11:49:24 2007 for anytun by  - -doxygen 1.5.1
- - diff --git a/doc/html/seqWindow_8h.html b/doc/html/seqWindow_8h.html deleted file mode 100644 index a52fdf5..0000000 --- a/doc/html/seqWindow_8h.html +++ /dev/null @@ -1,36 +0,0 @@ - - -anytun: seqWindow.h File Reference - - - - -
-
-
-
-

seqWindow.h File Reference

#include <map>
-#include <deque>
-#include "threadUtils.hpp"
-#include "datatypes.h"
- -

-Go to the source code of this file. - - - - -

Classes

class  SeqWindow
-


Generated on Mon Dec 3 11:49:25 2007 for anytun by  - -doxygen 1.5.1
- - diff --git a/doc/html/signalController_8cpp.html b/doc/html/signalController_8cpp.html deleted file mode 100644 index 462e5cc..0000000 --- a/doc/html/signalController_8cpp.html +++ /dev/null @@ -1,33 +0,0 @@ - - -anytun: signalController.cpp File Reference - - - - -
-
-
-
-

signalController.cpp File Reference

#include <csignal>
-#include <map>
-#include <iostream>
-#include "threadUtils.hpp"
-#include "signalController.h"
-#include "log.h"
- - -
-
Generated on Mon Dec 3 11:49:25 2007 for anytun by  - -doxygen 1.5.1
- - diff --git a/doc/html/signalController_8h-source.html b/doc/html/signalController_8h-source.html deleted file mode 100644 index 81148b5..0000000 --- a/doc/html/signalController_8h-source.html +++ /dev/null @@ -1,145 +0,0 @@ - - -anytun: signalController.h Source File - - - - -
-
-
-
-

signalController.h

Go to the documentation of this file.
00001 /*
-00002  *  anytun
-00003  *
-00004  *  The secure anycast tunneling protocol (satp) defines a protocol used
-00005  *  for communication between any combination of unicast and anycast
-00006  *  tunnel endpoints.  It has less protocol overhead than IPSec in Tunnel
-00007  *  mode and allows tunneling of every ETHER TYPE protocol (e.g.
-00008  *  ethernet, ip, arp ...). satp directly includes cryptography and
-00009  *  message authentication based on the methodes used by SRTP.  It is
-00010  *  intended to deliver a generic, scaleable and secure solution for
-00011  *  tunneling and relaying of packets of any protocol.
-00012  *
-00013  *
-00014  *  Copyright (C) 2007 anytun.org <satp@wirdorange.org>
-00015  *
-00016  *  This program is free software; you can redistribute it and/or modify
-00017  *  it under the terms of the GNU General Public License version 2
-00018  *  as published by the Free Software Foundation.
-00019  *
-00020  *  This program is distributed in the hope that it will be useful,
-00021  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
-00022  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-00023  *  GNU General Public License for more details.
-00024  *
-00025  *  You should have received a copy of the GNU General Public License
-00026  *  along with this program (see the file COPYING included with this
-00027  *  distribution); if not, write to the Free Software Foundation, Inc.,
-00028  *  59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
-00029  */
-00030 
-00031 #ifndef _SIGNAL_CONTROLLER_H_
-00032 #define _SIGNAL_CONTROLLER_H_
-00033 
-00034 #include <csignal>
-00035 #include <map>
-00036 #include <queue>
-00037 
-00038 #include "threadUtils.hpp"
-00039 
-00040 class SignalHandler
-00041 {
-00042 public:
-00043   virtual ~SignalHandler() {}
-00044 
-00045   virtual int handle() { return 0; }
-00046 
-00047 protected:
-00048   SignalHandler(int s) : sigNum(s) {}
-00049 
-00050 private:
-00051   int sigNum;
-00052   friend class SignalController;
-00053 };
-00054 
-00055 class SigIntHandler : public SignalHandler
-00056 {
-00057 public:
-00058   SigIntHandler() : SignalHandler(SIGINT) {}
-00059   int handle();
-00060 };
-00061 
-00062 class SigQuitHandler : public SignalHandler
-00063 {
-00064 public:
-00065   SigQuitHandler() : SignalHandler(SIGQUIT) {}
-00066   int handle();
-00067 };
-00068 
-00069 class SigHupHandler : public SignalHandler
-00070 {
-00071 public:
-00072   SigHupHandler() : SignalHandler(SIGHUP) {}
-00073   int handle();
-00074 };
-00075 
-00076 class SigUsr1Handler : public SignalHandler
-00077 {
-00078 public:
-00079   SigUsr1Handler() : SignalHandler(SIGUSR1) {}
-00080   int handle();
-00081 };
-00082 
-00083 class SigUsr2Handler : public SignalHandler
-00084 {
-00085 public:
-00086   SigUsr2Handler() : SignalHandler(SIGUSR2) {}
-00087   int handle();
-00088 };
-00089 
-00090 class SigTermHandler : public SignalHandler
-00091 {
-00092 public:
-00093   SigTermHandler() : SignalHandler(SIGTERM) {}
-00094   int handle();
-00095 };
-00096 
-00097 class SignalController
-00098 {
-00099 public:
-00100   SignalController() {}
-00101   ~SignalController();
-00102   static void* handle(void* s);
-00103 
-00104   void init();
-00105   int run();
-00106 
-00107 private:
-00108   typedef std::map<int, SignalHandler*> HandlerMap;
-00109 
-00110   SignalController(const SignalController &s);
-00111   void operator=(const SignalController &s);
-00112   
-00113   std::queue<int> sigQueue;
-00114   Mutex sigQueueMutex;
-00115   Semaphore sigQueueSem;
-00116 
-00117   pthread_t thread;
-00118   HandlerMap handler;
-00119 };
-00120 
-00121 #endif
-

Generated on Mon Dec 3 11:49:24 2007 for anytun by  - -doxygen 1.5.1
- - diff --git a/doc/html/signalController_8h.html b/doc/html/signalController_8h.html deleted file mode 100644 index 48f2096..0000000 --- a/doc/html/signalController_8h.html +++ /dev/null @@ -1,50 +0,0 @@ - - -anytun: signalController.h File Reference - - - - -
-
-
-
-

signalController.h File Reference

#include <csignal>
-#include <map>
-#include <queue>
-#include "threadUtils.hpp"
- -

-Go to the source code of this file. - - - - - - - - - - - - - - - - - - -

Classes

class  SignalHandler
class  SigIntHandler
class  SigQuitHandler
class  SigHupHandler
class  SigUsr1Handler
class  SigUsr2Handler
class  SigTermHandler
class  SignalController
-


Generated on Mon Dec 3 11:49:25 2007 for anytun by  - -doxygen 1.5.1
- - diff --git a/doc/html/structPacket_1_1HeaderStruct-members.html b/doc/html/structPacket_1_1HeaderStruct-members.html deleted file mode 100644 index b20107c..0000000 --- a/doc/html/structPacket_1_1HeaderStruct-members.html +++ /dev/null @@ -1,28 +0,0 @@ - - -anytun: Member List - - - - -
-
-
-
-

Packet::HeaderStruct Member List

This is the complete list of members for Packet::HeaderStruct, including all inherited members.

- - -
sender_idPacket::HeaderStruct
seq_nrPacket::HeaderStruct


Generated on Mon Dec 3 11:49:25 2007 for anytun by  - -doxygen 1.5.1
- - diff --git a/doc/html/structPacket_1_1HeaderStruct.html b/doc/html/structPacket_1_1HeaderStruct.html deleted file mode 100644 index 687a44a..0000000 --- a/doc/html/structPacket_1_1HeaderStruct.html +++ /dev/null @@ -1,68 +0,0 @@ - - -anytun: Packet::HeaderStruct Struct Reference - - - - -
-
-
-
- -

Packet::HeaderStruct Struct Reference

List of all members. - - - - - - -

Public Attributes

seq_nr_t seq_nr
sender_id_t sender_id
-

Member Data Documentation

- -
- -
- -

- -

-

- -

- -
- -

- -

-

-


The documentation for this struct was generated from the following file: -
Generated on Mon Dec 3 11:49:25 2007 for anytun by  - -doxygen 1.5.1
- - diff --git a/doc/html/structParam-members.html b/doc/html/structParam-members.html deleted file mode 100644 index 01a4162..0000000 --- a/doc/html/structParam-members.html +++ /dev/null @@ -1,33 +0,0 @@ - - -anytun: Member List - - - - -
-
-
-
-

Param Member List

This is the complete list of members for Param, including all inherited members.

- - - - - - - -
aParam
cParam
devParam
kdParam
optParam
seqParam
srcParam


Generated on Mon Dec 3 11:49:25 2007 for anytun by  - -doxygen 1.5.1
- - diff --git a/doc/html/structParam.html b/doc/html/structParam.html deleted file mode 100644 index 3bbaebc..0000000 --- a/doc/html/structParam.html +++ /dev/null @@ -1,151 +0,0 @@ - - -anytun: Param Struct Reference - - - - -
-
-
-
-

Param Struct Reference

List of all members. - - - - - - - - - - - - - - - - -

Public Attributes

Optionsopt
TunDevicedev
KeyDerivationkd
Cypherc
AuthAlgoa
PacketSourcesrc
SeqWindowseq
-

Member Data Documentation

- -
-
- - - - -
Options& Param::opt
-
-
- -

- -

-

- -

-
- - - - -
TunDevice& Param::dev
-
-
- -

- -

-

- -

-
- - - - -
KeyDerivation& Param::kd
-
-
- -

- -

-

- -

-
- - - - -
Cypher& Param::c
-
-
- -

- -

-

- -

-
- - - - -
AuthAlgo& Param::a
-
-
- -

- -

-

- -

-
- - - - -
PacketSource& Param::src
-
-
- -

- -

-

- -

-
- - - - -
SeqWindow& Param::seq
-
-
- -

- -

-

-


The documentation for this struct was generated from the following file: -
Generated on Mon Dec 3 11:49:25 2007 for anytun by  - -doxygen 1.5.1
- - diff --git a/doc/html/tab_b.gif b/doc/html/tab_b.gif deleted file mode 100644 index 0d62348..0000000 Binary files a/doc/html/tab_b.gif and /dev/null differ diff --git a/doc/html/tab_l.gif b/doc/html/tab_l.gif deleted file mode 100644 index 9b1e633..0000000 Binary files a/doc/html/tab_l.gif and /dev/null differ diff --git a/doc/html/tab_r.gif b/doc/html/tab_r.gif deleted file mode 100644 index ce9dd9f..0000000 Binary files a/doc/html/tab_r.gif and /dev/null differ diff --git a/doc/html/tabs.css b/doc/html/tabs.css deleted file mode 100644 index a61552a..0000000 --- a/doc/html/tabs.css +++ /dev/null @@ -1,102 +0,0 @@ -/* 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 deleted file mode 100644 index b6e3af9..0000000 --- a/doc/html/threadUtils_8hpp-source.html +++ /dev/null @@ -1,198 +0,0 @@ - - -anytun: threadUtils.hpp Source File - - - - -
-
-
-
-

threadUtils.hpp

Go to the documentation of this file.
00001 /*
-00002  *  anytun
-00003  *
-00004  *  The secure anycast tunneling protocol (satp) defines a protocol used
-00005  *  for communication between any combination of unicast and anycast
-00006  *  tunnel endpoints.  It has less protocol overhead than IPSec in Tunnel
-00007  *  mode and allows tunneling of every ETHER TYPE protocol (e.g.
-00008  *  ethernet, ip, arp ...). satp directly includes cryptography and
-00009  *  message authentication based on the methodes used by SRTP.  It is
-00010  *  intended to deliver a generic, scaleable and secure solution for
-00011  *  tunneling and relaying of packets of any protocol.
-00012  *
-00013  *
-00014  *  Copyright (C) 2007 anytun.org <satp@wirdorange.org>
-00015  *
-00016  *  This program is free software; you can redistribute it and/or modify
-00017  *  it under the terms of the GNU General Public License version 2
-00018  *  as published by the Free Software Foundation.
-00019  *
-00020  *  This program is distributed in the hope that it will be useful,
-00021  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
-00022  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-00023  *  GNU General Public License for more details.
-00024  *
-00025  *  You should have received a copy of the GNU General Public License
-00026  *  along with this program (see the file COPYING included with this
-00027  *  distribution); if not, write to the Free Software Foundation, Inc.,
-00028  *  59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
-00029  */
-00030 
-00031 #ifndef _THREADUTILS_HPP_
-00032 #define _THREADUTILS_HPP_
-00033 
-00034 #include <stdexcept>
-00035 #include <semaphore.h>
-00036 
-00037 class Mutex 
-00038 {
-00039 public:
-00040   Mutex() 
-00041   { 
-00042     if(pthread_mutex_init(&mutex,NULL)) 
-00043       throw std::runtime_error("can't create mutex");
-00044   }
-00045 
-00046   ~Mutex()
-00047   {
-00048     pthread_mutex_destroy(&mutex);
-00049   }
-00050   
-00051 private:
-00052   Mutex(const Mutex& src);
-00053   void operator=(const Mutex& src);
-00054   
-00055   void lock()
-00056   {
-00057     if(pthread_mutex_lock(&mutex)) 
-00058       throw std::runtime_error("can't lock mutex");
-00059   }
-00060   
-00061   void unlock()
-00062   {
-00063     if(pthread_mutex_unlock(&mutex)) 
-00064       throw std::runtime_error("can't unlock mutex");
-00065   }
-00066   friend class Lock;
-00067   friend class Condition;
-00068   pthread_mutex_t mutex;
-00069 };
-00070 
-00071 
-00072 class Lock
-00073 {
-00074 public:
-00075   Lock(Mutex &m) : mutex(m)
-00076   {
-00077     mutex.lock();
-00078   }
-00079   
-00080   ~Lock()
-00081   {
-00082     mutex.unlock();
-00083   }
-00084 
-00085 private:
-00086   Lock(const Lock& src);
-00087   void operator=(const Lock& src);
-00088 
-00089   Mutex &mutex;
-00090 };
-00091 
-00092 class Condition
-00093 {
-00094 public:
-00095   Condition()
-00096   {
-00097     if(pthread_cond_init(&cond, NULL)) 
-00098       throw std::runtime_error("can't create condition");
-00099   }
-00100 
-00101   ~Condition()
-00102   {
-00103     pthread_cond_destroy(&cond);
-00104   }
-00105   
-00106   void wait()
-00107   {
-00108     mutex.lock();
-00109     if(pthread_cond_wait(&cond, &mutex.mutex)) 
-00110     {
-00111       mutex.unlock();
-00112       throw std::runtime_error("error on waiting for condition");
-00113     }
-00114     mutex.unlock();
-00115   }
-00116 
-00117   void signal()
-00118   {
-00119     mutex.lock();
-00120     if(pthread_cond_signal(&cond)) 
-00121     {
-00122       mutex.unlock();
-00123       throw std::runtime_error("can't signal condition");
-00124     }
-00125     mutex.unlock();
-00126   }
-00127 
-00128   void broadcast()
-00129   {
-00130     mutex.lock();
-00131     if(pthread_cond_broadcast(&cond)) 
-00132     {
-00133       mutex.unlock();
-00134       throw std::runtime_error("can't broadcast condition");
-00135     }
-00136     mutex.unlock();
-00137   }
-00138   
-00139 private:
-00140   pthread_cond_t cond;
-00141   Mutex mutex;
-00142 };
-00143 
-00144 class Semaphore
-00145 {
-00146 public:
-00147   Semaphore(unsigned int initVal=0)
-00148   {
-00149     if(sem_init(&sem, 0, initVal))
-00150       throw std::runtime_error("can't create semaphore");
-00151   }
-00152 
-00153   ~Semaphore()
-00154   {
-00155     sem_destroy(&sem);
-00156   }
-00157   
-00158   void down()
-00159   {
-00160     if(sem_wait(&sem)) 
-00161       throw std::runtime_error("error on semaphore down");
-00162   }
-00163 
-00164   void up()
-00165   {
-00166     if(sem_post(&sem)) 
-00167       throw std::runtime_error("error on semaphore up");
-00168   }
-00169 
-00170 private:
-00171   sem_t sem;
-00172 };
-00173 
-00174 #endif
-

Generated on Mon Dec 3 11:49:24 2007 for anytun by  - -doxygen 1.5.1
- - diff --git a/doc/html/threadUtils_8hpp.html b/doc/html/threadUtils_8hpp.html deleted file mode 100644 index 324b431..0000000 --- a/doc/html/threadUtils_8hpp.html +++ /dev/null @@ -1,40 +0,0 @@ - - -anytun: threadUtils.hpp File Reference - - - - -
-
-
-
-

threadUtils.hpp File Reference

#include <stdexcept>
-#include <semaphore.h>
- -

-Go to the source code of this file. - - - - - - - - - - -

Classes

class  Mutex
class  Lock
class  Condition
class  Semaphore
-


Generated on Mon Dec 3 11:49:25 2007 for anytun by  - -doxygen 1.5.1
- - diff --git a/doc/html/tree.html b/doc/html/tree.html deleted file mode 100644 index 461b9b4..0000000 --- a/doc/html/tree.html +++ /dev/null @@ -1,230 +0,0 @@ - - - - - - - TreeView - - - - -
-

anytun

-
-

o+Class List

- -

o+Class Hierarchy

- -

o*Class Members

-

o+Namespace List

-
-

|o*satp

-

|o*scapy::*

-

|o*sockets

-

|\*std

-
-

o+File List

- -

\*File Members

-
-
- - diff --git a/doc/html/tunDevice_8cpp.html b/doc/html/tunDevice_8cpp.html deleted file mode 100644 index 372f22f..0000000 --- a/doc/html/tunDevice_8cpp.html +++ /dev/null @@ -1,34 +0,0 @@ - - -anytun: tunDevice.cpp File Reference - - - - -
-
-
-
-

tunDevice.cpp File Reference

#include <stdexcept>
-#include <poll.h>
-#include "openvpn/config.h"
-#include "openvpn/syshead.h"
-#include "openvpn/tun.h"
-#include "tunDevice.h"
-#include "threadUtils.hpp"
- - -
-
Generated on Mon Dec 3 11:49:25 2007 for anytun by  - -doxygen 1.5.1
- - diff --git a/doc/html/tunDevice_8h-source.html b/doc/html/tunDevice_8h-source.html deleted file mode 100644 index 076134d..0000000 --- a/doc/html/tunDevice_8h-source.html +++ /dev/null @@ -1,90 +0,0 @@ - - -anytun: tunDevice.h Source File - - - - -
-
-
-
-

tunDevice.h

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

Generated on Mon Dec 3 11:49:24 2007 for anytun by  - -doxygen 1.5.1
- - diff --git a/doc/html/tunDevice_8h.html b/doc/html/tunDevice_8h.html deleted file mode 100644 index 3065963..0000000 --- a/doc/html/tunDevice_8h.html +++ /dev/null @@ -1,34 +0,0 @@ - - -anytun: tunDevice.h File Reference - - - - -
-
-
-
-

tunDevice.h File Reference

#include "buffer.h"
-#include "threadUtils.hpp"
- -

-Go to the source code of this file. - - - - -

Classes

class  TunDevice
-


Generated on Mon Dec 3 11:49:25 2007 for anytun by  - -doxygen 1.5.1
- - diff --git a/doc/latex/FreeSans.ttf b/doc/latex/FreeSans.ttf deleted file mode 100644 index b550b90..0000000 Binary files a/doc/latex/FreeSans.ttf and /dev/null differ diff --git a/doc/latex/Makefile b/doc/latex/Makefile deleted file mode 100644 index 776fcf9..0000000 --- a/doc/latex/Makefile +++ /dev/null @@ -1,39 +0,0 @@ -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 deleted file mode 100644 index cce6c88..0000000 --- a/doc/latex/PracticalSocket_8cpp.tex +++ /dev/null @@ -1,41 +0,0 @@ -\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 deleted file mode 100644 index c7eefb2..0000000 --- a/doc/latex/PracticalSocket_8h.tex +++ /dev/null @@ -1,19 +0,0 @@ -\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 deleted file mode 100644 index bdb0d2f..0000000 --- a/doc/latex/annotated.tex +++ /dev/null @@ -1,46 +0,0 @@ -\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 Connection\-List} }{\pageref{classConnectionList}}{} -\item\contentsline{section}{{\bf Connection\-Param} }{\pageref{classConnectionParam}}{} -\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 Network\-Address} }{\pageref{classNetworkAddress}}{} -\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 Router} }{\pageref{classRouter}}{} -\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 Sync\-Socket} }{\pageref{classSyncSocket}}{} -\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 deleted file mode 100644 index 37d6da4..0000000 --- a/doc/latex/anytun_8cpp.tex +++ /dev/null @@ -1,75 +0,0 @@ -\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 sync\_\-receiver} (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} - - -\index{anytun.cpp@{anytun.cpp}!sync_receiver@{sync\_\-receiver}} -\index{sync_receiver@{sync\_\-receiver}!anytun.cpp@{anytun.cpp}} -\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void$\ast$ sync\_\-receiver (void $\ast$ {\em p})}\label{anytun_8cpp_4fd43e7c243b1cc78c583a915dfd4d55} - - diff --git a/doc/latex/authAlgo_8cpp.tex b/doc/latex/authAlgo_8cpp.tex deleted file mode 100644 index d68ac70..0000000 --- a/doc/latex/authAlgo_8cpp.tex +++ /dev/null @@ -1,4 +0,0 @@ -\section{auth\-Algo.cpp File Reference} -\label{authAlgo_8cpp}\index{authAlgo.cpp@{authAlgo.cpp}} -{\tt \#include \char`\"{}auth\-Algo.h\char`\"{}}\par -{\tt \#include $<$gcrypt.h$>$}\par diff --git a/doc/latex/authAlgo_8h.tex b/doc/latex/authAlgo_8h.tex deleted file mode 100644 index 0baf9d1..0000000 --- a/doc/latex/authAlgo_8h.tex +++ /dev/null @@ -1,13 +0,0 @@ -\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 deleted file mode 100644 index 396706c..0000000 --- a/doc/latex/buffer_8cpp.tex +++ /dev/null @@ -1,8 +0,0 @@ -\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 deleted file mode 100644 index 4e803f6..0000000 --- a/doc/latex/buffer_8h.tex +++ /dev/null @@ -1,8 +0,0 @@ -\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 deleted file mode 100644 index 780bc00..0000000 --- a/doc/latex/classAesIcmCypher.eps +++ /dev/null @@ -1,197 +0,0 @@ -%!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 deleted file mode 100644 index 5f27232..0000000 --- a/doc/latex/classAesIcmCypher.tex +++ /dev/null @@ -1,116 +0,0 @@ -\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 char $\ast$ {\bf MIN\_\-GCRYPT\_\-VERSION} -\item -static const {\bf u\_\-int32\_\-t} {\bf GCRYPT\_\-SEC\_\-MEM} = 16384 -\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 char $\ast$ {\bf Aes\-Icm\-Cypher::MIN\_\-GCRYPT\_\-VERSION}\hspace{0.3cm}{\tt [static]}}\label{classAesIcmCypher_a51dfb2f03f214c03b5b45f84279023f} - - -\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} = 16384\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 deleted file mode 100644 index 7987c68..0000000 --- a/doc/latex/classAuthAlgo.eps +++ /dev/null @@ -1,203 +0,0 @@ -%!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 deleted file mode 100644 index e2e27c2..0000000 --- a/doc/latex/classAuthAlgo.tex +++ /dev/null @@ -1,47 +0,0 @@ -\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 deleted file mode 100644 index ca87588..0000000 --- a/doc/latex/classBuffer.eps +++ /dev/null @@ -1,203 +0,0 @@ -%!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 deleted file mode 100644 index 94db2f0..0000000 --- a/doc/latex/classBuffer.tex +++ /dev/null @@ -1,198 +0,0 @@ -\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 -void {\bf operator=} (const {\bf seq\_\-nr\_\-t} \&src) -\item -void {\bf operator=} (const {\bf sender\_\-id\_\-t} \&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} -\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=}} -\index{operator=@{operator=}!Buffer@{Buffer}} -\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void Buffer::operator= (const {\bf seq\_\-nr\_\-t} \& {\em src})}\label{classBuffer_b62dfbb5605a860aa63771f3b1c29b1e} - - -\index{Buffer@{Buffer}!operator=@{operator=}} -\index{operator=@{operator=}!Buffer@{Buffer}} -\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void Buffer::operator= (const {\bf sender\_\-id\_\-t} \& {\em src})}\label{classBuffer_b3bda89f495b3895a533155f593ab503} - - -\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} - - - - -\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 deleted file mode 100644 index af29992..0000000 --- a/doc/latex/classCommunicatingSocket.eps +++ /dev/null @@ -1,215 +0,0 @@ -%!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 deleted file mode 100644 index addc1f4..0000000 --- a/doc/latex/classCommunicatingSocket.tex +++ /dev/null @@ -1,128 +0,0 @@ -\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 deleted file mode 100644 index 030bd66..0000000 --- a/doc/latex/classCondition.tex +++ /dev/null @@ -1,73 +0,0 @@ -\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 deleted file mode 100644 index 0840c9a..0000000 --- a/doc/latex/classCypher.eps +++ /dev/null @@ -1,203 +0,0 @@ -%!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 deleted file mode 100644 index a8cdd92..0000000 --- a/doc/latex/classCypher.tex +++ /dev/null @@ -1,83 +0,0 @@ -\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 deleted file mode 100644 index 5a8879c..0000000 --- a/doc/latex/classHmacAuthAlgo.eps +++ /dev/null @@ -1,197 +0,0 @@ -%!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 deleted file mode 100644 index df0c997..0000000 --- a/doc/latex/classHmacAuthAlgo.tex +++ /dev/null @@ -1,31 +0,0 @@ -\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 deleted file mode 100644 index 4dea6cc..0000000 --- a/doc/latex/classKeyDerivation.tex +++ /dev/null @@ -1,98 +0,0 @@ -\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 -void {\bf set\-Log\-KDRate} (const {\bf u\_\-int8\_\-t} ld\_\-rate) -\item -void {\bf generate} ({\bf satp\_\-prf\_\-label} label, {\bf seq\_\-nr\_\-t} seq\_\-nr, {\bf Buffer} \&key, {\bf u\_\-int32\_\-t} length) -\item -void {\bf clear} () -\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*{Static Protected Attributes} -\begin{CompactItemize} -\item -static const char $\ast$ {\bf MIN\_\-GCRYPT\_\-VERSION} -\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}void Key\-Derivation::set\-Log\-KDRate (const {\bf u\_\-int8\_\-t} {\em ld\_\-rate})}\label{classKeyDerivation_b055afc0de04a6e32631e42f09b32e63} - - -\index{KeyDerivation@{Key\-Derivation}!generate@{generate}} -\index{generate@{generate}!KeyDerivation@{Key\-Derivation}} -\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void Key\-Derivation::generate ({\bf satp\_\-prf\_\-label} {\em label}, {\bf seq\_\-nr\_\-t} {\em seq\_\-nr}, {\bf Buffer} \& {\em key}, {\bf u\_\-int32\_\-t} {\em length})}\label{classKeyDerivation_6d319febcad73d199fe8773ae614f70a} - - -\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}!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}!MIN_GCRYPT_VERSION@{MIN\_\-GCRYPT\_\-VERSION}} -\index{MIN_GCRYPT_VERSION@{MIN\_\-GCRYPT\_\-VERSION}!KeyDerivation@{Key\-Derivation}} -\subsubsection{\setlength{\rightskip}{0pt plus 5cm}const char $\ast$ {\bf Key\-Derivation::MIN\_\-GCRYPT\_\-VERSION}\hspace{0.3cm}{\tt [static, protected]}}\label{classKeyDerivation_2091534e962a9d0f7b3b034150d33333} - - -\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 deleted file mode 100644 index 5de9514..0000000 --- a/doc/latex/classLock.tex +++ /dev/null @@ -1,62 +0,0 @@ -\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 deleted file mode 100644 index e5eb8e9..0000000 --- a/doc/latex/classLog.tex +++ /dev/null @@ -1,363 +0,0 @@ -\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 deleted file mode 100644 index 999c862..0000000 --- a/doc/latex/classLogStringBuilder.tex +++ /dev/null @@ -1,74 +0,0 @@ -\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 deleted file mode 100644 index aa3ddc4..0000000 --- a/doc/latex/classLog_1_1instanceCleaner.tex +++ /dev/null @@ -1,20 +0,0 @@ -\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 deleted file mode 100644 index 669155a..0000000 --- a/doc/latex/classMutex.tex +++ /dev/null @@ -1,96 +0,0 @@ -\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 deleted file mode 100644 index 979fb32..0000000 --- a/doc/latex/classNullAuthAlgo.eps +++ /dev/null @@ -1,197 +0,0 @@ -%!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 deleted file mode 100644 index 22d8109..0000000 --- a/doc/latex/classNullAuthAlgo.tex +++ /dev/null @@ -1,31 +0,0 @@ -\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 deleted file mode 100644 index 92b26ee..0000000 --- a/doc/latex/classNullCypher.eps +++ /dev/null @@ -1,197 +0,0 @@ -%!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 deleted file mode 100644 index 46b9b52..0000000 --- a/doc/latex/classNullCypher.tex +++ /dev/null @@ -1,31 +0,0 @@ -\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 deleted file mode 100644 index e9ec825..0000000 --- a/doc/latex/classOptions.tex +++ /dev/null @@ -1,382 +0,0 @@ -\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 -std::string {\bf get\-Local\-Sync\-Addr} () -\item -{\bf Options} \& {\bf set\-Local\-Sync\-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\-Local\-Sync\-Port} () -\item -{\bf Options} \& {\bf set\-Local\-Sync\-Port} ({\bf u\_\-int16\_\-t} l) -\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 -std::string {\bf local\_\-sync\_\-addr\_\-} -\item -{\bf u\_\-int16\_\-t} {\bf local\_\-port\_\-} -\item -{\bf u\_\-int16\_\-t} {\bf local\_\-sync\_\-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}!getLocalSyncAddr@{getLocalSyncAddr}} -\index{getLocalSyncAddr@{getLocalSyncAddr}!Options@{Options}} -\subsubsection{\setlength{\rightskip}{0pt plus 5cm}std::string Options::get\-Local\-Sync\-Addr ()}\label{classOptions_e614846f55efc3c84fcde4718156e544} - - -\index{Options@{Options}!setLocalSyncAddr@{setLocalSyncAddr}} -\index{setLocalSyncAddr@{setLocalSyncAddr}!Options@{Options}} -\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf Options} \& Options::set\-Local\-Sync\-Addr (std::string {\em l})}\label{classOptions_a6d319a0adbfce9a9e1c6131bce5c2f2} - - -\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}!getLocalSyncPort@{getLocalSyncPort}} -\index{getLocalSyncPort@{getLocalSyncPort}!Options@{Options}} -\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf u\_\-int16\_\-t} Options::get\-Local\-Sync\-Port ()}\label{classOptions_5ada1a8516ba353b5cf389d041ea75c9} - - -\index{Options@{Options}!setLocalSyncPort@{setLocalSyncPort}} -\index{setLocalSyncPort@{setLocalSyncPort}!Options@{Options}} -\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf Options} \& Options::set\-Local\-Sync\-Port ({\bf u\_\-int16\_\-t} {\em l})}\label{classOptions_7b2c8a681fd14ded0681eea7882fd3ec} - - -\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_sync_addr_@{local\_\-sync\_\-addr\_\-}} -\index{local_sync_addr_@{local\_\-sync\_\-addr\_\-}!Options@{Options}} -\subsubsection{\setlength{\rightskip}{0pt plus 5cm}std::string {\bf Options::local\_\-sync\_\-addr\_\-}\hspace{0.3cm}{\tt [private]}}\label{classOptions_83aa9bb2387d4f988a2aab7653fc8786} - - -\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}!local_sync_port_@{local\_\-sync\_\-port\_\-}} -\index{local_sync_port_@{local\_\-sync\_\-port\_\-}!Options@{Options}} -\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf u\_\-int16\_\-t} {\bf Options::local\_\-sync\_\-port\_\-}\hspace{0.3cm}{\tt [private]}}\label{classOptions_2fd9e6b23a64d3844c9318136b1e61da} - - -\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 deleted file mode 100644 index b9e6cc8..0000000 --- a/doc/latex/classPacket.eps +++ /dev/null @@ -1,203 +0,0 @@ -%!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 deleted file mode 100644 index 919d64d..0000000 --- a/doc/latex/classPacket.tex +++ /dev/null @@ -1,211 +0,0 @@ -\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 deleted file mode 100644 index 20a1a2e..0000000 --- a/doc/latex/classPacketSource.eps +++ /dev/null @@ -1,197 +0,0 @@ -%!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 deleted file mode 100644 index 7928c85..0000000 --- a/doc/latex/classPacketSource.tex +++ /dev/null @@ -1,49 +0,0 @@ -\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 deleted file mode 100644 index 6a4e907..0000000 --- a/doc/latex/classSemaphore.tex +++ /dev/null @@ -1,59 +0,0 @@ -\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 deleted file mode 100644 index 574e860..0000000 --- a/doc/latex/classSeqWindow.tex +++ /dev/null @@ -1,132 +0,0 @@ -\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 deleted file mode 100644 index e13b22b..0000000 --- a/doc/latex/classSigHupHandler.eps +++ /dev/null @@ -1,197 +0,0 @@ -%!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 deleted file mode 100644 index caf68b4..0000000 --- a/doc/latex/classSigHupHandler.tex +++ /dev/null @@ -1,41 +0,0 @@ -\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 deleted file mode 100644 index 52e8798..0000000 --- a/doc/latex/classSigIntHandler.eps +++ /dev/null @@ -1,197 +0,0 @@ -%!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 deleted file mode 100644 index e618e9f..0000000 --- a/doc/latex/classSigIntHandler.tex +++ /dev/null @@ -1,41 +0,0 @@ -\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 deleted file mode 100644 index 6218837..0000000 --- a/doc/latex/classSigQuitHandler.eps +++ /dev/null @@ -1,197 +0,0 @@ -%!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 deleted file mode 100644 index cb1d255..0000000 --- a/doc/latex/classSigQuitHandler.tex +++ /dev/null @@ -1,41 +0,0 @@ -\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 deleted file mode 100644 index 7755af0..0000000 --- a/doc/latex/classSigTermHandler.eps +++ /dev/null @@ -1,197 +0,0 @@ -%!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 deleted file mode 100644 index 7c770f8..0000000 --- a/doc/latex/classSigTermHandler.tex +++ /dev/null @@ -1,41 +0,0 @@ -\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 deleted file mode 100644 index e5446b4..0000000 --- a/doc/latex/classSigUsr1Handler.eps +++ /dev/null @@ -1,197 +0,0 @@ -%!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 deleted file mode 100644 index 0e28a9f..0000000 --- a/doc/latex/classSigUsr1Handler.tex +++ /dev/null @@ -1,41 +0,0 @@ -\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 deleted file mode 100644 index 6baf9c3..0000000 --- a/doc/latex/classSigUsr2Handler.eps +++ /dev/null @@ -1,197 +0,0 @@ -%!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 deleted file mode 100644 index 439e128..0000000 --- a/doc/latex/classSigUsr2Handler.tex +++ /dev/null @@ -1,41 +0,0 @@ -\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 deleted file mode 100644 index c55b22c..0000000 --- a/doc/latex/classSignalController.tex +++ /dev/null @@ -1,128 +0,0 @@ -\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 deleted file mode 100644 index 70499b3..0000000 --- a/doc/latex/classSignalHandler.eps +++ /dev/null @@ -1,219 +0,0 @@ -%!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 deleted file mode 100644 index 2cf61d7..0000000 --- a/doc/latex/classSignalHandler.tex +++ /dev/null @@ -1,76 +0,0 @@ -\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 deleted file mode 100644 index c75eb07..0000000 --- a/doc/latex/classSocket.eps +++ /dev/null @@ -1,221 +0,0 @@ -%!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 deleted file mode 100644 index fb6d58b..0000000 --- a/doc/latex/classSocket.tex +++ /dev/null @@ -1,180 +0,0 @@ -\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 deleted file mode 100644 index 22ea6db..0000000 --- a/doc/latex/classSocketException.tex +++ /dev/null @@ -1,65 +0,0 @@ -\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 deleted file mode 100644 index 90e97f2..0000000 --- a/doc/latex/classTCPServerSocket.eps +++ /dev/null @@ -1,197 +0,0 @@ -%!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 deleted file mode 100644 index 4225884..0000000 --- a/doc/latex/classTCPServerSocket.tex +++ /dev/null @@ -1,88 +0,0 @@ -\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 deleted file mode 100644 index 3b898a1..0000000 --- a/doc/latex/classTCPSocket.eps +++ /dev/null @@ -1,203 +0,0 @@ -%!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 deleted file mode 100644 index be413bd..0000000 --- a/doc/latex/classTCPSocket.tex +++ /dev/null @@ -1,79 +0,0 @@ -\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 deleted file mode 100644 index 05a3f0f..0000000 --- a/doc/latex/classTunDevice.tex +++ /dev/null @@ -1,150 +0,0 @@ -\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 -const 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}const char $\ast$ Tun\-Device::get\-Type\-String ()}\label{classTunDevice_eb99a885d90822b00e623ca02c2b06cc} - - -\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 deleted file mode 100644 index a22e8f2..0000000 --- a/doc/latex/classUDPPacketSource.eps +++ /dev/null @@ -1,215 +0,0 @@ -%!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 deleted file mode 100644 index 8571f5d..0000000 --- a/doc/latex/classUDPPacketSource.tex +++ /dev/null @@ -1,64 +0,0 @@ -\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 deleted file mode 100644 index d803008..0000000 --- a/doc/latex/classUDPSocket.eps +++ /dev/null @@ -1,209 +0,0 @@ -%!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 deleted file mode 100644 index 3530bca..0000000 --- a/doc/latex/classUDPSocket.tex +++ /dev/null @@ -1,189 +0,0 @@ -\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 deleted file mode 100644 index 8ac6158..0000000 --- a/doc/latex/classsatp_1_1SATP.eps +++ /dev/null @@ -1,203 +0,0 @@ -%!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 deleted file mode 100644 index 67da3e5..0000000 --- a/doc/latex/classsatp_1_1SATP.tex +++ /dev/null @@ -1,40 +0,0 @@ -\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 deleted file mode 100644 index fa3c98c..0000000 --- a/doc/latex/cypher_8cpp.tex +++ /dev/null @@ -1,8 +0,0 @@ -\section{cypher.cpp File Reference} -\label{cypher_8cpp}\index{cypher.cpp@{cypher.cpp}} -{\tt \#include $<$stdexcept$>$}\par -{\tt \#include $<$iostream$>$}\par -{\tt \#include $<$string$>$}\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 deleted file mode 100644 index 909230b..0000000 --- a/doc/latex/cypher_8h.tex +++ /dev/null @@ -1,14 +0,0 @@ -\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 -\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 deleted file mode 100644 index 9b96e3d..0000000 --- a/doc/latex/datatypes_8h.tex +++ /dev/null @@ -1,147 +0,0 @@ -\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 deleted file mode 100644 index b8dccd9..0000000 --- a/doc/latex/doxygen.sty +++ /dev/null @@ -1,78 +0,0 @@ -\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 Mon Dec 3 11:49:24 2007 for anytun by Doxygen }]{} -\lfoot[]{\fancyplain{}{\bfseries\scriptsize Generated on Mon Dec 3 11:49:24 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 deleted file mode 100644 index 6517797..0000000 --- a/doc/latex/files.tex +++ /dev/null @@ -1,41 +0,0 @@ -\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 connection\-List.cpp} }{\pageref{connectionList_8cpp}}{} -\item\contentsline{section}{{\bf connection\-List.h} }{\pageref{connectionList_8h}}{} -\item\contentsline{section}{{\bf connection\-Param.cpp} }{\pageref{connectionParam_8cpp}}{} -\item\contentsline{section}{{\bf connection\-Param.h} }{\pageref{connectionParam_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 network\-Address.cpp} }{\pageref{networkAddress_8cpp}}{} -\item\contentsline{section}{{\bf network\-Address.h} }{\pageref{networkAddress_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 router.cpp} }{\pageref{router_8cpp}}{} -\item\contentsline{section}{{\bf router.h} }{\pageref{router_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 sync\-Socket.cpp} }{\pageref{syncSocket_8cpp}}{} -\item\contentsline{section}{{\bf sync\-Socket.h} }{\pageref{syncSocket_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 deleted file mode 100644 index 078b248..0000000 --- a/doc/latex/hierarchy.tex +++ /dev/null @@ -1,65 +0,0 @@ -\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}{Connection\-List}{\pageref{classConnectionList}}{} -\item \contentsline{section}{Connection\-Param}{\pageref{classConnectionParam}}{} -\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}{Network\-Address}{\pageref{classNetworkAddress}}{} -\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}{Router}{\pageref{classRouter}}{} -\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}{Sync\-Socket}{\pageref{classSyncSocket}}{} -\item \contentsline{section}{Tun\-Device}{\pageref{classTunDevice}}{} -\end{CompactList} diff --git a/doc/latex/index.tex b/doc/latex/index.tex deleted file mode 100644 index 56fd6f9..0000000 --- a/doc/latex/index.tex +++ /dev/null @@ -1,11 +0,0 @@ -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 deleted file mode 100644 index 8e886aa..0000000 --- a/doc/latex/keyDerivation_8cpp.tex +++ /dev/null @@ -1,7 +0,0 @@ -\section{key\-Derivation.cpp File Reference} -\label{keyDerivation_8cpp}\index{keyDerivation.cpp@{keyDerivation.cpp}} -{\tt \#include \char`\"{}key\-Derivation.h\char`\"{}}\par -{\tt \#include $<$stdexcept$>$}\par -{\tt \#include $<$iostream$>$}\par -{\tt \#include $<$string$>$}\par -{\tt \#include $<$gcrypt.h$>$}\par diff --git a/doc/latex/keyDerivation_8h.tex b/doc/latex/keyDerivation_8h.tex deleted file mode 100644 index 2dc0705..0000000 --- a/doc/latex/keyDerivation_8h.tex +++ /dev/null @@ -1,38 +0,0 @@ -\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 $<$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{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} - diff --git a/doc/latex/log_8cpp.tex b/doc/latex/log_8cpp.tex deleted file mode 100644 index b33cbb7..0000000 --- a/doc/latex/log_8cpp.tex +++ /dev/null @@ -1,20 +0,0 @@ -\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 deleted file mode 100644 index e158c2f..0000000 --- a/doc/latex/log_8h.tex +++ /dev/null @@ -1,28 +0,0 @@ -\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 deleted file mode 100644 index 56fd6f9..0000000 --- a/doc/latex/main.tex +++ /dev/null @@ -1,11 +0,0 @@ -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 deleted file mode 100644 index 8b01371..0000000 --- a/doc/latex/namespaces.tex +++ /dev/null @@ -1,7 +0,0 @@ -\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 sockets} }{\pageref{namespacesockets}}{} -\item\contentsline{section}{{\bf std} }{\pageref{namespacestd}}{} -\end{CompactList} diff --git a/doc/latex/namespacesatp.tex b/doc/latex/namespacesatp.tex deleted file mode 100644 index 6f73f8f..0000000 --- a/doc/latex/namespacesatp.tex +++ /dev/null @@ -1,9 +0,0 @@ -\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 deleted file mode 100644 index 56a649f..0000000 --- a/doc/latex/namespacescapy_1_1_5.tex +++ /dev/null @@ -1,4 +0,0 @@ -\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 deleted file mode 100644 index a1732dd..0000000 --- a/doc/latex/namespacestd.tex +++ /dev/null @@ -1,4 +0,0 @@ -\section{std Namespace Reference} -\label{namespacestd}\index{std@{std}} - - diff --git a/doc/latex/options_8cpp.tex b/doc/latex/options_8cpp.tex deleted file mode 100644 index 251b52b..0000000 --- a/doc/latex/options_8cpp.tex +++ /dev/null @@ -1,79 +0,0 @@ -\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 deleted file mode 100644 index 2e1adff..0000000 --- a/doc/latex/options_8h.tex +++ /dev/null @@ -1,9 +0,0 @@ -\section{options.h File Reference} -\label{options_8h}\index{options.h@{options.h}} -{\tt \#include \char`\"{}datatypes.h\char`\"{}}\par -{\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 deleted file mode 100644 index d2fa177..0000000 --- a/doc/latex/packetSource_8cpp.tex +++ /dev/null @@ -1,6 +0,0 @@ -\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 deleted file mode 100644 index 58de767..0000000 --- a/doc/latex/packetSource_8h.tex +++ /dev/null @@ -1,12 +0,0 @@ -\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 deleted file mode 100644 index 82779f2..0000000 --- a/doc/latex/packet_8cpp.tex +++ /dev/null @@ -1,6 +0,0 @@ -\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 deleted file mode 100644 index 520a692..0000000 --- a/doc/latex/packet_8h.tex +++ /dev/null @@ -1,11 +0,0 @@ -\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 deleted file mode 100644 index 01715b9..0000000 --- a/doc/latex/refman.tex +++ /dev/null @@ -1,127 +0,0 @@ -\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 Mon Dec 3 11:49:24 2007}\\ -\end{center} -\end{titlepage} -\clearemptydoublepage -\pagenumbering{roman} -\tableofcontents -\clearemptydoublepage -\pagenumbering{arabic} -\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{namespacesockets} -\include{namespacestd} -\chapter{anytun Class Documentation} -\input{classAesIcmCypher} -\include{classAuthAlgo} -\include{classBuffer} -\include{classCommunicatingSocket} -\include{classCondition} -\include{classConnectionList} -\include{classConnectionParam} -\include{classCypher} -\include{classHmacAuthAlgo} -\include{classKeyDerivation} -\include{classLock} -\include{classLog} -\include{classLog_1_1instanceCleaner} -\include{classLogStringBuilder} -\include{classMutex} -\include{classNetworkAddress} -\include{classNullAuthAlgo} -\include{classNullCypher} -\include{classOptions} -\include{classPacket} -\include{structPacket_1_1HeaderStruct} -\include{classPacketSource} -\include{structParam} -\include{classRouter} -\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{classSyncSocket} -\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{connectionList_8cpp} -\include{connectionList_8h} -\include{connectionParam_8cpp} -\include{connectionParam_8h} -\include{cypher_8cpp} -\include{cypher_8h} -\include{datatypes_8h} -\include{keyDerivation_8cpp} -\include{keyDerivation_8h} -\include{log_8cpp} -\include{log_8h} -\include{networkAddress_8cpp} -\include{networkAddress_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{router_8cpp} -\include{router_8h} -\include{satp_8py} -\include{seqWindow_8cpp} -\include{seqWindow_8h} -\include{signalController_8cpp} -\include{signalController_8h} -\include{syncSocket_8cpp} -\include{syncSocket_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 deleted file mode 100644 index b39e388..0000000 --- a/doc/latex/satp_8py.tex +++ /dev/null @@ -1,14 +0,0 @@ -\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 deleted file mode 100644 index b0f9c6c..0000000 --- a/doc/latex/seqWindow_8cpp.tex +++ /dev/null @@ -1,5 +0,0 @@ -\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 deleted file mode 100644 index edd1032..0000000 --- a/doc/latex/seqWindow_8h.tex +++ /dev/null @@ -1,11 +0,0 @@ -\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 deleted file mode 100644 index 093ffad..0000000 --- a/doc/latex/signalController_8cpp.tex +++ /dev/null @@ -1,8 +0,0 @@ -\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 deleted file mode 100644 index 73699e5..0000000 --- a/doc/latex/signalController_8h.tex +++ /dev/null @@ -1,25 +0,0 @@ -\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 deleted file mode 100644 index 81d0daf..0000000 --- a/doc/latex/structPacket_1_1HeaderStruct.tex +++ /dev/null @@ -1,27 +0,0 @@ -\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 deleted file mode 100644 index 0cfd02a..0000000 --- a/doc/latex/structParam.tex +++ /dev/null @@ -1,62 +0,0 @@ -\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 deleted file mode 100644 index 632fc36..0000000 --- a/doc/latex/threadUtils_8hpp.tex +++ /dev/null @@ -1,15 +0,0 @@ -\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 deleted file mode 100644 index a4905a3..0000000 --- a/doc/latex/tunDevice_8cpp.tex +++ /dev/null @@ -1,9 +0,0 @@ -\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 deleted file mode 100644 index eeb76be..0000000 --- a/doc/latex/tunDevice_8h.tex +++ /dev/null @@ -1,9 +0,0 @@ -\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} -- cgit v1.2.3