\hypertarget{classFirewallSetIpfw2}{
\section{FirewallSetIpfw2 Class Reference}
\label{classFirewallSetIpfw2}\index{FirewallSetIpfw2@{FirewallSetIpfw2}}
}
Inheritance diagram for FirewallSetIpfw2:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=2.000000cm]{classFirewallSetIpfw2}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{classFirewallSetIpfw2_a71d660abd5d470ee37ec37c67fc77d16}{FirewallSetIpfw2} (\hyperlink{classFeaDataPlaneManager}{FeaDataPlaneManager} \&fea\_\-data\_\-plane\_\-manager)
\begin{DoxyCompactList}\small\item\em Constructor. \item\end{DoxyCompactList}\item 
\hypertarget{classFirewallSetIpfw2_a1dc7126b81a40bb8cc348f59993b00cb}{
virtual \hyperlink{classFirewallSetIpfw2_a1dc7126b81a40bb8cc348f59993b00cb}{$\sim$FirewallSetIpfw2} ()}
\label{classFirewallSetIpfw2_a1dc7126b81a40bb8cc348f59993b00cb}

\begin{DoxyCompactList}\small\item\em Virtual destructor. \item\end{DoxyCompactList}\item 
virtual int \hyperlink{classFirewallSetIpfw2_a0597bb7af41985f0dfde7ed48d7013d4}{start} (string \&error\_\-msg)
\begin{DoxyCompactList}\small\item\em Start operation. \item\end{DoxyCompactList}\item 
virtual int \hyperlink{classFirewallSetIpfw2_abf8892d1c6275bfbb540c39814c44261}{stop} (string \&error\_\-msg)
\begin{DoxyCompactList}\small\item\em Stop operation. \item\end{DoxyCompactList}\item 
virtual int \hyperlink{classFirewallSetIpfw2_abb09e5209e7e00b80de6a90a180966f1}{update\_\-entries} (const list$<$ \hyperlink{classFirewallEntry}{FirewallEntry} $>$ \&added\_\-entries, const list$<$ \hyperlink{classFirewallEntry}{FirewallEntry} $>$ \&replaced\_\-entries, const list$<$ \hyperlink{classFirewallEntry}{FirewallEntry} $>$ \&deleted\_\-entries, string \&error\_\-msg)
\begin{DoxyCompactList}\small\item\em Update \hyperlink{protocolthe-p}{the} firewall entries by pushing them into \hyperlink{protocolthe-p}{the} underlying system. \item\end{DoxyCompactList}\item 
virtual int \hyperlink{classFirewallSetIpfw2_a5d986e980f1f65920bfa480bbc55e84c}{set\_\-table4} (const list$<$ \hyperlink{classFirewallEntry}{FirewallEntry} $>$ \&firewall\_\-entry\_\-list, string \&error\_\-msg)
\begin{DoxyCompactList}\small\item\em Set \hyperlink{protocolthe-p}{the} \hyperlink{classIPv4}{IPv4} firewall table. \item\end{DoxyCompactList}\item 
virtual int \hyperlink{classFirewallSetIpfw2_a429a107f01c4a41ff17a88e49ab62f82}{delete\_\-all\_\-entries4} (string \&error\_\-msg)
\begin{DoxyCompactList}\small\item\em Delete all entries in \hyperlink{protocolthe-p}{the} \hyperlink{classIPv4}{IPv4} firewall table. \item\end{DoxyCompactList}\item 
virtual int \hyperlink{classFirewallSetIpfw2_ad92a8344cfa1472bec8dd0d65bb35a69}{set\_\-table6} (const list$<$ \hyperlink{classFirewallEntry}{FirewallEntry} $>$ \&firewall\_\-entry\_\-list, string \&error\_\-msg)
\begin{DoxyCompactList}\small\item\em Set \hyperlink{protocolthe-p}{the} \hyperlink{classIPv6}{IPv6} firewall table. \item\end{DoxyCompactList}\item 
virtual int \hyperlink{classFirewallSetIpfw2_a2a0896f9539c618a5f949ca33203ae62}{delete\_\-all\_\-entries6} (string \&error\_\-msg)
\begin{DoxyCompactList}\small\item\em Delete all entries in \hyperlink{protocolthe-p}{the} \hyperlink{classIPv6}{IPv6} firewall table. \item\end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Private Member Functions}
\begin{DoxyCompactItemize}
\item 
virtual int \hyperlink{classFirewallSetIpfw2_af028a4a36b4a073a9548d5833e3bd273}{add\_\-entry} (const \hyperlink{classFirewallEntry}{FirewallEntry} \&firewall\_\-entry, string \&error\_\-msg)
\begin{DoxyCompactList}\small\item\em Add a single firewall entry. \item\end{DoxyCompactList}\item 
virtual int \hyperlink{classFirewallSetIpfw2_ac203ad96438b83c6208faab2dbc67b11}{replace\_\-entry} (const \hyperlink{classFirewallEntry}{FirewallEntry} \&firewall\_\-entry, string \&error\_\-msg)
\begin{DoxyCompactList}\small\item\em Replace a single firewall entry. \item\end{DoxyCompactList}\item 
virtual int \hyperlink{classFirewallSetIpfw2_a81c42d298f4ea8d69fa4dbcb3e27a11e}{delete\_\-entry} (const \hyperlink{classFirewallEntry}{FirewallEntry} \&firewall\_\-entry, string \&error\_\-msg)
\begin{DoxyCompactList}\small\item\em Delete a single firewall entry. \item\end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Private Attributes}
\begin{DoxyCompactItemize}
\item 
\hypertarget{classFirewallSetIpfw2_a5fa9a84ada782edbf43b9fbf70bd6eee}{
int {\bfseries \_\-s4}}
\label{classFirewallSetIpfw2_a5fa9a84ada782edbf43b9fbf70bd6eee}

\item 
\hypertarget{classFirewallSetIpfw2_a28fb65332a4d2d07fa5b3f1f19cf5ab1}{
uint32\_\-t {\bfseries \_\-saved\_\-autoinc\_\-step}}
\label{classFirewallSetIpfw2_a28fb65332a4d2d07fa5b3f1f19cf5ab1}

\end{DoxyCompactItemize}


\subsection{Constructor \& Destructor Documentation}
\hypertarget{classFirewallSetIpfw2_a71d660abd5d470ee37ec37c67fc77d16}{
\index{FirewallSetIpfw2@{FirewallSetIpfw2}!FirewallSetIpfw2@{FirewallSetIpfw2}}
\index{FirewallSetIpfw2@{FirewallSetIpfw2}!FirewallSetIpfw2@{FirewallSetIpfw2}}
\subsubsection[{FirewallSetIpfw2}]{\setlength{\rightskip}{0pt plus 5cm}FirewallSetIpfw2::FirewallSetIpfw2 (
\begin{DoxyParamCaption}
\item[{{\bf FeaDataPlaneManager} \&}]{fea\_\-data\_\-plane\_\-manager}
\end{DoxyParamCaption}
)}}
\label{classFirewallSetIpfw2_a71d660abd5d470ee37ec37c67fc77d16}


Constructor. 


\begin{DoxyParams}{Parameters}
{\em fea\_\-data\_\-plane\_\-manager} & \hyperlink{protocolthe-p}{the} corresponding data plane manager (\hyperlink{classFeaDataPlaneManager}{FeaDataPlaneManager}). \\
\hline
\end{DoxyParams}


\subsection{Member Function Documentation}
\hypertarget{classFirewallSetIpfw2_af028a4a36b4a073a9548d5833e3bd273}{
\index{FirewallSetIpfw2@{FirewallSetIpfw2}!add\_\-entry@{add\_\-entry}}
\index{add\_\-entry@{add\_\-entry}!FirewallSetIpfw2@{FirewallSetIpfw2}}
\subsubsection[{add\_\-entry}]{\setlength{\rightskip}{0pt plus 5cm}virtual int FirewallSetIpfw2::add\_\-entry (
\begin{DoxyParamCaption}
\item[{const {\bf FirewallEntry} \&}]{firewall\_\-entry, }
\item[{string \&}]{error\_\-msg}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}private, virtual\mbox{]}}}}
\label{classFirewallSetIpfw2_af028a4a36b4a073a9548d5833e3bd273}


Add a single firewall entry. 


\begin{DoxyParams}{Parameters}
{\em firewall\_\-entry} & \hyperlink{protocolthe-p}{the} entry to add. \\
\hline
{\em error\_\-msg} & \hyperlink{protocolthe-p}{the} error message (if error). \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
XORP\_\-OK on success, otherwise XORP\_\-ERROR. 
\end{DoxyReturn}
\hypertarget{classFirewallSetIpfw2_a429a107f01c4a41ff17a88e49ab62f82}{
\index{FirewallSetIpfw2@{FirewallSetIpfw2}!delete\_\-all\_\-entries4@{delete\_\-all\_\-entries4}}
\index{delete\_\-all\_\-entries4@{delete\_\-all\_\-entries4}!FirewallSetIpfw2@{FirewallSetIpfw2}}
\subsubsection[{delete\_\-all\_\-entries4}]{\setlength{\rightskip}{0pt plus 5cm}virtual int FirewallSetIpfw2::delete\_\-all\_\-entries4 (
\begin{DoxyParamCaption}
\item[{string \&}]{error\_\-msg}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}
\label{classFirewallSetIpfw2_a429a107f01c4a41ff17a88e49ab62f82}


Delete all entries in \hyperlink{protocolthe-p}{the} \hyperlink{classIPv4}{IPv4} firewall table. 


\begin{DoxyParams}{Parameters}
{\em error\_\-msg} & \hyperlink{protocolthe-p}{the} error message (if error). \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
XORP\_\-OK on success, otherwise XORP\_\-ERROR. 
\end{DoxyReturn}


Implements \hyperlink{classFirewallSet_af5a3ce3d8cff159aa3a7d490575df65f}{FirewallSet}.

\hypertarget{classFirewallSetIpfw2_a2a0896f9539c618a5f949ca33203ae62}{
\index{FirewallSetIpfw2@{FirewallSetIpfw2}!delete\_\-all\_\-entries6@{delete\_\-all\_\-entries6}}
\index{delete\_\-all\_\-entries6@{delete\_\-all\_\-entries6}!FirewallSetIpfw2@{FirewallSetIpfw2}}
\subsubsection[{delete\_\-all\_\-entries6}]{\setlength{\rightskip}{0pt plus 5cm}virtual int FirewallSetIpfw2::delete\_\-all\_\-entries6 (
\begin{DoxyParamCaption}
\item[{string \&}]{error\_\-msg}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}
\label{classFirewallSetIpfw2_a2a0896f9539c618a5f949ca33203ae62}


Delete all entries in \hyperlink{protocolthe-p}{the} \hyperlink{classIPv6}{IPv6} firewall table. 


\begin{DoxyParams}{Parameters}
{\em error\_\-msg} & \hyperlink{protocolthe-p}{the} error message (if error). \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
XORP\_\-OK on success, otherwise XORP\_\-ERROR. 
\end{DoxyReturn}


Implements \hyperlink{classFirewallSet_a63e816f562f4fcc4fcb78cd6fc4f1973}{FirewallSet}.

\hypertarget{classFirewallSetIpfw2_a81c42d298f4ea8d69fa4dbcb3e27a11e}{
\index{FirewallSetIpfw2@{FirewallSetIpfw2}!delete\_\-entry@{delete\_\-entry}}
\index{delete\_\-entry@{delete\_\-entry}!FirewallSetIpfw2@{FirewallSetIpfw2}}
\subsubsection[{delete\_\-entry}]{\setlength{\rightskip}{0pt plus 5cm}virtual int FirewallSetIpfw2::delete\_\-entry (
\begin{DoxyParamCaption}
\item[{const {\bf FirewallEntry} \&}]{firewall\_\-entry, }
\item[{string \&}]{error\_\-msg}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}private, virtual\mbox{]}}}}
\label{classFirewallSetIpfw2_a81c42d298f4ea8d69fa4dbcb3e27a11e}


Delete a single firewall entry. 


\begin{DoxyParams}{Parameters}
{\em firewall\_\-entry} & \hyperlink{protocolthe-p}{the} entry to delete. \\
\hline
{\em error\_\-msg} & \hyperlink{protocolthe-p}{the} error message (if error). \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
XORP\_\-OK on success, otherwise XORP\_\-ERROR. 
\end{DoxyReturn}
\hypertarget{classFirewallSetIpfw2_ac203ad96438b83c6208faab2dbc67b11}{
\index{FirewallSetIpfw2@{FirewallSetIpfw2}!replace\_\-entry@{replace\_\-entry}}
\index{replace\_\-entry@{replace\_\-entry}!FirewallSetIpfw2@{FirewallSetIpfw2}}
\subsubsection[{replace\_\-entry}]{\setlength{\rightskip}{0pt plus 5cm}virtual int FirewallSetIpfw2::replace\_\-entry (
\begin{DoxyParamCaption}
\item[{const {\bf FirewallEntry} \&}]{firewall\_\-entry, }
\item[{string \&}]{error\_\-msg}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}private, virtual\mbox{]}}}}
\label{classFirewallSetIpfw2_ac203ad96438b83c6208faab2dbc67b11}


Replace a single firewall entry. 


\begin{DoxyParams}{Parameters}
{\em firewall\_\-entry} & \hyperlink{protocolthe-p}{the} replacement entry. \\
\hline
{\em error\_\-msg} & \hyperlink{protocolthe-p}{the} error message (if error). \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
XORP\_\-OK on success, otherwise XORP\_\-ERROR. 
\end{DoxyReturn}
\hypertarget{classFirewallSetIpfw2_a5d986e980f1f65920bfa480bbc55e84c}{
\index{FirewallSetIpfw2@{FirewallSetIpfw2}!set\_\-table4@{set\_\-table4}}
\index{set\_\-table4@{set\_\-table4}!FirewallSetIpfw2@{FirewallSetIpfw2}}
\subsubsection[{set\_\-table4}]{\setlength{\rightskip}{0pt plus 5cm}virtual int FirewallSetIpfw2::set\_\-table4 (
\begin{DoxyParamCaption}
\item[{const list$<$ {\bf FirewallEntry} $>$ \&}]{firewall\_\-entry\_\-list, }
\item[{string \&}]{error\_\-msg}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}
\label{classFirewallSetIpfw2_a5d986e980f1f65920bfa480bbc55e84c}


Set \hyperlink{protocolthe-p}{the} \hyperlink{classIPv4}{IPv4} firewall table. 


\begin{DoxyParams}{Parameters}
{\em firewall\_\-entry\_\-list} & \hyperlink{protocolthe-p}{the} list with all entries to install into \hyperlink{protocolthe-p}{the} \hyperlink{classIPv4}{IPv4} firewall table. \\
\hline
{\em error\_\-msg} & \hyperlink{protocolthe-p}{the} error message (if error). \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
XORP\_\-OK on success, otherwise XORP\_\-ERROR. 
\end{DoxyReturn}


Implements \hyperlink{classFirewallSet_aeffd9dba73bbafa7499f373672d7aa42}{FirewallSet}.

\hypertarget{classFirewallSetIpfw2_ad92a8344cfa1472bec8dd0d65bb35a69}{
\index{FirewallSetIpfw2@{FirewallSetIpfw2}!set\_\-table6@{set\_\-table6}}
\index{set\_\-table6@{set\_\-table6}!FirewallSetIpfw2@{FirewallSetIpfw2}}
\subsubsection[{set\_\-table6}]{\setlength{\rightskip}{0pt plus 5cm}virtual int FirewallSetIpfw2::set\_\-table6 (
\begin{DoxyParamCaption}
\item[{const list$<$ {\bf FirewallEntry} $>$ \&}]{firewall\_\-entry\_\-list, }
\item[{string \&}]{error\_\-msg}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}
\label{classFirewallSetIpfw2_ad92a8344cfa1472bec8dd0d65bb35a69}


Set \hyperlink{protocolthe-p}{the} \hyperlink{classIPv6}{IPv6} firewall table. 


\begin{DoxyParams}{Parameters}
{\em firewall\_\-entry\_\-list} & \hyperlink{protocolthe-p}{the} list with all entries to install into \hyperlink{protocolthe-p}{the} \hyperlink{classIPv6}{IPv6} firewall table. \\
\hline
{\em error\_\-msg} & \hyperlink{protocolthe-p}{the} error message (if error). \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
XORP\_\-OK on success, otherwise XORP\_\-ERROR. 
\end{DoxyReturn}


Implements \hyperlink{classFirewallSet_af75142807ba8aaa93e7bf8308ae18d55}{FirewallSet}.

\hypertarget{classFirewallSetIpfw2_a0597bb7af41985f0dfde7ed48d7013d4}{
\index{FirewallSetIpfw2@{FirewallSetIpfw2}!start@{start}}
\index{start@{start}!FirewallSetIpfw2@{FirewallSetIpfw2}}
\subsubsection[{start}]{\setlength{\rightskip}{0pt plus 5cm}virtual int FirewallSetIpfw2::start (
\begin{DoxyParamCaption}
\item[{string \&}]{error\_\-msg}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}
\label{classFirewallSetIpfw2_a0597bb7af41985f0dfde7ed48d7013d4}


Start operation. 


\begin{DoxyParams}{Parameters}
{\em error\_\-msg} & \hyperlink{protocolthe-p}{the} error message (if error). \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
XORP\_\-OK on success, otherwise XORP\_\-ERROR. 
\end{DoxyReturn}


Implements \hyperlink{classFirewallSet_a25410e7217c75e821bc10a484ae25c2f}{FirewallSet}.

\hypertarget{classFirewallSetIpfw2_abf8892d1c6275bfbb540c39814c44261}{
\index{FirewallSetIpfw2@{FirewallSetIpfw2}!stop@{stop}}
\index{stop@{stop}!FirewallSetIpfw2@{FirewallSetIpfw2}}
\subsubsection[{stop}]{\setlength{\rightskip}{0pt plus 5cm}virtual int FirewallSetIpfw2::stop (
\begin{DoxyParamCaption}
\item[{string \&}]{error\_\-msg}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}
\label{classFirewallSetIpfw2_abf8892d1c6275bfbb540c39814c44261}


Stop operation. 


\begin{DoxyParams}{Parameters}
{\em error\_\-msg} & \hyperlink{protocolthe-p}{the} error message (if error). \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
XORP\_\-OK on success, otherwise XORP\_\-ERROR. 
\end{DoxyReturn}


Implements \hyperlink{classFirewallSet_af9d73517c447d2c87c4325800719a5c4}{FirewallSet}.

\hypertarget{classFirewallSetIpfw2_abb09e5209e7e00b80de6a90a180966f1}{
\index{FirewallSetIpfw2@{FirewallSetIpfw2}!update\_\-entries@{update\_\-entries}}
\index{update\_\-entries@{update\_\-entries}!FirewallSetIpfw2@{FirewallSetIpfw2}}
\subsubsection[{update\_\-entries}]{\setlength{\rightskip}{0pt plus 5cm}virtual int FirewallSetIpfw2::update\_\-entries (
\begin{DoxyParamCaption}
\item[{const list$<$ {\bf FirewallEntry} $>$ \&}]{added\_\-entries, }
\item[{const list$<$ {\bf FirewallEntry} $>$ \&}]{replaced\_\-entries, }
\item[{const list$<$ {\bf FirewallEntry} $>$ \&}]{deleted\_\-entries, }
\item[{string \&}]{error\_\-msg}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}
\label{classFirewallSetIpfw2_abb09e5209e7e00b80de6a90a180966f1}


Update \hyperlink{protocolthe-p}{the} firewall entries by pushing them into \hyperlink{protocolthe-p}{the} underlying system. 


\begin{DoxyParams}{Parameters}
{\em added\_\-entries} & \hyperlink{protocolthe-p}{the} entries to add. \\
\hline
{\em replaced\_\-entries} & \hyperlink{protocolthe-p}{the} entries to replace. \\
\hline
{\em deleted\_\-entries} & \hyperlink{protocolthe-p}{the} deleted entries. \\
\hline
{\em error\_\-msg} & \hyperlink{protocolthe-p}{the} error message (if error). \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
XORP\_\-OK on success, otherwise XORP\_\-ERROR. 
\end{DoxyReturn}


Implements \hyperlink{classFirewallSet_a2a35640219f0a1505c7116eacf96034c}{FirewallSet}.



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