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

\begin{DoxyCompactList}\small\item\em Virtual destructor. \item\end{DoxyCompactList}\item 
virtual int \hyperlink{classFibConfigForwardingProcLinux_aa74f2a500301ca4d41a5e90dddf0fefa}{unicast\_\-forwarding\_\-enabled4} (bool \&ret\_\-value, string \&error\_\-msg) const 
\begin{DoxyCompactList}\small\item\em Test whether \hyperlink{protocolthe-p}{the} \hyperlink{classIPv4}{IPv4} unicast forwarding engine is enabled or disabled to forward packets. \item\end{DoxyCompactList}\item 
virtual int \hyperlink{classFibConfigForwardingProcLinux_a0e0a706dc00a4ae736c01953bcdf824a}{unicast\_\-forwarding\_\-enabled6} (bool \&ret\_\-value, string \&error\_\-msg) const 
\begin{DoxyCompactList}\small\item\em Test whether \hyperlink{protocolthe-p}{the} \hyperlink{classIPv6}{IPv6} unicast forwarding engine is enabled or disabled to forward packets. \item\end{DoxyCompactList}\item 
virtual int \hyperlink{classFibConfigForwardingProcLinux_a04c01e770a561b61cc1903e22e05fd1c}{accept\_\-rtadv\_\-enabled6} (bool \&ret\_\-value, string \&error\_\-msg) const 
\begin{DoxyCompactList}\small\item\em Test whether \hyperlink{protocolthe-p}{the} acceptance of \hyperlink{classIPv6}{IPv6} Router Advertisement messages is enabled or disabled. \item\end{DoxyCompactList}\item 
virtual int \hyperlink{classFibConfigForwardingProcLinux_a1784087b1e250197ea732b32cbe1f61f}{set\_\-unicast\_\-forwarding\_\-enabled4} (bool v, string \&error\_\-msg)
\begin{DoxyCompactList}\small\item\em Set \hyperlink{protocolthe-p}{the} \hyperlink{classIPv4}{IPv4} unicast forwarding engine to enable or disable forwarding of packets. \item\end{DoxyCompactList}\item 
virtual int \hyperlink{classFibConfigForwardingProcLinux_a48d05e4e2ec34606e83216e4de3a44d9}{set\_\-unicast\_\-forwarding\_\-enabled6} (bool v, string \&error\_\-msg)
\begin{DoxyCompactList}\small\item\em Set \hyperlink{protocolthe-p}{the} \hyperlink{classIPv6}{IPv6} unicast forwarding engine to enable or disable forwarding of packets. \item\end{DoxyCompactList}\item 
virtual int \hyperlink{classFibConfigForwardingProcLinux_ad29c7cace755d4d53fe41301d439eef5}{set\_\-accept\_\-rtadv\_\-enabled6} (bool v, string \&error\_\-msg)
\begin{DoxyCompactList}\small\item\em Enable or disable \hyperlink{protocolthe-p}{the} acceptance of \hyperlink{classIPv6}{IPv6} Router Advertisement messages from other routers. \item\end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Static Private Attributes}
\begin{DoxyCompactItemize}
\item 
\hypertarget{classFibConfigForwardingProcLinux_a30dfa2632cf2f0006119e3742d9f47c3}{
static const string {\bfseries PROC\_\-LINUX\_\-FORWARDING\_\-FILE\_\-V4} = \char`\"{}/proc/sys/net/ipv4/ip\_\-forward\char`\"{}}
\label{classFibConfigForwardingProcLinux_a30dfa2632cf2f0006119e3742d9f47c3}

\item 
\hypertarget{classFibConfigForwardingProcLinux_a7fa7c0decdec3b6daf2c826fa94ff06d}{
static const string {\bfseries PROC\_\-LINUX\_\-FORWARDING\_\-FILE\_\-V6} = \char`\"{}/proc/sys/net/ipv6/conf/all/forwarding\char`\"{}}
\label{classFibConfigForwardingProcLinux_a7fa7c0decdec3b6daf2c826fa94ff06d}

\end{DoxyCompactItemize}


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


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{classFibConfigForwardingProcLinux_a04c01e770a561b61cc1903e22e05fd1c}{
\index{FibConfigForwardingProcLinux@{FibConfigForwardingProcLinux}!accept\_\-rtadv\_\-enabled6@{accept\_\-rtadv\_\-enabled6}}
\index{accept\_\-rtadv\_\-enabled6@{accept\_\-rtadv\_\-enabled6}!FibConfigForwardingProcLinux@{FibConfigForwardingProcLinux}}
\subsubsection[{accept\_\-rtadv\_\-enabled6}]{\setlength{\rightskip}{0pt plus 5cm}virtual int FibConfigForwardingProcLinux::accept\_\-rtadv\_\-enabled6 (
\begin{DoxyParamCaption}
\item[{bool \&}]{ret\_\-value, }
\item[{string \&}]{error\_\-msg}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}
\label{classFibConfigForwardingProcLinux_a04c01e770a561b61cc1903e22e05fd1c}


Test whether \hyperlink{protocolthe-p}{the} acceptance of \hyperlink{classIPv6}{IPv6} Router Advertisement messages is enabled or disabled. 


\begin{DoxyParams}{Parameters}
{\em ret\_\-value} & if true on return, then \hyperlink{protocolthe-p}{the} acceptance of \hyperlink{classIPv6}{IPv6} Router Advertisement messages is enabled, otherwise is disabled. \\
\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{classFibConfigForwarding_a32455f2ccfbd390774634652f1912d8a}{FibConfigForwarding}.

\hypertarget{classFibConfigForwardingProcLinux_ad29c7cace755d4d53fe41301d439eef5}{
\index{FibConfigForwardingProcLinux@{FibConfigForwardingProcLinux}!set\_\-accept\_\-rtadv\_\-enabled6@{set\_\-accept\_\-rtadv\_\-enabled6}}
\index{set\_\-accept\_\-rtadv\_\-enabled6@{set\_\-accept\_\-rtadv\_\-enabled6}!FibConfigForwardingProcLinux@{FibConfigForwardingProcLinux}}
\subsubsection[{set\_\-accept\_\-rtadv\_\-enabled6}]{\setlength{\rightskip}{0pt plus 5cm}virtual int FibConfigForwardingProcLinux::set\_\-accept\_\-rtadv\_\-enabled6 (
\begin{DoxyParamCaption}
\item[{bool}]{v, }
\item[{string \&}]{error\_\-msg}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}
\label{classFibConfigForwardingProcLinux_ad29c7cace755d4d53fe41301d439eef5}


Enable or disable \hyperlink{protocolthe-p}{the} acceptance of \hyperlink{classIPv6}{IPv6} Router Advertisement messages from other routers. 

It should be enabled for hosts, and disabled for routers.


\begin{DoxyParams}{Parameters}
{\em v} & if true, then enable \hyperlink{protocolthe-p}{the} acceptance of \hyperlink{classIPv6}{IPv6} Router Advertisement messages, otherwise disable it. \\
\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{classFibConfigForwarding_ab102d1fb425892602103301f2c73af89}{FibConfigForwarding}.

\hypertarget{classFibConfigForwardingProcLinux_a1784087b1e250197ea732b32cbe1f61f}{
\index{FibConfigForwardingProcLinux@{FibConfigForwardingProcLinux}!set\_\-unicast\_\-forwarding\_\-enabled4@{set\_\-unicast\_\-forwarding\_\-enabled4}}
\index{set\_\-unicast\_\-forwarding\_\-enabled4@{set\_\-unicast\_\-forwarding\_\-enabled4}!FibConfigForwardingProcLinux@{FibConfigForwardingProcLinux}}
\subsubsection[{set\_\-unicast\_\-forwarding\_\-enabled4}]{\setlength{\rightskip}{0pt plus 5cm}virtual int FibConfigForwardingProcLinux::set\_\-unicast\_\-forwarding\_\-enabled4 (
\begin{DoxyParamCaption}
\item[{bool}]{v, }
\item[{string \&}]{error\_\-msg}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}
\label{classFibConfigForwardingProcLinux_a1784087b1e250197ea732b32cbe1f61f}


Set \hyperlink{protocolthe-p}{the} \hyperlink{classIPv4}{IPv4} unicast forwarding engine to enable or disable forwarding of packets. 


\begin{DoxyParams}{Parameters}
{\em v} & if true, then enable \hyperlink{classIPv4}{IPv4} unicast forwarding, otherwise disable it. \\
\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{classFibConfigForwarding_a981daf728abe383181bb13cbc44caa9d}{FibConfigForwarding}.

\hypertarget{classFibConfigForwardingProcLinux_a48d05e4e2ec34606e83216e4de3a44d9}{
\index{FibConfigForwardingProcLinux@{FibConfigForwardingProcLinux}!set\_\-unicast\_\-forwarding\_\-enabled6@{set\_\-unicast\_\-forwarding\_\-enabled6}}
\index{set\_\-unicast\_\-forwarding\_\-enabled6@{set\_\-unicast\_\-forwarding\_\-enabled6}!FibConfigForwardingProcLinux@{FibConfigForwardingProcLinux}}
\subsubsection[{set\_\-unicast\_\-forwarding\_\-enabled6}]{\setlength{\rightskip}{0pt plus 5cm}virtual int FibConfigForwardingProcLinux::set\_\-unicast\_\-forwarding\_\-enabled6 (
\begin{DoxyParamCaption}
\item[{bool}]{v, }
\item[{string \&}]{error\_\-msg}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}
\label{classFibConfigForwardingProcLinux_a48d05e4e2ec34606e83216e4de3a44d9}


Set \hyperlink{protocolthe-p}{the} \hyperlink{classIPv6}{IPv6} unicast forwarding engine to enable or disable forwarding of packets. 


\begin{DoxyParams}{Parameters}
{\em v} & if true, then enable \hyperlink{classIPv6}{IPv6} unicast forwarding, otherwise disable it. \\
\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{classFibConfigForwarding_a2f30de6b81329ceb56a06bb9ab21f4b7}{FibConfigForwarding}.

\hypertarget{classFibConfigForwardingProcLinux_aa74f2a500301ca4d41a5e90dddf0fefa}{
\index{FibConfigForwardingProcLinux@{FibConfigForwardingProcLinux}!unicast\_\-forwarding\_\-enabled4@{unicast\_\-forwarding\_\-enabled4}}
\index{unicast\_\-forwarding\_\-enabled4@{unicast\_\-forwarding\_\-enabled4}!FibConfigForwardingProcLinux@{FibConfigForwardingProcLinux}}
\subsubsection[{unicast\_\-forwarding\_\-enabled4}]{\setlength{\rightskip}{0pt plus 5cm}virtual int FibConfigForwardingProcLinux::unicast\_\-forwarding\_\-enabled4 (
\begin{DoxyParamCaption}
\item[{bool \&}]{ret\_\-value, }
\item[{string \&}]{error\_\-msg}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}
\label{classFibConfigForwardingProcLinux_aa74f2a500301ca4d41a5e90dddf0fefa}


Test whether \hyperlink{protocolthe-p}{the} \hyperlink{classIPv4}{IPv4} unicast forwarding engine is enabled or disabled to forward packets. 


\begin{DoxyParams}{Parameters}
{\em ret\_\-value} & if true on return, then \hyperlink{protocolthe-p}{the} \hyperlink{classIPv4}{IPv4} unicast forwarding is enabled, otherwise is disabled. \\
\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{classFibConfigForwarding_a75444169a6dd97809cfcbca73fc81957}{FibConfigForwarding}.

\hypertarget{classFibConfigForwardingProcLinux_a0e0a706dc00a4ae736c01953bcdf824a}{
\index{FibConfigForwardingProcLinux@{FibConfigForwardingProcLinux}!unicast\_\-forwarding\_\-enabled6@{unicast\_\-forwarding\_\-enabled6}}
\index{unicast\_\-forwarding\_\-enabled6@{unicast\_\-forwarding\_\-enabled6}!FibConfigForwardingProcLinux@{FibConfigForwardingProcLinux}}
\subsubsection[{unicast\_\-forwarding\_\-enabled6}]{\setlength{\rightskip}{0pt plus 5cm}virtual int FibConfigForwardingProcLinux::unicast\_\-forwarding\_\-enabled6 (
\begin{DoxyParamCaption}
\item[{bool \&}]{ret\_\-value, }
\item[{string \&}]{error\_\-msg}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}
\label{classFibConfigForwardingProcLinux_a0e0a706dc00a4ae736c01953bcdf824a}


Test whether \hyperlink{protocolthe-p}{the} \hyperlink{classIPv6}{IPv6} unicast forwarding engine is enabled or disabled to forward packets. 


\begin{DoxyParams}{Parameters}
{\em ret\_\-value} & if true on return, then \hyperlink{protocolthe-p}{the} \hyperlink{classIPv6}{IPv6} unicast forwarding is enabled, otherwise is disabled. \\
\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{classFibConfigForwarding_a10143fca75849e816de4328e898176b1}{FibConfigForwarding}.



The documentation for this class was generated from the following files:\begin{DoxyCompactItemize}
\item 
/home/greearb/git/xorp.ct.github/xorp/fea/data\_\-plane/fibconfig/fibconfig\_\-forwarding\_\-proc\_\-linux.hh\item 
/home/greearb/git/xorp.ct.github/xorp/fea/data\_\-plane/fibconfig/fibconfig\_\-forwarding\_\-proc\_\-linux.cc\end{DoxyCompactItemize}
