\hypertarget{classIfMgrIPv4SetPrefix}{
\section{IfMgrIPv4SetPrefix Class Reference}
\label{classIfMgrIPv4SetPrefix}\index{IfMgrIPv4SetPrefix@{IfMgrIPv4SetPrefix}}
}


\hyperlink{classCommand}{Command} to set prefix of a virtual interface interface address.  




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

Inheritance diagram for IfMgrIPv4SetPrefix:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=5.000000cm]{classIfMgrIPv4SetPrefix}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hypertarget{classIfMgrIPv4SetPrefix_a27e6c8914a0d3cb2ff66adc3acd28878}{
{\bfseries IfMgrIPv4SetPrefix} (const string \&ifname, const string \&vifname, const \hyperlink{classIPv4}{IPv4} \&addr, uint32\_\-t prefix\_\-len)}
\label{classIfMgrIPv4SetPrefix_a27e6c8914a0d3cb2ff66adc3acd28878}

\item 
\hypertarget{classIfMgrIPv4SetPrefix_a78c5325f2579cdbaf5f08c2bbd2b7130}{
uint32\_\-t {\bfseries prefix\_\-len} () const }
\label{classIfMgrIPv4SetPrefix_a78c5325f2579cdbaf5f08c2bbd2b7130}

\item 
bool \hyperlink{classIfMgrIPv4SetPrefix_a2ad81557d16965cee406911b9157ecd1}{execute} (\hyperlink{classIfMgrIfTree}{IfMgrIfTree} \&tree) const 
\begin{DoxyCompactList}\small\item\em Execute \hyperlink{classCommand}{Command} to interface tree. \item\end{DoxyCompactList}\item 
bool \hyperlink{classIfMgrIPv4SetPrefix_a92d8c4d6ccc1d6305347d67e8b960953}{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{classIfMgrIPv4SetPrefix_afbea9c56900ea484029d829ca8979630}{
string \hyperlink{classIfMgrIPv4SetPrefix_afbea9c56900ea484029d829ca8979630}{str} () const }
\label{classIfMgrIPv4SetPrefix_afbea9c56900ea484029d829ca8979630}

\begin{DoxyCompactList}\small\item\em Render command as string. \item\end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Protected Attributes}
\begin{DoxyCompactItemize}
\item 
\hypertarget{classIfMgrIPv4SetPrefix_afad44d01c9daeb860aa647c7f3082ce2}{
uint32\_\-t {\bfseries \_\-prefix\_\-len}}
\label{classIfMgrIPv4SetPrefix_afad44d01c9daeb860aa647c7f3082ce2}

\end{DoxyCompactItemize}


\subsection{Detailed Description}
\hyperlink{classCommand}{Command} to set prefix of a virtual interface interface address. 

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


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

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


Implements \hyperlink{classIfMgrCommandBase_a46a666d7c10bdc6f057c883464024fb3}{IfMgrCommandBase}.

\hypertarget{classIfMgrIPv4SetPrefix_a92d8c4d6ccc1d6305347d67e8b960953}{
\index{IfMgrIPv4SetPrefix@{IfMgrIPv4SetPrefix}!forward@{forward}}
\index{forward@{forward}!IfMgrIPv4SetPrefix@{IfMgrIPv4SetPrefix}}
\subsubsection[{forward}]{\setlength{\rightskip}{0pt plus 5cm}bool IfMgrIPv4SetPrefix::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{classIfMgrIPv4SetPrefix_a92d8c4d6ccc1d6305347d67e8b960953}


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}
