\hypertarget{classEtxHelloMessage}{
\section{EtxHelloMessage Class Reference}
\label{classEtxHelloMessage}\index{EtxHelloMessage@{EtxHelloMessage}}
}


Specialization of a HELLO message with ETX measurements.  




{\ttfamily \#include $<$message.hh$>$}

Inheritance diagram for EtxHelloMessage:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=3.000000cm]{classEtxHelloMessage}
\end{center}
\end{figure}
\subsection*{Protected Member Functions}
\begin{DoxyCompactItemize}
\item 
size\_\-t \hyperlink{classEtxHelloMessage_ae1011f555d58b094870e764c915d358e}{decode\_\-link\_\-tuple} (uint8\_\-t $\ast$buf, size\_\-t \&len, size\_\-t \&skiplen, bool has\_\-lq=true)  throw (InvalidLinkTuple)
\begin{DoxyCompactList}\small\item\em Decode a single link tuple from \hyperlink{protocolthe-p}{the} buffer into \hyperlink{protocolthe-p}{the} \hyperlink{classHelloMessage}{HelloMessage}. \item\end{DoxyCompactList}\item 
\hypertarget{classEtxHelloMessage_a1a9e4323aa2b4be8660a0d90886cca72}{
void {\bfseries add\_\-link} (const \hyperlink{classLinkCode}{LinkCode} code, const \hyperlink{classIPv4}{IPv4} \&remote\_\-addr, const double \&near\_\-etx, const double \&far\_\-etx)}
\label{classEtxHelloMessage_a1a9e4323aa2b4be8660a0d90886cca72}

\end{DoxyCompactItemize}


\subsection{Detailed Description}
Specialization of a HELLO message with ETX measurements. 

\subsection{Member Function Documentation}
\hypertarget{classEtxHelloMessage_ae1011f555d58b094870e764c915d358e}{
\index{EtxHelloMessage@{EtxHelloMessage}!decode\_\-link\_\-tuple@{decode\_\-link\_\-tuple}}
\index{decode\_\-link\_\-tuple@{decode\_\-link\_\-tuple}!EtxHelloMessage@{EtxHelloMessage}}
\subsubsection[{decode\_\-link\_\-tuple}]{\setlength{\rightskip}{0pt plus 5cm}size\_\-t EtxHelloMessage::decode\_\-link\_\-tuple (
\begin{DoxyParamCaption}
\item[{uint8\_\-t $\ast$}]{buf, }
\item[{size\_\-t \&}]{len, }
\item[{size\_\-t \&}]{skiplen, }
\item[{bool}]{has\_\-lq = {\ttfamily true}}
\end{DoxyParamCaption}
)  throw ({\bf InvalidLinkTuple})\hspace{0.3cm}{\ttfamily  \mbox{[}inline, protected, virtual\mbox{]}}}}
\label{classEtxHelloMessage_ae1011f555d58b094870e764c915d358e}


Decode a single link tuple from \hyperlink{protocolthe-p}{the} buffer into \hyperlink{protocolthe-p}{the} \hyperlink{classHelloMessage}{HelloMessage}. 


\begin{DoxyParams}{Parameters}
{\em buf} & pointer to \hyperlink{protocolthe-p}{the} buffer to decode. \\
\hline
{\em len} & \hyperlink{protocolthe-p}{the} number of bytes in \hyperlink{protocolthe-p}{the} buffer. \\
\hline
{\em skiplen} & \hyperlink{protocolthe-p}{the} number of bytes consumed by this function. \\
\hline
{\em has\_\-lq} & true if this function is being called from derived class \hyperlink{classEtxHelloMessage}{EtxHelloMessage} to process ETX information, otherwise false. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
\hyperlink{protocolthe-p}{the} number of bytes consumed in \hyperlink{protocolthe-p}{the} input stream to produce a decoded link tuple. 
\end{DoxyReturn}

\begin{DoxyExceptions}{Exceptions}
{\em \hyperlink{classInvalidLinkTuple}{InvalidLinkTuple}} & if an invalid link tuple was found during message decoding. \\
\hline
\end{DoxyExceptions}


Reimplemented from \hyperlink{classHelloMessage_abafdc63f1b24868494f8d1c0ec12bdc5}{HelloMessage}.



The documentation for this class was generated from the following file:\begin{DoxyCompactItemize}
\item 
/home/greearb/git/xorp.ct.github/xorp/contrib/olsr/message.hh\end{DoxyCompactItemize}
