\hypertarget{classLinkStateAcknowledgementPacket}{
\section{LinkStateAcknowledgementPacket Class Reference}
\label{classLinkStateAcknowledgementPacket}\index{LinkStateAcknowledgementPacket@{LinkStateAcknowledgementPacket}}
}


Link State Acknowledgement \hyperlink{classPacket}{Packet}.  




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

Inheritance diagram for LinkStateAcknowledgementPacket:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=2.000000cm]{classLinkStateAcknowledgementPacket}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hypertarget{classLinkStateAcknowledgementPacket_ad53a3f4e146ee3f8c0466ec37dfb3f03}{
{\bfseries LinkStateAcknowledgementPacket} (\hyperlink{structOspfTypes_a60eb031df0c10af753789ae76b185ec2}{OspfTypes::Version} version)}
\label{classLinkStateAcknowledgementPacket_ad53a3f4e146ee3f8c0466ec37dfb3f03}

\item 
\hyperlink{structOspfTypes_abe52a1f48e880751028d473f6a9f780d}{OspfTypes::Type} \hyperlink{classLinkStateAcknowledgementPacket_a322c3eb4c6b16d4ac02fad157906b75e}{get\_\-type} () const 
\begin{DoxyCompactList}\small\item\em It is \hyperlink{protocolthe-p}{the} responsibilty of \hyperlink{protocolthe-p}{the} derived type to return this information. \item\end{DoxyCompactList}\item 
\hyperlink{classPacket}{Packet} $\ast$ \hyperlink{classLinkStateAcknowledgementPacket_a9e54b7ce6071bdd88305ffdac7e33b5f}{decode} (uint8\_\-t $\ast$ptr, size\_\-t len) const   throw (InvalidPacket)
\begin{DoxyCompactList}\small\item\em Decode \hyperlink{protocolthe-p}{the} packet. \item\end{DoxyCompactList}\item 
bool \hyperlink{classLinkStateAcknowledgementPacket_af66e46f21c8b0ddca4587dae59de0f6a}{encode} (vector$<$ uint8\_\-t $>$ \&pkt)
\begin{DoxyCompactList}\small\item\em Encode \hyperlink{protocolthe-p}{the} packet. \item\end{DoxyCompactList}\item 
\hypertarget{classLinkStateAcknowledgementPacket_a5933cf715e04b59d8c9005cb4493eee2}{
list$<$ \hyperlink{classLsa__header}{Lsa\_\-header} $>$ \& {\bfseries get\_\-lsa\_\-headers} ()}
\label{classLinkStateAcknowledgementPacket_a5933cf715e04b59d8c9005cb4493eee2}

\item 
\hypertarget{classLinkStateAcknowledgementPacket_a3ed6810bb7531be250d4fafe94afebd2}{
string \hyperlink{classLinkStateAcknowledgementPacket_a3ed6810bb7531be250d4fafe94afebd2}{str} () const }
\label{classLinkStateAcknowledgementPacket_a3ed6810bb7531be250d4fafe94afebd2}

\begin{DoxyCompactList}\small\item\em Generate a printable representation of \hyperlink{protocolthe-p}{the} packet. \item\end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Private Attributes}
\begin{DoxyCompactItemize}
\item 
\hypertarget{classLinkStateAcknowledgementPacket_a8e657e061a9a8d45a810f1ec246b9c64}{
list$<$ \hyperlink{classLsa__header}{Lsa\_\-header} $>$ {\bfseries \_\-lsa\_\-headers}}
\label{classLinkStateAcknowledgementPacket_a8e657e061a9a8d45a810f1ec246b9c64}

\end{DoxyCompactItemize}


\subsection{Detailed Description}
Link State Acknowledgement \hyperlink{classPacket}{Packet}. 

\subsection{Member Function Documentation}
\hypertarget{classLinkStateAcknowledgementPacket_a9e54b7ce6071bdd88305ffdac7e33b5f}{
\index{LinkStateAcknowledgementPacket@{LinkStateAcknowledgementPacket}!decode@{decode}}
\index{decode@{decode}!LinkStateAcknowledgementPacket@{LinkStateAcknowledgementPacket}}
\subsubsection[{decode}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Packet} $\ast$ LinkStateAcknowledgementPacket::decode (
\begin{DoxyParamCaption}
\item[{uint8\_\-t $\ast$}]{ptr, }
\item[{size\_\-t}]{len}
\end{DoxyParamCaption}
) const  throw ({\bf InvalidPacket})\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}
\label{classLinkStateAcknowledgementPacket_a9e54b7ce6071bdd88305ffdac7e33b5f}


Decode \hyperlink{protocolthe-p}{the} packet. 

The returned packet must be free'd. 

Implements \hyperlink{classPacket_af6b945f661691c93345e93bd3d01fd2d}{Packet}.

\hypertarget{classLinkStateAcknowledgementPacket_af66e46f21c8b0ddca4587dae59de0f6a}{
\index{LinkStateAcknowledgementPacket@{LinkStateAcknowledgementPacket}!encode@{encode}}
\index{encode@{encode}!LinkStateAcknowledgementPacket@{LinkStateAcknowledgementPacket}}
\subsubsection[{encode}]{\setlength{\rightskip}{0pt plus 5cm}bool LinkStateAcknowledgementPacket::encode (
\begin{DoxyParamCaption}
\item[{vector$<$ uint8\_\-t $>$ \&}]{pkt}
\end{DoxyParamCaption}
)}}
\label{classLinkStateAcknowledgementPacket_af66e46f21c8b0ddca4587dae59de0f6a}


Encode \hyperlink{protocolthe-p}{the} packet. 


\begin{DoxyParams}{Parameters}
{\em pkt} & vector into which \hyperlink{protocolthe-p}{the} packet should be placed. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
true if \hyperlink{protocolthe-p}{the} encoding succeeded. 
\end{DoxyReturn}


Reimplemented from \hyperlink{classPacket_ab13870adf8a96f499581589f1d1463ce}{Packet}.

\hypertarget{classLinkStateAcknowledgementPacket_a322c3eb4c6b16d4ac02fad157906b75e}{
\index{LinkStateAcknowledgementPacket@{LinkStateAcknowledgementPacket}!get\_\-type@{get\_\-type}}
\index{get\_\-type@{get\_\-type}!LinkStateAcknowledgementPacket@{LinkStateAcknowledgementPacket}}
\subsubsection[{get\_\-type}]{\setlength{\rightskip}{0pt plus 5cm}{\bf OspfTypes::Type} LinkStateAcknowledgementPacket::get\_\-type (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}inline, virtual\mbox{]}}}}
\label{classLinkStateAcknowledgementPacket_a322c3eb4c6b16d4ac02fad157906b75e}


It is \hyperlink{protocolthe-p}{the} responsibilty of \hyperlink{protocolthe-p}{the} derived type to return this information. 

\begin{DoxyReturn}{Returns}
The type this packet represents. 
\end{DoxyReturn}


Implements \hyperlink{classPacket_aa0f90dc35cd40f34f6eac3a7cdb8d69b}{Packet}.



The documentation for this class was generated from the following files:\begin{DoxyCompactItemize}
\item 
/home/greearb/git/xorp.ct.github/xorp/ospf/packet.hh\item 
/home/greearb/git/xorp.ct.github/xorp/ospf/packet.cc\end{DoxyCompactItemize}
