\hypertarget{classSetAddr4Prefix}{
\section{SetAddr4Prefix Class Reference}
\label{classSetAddr4Prefix}\index{SetAddr4Prefix@{SetAddr4Prefix}}
}


Class to set \hyperlink{protocolthe-p}{the} prefix of an \hyperlink{classIPv4}{IPv4} address associated with a vif.  




{\ttfamily \#include $<$ifconfig\_\-transaction.hh$>$}

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

\item 
bool \hyperlink{classSetAddr4Prefix_a284f16e5d1ad283cfb81d1ad851b4c90}{dispatch} ()
\begin{DoxyCompactList}\small\item\em Dispatch operation. \item\end{DoxyCompactList}\item 
string \hyperlink{classSetAddr4Prefix_aee57b5d0fb1a88e2d157b264763f26d3}{str} () const 
\end{DoxyCompactItemize}
\subsection*{Static Public Attributes}
\begin{DoxyCompactItemize}
\item 
\hypertarget{classSetAddr4Prefix_ae9f4006d598b1e8ca249b99b7cdb3f79}{
static const uint32\_\-t {\bfseries MAX\_\-PREFIX\_\-LEN} = 32}
\label{classSetAddr4Prefix_ae9f4006d598b1e8ca249b99b7cdb3f79}

\end{DoxyCompactItemize}
\subsection*{Protected Attributes}
\begin{DoxyCompactItemize}
\item 
\hypertarget{classSetAddr4Prefix_a57967bd516617ba0500b5804b27e5260}{
uint32\_\-t {\bfseries \_\-prefix\_\-len}}
\label{classSetAddr4Prefix_a57967bd516617ba0500b5804b27e5260}

\end{DoxyCompactItemize}


\subsection{Detailed Description}
Class to set \hyperlink{protocolthe-p}{the} prefix of an \hyperlink{classIPv4}{IPv4} address associated with a vif. 

\subsection{Member Function Documentation}
\hypertarget{classSetAddr4Prefix_a284f16e5d1ad283cfb81d1ad851b4c90}{
\index{SetAddr4Prefix@{SetAddr4Prefix}!dispatch@{dispatch}}
\index{dispatch@{dispatch}!SetAddr4Prefix@{SetAddr4Prefix}}
\subsubsection[{dispatch}]{\setlength{\rightskip}{0pt plus 5cm}bool SetAddr4Prefix::dispatch (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline, virtual\mbox{]}}}}
\label{classSetAddr4Prefix_a284f16e5d1ad283cfb81d1ad851b4c90}


Dispatch operation. 

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


Implements \hyperlink{classTransactionOperation_af7bf9947f71a3aca9dcda09f5dec9037}{TransactionOperation}.

\hypertarget{classSetAddr4Prefix_aee57b5d0fb1a88e2d157b264763f26d3}{
\index{SetAddr4Prefix@{SetAddr4Prefix}!str@{str}}
\index{str@{str}!SetAddr4Prefix@{SetAddr4Prefix}}
\subsubsection[{str}]{\setlength{\rightskip}{0pt plus 5cm}string SetAddr4Prefix::str (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}inline, virtual\mbox{]}}}}
\label{classSetAddr4Prefix_aee57b5d0fb1a88e2d157b264763f26d3}
\begin{DoxyReturn}{Returns}
string representation of operation. 
\end{DoxyReturn}


Implements \hyperlink{classTransactionOperation_a2cea2981f6150390f9223372b6e89194}{TransactionOperation}.



The documentation for this class was generated from the following file:\begin{DoxyCompactItemize}
\item 
/home/greearb/git/xorp.ct.github/xorp/fea/ifconfig\_\-transaction.hh\end{DoxyCompactItemize}
