\hypertarget{structPortCounters}{
\section{PortCounters Struct Reference}
\label{structPortCounters}\index{PortCounters@{PortCounters}}
}


Container of counters associated with a \hyperlink{classPort}{Port}.  




{\ttfamily \#include $<$port\_\-vars.hh$>$}

\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hypertarget{structPortCounters_afdbd7dea210a91b135d7da0468b2cd05}{
uint32\_\-t \hyperlink{structPortCounters_afdbd7dea210a91b135d7da0468b2cd05}{packets\_\-recv} () const }
\label{structPortCounters_afdbd7dea210a91b135d7da0468b2cd05}

\begin{DoxyCompactList}\small\item\em Get \hyperlink{protocolthe-p}{the} total number of packets received. \item\end{DoxyCompactList}\item 
\hypertarget{structPortCounters_a35a7c1d393f0d206cdfe294c7bb095dd}{
void \hyperlink{structPortCounters_a35a7c1d393f0d206cdfe294c7bb095dd}{incr\_\-packets\_\-recv} ()}
\label{structPortCounters_a35a7c1d393f0d206cdfe294c7bb095dd}

\begin{DoxyCompactList}\small\item\em Increment \hyperlink{protocolthe-p}{the} total number of packets received. \item\end{DoxyCompactList}\item 
\hypertarget{structPortCounters_abb3836d4bcb2501df8c1415d85254b32}{
uint32\_\-t \hyperlink{structPortCounters_abb3836d4bcb2501df8c1415d85254b32}{update\_\-packets\_\-recv} () const }
\label{structPortCounters_abb3836d4bcb2501df8c1415d85254b32}

\begin{DoxyCompactList}\small\item\em Get total number of update packets received. \item\end{DoxyCompactList}\item 
\hypertarget{structPortCounters_a17127942de5cefccfc2cb396b6492458}{
void \hyperlink{structPortCounters_a17127942de5cefccfc2cb396b6492458}{incr\_\-update\_\-packets\_\-recv} ()}
\label{structPortCounters_a17127942de5cefccfc2cb396b6492458}

\begin{DoxyCompactList}\small\item\em Increment total number of update packets received. \item\end{DoxyCompactList}\item 
\hypertarget{structPortCounters_a8f33478fc1992b64bb3578d5321b4c88}{
uint32\_\-t \hyperlink{structPortCounters_a8f33478fc1992b64bb3578d5321b4c88}{bad\_\-routes} () const }
\label{structPortCounters_a8f33478fc1992b64bb3578d5321b4c88}

\begin{DoxyCompactList}\small\item\em Get \hyperlink{protocolthe-p}{the} number of bad routes received (eg invalid metric, invalid address family). \item\end{DoxyCompactList}\item 
\hypertarget{structPortCounters_ae1834352626a0e65c71ab5bf63f92ef6}{
void \hyperlink{structPortCounters_ae1834352626a0e65c71ab5bf63f92ef6}{incr\_\-bad\_\-routes} ()}
\label{structPortCounters_ae1834352626a0e65c71ab5bf63f92ef6}

\begin{DoxyCompactList}\small\item\em Increment \hyperlink{protocolthe-p}{the} number of bad routes received. \item\end{DoxyCompactList}\item 
\hypertarget{structPortCounters_af263043b0c67b4e36f728d1c374825b2}{
uint32\_\-t \hyperlink{structPortCounters_af263043b0c67b4e36f728d1c374825b2}{bad\_\-packets} () const }
\label{structPortCounters_af263043b0c67b4e36f728d1c374825b2}

\begin{DoxyCompactList}\small\item\em Get \hyperlink{protocolthe-p}{the} number of bad response packets received. \item\end{DoxyCompactList}\item 
\hypertarget{structPortCounters_a221134bf658f62430edba604f7014bec}{
void \hyperlink{structPortCounters_a221134bf658f62430edba604f7014bec}{incr\_\-bad\_\-packets} ()}
\label{structPortCounters_a221134bf658f62430edba604f7014bec}

\begin{DoxyCompactList}\small\item\em Increment \hyperlink{protocolthe-p}{the} number of bad response packets received. \item\end{DoxyCompactList}\item 
\hypertarget{structPortCounters_ac67d7996953ccab87d1292c4eeea0586}{
uint32\_\-t \hyperlink{structPortCounters_ac67d7996953ccab87d1292c4eeea0586}{bad\_\-auth\_\-packets} () const }
\label{structPortCounters_ac67d7996953ccab87d1292c4eeea0586}

\begin{DoxyCompactList}\small\item\em Get \hyperlink{protocolthe-p}{the} number of authentication failing packets received. \item\end{DoxyCompactList}\item 
\hypertarget{structPortCounters_acac2b348b45540066c5170958c607760}{
void \hyperlink{structPortCounters_acac2b348b45540066c5170958c607760}{incr\_\-bad\_\-auth\_\-packets} ()}
\label{structPortCounters_acac2b348b45540066c5170958c607760}

\begin{DoxyCompactList}\small\item\em Increment \hyperlink{protocolthe-p}{the} number of bad authentication packets received. \item\end{DoxyCompactList}\item 
\hypertarget{structPortCounters_a555f818225b866025cbd53a625cd2b86}{
uint32\_\-t \hyperlink{structPortCounters_a555f818225b866025cbd53a625cd2b86}{triggered\_\-updates} () const }
\label{structPortCounters_a555f818225b866025cbd53a625cd2b86}

\begin{DoxyCompactList}\small\item\em Get \hyperlink{protocolthe-p}{the} number of triggered updates sent. \item\end{DoxyCompactList}\item 
\hypertarget{structPortCounters_aa80dfcaa0e79c462004757dff7e7f872}{
void \hyperlink{structPortCounters_aa80dfcaa0e79c462004757dff7e7f872}{incr\_\-triggered\_\-updates} ()}
\label{structPortCounters_aa80dfcaa0e79c462004757dff7e7f872}

\begin{DoxyCompactList}\small\item\em Increment \hyperlink{protocolthe-p}{the} number of triggered updates sent. \item\end{DoxyCompactList}\item 
\hypertarget{structPortCounters_a16ca7e41da6d4f56cbf17be09262b84e}{
uint32\_\-t \hyperlink{structPortCounters_a16ca7e41da6d4f56cbf17be09262b84e}{unsolicited\_\-updates} () const }
\label{structPortCounters_a16ca7e41da6d4f56cbf17be09262b84e}

\begin{DoxyCompactList}\small\item\em Get \hyperlink{protocolthe-p}{the} number of unsolicited updates sent. \item\end{DoxyCompactList}\item 
\hypertarget{structPortCounters_a1c562373ff5a70a1d4b3a9e57f967a80}{
void \hyperlink{structPortCounters_a1c562373ff5a70a1d4b3a9e57f967a80}{incr\_\-unsolicited\_\-updates} ()}
\label{structPortCounters_a1c562373ff5a70a1d4b3a9e57f967a80}

\begin{DoxyCompactList}\small\item\em Increment \hyperlink{protocolthe-p}{the} number of unsolicited updates sent. \item\end{DoxyCompactList}\item 
\hypertarget{structPortCounters_a7a626bf0facbceb65fb75c1c5a663e36}{
uint32\_\-t \hyperlink{structPortCounters_a7a626bf0facbceb65fb75c1c5a663e36}{table\_\-requests\_\-sent} () const }
\label{structPortCounters_a7a626bf0facbceb65fb75c1c5a663e36}

\begin{DoxyCompactList}\small\item\em Get \hyperlink{protocolthe-p}{the} number of table requests sent. \item\end{DoxyCompactList}\item 
\hypertarget{structPortCounters_a642532f7e4d1675eb71926789c3e0fb6}{
void \hyperlink{structPortCounters_a642532f7e4d1675eb71926789c3e0fb6}{incr\_\-table\_\-requests\_\-sent} ()}
\label{structPortCounters_a642532f7e4d1675eb71926789c3e0fb6}

\begin{DoxyCompactList}\small\item\em Increment \hyperlink{protocolthe-p}{the} number of table requests updates sent. \item\end{DoxyCompactList}\item 
\hypertarget{structPortCounters_ae10dd0e364562fc928402304b9e731a7}{
uint32\_\-t \hyperlink{structPortCounters_ae10dd0e364562fc928402304b9e731a7}{table\_\-requests\_\-recv} () const }
\label{structPortCounters_ae10dd0e364562fc928402304b9e731a7}

\begin{DoxyCompactList}\small\item\em Get \hyperlink{protocolthe-p}{the} number of table requests received. \item\end{DoxyCompactList}\item 
\hypertarget{structPortCounters_ab122796aa9cd64d5b93946c218d11eb8}{
void \hyperlink{structPortCounters_ab122796aa9cd64d5b93946c218d11eb8}{incr\_\-table\_\-requests\_\-recv} ()}
\label{structPortCounters_ab122796aa9cd64d5b93946c218d11eb8}

\begin{DoxyCompactList}\small\item\em Increment \hyperlink{protocolthe-p}{the} number of table requests updates received. \item\end{DoxyCompactList}\item 
\hypertarget{structPortCounters_ac29443bd2324aa2e818b42e1a281c0cf}{
uint32\_\-t \hyperlink{structPortCounters_ac29443bd2324aa2e818b42e1a281c0cf}{non\_\-rip\_\-requests\_\-recv} () const }
\label{structPortCounters_ac29443bd2324aa2e818b42e1a281c0cf}

\begin{DoxyCompactList}\small\item\em Get number of non-\/RIP request packets received. \item\end{DoxyCompactList}\item 
\hypertarget{structPortCounters_a3f0e2ed541974563fb19b91183fd6fdf}{
void \hyperlink{structPortCounters_a3f0e2ed541974563fb19b91183fd6fdf}{incr\_\-non\_\-rip\_\-requests\_\-recv} ()}
\label{structPortCounters_a3f0e2ed541974563fb19b91183fd6fdf}

\begin{DoxyCompactList}\small\item\em Increment \hyperlink{protocolthe-p}{the} number of non-\/RIP request packets received. \item\end{DoxyCompactList}\item 
\hypertarget{structPortCounters_a4e8d865c3659f0ad08251191e57e8898}{
uint32\_\-t \hyperlink{structPortCounters_a4e8d865c3659f0ad08251191e57e8898}{non\_\-rip\_\-updates\_\-sent} () const }
\label{structPortCounters_a4e8d865c3659f0ad08251191e57e8898}

\begin{DoxyCompactList}\small\item\em Get number of non-\/RIP update packets sent. \item\end{DoxyCompactList}\item 
\hypertarget{structPortCounters_aedd97fa856d74929ac2feaaf88ba24cd}{
void \hyperlink{structPortCounters_aedd97fa856d74929ac2feaaf88ba24cd}{incr\_\-non\_\-rip\_\-updates\_\-sent} ()}
\label{structPortCounters_aedd97fa856d74929ac2feaaf88ba24cd}

\begin{DoxyCompactList}\small\item\em Increment \hyperlink{protocolthe-p}{the} number of non-\/RIP request packets received. \item\end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Protected Attributes}
\begin{DoxyCompactItemize}
\item 
\hypertarget{structPortCounters_ae0a517a1a5914250be9d8d76bbb49780}{
uint32\_\-t {\bfseries \_\-packets\_\-recv}}
\label{structPortCounters_ae0a517a1a5914250be9d8d76bbb49780}

\item 
\hypertarget{structPortCounters_a567c4e16d1a8d7444975a43ab676ecc2}{
uint32\_\-t {\bfseries \_\-requests\_\-recv}}
\label{structPortCounters_a567c4e16d1a8d7444975a43ab676ecc2}

\item 
\hypertarget{structPortCounters_adf6f35dda5ea52b29e009944509da58b}{
uint32\_\-t {\bfseries \_\-updates\_\-recv}}
\label{structPortCounters_adf6f35dda5ea52b29e009944509da58b}

\item 
\hypertarget{structPortCounters_a57664a3185ec7354a931b92c21da8568}{
uint32\_\-t {\bfseries \_\-bad\_\-routes}}
\label{structPortCounters_a57664a3185ec7354a931b92c21da8568}

\item 
\hypertarget{structPortCounters_aefdf191d03e52ca6d632cb455b7bd5dd}{
uint32\_\-t {\bfseries \_\-bad\_\-packets}}
\label{structPortCounters_aefdf191d03e52ca6d632cb455b7bd5dd}

\item 
\hypertarget{structPortCounters_adf2201f38e91dccddd037887967dead9}{
uint32\_\-t {\bfseries \_\-bad\_\-auth\_\-packets}}
\label{structPortCounters_adf2201f38e91dccddd037887967dead9}

\item 
\hypertarget{structPortCounters_a25dd50fb7e80b1b67d41d53d8115b6a6}{
uint32\_\-t {\bfseries \_\-tr\_\-sent}}
\label{structPortCounters_a25dd50fb7e80b1b67d41d53d8115b6a6}

\item 
\hypertarget{structPortCounters_a8edc25e971de252b327ed881b0599b74}{
uint32\_\-t {\bfseries \_\-tr\_\-recv}}
\label{structPortCounters_a8edc25e971de252b327ed881b0599b74}

\item 
\hypertarget{structPortCounters_a30e54061d58ce54b4e6222ae373cde51}{
uint32\_\-t {\bfseries \_\-triggered\_\-updates}}
\label{structPortCounters_a30e54061d58ce54b4e6222ae373cde51}

\item 
\hypertarget{structPortCounters_a72d2491fca7e27ca2f8b3f690f9dd4fc}{
uint32\_\-t {\bfseries \_\-unsol\_\-updates}}
\label{structPortCounters_a72d2491fca7e27ca2f8b3f690f9dd4fc}

\item 
\hypertarget{structPortCounters_a7bdacfff93cdac0d599d7323db80eb10}{
uint32\_\-t {\bfseries \_\-nr\_\-req\_\-recv}}
\label{structPortCounters_a7bdacfff93cdac0d599d7323db80eb10}

\item 
\hypertarget{structPortCounters_a4e66fb4f9d0f1eeb4604337064f3caef}{
uint32\_\-t {\bfseries \_\-nr\_\-updates}}
\label{structPortCounters_a4e66fb4f9d0f1eeb4604337064f3caef}

\end{DoxyCompactItemize}


\subsection{Detailed Description}
Container of counters associated with a \hyperlink{classPort}{Port}. 

The documentation for this struct was generated from the following file:\begin{DoxyCompactItemize}
\item 
/home/greearb/git/xorp.ct.github/xorp/rip/port\_\-vars.hh\end{DoxyCompactItemize}
