summaryrefslogtreecommitdiff
path: root/doc/latex/anytun_8cpp.tex
blob: 37d6da4ff88594057a364a39de9e28364023948e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
\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}