\hypertarget{classUnknownLsa}{
\section{UnknownLsa Class Reference}
\label{classUnknownLsa}\index{UnknownLsa@{UnknownLsa}}
}
Inheritance diagram for UnknownLsa:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=2.000000cm]{classUnknownLsa}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hypertarget{classUnknownLsa_ae052e0d4da290f7f482481ca202c73a5}{
{\bfseries UnknownLsa} (\hyperlink{structOspfTypes_a60eb031df0c10af753789ae76b185ec2}{OspfTypes::Version} version)}
\label{classUnknownLsa_ae052e0d4da290f7f482481ca202c73a5}

\item 
\hypertarget{classUnknownLsa_ad5dccb504094b0f9071d969974f06740}{
{\bfseries UnknownLsa} (\hyperlink{structOspfTypes_a60eb031df0c10af753789ae76b185ec2}{OspfTypes::Version} version, uint8\_\-t $\ast$buf, size\_\-t len)}
\label{classUnknownLsa_ad5dccb504094b0f9071d969974f06740}

\item 
size\_\-t \hyperlink{classUnknownLsa_a1dd68eceac09843c91971d0f4878d3ef}{min\_\-length} () const 
\item 
uint16\_\-t \hyperlink{classUnknownLsa_a39211b2adfb0891f9ddf76a7a5d39c15}{get\_\-ls\_\-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 
bool \hyperlink{classUnknownLsa_af9bbc9ba30367c44de7073b938587163}{known} () const 
\begin{DoxyCompactList}\small\item\em OSPFv3 only is this a known LSA, of course not this is \hyperlink{protocolthe-p}{the} unknown LSA. \item\end{DoxyCompactList}\item 
\hyperlink{classref__ptr}{LsaRef} \hyperlink{classUnknownLsa_adea599207418e5c2252921812fb62f59}{decode} (uint8\_\-t $\ast$buf, size\_\-t \&len) const   throw (InvalidPacket)
\begin{DoxyCompactList}\small\item\em Decode an LSA. \item\end{DoxyCompactList}\item 
bool \hyperlink{classUnknownLsa_aae790e7fe30bc14ea1dc1c3e0e5257e9}{encode} ()
\begin{DoxyCompactList}\small\item\em Encode an LSA for transmission. \item\end{DoxyCompactList}\item 
\hypertarget{classUnknownLsa_ad04ecfac59781381f20e16d3dcb69b37}{
const char $\ast$ \hyperlink{classUnknownLsa_ad04ecfac59781381f20e16d3dcb69b37}{name} () const }
\label{classUnknownLsa_ad04ecfac59781381f20e16d3dcb69b37}

\begin{DoxyCompactList}\small\item\em Printable name of this LSA. \item\end{DoxyCompactList}\item 
\hypertarget{classUnknownLsa_aed2e19d88d34715c6acfce7a1e138019}{
string \hyperlink{classUnknownLsa_aed2e19d88d34715c6acfce7a1e138019}{str} () const }
\label{classUnknownLsa_aed2e19d88d34715c6acfce7a1e138019}

\begin{DoxyCompactList}\small\item\em Generate a printable representation. \item\end{DoxyCompactList}\end{DoxyCompactItemize}


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


Decode an LSA. 


\begin{DoxyParams}{Parameters}
{\em buf} & pointer to buffer. \\
\hline
{\em len} & length of \hyperlink{protocolthe-p}{the} buffer on input set to \hyperlink{protocolthe-p}{the} number of bytes consumed on output.\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
A reference to an LSA that manages its own memory. 
\end{DoxyReturn}


Implements \hyperlink{classLsa_a2658a7d54d470268138d15938be0f464}{Lsa}.

\hypertarget{classUnknownLsa_aae790e7fe30bc14ea1dc1c3e0e5257e9}{
\index{UnknownLsa@{UnknownLsa}!encode@{encode}}
\index{encode@{encode}!UnknownLsa@{UnknownLsa}}
\subsubsection[{encode}]{\setlength{\rightskip}{0pt plus 5cm}bool UnknownLsa::encode (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}
\label{classUnknownLsa_aae790e7fe30bc14ea1dc1c3e0e5257e9}


Encode an LSA for transmission. 

\begin{DoxyReturn}{Returns}
True on success. 
\end{DoxyReturn}


Implements \hyperlink{classLsa_ae3bd3a0bd24ed458cc8ac8d7e91d1c35}{Lsa}.

\hypertarget{classUnknownLsa_a39211b2adfb0891f9ddf76a7a5d39c15}{
\index{UnknownLsa@{UnknownLsa}!get\_\-ls\_\-type@{get\_\-ls\_\-type}}
\index{get\_\-ls\_\-type@{get\_\-ls\_\-type}!UnknownLsa@{UnknownLsa}}
\subsubsection[{get\_\-ls\_\-type}]{\setlength{\rightskip}{0pt plus 5cm}uint16\_\-t UnknownLsa::get\_\-ls\_\-type (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}inline, virtual\mbox{]}}}}
\label{classUnknownLsa_a39211b2adfb0891f9ddf76a7a5d39c15}


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

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


Implements \hyperlink{classLsa_a0dcc648678ac88856635609a17029ae9}{Lsa}.

\hypertarget{classUnknownLsa_af9bbc9ba30367c44de7073b938587163}{
\index{UnknownLsa@{UnknownLsa}!known@{known}}
\index{known@{known}!UnknownLsa@{UnknownLsa}}
\subsubsection[{known}]{\setlength{\rightskip}{0pt plus 5cm}bool UnknownLsa::known (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}inline, virtual\mbox{]}}}}
\label{classUnknownLsa_af9bbc9ba30367c44de7073b938587163}


OSPFv3 only is this a known LSA, of course not this is \hyperlink{protocolthe-p}{the} unknown LSA. 

\begin{DoxyReturn}{Returns}
false. 
\end{DoxyReturn}


Reimplemented from \hyperlink{classLsa_abcb3b34b9408371def09e5a166441832}{Lsa}.

\hypertarget{classUnknownLsa_a1dd68eceac09843c91971d0f4878d3ef}{
\index{UnknownLsa@{UnknownLsa}!min\_\-length@{min\_\-length}}
\index{min\_\-length@{min\_\-length}!UnknownLsa@{UnknownLsa}}
\subsubsection[{min\_\-length}]{\setlength{\rightskip}{0pt plus 5cm}size\_\-t UnknownLsa::min\_\-length (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}inline, virtual\mbox{]}}}}
\label{classUnknownLsa_a1dd68eceac09843c91971d0f4878d3ef}
\begin{DoxyReturn}{Returns}
\hyperlink{protocolthe-p}{the} minimum length of a Router-\/LSA. 
\end{DoxyReturn}


Implements \hyperlink{classLsa_ad3324ea3bfa81ff90d15690c5ccbd1e4}{Lsa}.



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