\hypertarget{classType7Lsa}{
\section{Type7Lsa Class Reference}
\label{classType7Lsa}\index{Type7Lsa@{Type7Lsa}}
}


Type-\/7 LSA used to convey external routing information in NSSAs.  




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

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

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

\item 
uint16\_\-t \hyperlink{classType7Lsa_a1be2bdea4c4eab154712d9d8b192164a}{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{classType7Lsa_a5d95d707fa2ce85b1724d9eb86687384}{external} () const 
\item 
bool \hyperlink{classType7Lsa_a0ab59fde712b8644153616e16b73b320}{type7} () const 
\item 
\hypertarget{classType7Lsa_a8db9d75761f7b2affd36ea5d099ce061}{
virtual \hyperlink{classASExternalLsa}{ASExternalLsa} $\ast$ \hyperlink{classType7Lsa_a8db9d75761f7b2affd36ea5d099ce061}{donew} (\hyperlink{structOspfTypes_a60eb031df0c10af753789ae76b185ec2}{OspfTypes::Version} version, uint8\_\-t $\ast$buf, size\_\-t len) const }
\label{classType7Lsa_a8db9d75761f7b2affd36ea5d099ce061}

\begin{DoxyCompactList}\small\item\em Create a new instance of this LSA, allows \hyperlink{protocolthe-p}{the} decode routine to call either this or \hyperlink{protocolthe-p}{the} Type7 donew. \item\end{DoxyCompactList}\item 
\hypertarget{classType7Lsa_ad242ccdb9048659ae430f89f7d04982b}{
string \hyperlink{classType7Lsa_ad242ccdb9048659ae430f89f7d04982b}{str\_\-name} () const }
\label{classType7Lsa_ad242ccdb9048659ae430f89f7d04982b}

\begin{DoxyCompactList}\small\item\em Name used in \hyperlink{protocolthe-p}{the} \hyperlink{classASExternalLsa_a6eef4df099d344acd30c61facd7c93a1}{str()} method. \item\end{DoxyCompactList}\item 
\hypertarget{classType7Lsa_a79cc3de700e4ebf31f830a1f3e39b429}{
const char $\ast$ \hyperlink{classType7Lsa_a79cc3de700e4ebf31f830a1f3e39b429}{name} () const }
\label{classType7Lsa_a79cc3de700e4ebf31f830a1f3e39b429}

\begin{DoxyCompactList}\small\item\em Printable name of this LSA. \item\end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
Type-\/7 LSA used to convey external routing information in NSSAs. 

\subsection{Member Function Documentation}
\hypertarget{classType7Lsa_a5d95d707fa2ce85b1724d9eb86687384}{
\index{Type7Lsa@{Type7Lsa}!external@{external}}
\index{external@{external}!Type7Lsa@{Type7Lsa}}
\subsubsection[{external}]{\setlength{\rightskip}{0pt plus 5cm}bool Type7Lsa::external (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}inline, virtual\mbox{]}}}}
\label{classType7Lsa_a5d95d707fa2ce85b1724d9eb86687384}
\begin{DoxyReturn}{Returns}
True this is an AS-\/external-\/LSA. 
\end{DoxyReturn}


Reimplemented from \hyperlink{classASExternalLsa_ae79906bbddb9d4fde9c0ae35dc22d61e}{ASExternalLsa}.

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


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}


Reimplemented from \hyperlink{classASExternalLsa_a07e7e2f9f9cd64178d9210eb0e34816e}{ASExternalLsa}.

\hypertarget{classType7Lsa_a0ab59fde712b8644153616e16b73b320}{
\index{Type7Lsa@{Type7Lsa}!type7@{type7}}
\index{type7@{type7}!Type7Lsa@{Type7Lsa}}
\subsubsection[{type7}]{\setlength{\rightskip}{0pt plus 5cm}bool Type7Lsa::type7 (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}inline, virtual\mbox{]}}}}
\label{classType7Lsa_a0ab59fde712b8644153616e16b73b320}
\begin{DoxyReturn}{Returns}
True if this LSA is a Type-\/7-\/LSA. 
\end{DoxyReturn}


Reimplemented from \hyperlink{classLsa_ac4df00a711468ca7dd10c268d5885728}{Lsa}.



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