xorp

PeerCounters Struct Reference

Container of counters associated with a peer. More...

#include <peer.hh>

List of all members.

Public Member Functions

uint32_t packets_recv () const
 Get the total number of packets received.
void incr_packets_recv ()
 Increment the total number of packets received.
uint32_t update_packets_recv () const
 Get the total number of update packets received.
void incr_update_packets_recv ()
 Increment the total number of update packets received.
uint32_t table_requests_recv () const
 Get the total number of table request packets received.
void incr_table_requests_recv ()
 Increment the total number of table request packets received.
uint32_t bad_routes () const
 Get the number of bad routes received (eg invalid metric, invalid address family).
void incr_bad_routes ()
 Increment the number of bad routes received.
uint32_t bad_packets () const
 Get the number of bad response packets received.
void incr_bad_packets ()
 Increment the number of bad response packets received.
uint32_t bad_auth_packets () const
 Get the number of bad authentication packets received.
void incr_bad_auth_packets ()
 Increment the number of bad authentication packets received.

Protected Attributes

uint32_t _packets_recv
uint32_t _updates_recv
uint32_t _requests_recv
uint32_t _bad_routes
uint32_t _bad_packets
uint32_t _bad_auth_packets

Detailed Description

Container of counters associated with a peer.


The documentation for this struct was generated from the following file:
 All Classes Namespaces Functions Variables Typedefs Enumerations