\hypertarget{classIfMgrIPv4SetLoopback}{
\section{IfMgrIPv4SetLoopback Class Reference}
\label{classIfMgrIPv4SetLoopback}\index{IfMgrIPv4SetLoopback@{IfMgrIPv4SetLoopback}}
}


\hyperlink{classCommand}{Command} to mark virtual interface address as a loopback address.  




{\ttfamily \#include $<$ifmgr\_\-cmds.hh$>$}

Inheritance diagram for IfMgrIPv4SetLoopback:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=5.000000cm]{classIfMgrIPv4SetLoopback}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hypertarget{classIfMgrIPv4SetLoopback_ad8e9d86bc6860831216a6fa9ff63f7e2}{
{\bfseries IfMgrIPv4SetLoopback} (const string \&ifname, const string \&vifname, const \hyperlink{classIPv4}{IPv4} \&addr, bool loopback)}
\label{classIfMgrIPv4SetLoopback_ad8e9d86bc6860831216a6fa9ff63f7e2}

\item 
\hypertarget{classIfMgrIPv4SetLoopback_ab22ffa6ef1a30a60f812a4e2d5e8206f}{
bool {\bfseries loopback} () const }
\label{classIfMgrIPv4SetLoopback_ab22ffa6ef1a30a60f812a4e2d5e8206f}

\item 
bool \hyperlink{classIfMgrIPv4SetLoopback_ad82fe79441fec46bf79235ceb1a2c328}{execute} (\hyperlink{classIfMgrIfTree}{IfMgrIfTree} \&tree) const 
\begin{DoxyCompactList}\small\item\em Execute \hyperlink{classCommand}{Command} to interface tree. \item\end{DoxyCompactList}\item 
bool \hyperlink{classIfMgrIPv4SetLoopback_a644b5c13ad68b510d4fb75b5b304b38e}{forward} (\hyperlink{classXrlSender}{XrlSender} \&sender, const string \&xrl\_\-target, const IfMgrXrlSendCB \&xscb) const 
\begin{DoxyCompactList}\small\item\em Forward \hyperlink{classCommand}{Command} as an \hyperlink{classXrl}{Xrl} call to a remote target. \item\end{DoxyCompactList}\item 
\hypertarget{classIfMgrIPv4SetLoopback_ac8b8f439a1b017ef9ac06af4afd78268}{
string \hyperlink{classIfMgrIPv4SetLoopback_ac8b8f439a1b017ef9ac06af4afd78268}{str} () const }
\label{classIfMgrIPv4SetLoopback_ac8b8f439a1b017ef9ac06af4afd78268}

\begin{DoxyCompactList}\small\item\em Render command as string. \item\end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Protected Attributes}
\begin{DoxyCompactItemize}
\item 
\hypertarget{classIfMgrIPv4SetLoopback_aff8b937f4ae76abf9450f044d1324709}{
bool {\bfseries \_\-loopback}}
\label{classIfMgrIPv4SetLoopback_aff8b937f4ae76abf9450f044d1324709}

\end{DoxyCompactItemize}


\subsection{Detailed Description}
\hyperlink{classCommand}{Command} to mark virtual interface address as a loopback address. 

\subsection{Member Function Documentation}
\hypertarget{classIfMgrIPv4SetLoopback_ad82fe79441fec46bf79235ceb1a2c328}{
\index{IfMgrIPv4SetLoopback@{IfMgrIPv4SetLoopback}!execute@{execute}}
\index{execute@{execute}!IfMgrIPv4SetLoopback@{IfMgrIPv4SetLoopback}}
\subsubsection[{execute}]{\setlength{\rightskip}{0pt plus 5cm}bool IfMgrIPv4SetLoopback::execute (
\begin{DoxyParamCaption}
\item[{{\bf IfMgrIfTree} \&}]{tree}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}
\label{classIfMgrIPv4SetLoopback_ad82fe79441fec46bf79235ceb1a2c328}


Execute \hyperlink{classCommand}{Command} to interface tree. 

\begin{DoxyReturn}{Returns}
true on success, false on failure. 
\end{DoxyReturn}


Implements \hyperlink{classIfMgrCommandBase_a46a666d7c10bdc6f057c883464024fb3}{IfMgrCommandBase}.

\hypertarget{classIfMgrIPv4SetLoopback_a644b5c13ad68b510d4fb75b5b304b38e}{
\index{IfMgrIPv4SetLoopback@{IfMgrIPv4SetLoopback}!forward@{forward}}
\index{forward@{forward}!IfMgrIPv4SetLoopback@{IfMgrIPv4SetLoopback}}
\subsubsection[{forward}]{\setlength{\rightskip}{0pt plus 5cm}bool IfMgrIPv4SetLoopback::forward (
\begin{DoxyParamCaption}
\item[{{\bf XrlSender} \&}]{sender, }
\item[{const string \&}]{xrl\_\-target, }
\item[{const IfMgrXrlSendCB \&}]{xscb}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}
\label{classIfMgrIPv4SetLoopback_a644b5c13ad68b510d4fb75b5b304b38e}


Forward \hyperlink{classCommand}{Command} as an \hyperlink{classXrl}{Xrl} call to a remote target. 


\begin{DoxyParams}{Parameters}
{\em sender} & xrl router to use as \hyperlink{protocolthe-p}{the} command sender. \\
\hline
{\em xrl\_\-target} & \hyperlink{protocolthe-p}{the} target to direct \hyperlink{protocolthe-p}{the} command to. \\
\hline
{\em xscb} & callback to invoke with \hyperlink{classXrl}{Xrl} result.\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
true on success, false on failure. 
\end{DoxyReturn}


Implements \hyperlink{classIfMgrCommandBase_a3a4578efe6bdc5ec5b92c60eee8e55c3}{IfMgrCommandBase}.



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