\hypertarget{classIfMgrIfSetMac}{
\section{IfMgrIfSetMac Class Reference}
\label{classIfMgrIfSetMac}\index{IfMgrIfSetMac@{IfMgrIfSetMac}}
}


\hyperlink{classCommand}{Command} to set MAC address of interface.  




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

Inheritance diagram for IfMgrIfSetMac:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=3.000000cm]{classIfMgrIfSetMac}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hypertarget{classIfMgrIfSetMac_adc8f196dc565eef17a218a5624ad2226}{
{\bfseries IfMgrIfSetMac} (const string \&ifname, const \hyperlink{classMac}{Mac} \&mac)}
\label{classIfMgrIfSetMac_adc8f196dc565eef17a218a5624ad2226}

\item 
\hypertarget{classIfMgrIfSetMac_af9ba2336ec5f01ec86aad9747ffafdab}{
const \hyperlink{classMac}{Mac} \& {\bfseries mac} () const }
\label{classIfMgrIfSetMac_af9ba2336ec5f01ec86aad9747ffafdab}

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

\begin{DoxyCompactList}\small\item\em Render command as string. \item\end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Protected Attributes}
\begin{DoxyCompactItemize}
\item 
\hypertarget{classIfMgrIfSetMac_a12cca2df4ba179b6e6aa7537594ed6d6}{
\hyperlink{classMac}{Mac} {\bfseries \_\-mac}}
\label{classIfMgrIfSetMac_a12cca2df4ba179b6e6aa7537594ed6d6}

\end{DoxyCompactItemize}


\subsection{Detailed Description}
\hyperlink{classCommand}{Command} to set MAC address of interface. 

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


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

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


Implements \hyperlink{classIfMgrCommandBase_a46a666d7c10bdc6f057c883464024fb3}{IfMgrCommandBase}.

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


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}
