\hypertarget{classIPNextHop}{
\section{IPNextHop$<$ A $>$ Class Template Reference}
\label{classIPNextHop}\index{IPNextHop@{IPNextHop}}
}


Template class for nexthop information.  




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

Inheritance diagram for IPNextHop$<$ A $>$:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=3.000000cm]{classIPNextHop}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{classIPNextHop_ad9d46e552fab050326f13e3b1287929e}{IPNextHop} (const A \&from\_\-ipaddr)
\begin{DoxyCompactList}\small\item\em Constructor from an address. \item\end{DoxyCompactList}\item 
const A \& \hyperlink{classIPNextHop_a78153ba06e82594c8115984530b00d67}{addr} () const 
\begin{DoxyCompactList}\small\item\em Get \hyperlink{protocolthe-p}{the} address of \hyperlink{protocolthe-p}{the} nexthop. \item\end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Protected Attributes}
\begin{DoxyCompactItemize}
\item 
\hypertarget{classIPNextHop_a092f01796b4e90e90815ea4ef104989f}{
A {\bfseries \_\-addr}}
\label{classIPNextHop_a092f01796b4e90e90815ea4ef104989f}

\end{DoxyCompactItemize}


\subsection{Detailed Description}
\subsubsection*{template$<$class A$>$ class IPNextHop$<$ A $>$}

Template class for nexthop information. The information contained is \hyperlink{protocolthe-p}{the} nexthop address. 

\subsection{Constructor \& Destructor Documentation}
\hypertarget{classIPNextHop_ad9d46e552fab050326f13e3b1287929e}{
\index{IPNextHop@{IPNextHop}!IPNextHop@{IPNextHop}}
\index{IPNextHop@{IPNextHop}!IPNextHop@{IPNextHop}}
\subsubsection[{IPNextHop}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class A $>$ {\bf IPNextHop}$<$ A $>$::{\bf IPNextHop} (
\begin{DoxyParamCaption}
\item[{const A \&}]{from\_\-ipaddr}
\end{DoxyParamCaption}
)}}
\label{classIPNextHop_ad9d46e552fab050326f13e3b1287929e}


Constructor from an address. 


\begin{DoxyParams}{Parameters}
{\em from\_\-ipaddr} & \hyperlink{classIPv4}{IPv4} or \hyperlink{classIPv6}{IPv6} or \hyperlink{classIPvX}{IPvX} address to initialize nexthop. \\
\hline
\end{DoxyParams}


\subsection{Member Function Documentation}
\hypertarget{classIPNextHop_a78153ba06e82594c8115984530b00d67}{
\index{IPNextHop@{IPNextHop}!addr@{addr}}
\index{addr@{addr}!IPNextHop@{IPNextHop}}
\subsubsection[{addr}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class A$>$ const A\& {\bf IPNextHop}$<$ A $>$::addr (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{classIPNextHop_a78153ba06e82594c8115984530b00d67}


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

\begin{DoxyReturn}{Returns}
\hyperlink{protocolthe-p}{the} address of \hyperlink{protocolthe-p}{the} nexthop. 
\end{DoxyReturn}


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}
