\hypertarget{classLinkStateRequestPacket}{
\section{LinkStateRequestPacket Class Reference}
\label{classLinkStateRequestPacket}\index{LinkStateRequestPacket@{LinkStateRequestPacket}}
}


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




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

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

\item 
\hyperlink{structOspfTypes_abe52a1f48e880751028d473f6a9f780d}{OspfTypes::Type} \hyperlink{classLinkStateRequestPacket_a833f4151edf67f0103b5ef3cb06ccfcc}{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{classLinkStateRequestPacket_a78a1b3041ba545d9bd752de7f83cf42d}{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{classLinkStateRequestPacket_ad84b8647d51d4f0c41da8dad89148362}{encode} (vector$<$ uint8\_\-t $>$ \&pkt)
\begin{DoxyCompactList}\small\item\em Encode \hyperlink{protocolthe-p}{the} packet. \item\end{DoxyCompactList}\item 
\hypertarget{classLinkStateRequestPacket_a95effcef6bcc34456d55dc3c4353dbb3}{
list$<$ \hyperlink{classLs__request}{Ls\_\-request} $>$ \& {\bfseries get\_\-ls\_\-request} ()}
\label{classLinkStateRequestPacket_a95effcef6bcc34456d55dc3c4353dbb3}

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

\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{classLinkStateRequestPacket_afe531482246fc600b6f744ce9ac0e004}{
list$<$ \hyperlink{classLs__request}{Ls\_\-request} $>$ {\bfseries \_\-ls\_\-request}}
\label{classLinkStateRequestPacket_afe531482246fc600b6f744ce9ac0e004}

\end{DoxyCompactItemize}


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

\subsection{Member Function Documentation}
\hypertarget{classLinkStateRequestPacket_a78a1b3041ba545d9bd752de7f83cf42d}{
\index{LinkStateRequestPacket@{LinkStateRequestPacket}!decode@{decode}}
\index{decode@{decode}!LinkStateRequestPacket@{LinkStateRequestPacket}}
\subsubsection[{decode}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Packet} $\ast$ LinkStateRequestPacket::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{classLinkStateRequestPacket_a78a1b3041ba545d9bd752de7f83cf42d}


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

The returned packet must be free'd. 

Implements \hyperlink{classPacket_af6b945f661691c93345e93bd3d01fd2d}{Packet}.

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


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{classLinkStateRequestPacket_a833f4151edf67f0103b5ef3cb06ccfcc}{
\index{LinkStateRequestPacket@{LinkStateRequestPacket}!get\_\-type@{get\_\-type}}
\index{get\_\-type@{get\_\-type}!LinkStateRequestPacket@{LinkStateRequestPacket}}
\subsubsection[{get\_\-type}]{\setlength{\rightskip}{0pt plus 5cm}{\bf OspfTypes::Type} LinkStateRequestPacket::get\_\-type (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}inline, virtual\mbox{]}}}}
\label{classLinkStateRequestPacket_a833f4151edf67f0103b5ef3cb06ccfcc}


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}
