\hypertarget{classFirewallSetPf}{
\section{FirewallSetPf Class Reference}
\label{classFirewallSetPf}\index{FirewallSetPf@{FirewallSetPf}}
}
Inheritance diagram for FirewallSetPf:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=2.000000cm]{classFirewallSetPf}
\end{center}
\end{figure}
\subsection*{Public Types}
\begin{DoxyCompactItemize}
\item 
\hypertarget{classFirewallSetPf_a08f7d6236c0f503d8bf16c1b246a5456}{
typedef map$<$ uint32\_\-t, \hyperlink{classFirewallEntry}{FirewallEntry} $>$ {\bfseries FirewallTrie}}
\label{classFirewallSetPf_a08f7d6236c0f503d8bf16c1b246a5456}

\end{DoxyCompactItemize}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{classFirewallSetPf_a12a6b8e23c93a1261a39935da88048ff}{FirewallSetPf} (\hyperlink{classFeaDataPlaneManager}{FeaDataPlaneManager} \&fea\_\-data\_\-plane\_\-manager)
\begin{DoxyCompactList}\small\item\em Constructor. \item\end{DoxyCompactList}\item 
\hypertarget{classFirewallSetPf_a5c3f0d02215c19352fac43de789aeab2}{
virtual \hyperlink{classFirewallSetPf_a5c3f0d02215c19352fac43de789aeab2}{$\sim$FirewallSetPf} ()}
\label{classFirewallSetPf_a5c3f0d02215c19352fac43de789aeab2}

\begin{DoxyCompactList}\small\item\em Virtual destructor. \item\end{DoxyCompactList}\item 
virtual int \hyperlink{classFirewallSetPf_a0990e1bdd76d714d4bf6a4db2051eedd}{start} (string \&error\_\-msg)
\begin{DoxyCompactList}\small\item\em Start operation. \item\end{DoxyCompactList}\item 
virtual int \hyperlink{classFirewallSetPf_a15bfbb6e748be568f895543f47daf5fd}{stop} (string \&error\_\-msg)
\begin{DoxyCompactList}\small\item\em Stop operation. \item\end{DoxyCompactList}\item 
virtual int \hyperlink{classFirewallSetPf_ae820faa91fcd2a57025d4da6f123102e}{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{classFirewallSetPf_a3d87deb02e0548f68a001d611e294aa9}{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{classFirewallSetPf_ae5a86a5eec002b5f048a54f7c1690492}{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{classFirewallSetPf_ade848185551395fa744fdd28391636aa}{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{classFirewallSetPf_aab23049e9f933390db66c16b58a4b0ed}{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{classFirewallSetPf_ae065650252d0bcfd991ede9e2df59088}{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{classFirewallSetPf_ae9ef543e744dccf54c2f077749c049e9}{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{classFirewallSetPf_ac8e3dbe75b3efb29526519d64e9497ee}{delete\_\-entry} (const \hyperlink{classFirewallEntry}{FirewallEntry} \&firewall\_\-entry, string \&error\_\-msg)
\begin{DoxyCompactList}\small\item\em Delete a single firewall entry. \item\end{DoxyCompactList}\item 
int \hyperlink{classFirewallSetPf_a13a45e4f1480d32d4d4e72a0cb31d90e}{start\_\-transaction} (uint32\_\-t \&ticket, string \&error\_\-msg)
\begin{DoxyCompactList}\small\item\em Start a transaction for manipulating \hyperlink{protocolthe-p}{the} firewall table. \item\end{DoxyCompactList}\item 
int \hyperlink{classFirewallSetPf_ad10d194b074ebdf4c6049d95f52238fe}{commit\_\-transaction} (uint32\_\-t ticket, string \&error\_\-msg)
\begin{DoxyCompactList}\small\item\em Commit a transaction for manipulating \hyperlink{protocolthe-p}{the} firewall table. \item\end{DoxyCompactList}\item 
int \hyperlink{classFirewallSetPf_a5bc3d9899ed44de55210996b6f2234fe}{abort\_\-transaction} (uint32\_\-t ticket, string \&error\_\-msg)
\begin{DoxyCompactList}\small\item\em Abort a transaction for manipulating \hyperlink{protocolthe-p}{the} firewall table. \item\end{DoxyCompactList}\item 
int \hyperlink{classFirewallSetPf_af70504130dda7cb8c34f7feaf402e744}{push\_\-entries} (string \&error\_\-msg)
\begin{DoxyCompactList}\small\item\em \hyperlink{classPush}{Push} all locally stored firewall entries. \item\end{DoxyCompactList}\item 
int \hyperlink{classFirewallSetPf_aad249d1550656646bd9bdc488536b16c}{add\_\-delete\_\-transaction\_\-entry} (bool is\_\-add, uint32\_\-t ticket, const \hyperlink{classFirewallEntry}{FirewallEntry} \&firewall\_\-entry, string \&error\_\-msg)
\begin{DoxyCompactList}\small\item\em Add or delete a single firewall entry as part of a transaction. \item\end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Private Attributes}
\begin{DoxyCompactItemize}
\item 
\hypertarget{classFirewallSetPf_a0d9b3b18641f8f9643947f70556ded78}{
int {\bfseries \_\-fd}}
\label{classFirewallSetPf_a0d9b3b18641f8f9643947f70556ded78}

\item 
\hypertarget{classFirewallSetPf_a953058202d0c57387555e7dde7df062f}{
FirewallTrie {\bfseries \_\-firewall\_\-entries4}}
\label{classFirewallSetPf_a953058202d0c57387555e7dde7df062f}

\item 
\hypertarget{classFirewallSetPf_aefae5aa85c5355b3dbb836b4eccc3a1d}{
FirewallTrie {\bfseries \_\-firewall\_\-entries6}}
\label{classFirewallSetPf_aefae5aa85c5355b3dbb836b4eccc3a1d}

\end{DoxyCompactItemize}
\subsection*{Static Private Attributes}
\begin{DoxyCompactItemize}
\item 
\hypertarget{classFirewallSetPf_aefa27d868db51b7afb16faca6806ba85}{
static const string {\bfseries \_\-pf\_\-device\_\-name}}
\label{classFirewallSetPf_aefa27d868db51b7afb16faca6806ba85}

\end{DoxyCompactItemize}


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


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{classFirewallSetPf_a5bc3d9899ed44de55210996b6f2234fe}{
\index{FirewallSetPf@{FirewallSetPf}!abort\_\-transaction@{abort\_\-transaction}}
\index{abort\_\-transaction@{abort\_\-transaction}!FirewallSetPf@{FirewallSetPf}}
\subsubsection[{abort\_\-transaction}]{\setlength{\rightskip}{0pt plus 5cm}int FirewallSetPf::abort\_\-transaction (
\begin{DoxyParamCaption}
\item[{uint32\_\-t}]{ticket, }
\item[{string \&}]{error\_\-msg}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}private\mbox{]}}}}
\label{classFirewallSetPf_a5bc3d9899ed44de55210996b6f2234fe}


Abort a transaction for manipulating \hyperlink{protocolthe-p}{the} firewall table. 


\begin{DoxyParams}{Parameters}
{\em ticket} & \hyperlink{protocolthe-p}{the} ticket for \hyperlink{protocolthe-p}{the} transaction. \\
\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{classFirewallSetPf_aad249d1550656646bd9bdc488536b16c}{
\index{FirewallSetPf@{FirewallSetPf}!add\_\-delete\_\-transaction\_\-entry@{add\_\-delete\_\-transaction\_\-entry}}
\index{add\_\-delete\_\-transaction\_\-entry@{add\_\-delete\_\-transaction\_\-entry}!FirewallSetPf@{FirewallSetPf}}
\subsubsection[{add\_\-delete\_\-transaction\_\-entry}]{\setlength{\rightskip}{0pt plus 5cm}int FirewallSetPf::add\_\-delete\_\-transaction\_\-entry (
\begin{DoxyParamCaption}
\item[{bool}]{is\_\-add, }
\item[{uint32\_\-t}]{ticket, }
\item[{const {\bf FirewallEntry} \&}]{firewall\_\-entry, }
\item[{string \&}]{error\_\-msg}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}private\mbox{]}}}}
\label{classFirewallSetPf_aad249d1550656646bd9bdc488536b16c}


Add or delete a single firewall entry as part of a transaction. 


\begin{DoxyParams}{Parameters}
{\em is\_\-add} & if true, then add \hyperlink{protocolthe-p}{the} entry, otherwise delete it. \\
\hline
{\em ticket} & \hyperlink{protocolthe-p}{the} ticket for \hyperlink{protocolthe-p}{the} transaction. \\
\hline
{\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{classFirewallSetPf_ae065650252d0bcfd991ede9e2df59088}{
\index{FirewallSetPf@{FirewallSetPf}!add\_\-entry@{add\_\-entry}}
\index{add\_\-entry@{add\_\-entry}!FirewallSetPf@{FirewallSetPf}}
\subsubsection[{add\_\-entry}]{\setlength{\rightskip}{0pt plus 5cm}virtual int FirewallSetPf::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{classFirewallSetPf_ae065650252d0bcfd991ede9e2df59088}


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{classFirewallSetPf_ad10d194b074ebdf4c6049d95f52238fe}{
\index{FirewallSetPf@{FirewallSetPf}!commit\_\-transaction@{commit\_\-transaction}}
\index{commit\_\-transaction@{commit\_\-transaction}!FirewallSetPf@{FirewallSetPf}}
\subsubsection[{commit\_\-transaction}]{\setlength{\rightskip}{0pt plus 5cm}int FirewallSetPf::commit\_\-transaction (
\begin{DoxyParamCaption}
\item[{uint32\_\-t}]{ticket, }
\item[{string \&}]{error\_\-msg}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}private\mbox{]}}}}
\label{classFirewallSetPf_ad10d194b074ebdf4c6049d95f52238fe}


Commit a transaction for manipulating \hyperlink{protocolthe-p}{the} firewall table. 


\begin{DoxyParams}{Parameters}
{\em ticket} & \hyperlink{protocolthe-p}{the} ticket for \hyperlink{protocolthe-p}{the} transaction. \\
\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{classFirewallSetPf_ae5a86a5eec002b5f048a54f7c1690492}{
\index{FirewallSetPf@{FirewallSetPf}!delete\_\-all\_\-entries4@{delete\_\-all\_\-entries4}}
\index{delete\_\-all\_\-entries4@{delete\_\-all\_\-entries4}!FirewallSetPf@{FirewallSetPf}}
\subsubsection[{delete\_\-all\_\-entries4}]{\setlength{\rightskip}{0pt plus 5cm}virtual int FirewallSetPf::delete\_\-all\_\-entries4 (
\begin{DoxyParamCaption}
\item[{string \&}]{error\_\-msg}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}
\label{classFirewallSetPf_ae5a86a5eec002b5f048a54f7c1690492}


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{classFirewallSetPf_aab23049e9f933390db66c16b58a4b0ed}{
\index{FirewallSetPf@{FirewallSetPf}!delete\_\-all\_\-entries6@{delete\_\-all\_\-entries6}}
\index{delete\_\-all\_\-entries6@{delete\_\-all\_\-entries6}!FirewallSetPf@{FirewallSetPf}}
\subsubsection[{delete\_\-all\_\-entries6}]{\setlength{\rightskip}{0pt plus 5cm}virtual int FirewallSetPf::delete\_\-all\_\-entries6 (
\begin{DoxyParamCaption}
\item[{string \&}]{error\_\-msg}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}
\label{classFirewallSetPf_aab23049e9f933390db66c16b58a4b0ed}


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{classFirewallSetPf_ac8e3dbe75b3efb29526519d64e9497ee}{
\index{FirewallSetPf@{FirewallSetPf}!delete\_\-entry@{delete\_\-entry}}
\index{delete\_\-entry@{delete\_\-entry}!FirewallSetPf@{FirewallSetPf}}
\subsubsection[{delete\_\-entry}]{\setlength{\rightskip}{0pt plus 5cm}virtual int FirewallSetPf::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{classFirewallSetPf_ac8e3dbe75b3efb29526519d64e9497ee}


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{classFirewallSetPf_af70504130dda7cb8c34f7feaf402e744}{
\index{FirewallSetPf@{FirewallSetPf}!push\_\-entries@{push\_\-entries}}
\index{push\_\-entries@{push\_\-entries}!FirewallSetPf@{FirewallSetPf}}
\subsubsection[{push\_\-entries}]{\setlength{\rightskip}{0pt plus 5cm}int FirewallSetPf::push\_\-entries (
\begin{DoxyParamCaption}
\item[{string \&}]{error\_\-msg}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}private\mbox{]}}}}
\label{classFirewallSetPf_af70504130dda7cb8c34f7feaf402e744}


\hyperlink{classPush}{Push} all locally stored firewall entries. 


\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}
\hypertarget{classFirewallSetPf_ae9ef543e744dccf54c2f077749c049e9}{
\index{FirewallSetPf@{FirewallSetPf}!replace\_\-entry@{replace\_\-entry}}
\index{replace\_\-entry@{replace\_\-entry}!FirewallSetPf@{FirewallSetPf}}
\subsubsection[{replace\_\-entry}]{\setlength{\rightskip}{0pt plus 5cm}virtual int FirewallSetPf::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{classFirewallSetPf_ae9ef543e744dccf54c2f077749c049e9}


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{classFirewallSetPf_a3d87deb02e0548f68a001d611e294aa9}{
\index{FirewallSetPf@{FirewallSetPf}!set\_\-table4@{set\_\-table4}}
\index{set\_\-table4@{set\_\-table4}!FirewallSetPf@{FirewallSetPf}}
\subsubsection[{set\_\-table4}]{\setlength{\rightskip}{0pt plus 5cm}virtual int FirewallSetPf::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{classFirewallSetPf_a3d87deb02e0548f68a001d611e294aa9}


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{classFirewallSetPf_ade848185551395fa744fdd28391636aa}{
\index{FirewallSetPf@{FirewallSetPf}!set\_\-table6@{set\_\-table6}}
\index{set\_\-table6@{set\_\-table6}!FirewallSetPf@{FirewallSetPf}}
\subsubsection[{set\_\-table6}]{\setlength{\rightskip}{0pt plus 5cm}virtual int FirewallSetPf::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{classFirewallSetPf_ade848185551395fa744fdd28391636aa}


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{classFirewallSetPf_a0990e1bdd76d714d4bf6a4db2051eedd}{
\index{FirewallSetPf@{FirewallSetPf}!start@{start}}
\index{start@{start}!FirewallSetPf@{FirewallSetPf}}
\subsubsection[{start}]{\setlength{\rightskip}{0pt plus 5cm}virtual int FirewallSetPf::start (
\begin{DoxyParamCaption}
\item[{string \&}]{error\_\-msg}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}
\label{classFirewallSetPf_a0990e1bdd76d714d4bf6a4db2051eedd}


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{classFirewallSetPf_a13a45e4f1480d32d4d4e72a0cb31d90e}{
\index{FirewallSetPf@{FirewallSetPf}!start\_\-transaction@{start\_\-transaction}}
\index{start\_\-transaction@{start\_\-transaction}!FirewallSetPf@{FirewallSetPf}}
\subsubsection[{start\_\-transaction}]{\setlength{\rightskip}{0pt plus 5cm}int FirewallSetPf::start\_\-transaction (
\begin{DoxyParamCaption}
\item[{uint32\_\-t \&}]{ticket, }
\item[{string \&}]{error\_\-msg}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}private\mbox{]}}}}
\label{classFirewallSetPf_a13a45e4f1480d32d4d4e72a0cb31d90e}


Start a transaction for manipulating \hyperlink{protocolthe-p}{the} firewall table. 


\begin{DoxyParams}{Parameters}
{\em ticket} & return-\/by-\/reference ticket for \hyperlink{protocolthe-p}{the} transaction. \\
\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{classFirewallSetPf_a15bfbb6e748be568f895543f47daf5fd}{
\index{FirewallSetPf@{FirewallSetPf}!stop@{stop}}
\index{stop@{stop}!FirewallSetPf@{FirewallSetPf}}
\subsubsection[{stop}]{\setlength{\rightskip}{0pt plus 5cm}virtual int FirewallSetPf::stop (
\begin{DoxyParamCaption}
\item[{string \&}]{error\_\-msg}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}
\label{classFirewallSetPf_a15bfbb6e748be568f895543f47daf5fd}


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{classFirewallSetPf_ae820faa91fcd2a57025d4da6f123102e}{
\index{FirewallSetPf@{FirewallSetPf}!update\_\-entries@{update\_\-entries}}
\index{update\_\-entries@{update\_\-entries}!FirewallSetPf@{FirewallSetPf}}
\subsubsection[{update\_\-entries}]{\setlength{\rightskip}{0pt plus 5cm}virtual int FirewallSetPf::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{classFirewallSetPf_ae820faa91fcd2a57025d4da6f123102e}


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\_\-pf.hh\end{DoxyCompactItemize}
