\hypertarget{classFibConfigTableGetSysctl}{
\section{FibConfigTableGetSysctl Class Reference}
\label{classFibConfigTableGetSysctl}\index{FibConfigTableGetSysctl@{FibConfigTableGetSysctl}}
}
Inheritance diagram for FibConfigTableGetSysctl:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=2.000000cm]{classFibConfigTableGetSysctl}
\end{center}
\end{figure}
\subsection*{Classes}
\begin{DoxyCompactItemize}
\item 
struct \hyperlink{structFibConfigTableGetSysctl_1_1FibMsg}{FibMsg}
\begin{DoxyCompactList}\small\item\em Flag values used to tell underlying FIB message parsing routines which messages \hyperlink{protocolthe-p}{the} caller is interested in. \item\end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Public Types}
\begin{DoxyCompactItemize}
\item 
\hypertarget{classFibConfigTableGetSysctl_a08c0a6dc3f971bf3593c3a81205d61bd}{
typedef uint32\_\-t {\bfseries FibMsgSet}}
\label{classFibConfigTableGetSysctl_a08c0a6dc3f971bf3593c3a81205d61bd}

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

\begin{DoxyCompactList}\small\item\em Virtual destructor. \item\end{DoxyCompactList}\item 
virtual int \hyperlink{classFibConfigTableGetSysctl_ac8964b15fa5b750fef00430e44273bab}{start} (string \&error\_\-msg)
\begin{DoxyCompactList}\small\item\em Start operation. \item\end{DoxyCompactList}\item 
virtual int \hyperlink{classFibConfigTableGetSysctl_a3deda9a20a3ce2daf7e27fbbb290a6ff}{stop} (string \&error\_\-msg)
\begin{DoxyCompactList}\small\item\em Stop operation. \item\end{DoxyCompactList}\item 
virtual int \hyperlink{classFibConfigTableGetSysctl_a7d26379023788a52b1a1839fc8a925fc}{get\_\-table4} (list$<$ \hyperlink{classFte}{Fte4} $>$ \&fte\_\-list)
\begin{DoxyCompactList}\small\item\em Obtain \hyperlink{protocolthe-p}{the} \hyperlink{classIPv4}{IPv4} unicast forwarding table. \item\end{DoxyCompactList}\item 
virtual int \hyperlink{classFibConfigTableGetSysctl_a7a984cadb070ec118961f4cb5ac71643}{get\_\-table6} (list$<$ \hyperlink{classFte}{Fte6} $>$ \&fte\_\-list)
\begin{DoxyCompactList}\small\item\em Obtain \hyperlink{protocolthe-p}{the} \hyperlink{classIPv6}{IPv6} unicast forwarding table. \item\end{DoxyCompactList}\item 
\hypertarget{classFibConfigTableGetSysctl_ae7e819dd8ba9c81836f2e6b831fd53ac}{
virtual int \hyperlink{classFibConfigTableGetSysctl_ae7e819dd8ba9c81836f2e6b831fd53ac}{notify\_\-table\_\-id\_\-change} (uint32\_\-t new\_\-tbl)}
\label{classFibConfigTableGetSysctl_ae7e819dd8ba9c81836f2e6b831fd53ac}

\begin{DoxyCompactList}\small\item\em \hyperlink{classRouting}{Routing} table ID that we are interested in might have changed. \item\end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Static Public Member Functions}
\begin{DoxyCompactItemize}
\item 
static int \hyperlink{classFibConfigTableGetSysctl_a10c64969d9c5bc70dd13fc7fc768d0e6}{parse\_\-buffer\_\-routing\_\-socket} (int family, const \hyperlink{classIfTree}{IfTree} \&iftree, list$<$ \hyperlink{classFteX}{FteX} $>$ \&fte\_\-list, const vector$<$ uint8\_\-t $>$ \&buffer, FibMsgSet filter)
\begin{DoxyCompactList}\small\item\em Parse information about routing table information received from \hyperlink{protocolthe-p}{the} underlying system. \item\end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Private Member Functions}
\begin{DoxyCompactItemize}
\item 
\hypertarget{classFibConfigTableGetSysctl_a2f7d120c2b1ed5e09ebd230a9f3fa9be}{
int {\bfseries get\_\-table} (int family, list$<$ \hyperlink{classFteX}{FteX} $>$ \&fte\_\-list)}
\label{classFibConfigTableGetSysctl_a2f7d120c2b1ed5e09ebd230a9f3fa9be}

\end{DoxyCompactItemize}


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


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{classFibConfigTableGetSysctl_a7d26379023788a52b1a1839fc8a925fc}{
\index{FibConfigTableGetSysctl@{FibConfigTableGetSysctl}!get\_\-table4@{get\_\-table4}}
\index{get\_\-table4@{get\_\-table4}!FibConfigTableGetSysctl@{FibConfigTableGetSysctl}}
\subsubsection[{get\_\-table4}]{\setlength{\rightskip}{0pt plus 5cm}virtual int FibConfigTableGetSysctl::get\_\-table4 (
\begin{DoxyParamCaption}
\item[{list$<$ {\bf Fte4} $>$ \&}]{fte\_\-list}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}
\label{classFibConfigTableGetSysctl_a7d26379023788a52b1a1839fc8a925fc}


Obtain \hyperlink{protocolthe-p}{the} \hyperlink{classIPv4}{IPv4} unicast forwarding table. 


\begin{DoxyParams}{Parameters}
{\em fte\_\-list} & \hyperlink{protocolthe-p}{the} return-\/by-\/reference list with all entries in \hyperlink{protocolthe-p}{the} \hyperlink{classIPv4}{IPv4} unicast forwarding table. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
XORP\_\-OK on success, otherwise XORP\_\-ERROR. 
\end{DoxyReturn}


Implements \hyperlink{classFibConfigTableGet_a9074933770a59989154163e6e6e761e3}{FibConfigTableGet}.

\hypertarget{classFibConfigTableGetSysctl_a7a984cadb070ec118961f4cb5ac71643}{
\index{FibConfigTableGetSysctl@{FibConfigTableGetSysctl}!get\_\-table6@{get\_\-table6}}
\index{get\_\-table6@{get\_\-table6}!FibConfigTableGetSysctl@{FibConfigTableGetSysctl}}
\subsubsection[{get\_\-table6}]{\setlength{\rightskip}{0pt plus 5cm}virtual int FibConfigTableGetSysctl::get\_\-table6 (
\begin{DoxyParamCaption}
\item[{list$<$ {\bf Fte6} $>$ \&}]{fte\_\-list}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}
\label{classFibConfigTableGetSysctl_a7a984cadb070ec118961f4cb5ac71643}


Obtain \hyperlink{protocolthe-p}{the} \hyperlink{classIPv6}{IPv6} unicast forwarding table. 


\begin{DoxyParams}{Parameters}
{\em fte\_\-list} & \hyperlink{protocolthe-p}{the} return-\/by-\/reference list with all entries in \hyperlink{protocolthe-p}{the} \hyperlink{classIPv6}{IPv6} unicast forwarding table. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
XORP\_\-OK on success, otherwise XORP\_\-ERROR. 
\end{DoxyReturn}


Implements \hyperlink{classFibConfigTableGet_a5d2400decf0d68e5d2f195f41da02873}{FibConfigTableGet}.

\hypertarget{classFibConfigTableGetSysctl_a10c64969d9c5bc70dd13fc7fc768d0e6}{
\index{FibConfigTableGetSysctl@{FibConfigTableGetSysctl}!parse\_\-buffer\_\-routing\_\-socket@{parse\_\-buffer\_\-routing\_\-socket}}
\index{parse\_\-buffer\_\-routing\_\-socket@{parse\_\-buffer\_\-routing\_\-socket}!FibConfigTableGetSysctl@{FibConfigTableGetSysctl}}
\subsubsection[{parse\_\-buffer\_\-routing\_\-socket}]{\setlength{\rightskip}{0pt plus 5cm}static int FibConfigTableGetSysctl::parse\_\-buffer\_\-routing\_\-socket (
\begin{DoxyParamCaption}
\item[{int}]{family, }
\item[{const {\bf IfTree} \&}]{iftree, }
\item[{list$<$ {\bf FteX} $>$ \&}]{fte\_\-list, }
\item[{const vector$<$ uint8\_\-t $>$ \&}]{buffer, }
\item[{FibMsgSet}]{filter}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}static\mbox{]}}}}
\label{classFibConfigTableGetSysctl_a10c64969d9c5bc70dd13fc7fc768d0e6}


Parse information about routing table information received from \hyperlink{protocolthe-p}{the} underlying system. 

The information to parse is in RTM format (e.g., obtained by routing sockets or by sysctl(3) mechanism).


\begin{DoxyParams}{Parameters}
{\em family} & \hyperlink{protocolthe-p}{the} address family to consider only ((e.g., AF\_\-INET or AF\_\-INET6 for \hyperlink{classIPv4}{IPv4} and \hyperlink{classIPv6}{IPv6} respectively). \\
\hline
{\em iftree} & \hyperlink{protocolthe-p}{the} interface tree to use. \\
\hline
{\em fte\_\-list} & \hyperlink{protocolthe-p}{the} list with \hyperlink{protocolthe-p}{the} \hyperlink{classFte}{Fte} entries to store \hyperlink{protocolthe-p}{the} result. \\
\hline
{\em buffer} & \hyperlink{protocolthe-p}{the} buffer with \hyperlink{protocolthe-p}{the} data to parse. \\
\hline
{\em filter} & \hyperlink{protocolthe-p}{the} set of messages that caller is interested in. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
XORP\_\-OK on success, otherwise XORP\_\-ERROR. 
\end{DoxyReturn}
\begin{DoxySeeAlso}{See also}
\hyperlink{classFteX}{FteX}. 
\end{DoxySeeAlso}
\hypertarget{classFibConfigTableGetSysctl_ac8964b15fa5b750fef00430e44273bab}{
\index{FibConfigTableGetSysctl@{FibConfigTableGetSysctl}!start@{start}}
\index{start@{start}!FibConfigTableGetSysctl@{FibConfigTableGetSysctl}}
\subsubsection[{start}]{\setlength{\rightskip}{0pt plus 5cm}virtual int FibConfigTableGetSysctl::start (
\begin{DoxyParamCaption}
\item[{string \&}]{error\_\-msg}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}
\label{classFibConfigTableGetSysctl_ac8964b15fa5b750fef00430e44273bab}


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{classFibConfigTableGet_a5d08457f4b2ceff60f2bdc7f785e8dea}{FibConfigTableGet}.

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


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{classFibConfigTableGet_a56dc9d67652f85c24375ae21dc81f5c1}{FibConfigTableGet}.



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