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

\begin{DoxyCompactList}\small\item\em Virtual destructor. \item\end{DoxyCompactList}\item 
virtual int \hyperlink{classIfConfigGetSysctl_a2c450da374a63aa9e700555fa3c9de97}{start} (string \&error\_\-msg)
\begin{DoxyCompactList}\small\item\em Start operation. \item\end{DoxyCompactList}\item 
virtual int \hyperlink{classIfConfigGetSysctl_a613b9523ad69984c86b3eb60fc2ef07a}{stop} (string \&error\_\-msg)
\begin{DoxyCompactList}\small\item\em Stop operation. \item\end{DoxyCompactList}\item 
virtual int \hyperlink{classIfConfigGetSysctl_a28069b35a602fd997934ee5667bef1c7}{pull\_\-config} (const \hyperlink{classIfTree}{IfTree} $\ast$local\_\-config, \hyperlink{classIfTree}{IfTree} \&iftree)
\begin{DoxyCompactList}\small\item\em Pull \hyperlink{protocolthe-p}{the} network interface information from \hyperlink{protocolthe-p}{the} underlying system. \item\end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Static Public Member Functions}
\begin{DoxyCompactItemize}
\item 
static int \hyperlink{classIfConfigGetSysctl_a44dacf33f6de3392c41297c1de0fa215}{parse\_\-buffer\_\-routing\_\-socket} (\hyperlink{classIfConfig}{IfConfig} \&ifconfig, \hyperlink{classIfTree}{IfTree} \&iftree, const vector$<$ uint8\_\-t $>$ \&buffer)
\begin{DoxyCompactList}\small\item\em Parse information about network interface configuration change from \hyperlink{protocolthe-p}{the} underlying system. \item\end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Private Member Functions}
\begin{DoxyCompactItemize}
\item 
\hypertarget{classIfConfigGetSysctl_a4fdc3b234b5d9d8cf3bd4b3067f6d4fe}{
int {\bfseries read\_\-config} (\hyperlink{classIfTree}{IfTree} \&iftree)}
\label{classIfConfigGetSysctl_a4fdc3b234b5d9d8cf3bd4b3067f6d4fe}

\end{DoxyCompactItemize}
\subsection*{Static Private Member Functions}
\begin{DoxyCompactItemize}
\item 
\hypertarget{classIfConfigGetSysctl_a137c0a3c478057c649761239670d10b0}{
static string {\bfseries iff\_\-flags} (uint32\_\-t flags)}
\label{classIfConfigGetSysctl_a137c0a3c478057c649761239670d10b0}

\end{DoxyCompactItemize}


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


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{classIfConfigGetSysctl_a44dacf33f6de3392c41297c1de0fa215}{
\index{IfConfigGetSysctl@{IfConfigGetSysctl}!parse\_\-buffer\_\-routing\_\-socket@{parse\_\-buffer\_\-routing\_\-socket}}
\index{parse\_\-buffer\_\-routing\_\-socket@{parse\_\-buffer\_\-routing\_\-socket}!IfConfigGetSysctl@{IfConfigGetSysctl}}
\subsubsection[{parse\_\-buffer\_\-routing\_\-socket}]{\setlength{\rightskip}{0pt plus 5cm}static int IfConfigGetSysctl::parse\_\-buffer\_\-routing\_\-socket (
\begin{DoxyParamCaption}
\item[{{\bf IfConfig} \&}]{ifconfig, }
\item[{{\bf IfTree} \&}]{iftree, }
\item[{const vector$<$ uint8\_\-t $>$ \&}]{buffer}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}static\mbox{]}}}}
\label{classIfConfigGetSysctl_a44dacf33f6de3392c41297c1de0fa215}


Parse information about network interface configuration change 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 ifconfig} & \hyperlink{protocolthe-p}{the} \hyperlink{classIfConfig}{IfConfig} instance. \\
\hline
{\em iftree} & \hyperlink{protocolthe-p}{the} \hyperlink{classIfTree}{IfTree} storage to store \hyperlink{protocolthe-p}{the} parsed information. \\
\hline
{\em buffer} & \hyperlink{protocolthe-p}{the} buffer with \hyperlink{protocolthe-p}{the} data to parse. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
XORP\_\-OK on success, otherwise XORP\_\-ERROR. 
\end{DoxyReturn}
\begin{DoxySeeAlso}{See also}
\hyperlink{classIfTree}{IfTree}. 
\end{DoxySeeAlso}
\hypertarget{classIfConfigGetSysctl_a28069b35a602fd997934ee5667bef1c7}{
\index{IfConfigGetSysctl@{IfConfigGetSysctl}!pull\_\-config@{pull\_\-config}}
\index{pull\_\-config@{pull\_\-config}!IfConfigGetSysctl@{IfConfigGetSysctl}}
\subsubsection[{pull\_\-config}]{\setlength{\rightskip}{0pt plus 5cm}virtual int IfConfigGetSysctl::pull\_\-config (
\begin{DoxyParamCaption}
\item[{const {\bf IfTree} $\ast$}]{local\_\-config, }
\item[{{\bf IfTree} \&}]{iftree}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}
\label{classIfConfigGetSysctl_a28069b35a602fd997934ee5667bef1c7}


Pull \hyperlink{protocolthe-p}{the} network interface information from \hyperlink{protocolthe-p}{the} underlying system. 


\begin{DoxyParams}{Parameters}
{\em iftree} & \hyperlink{protocolthe-p}{the} \hyperlink{classIfTree}{IfTree} storage to store \hyperlink{protocolthe-p}{the} pulled information. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
XORP\_\-OK on success, otherwise XORP\_\-ERROR. 
\end{DoxyReturn}


Implements \hyperlink{classIfConfigGet_a415c2064bf3ad7767ebbe7c8e918d931}{IfConfigGet}.

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


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{classIfConfigGet_a95b2a958057c5427839a2aa0750c17b4}{IfConfigGet}.

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


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{classIfConfigGet_a44e082924901b3b4f1b9d0089a12baaa}{IfConfigGet}.



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