\hypertarget{classUnreachableNextHop}{
\section{UnreachableNextHop Class Reference}
\label{classUnreachableNextHop}\index{UnreachableNextHop@{UnreachableNextHop}}
}


A nexthop that is \hyperlink{protocolthe-p}{the} unreachable interface.  




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

Inheritance diagram for UnreachableNextHop:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=2.000000cm]{classUnreachableNextHop}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hypertarget{classUnreachableNextHop_ae9ea54c4d85a23a3a4fdd574af4d11ec}{
\hyperlink{classUnreachableNextHop_ae9ea54c4d85a23a3a4fdd574af4d11ec}{UnreachableNextHop} ()}
\label{classUnreachableNextHop_ae9ea54c4d85a23a3a4fdd574af4d11ec}

\begin{DoxyCompactList}\small\item\em Default constructor. \item\end{DoxyCompactList}\item 
int \hyperlink{classUnreachableNextHop_a9773c47df1c1cf831b032cf4d5a1b350}{type} ()
\begin{DoxyCompactList}\small\item\em Get \hyperlink{protocolthe-p}{the} type of \hyperlink{protocolthe-p}{the} nexthop. \item\end{DoxyCompactList}\item 
string \hyperlink{classUnreachableNextHop_a05708e06ccee3b1bd0536c94ef32cda6}{str} () const 
\begin{DoxyCompactList}\small\item\em Convert this nexthop from binary form to presentation format. \item\end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
A nexthop that is \hyperlink{protocolthe-p}{the} unreachable interface. Specialization of \hyperlink{classNextHop}{NextHop} for adding routing entries that return ICMP destination unreachable messages. 

\subsection{Member Function Documentation}
\hypertarget{classUnreachableNextHop_a05708e06ccee3b1bd0536c94ef32cda6}{
\index{UnreachableNextHop@{UnreachableNextHop}!str@{str}}
\index{str@{str}!UnreachableNextHop@{UnreachableNextHop}}
\subsubsection[{str}]{\setlength{\rightskip}{0pt plus 5cm}string UnreachableNextHop::str (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}
\label{classUnreachableNextHop_a05708e06ccee3b1bd0536c94ef32cda6}


Convert this nexthop from binary form to presentation format. 

\begin{DoxyReturn}{Returns}
C++ string with \hyperlink{protocolthe-p}{the} human-\/readable ASCII representation of \hyperlink{protocolthe-p}{the} nexthop. 
\end{DoxyReturn}


Implements \hyperlink{classNextHop_a49a648175c891cc151a3f35012f182ed}{NextHop}.

\hypertarget{classUnreachableNextHop_a9773c47df1c1cf831b032cf4d5a1b350}{
\index{UnreachableNextHop@{UnreachableNextHop}!type@{type}}
\index{type@{type}!UnreachableNextHop@{UnreachableNextHop}}
\subsubsection[{type}]{\setlength{\rightskip}{0pt plus 5cm}int UnreachableNextHop::type (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline, virtual\mbox{]}}}}
\label{classUnreachableNextHop_a9773c47df1c1cf831b032cf4d5a1b350}


Get \hyperlink{protocolthe-p}{the} type of \hyperlink{protocolthe-p}{the} nexthop. 

\begin{DoxyReturn}{Returns}
\hyperlink{protocolthe-p}{the} nexthop type. In this case, it is UNREACHABLE\_\-NEXTHOP. 
\end{DoxyReturn}


Implements \hyperlink{classNextHop_a09b483df131b2b06e31bb9fdf5cc07e6}{NextHop}.



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