\hypertarget{structPeerCounters}{
\section{PeerCounters Struct Reference}
\label{structPeerCounters}\index{PeerCounters@{PeerCounters}}
}


Container of counters associated with a peer.  




{\ttfamily \#include $<$peer.hh$>$}

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

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

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

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

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

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

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

\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{structPeerCounters_aed02a98c67d6fd8a98eceba14c71cfc9}{
void \hyperlink{structPeerCounters_aed02a98c67d6fd8a98eceba14c71cfc9}{incr\_\-bad\_\-routes} ()}
\label{structPeerCounters_aed02a98c67d6fd8a98eceba14c71cfc9}

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

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

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

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

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

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

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

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

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

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

\end{DoxyCompactItemize}


\subsection{Detailed Description}
Container of counters associated with a peer. 

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