\hypertarget{classMD5PacketTrailer}{
\section{MD5PacketTrailer Class Reference}
\label{classMD5PacketTrailer}\index{MD5PacketTrailer@{MD5PacketTrailer}}
}


Container for MD5 trailer.  




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

Inheritance diagram for MD5PacketTrailer:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=2.000000cm]{classMD5PacketTrailer}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hypertarget{classMD5PacketTrailer_aa7ba2405870cf8a3687348e49fb60bec}{
{\bfseries MD5PacketTrailer} (const uint8\_\-t $\ast$data)}
\label{classMD5PacketTrailer_aa7ba2405870cf8a3687348e49fb60bec}

\item 
\hypertarget{classMD5PacketTrailer_acc98610fdfe4a6e65a479f167fa1471d}{
uint16\_\-t {\bfseries addr\_\-family} () const }
\label{classMD5PacketTrailer_acc98610fdfe4a6e65a479f167fa1471d}

\item 
\hypertarget{classMD5PacketTrailer_a0defc1f15a2d6b178637c6a8f8f94dfe}{
const uint8\_\-t $\ast$ {\bfseries auth\_\-data} () const }
\label{classMD5PacketTrailer_a0defc1f15a2d6b178637c6a8f8f94dfe}

\item 
\hypertarget{classMD5PacketTrailer_ac757a12aaf2631807e96bf18a1b8c77f}{
uint32\_\-t {\bfseries auth\_\-data\_\-bytes} () const }
\label{classMD5PacketTrailer_ac757a12aaf2631807e96bf18a1b8c77f}

\item 
\hypertarget{classMD5PacketTrailer_aaa158ef534c79b49c01bdc60ca3fb1c2}{
uint32\_\-t {\bfseries auth\_\-data\_\-offset} () const }
\label{classMD5PacketTrailer_aaa158ef534c79b49c01bdc60ca3fb1c2}

\item 
\hypertarget{classMD5PacketTrailer_a3ca161cf01014dc8508750a2f3dedc2e}{
bool {\bfseries valid} () const }
\label{classMD5PacketTrailer_a3ca161cf01014dc8508750a2f3dedc2e}

\end{DoxyCompactItemize}
\subsection*{Static Public Member Functions}
\begin{DoxyCompactItemize}
\item 
static size\_\-t \hyperlink{classMD5PacketTrailer_adf7eede0c9c16058005616307acb6dcc}{size} ()
\begin{DoxyCompactList}\small\item\em Get \hyperlink{protocolthe-p}{the} RIP \hyperlink{classIPv4}{IPv4} MD5 authentication trailer size. \item\end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Static Public Attributes}
\begin{DoxyCompactItemize}
\item 
\hypertarget{classMD5PacketTrailer_ae116f289d0f076fbe33d949ef20f07f3}{
static const size\_\-t {\bfseries SIZE} = 20}
\label{classMD5PacketTrailer_ae116f289d0f076fbe33d949ef20f07f3}

\end{DoxyCompactItemize}
\subsection*{Static Protected Attributes}
\begin{DoxyCompactItemize}
\item 
\hypertarget{classMD5PacketTrailer_ae8815665717d47c7ee642551a0da5ede}{
static const size\_\-t {\bfseries \_\-af\_\-sizeof} = 2}
\label{classMD5PacketTrailer_ae8815665717d47c7ee642551a0da5ede}

\item 
\hypertarget{classMD5PacketTrailer_a7763badee1f47e687edb9dbcf44093df}{
static const size\_\-t {\bfseries \_\-one\_\-sizeof} = 2}
\label{classMD5PacketTrailer_a7763badee1f47e687edb9dbcf44093df}

\item 
\hypertarget{classMD5PacketTrailer_aac8c201d1d14dbeb4109773f868552fb}{
static const size\_\-t {\bfseries \_\-auth\_\-data\_\-sizeof} = 16}
\label{classMD5PacketTrailer_aac8c201d1d14dbeb4109773f868552fb}

\item 
\hypertarget{classMD5PacketTrailer_a268813ed927cf73824e250196a7b8b21}{
static const size\_\-t {\bfseries \_\-af\_\-offset} = 0}
\label{classMD5PacketTrailer_a268813ed927cf73824e250196a7b8b21}

\item 
\hypertarget{classMD5PacketTrailer_a888a4bb8b416196a1b4f55e9728c69ac}{
static const size\_\-t {\bfseries \_\-one\_\-offset} = \_\-af\_\-offset + \_\-af\_\-sizeof}
\label{classMD5PacketTrailer_a888a4bb8b416196a1b4f55e9728c69ac}

\item 
\hypertarget{classMD5PacketTrailer_a65c87ab485036d9ed7b4297310d5882a}{
static const size\_\-t {\bfseries \_\-auth\_\-data\_\-offset} = \_\-one\_\-offset + \_\-one\_\-sizeof}
\label{classMD5PacketTrailer_a65c87ab485036d9ed7b4297310d5882a}

\end{DoxyCompactItemize}
\subsection*{Private Attributes}
\begin{DoxyCompactItemize}
\item 
\hypertarget{classMD5PacketTrailer_aff39aec29ef945072226a0395735a214}{
const uint8\_\-t $\ast$ {\bfseries \_\-data}}
\label{classMD5PacketTrailer_aff39aec29ef945072226a0395735a214}

\item 
\hypertarget{classMD5PacketTrailer_aed42b54bc8689d9b7e94ce402565a042}{
const uint8\_\-t $\ast$ {\bfseries \_\-af}}
\label{classMD5PacketTrailer_aed42b54bc8689d9b7e94ce402565a042}

\item 
\hypertarget{classMD5PacketTrailer_ab65946c4232217fd6e58ed98954e0ecc}{
const uint8\_\-t $\ast$ {\bfseries \_\-one}}
\label{classMD5PacketTrailer_ab65946c4232217fd6e58ed98954e0ecc}

\item 
\hypertarget{classMD5PacketTrailer_a03beacf5a314ef5376e113b50e32709c}{
const uint8\_\-t $\ast$ {\bfseries \_\-auth\_\-data}}
\label{classMD5PacketTrailer_a03beacf5a314ef5376e113b50e32709c}

\end{DoxyCompactItemize}


\subsection{Detailed Description}
Container for MD5 trailer. THE MD5 authentication trailer has \hyperlink{protocolthe-p}{the} following content:

af (2 bytes): // 0xffff -\/ Authentication header one (2 bytes): // 0x01 -\/ RFC2082 defined auth\_\-data (16 bytes); // 16 bytes of data 

\subsection{Member Function Documentation}
\hypertarget{classMD5PacketTrailer_adf7eede0c9c16058005616307acb6dcc}{
\index{MD5PacketTrailer@{MD5PacketTrailer}!size@{size}}
\index{size@{size}!MD5PacketTrailer@{MD5PacketTrailer}}
\subsubsection[{size}]{\setlength{\rightskip}{0pt plus 5cm}static size\_\-t MD5PacketTrailer::size (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline, static\mbox{]}}}}
\label{classMD5PacketTrailer_adf7eede0c9c16058005616307acb6dcc}


Get \hyperlink{protocolthe-p}{the} RIP \hyperlink{classIPv4}{IPv4} MD5 authentication trailer size. 

\begin{DoxyReturn}{Returns}
\hyperlink{protocolthe-p}{the} RIP \hyperlink{classIPv4}{IPv4} MD5 authentication trailer size. 
\end{DoxyReturn}


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