\hypertarget{classVifCount}{
\section{VifCount Class Reference}
\label{classVifCount}\index{VifCount@{VifCount}}
}


Class that contains various counters per virtual interface.  




{\ttfamily \#include $<$mfea\_\-mrouter.hh$>$}

\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hypertarget{classVifCount_a1feb6017dc99accc82597e9f8710270f}{
\hyperlink{classVifCount_a1feb6017dc99accc82597e9f8710270f}{VifCount} ()}
\label{classVifCount_a1feb6017dc99accc82597e9f8710270f}

\begin{DoxyCompactList}\small\item\em Default constructor. \item\end{DoxyCompactList}\item 
\hyperlink{classVifCount}{VifCount} \& \hyperlink{classVifCount_ace3239e651772093198de82fa4f55c86}{operator=} (const \hyperlink{classVifCount}{VifCount} \&vif\_\-count)
\begin{DoxyCompactList}\small\item\em Assignment Operator. \item\end{DoxyCompactList}\item 
size\_\-t \hyperlink{classVifCount_ab6e0a80ae5586c4952733ce3224a3581}{icount} () const 
\begin{DoxyCompactList}\small\item\em Get \hyperlink{protocolthe-p}{the} input packet count. \item\end{DoxyCompactList}\item 
size\_\-t \hyperlink{classVifCount_a21ec456a239d1f58ad083197a518761f}{ocount} () const 
\begin{DoxyCompactList}\small\item\em Get \hyperlink{protocolthe-p}{the} output packet count. \item\end{DoxyCompactList}\item 
size\_\-t \hyperlink{classVifCount_aea44a7ecab0f46927f2fd14c2525a70c}{ibytes} () const 
\begin{DoxyCompactList}\small\item\em Get \hyperlink{protocolthe-p}{the} input byte count. \item\end{DoxyCompactList}\item 
size\_\-t \hyperlink{classVifCount_a340dbdf48efb767d2aca6266d42ea1f2}{obytes} () const 
\begin{DoxyCompactList}\small\item\em Get \hyperlink{protocolthe-p}{the} output byte count. \item\end{DoxyCompactList}\item 
void \hyperlink{classVifCount_a9a2b451bc44d58f9c7aaed3cb725cfa0}{set\_\-icount} (size\_\-t v)
\begin{DoxyCompactList}\small\item\em Set \hyperlink{protocolthe-p}{the} input packet count. \item\end{DoxyCompactList}\item 
void \hyperlink{classVifCount_a8f347fe12cabbab1162b8e71fd6d3f36}{set\_\-ocount} (size\_\-t v)
\begin{DoxyCompactList}\small\item\em Set \hyperlink{protocolthe-p}{the} output packet count. \item\end{DoxyCompactList}\item 
void \hyperlink{classVifCount_a52c82d208ebfdebe73449a1ae3b68ede}{set\_\-ibytes} (size\_\-t v)
\begin{DoxyCompactList}\small\item\em Set \hyperlink{protocolthe-p}{the} input byte count. \item\end{DoxyCompactList}\item 
void \hyperlink{classVifCount_a7a7696d150a7b951fa5fd62ff9e88381}{set\_\-obytes} (size\_\-t v)
\begin{DoxyCompactList}\small\item\em Set \hyperlink{protocolthe-p}{the} output byte count. \item\end{DoxyCompactList}\item 
bool \hyperlink{classVifCount_a8ad89efe5292b13af9113829a18f3199}{is\_\-valid} () const 
\begin{DoxyCompactList}\small\item\em Test if this entry contains valid counters. \item\end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Private Attributes}
\begin{DoxyCompactItemize}
\item 
\hypertarget{classVifCount_a413a5d3481d0e8123ef587d70b5f1b73}{
size\_\-t {\bfseries \_\-icount}}
\label{classVifCount_a413a5d3481d0e8123ef587d70b5f1b73}

\item 
\hypertarget{classVifCount_a7434f4e7ae020baee2c1fedabc6bdcbd}{
size\_\-t {\bfseries \_\-ocount}}
\label{classVifCount_a7434f4e7ae020baee2c1fedabc6bdcbd}

\item 
\hypertarget{classVifCount_a7b9a4367a1bde79c704b7fc12c7b484e}{
size\_\-t {\bfseries \_\-ibytes}}
\label{classVifCount_a7b9a4367a1bde79c704b7fc12c7b484e}

\item 
\hypertarget{classVifCount_ac9894f4d3fc87da830ccbcd4d1a0657f}{
size\_\-t {\bfseries \_\-obytes}}
\label{classVifCount_ac9894f4d3fc87da830ccbcd4d1a0657f}

\end{DoxyCompactItemize}


\subsection{Detailed Description}
Class that contains various counters per virtual interface. All counters are related to \hyperlink{protocolthe-p}{the} multicast data packets per virtual interface. 

\subsection{Member Function Documentation}
\hypertarget{classVifCount_aea44a7ecab0f46927f2fd14c2525a70c}{
\index{VifCount@{VifCount}!ibytes@{ibytes}}
\index{ibytes@{ibytes}!VifCount@{VifCount}}
\subsubsection[{ibytes}]{\setlength{\rightskip}{0pt plus 5cm}size\_\-t VifCount::ibytes (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{classVifCount_aea44a7ecab0f46927f2fd14c2525a70c}


Get \hyperlink{protocolthe-p}{the} input byte count. 

\begin{DoxyReturn}{Returns}
\hyperlink{protocolthe-p}{the} input byte count. 
\end{DoxyReturn}
\hypertarget{classVifCount_ab6e0a80ae5586c4952733ce3224a3581}{
\index{VifCount@{VifCount}!icount@{icount}}
\index{icount@{icount}!VifCount@{VifCount}}
\subsubsection[{icount}]{\setlength{\rightskip}{0pt plus 5cm}size\_\-t VifCount::icount (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{classVifCount_ab6e0a80ae5586c4952733ce3224a3581}


Get \hyperlink{protocolthe-p}{the} input packet count. 

\begin{DoxyReturn}{Returns}
\hyperlink{protocolthe-p}{the} input packet count. 
\end{DoxyReturn}
\hypertarget{classVifCount_a8ad89efe5292b13af9113829a18f3199}{
\index{VifCount@{VifCount}!is\_\-valid@{is\_\-valid}}
\index{is\_\-valid@{is\_\-valid}!VifCount@{VifCount}}
\subsubsection[{is\_\-valid}]{\setlength{\rightskip}{0pt plus 5cm}bool VifCount::is\_\-valid (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{classVifCount_a8ad89efe5292b13af9113829a18f3199}


Test if this entry contains valid counters. 

\begin{DoxyReturn}{Returns}
true if this entry contains valid counters, otherwise false. 
\end{DoxyReturn}
\hypertarget{classVifCount_a340dbdf48efb767d2aca6266d42ea1f2}{
\index{VifCount@{VifCount}!obytes@{obytes}}
\index{obytes@{obytes}!VifCount@{VifCount}}
\subsubsection[{obytes}]{\setlength{\rightskip}{0pt plus 5cm}size\_\-t VifCount::obytes (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{classVifCount_a340dbdf48efb767d2aca6266d42ea1f2}


Get \hyperlink{protocolthe-p}{the} output byte count. 

\begin{DoxyReturn}{Returns}
\hyperlink{protocolthe-p}{the} output byte count. 
\end{DoxyReturn}
\hypertarget{classVifCount_a21ec456a239d1f58ad083197a518761f}{
\index{VifCount@{VifCount}!ocount@{ocount}}
\index{ocount@{ocount}!VifCount@{VifCount}}
\subsubsection[{ocount}]{\setlength{\rightskip}{0pt plus 5cm}size\_\-t VifCount::ocount (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{classVifCount_a21ec456a239d1f58ad083197a518761f}


Get \hyperlink{protocolthe-p}{the} output packet count. 

\begin{DoxyReturn}{Returns}
\hyperlink{protocolthe-p}{the} output packet count. 
\end{DoxyReturn}
\hypertarget{classVifCount_ace3239e651772093198de82fa4f55c86}{
\index{VifCount@{VifCount}!operator=@{operator=}}
\index{operator=@{operator=}!VifCount@{VifCount}}
\subsubsection[{operator=}]{\setlength{\rightskip}{0pt plus 5cm}{\bf VifCount}\& VifCount::operator= (
\begin{DoxyParamCaption}
\item[{const {\bf VifCount} \&}]{vif\_\-count}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{classVifCount_ace3239e651772093198de82fa4f55c86}


Assignment Operator. 


\begin{DoxyParams}{Parameters}
{\em vif\_\-count} & \hyperlink{protocolthe-p}{the} value to assign to this entry. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
\hyperlink{protocolthe-p}{the} entry with \hyperlink{protocolthe-p}{the} new value assigned. 
\end{DoxyReturn}
\hypertarget{classVifCount_a52c82d208ebfdebe73449a1ae3b68ede}{
\index{VifCount@{VifCount}!set\_\-ibytes@{set\_\-ibytes}}
\index{set\_\-ibytes@{set\_\-ibytes}!VifCount@{VifCount}}
\subsubsection[{set\_\-ibytes}]{\setlength{\rightskip}{0pt plus 5cm}void VifCount::set\_\-ibytes (
\begin{DoxyParamCaption}
\item[{size\_\-t}]{v}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{classVifCount_a52c82d208ebfdebe73449a1ae3b68ede}


Set \hyperlink{protocolthe-p}{the} input byte count. 


\begin{DoxyParams}{Parameters}
{\em v} & \hyperlink{protocolthe-p}{the} value to assign to \hyperlink{protocolthe-p}{the} data byte count. \\
\hline
\end{DoxyParams}
\hypertarget{classVifCount_a9a2b451bc44d58f9c7aaed3cb725cfa0}{
\index{VifCount@{VifCount}!set\_\-icount@{set\_\-icount}}
\index{set\_\-icount@{set\_\-icount}!VifCount@{VifCount}}
\subsubsection[{set\_\-icount}]{\setlength{\rightskip}{0pt plus 5cm}void VifCount::set\_\-icount (
\begin{DoxyParamCaption}
\item[{size\_\-t}]{v}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{classVifCount_a9a2b451bc44d58f9c7aaed3cb725cfa0}


Set \hyperlink{protocolthe-p}{the} input packet count. 


\begin{DoxyParams}{Parameters}
{\em v} & \hyperlink{protocolthe-p}{the} value to assign to \hyperlink{protocolthe-p}{the} data packet count. \\
\hline
\end{DoxyParams}
\hypertarget{classVifCount_a7a7696d150a7b951fa5fd62ff9e88381}{
\index{VifCount@{VifCount}!set\_\-obytes@{set\_\-obytes}}
\index{set\_\-obytes@{set\_\-obytes}!VifCount@{VifCount}}
\subsubsection[{set\_\-obytes}]{\setlength{\rightskip}{0pt plus 5cm}void VifCount::set\_\-obytes (
\begin{DoxyParamCaption}
\item[{size\_\-t}]{v}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{classVifCount_a7a7696d150a7b951fa5fd62ff9e88381}


Set \hyperlink{protocolthe-p}{the} output byte count. 


\begin{DoxyParams}{Parameters}
{\em v} & \hyperlink{protocolthe-p}{the} value to assign to \hyperlink{protocolthe-p}{the} output byte count. \\
\hline
\end{DoxyParams}
\hypertarget{classVifCount_a8f347fe12cabbab1162b8e71fd6d3f36}{
\index{VifCount@{VifCount}!set\_\-ocount@{set\_\-ocount}}
\index{set\_\-ocount@{set\_\-ocount}!VifCount@{VifCount}}
\subsubsection[{set\_\-ocount}]{\setlength{\rightskip}{0pt plus 5cm}void VifCount::set\_\-ocount (
\begin{DoxyParamCaption}
\item[{size\_\-t}]{v}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{classVifCount_a8f347fe12cabbab1162b8e71fd6d3f36}


Set \hyperlink{protocolthe-p}{the} output packet count. 


\begin{DoxyParams}{Parameters}
{\em v} & \hyperlink{protocolthe-p}{the} value to assign to \hyperlink{protocolthe-p}{the} output packet count. \\
\hline
\end{DoxyParams}


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