xorp

PortCounters Struct Reference

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

#include <port_vars.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 total number of update packets received.
void incr_update_packets_recv ()
 Increment total number of update 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 authentication failing packets received.
void incr_bad_auth_packets ()
 Increment the number of bad authentication packets received.
uint32_t triggered_updates () const
 Get the number of triggered updates sent.
void incr_triggered_updates ()
 Increment the number of triggered updates sent.
uint32_t unsolicited_updates () const
 Get the number of unsolicited updates sent.
void incr_unsolicited_updates ()
 Increment the number of unsolicited updates sent.
uint32_t table_requests_sent () const
 Get the number of table requests sent.
void incr_table_requests_sent ()
 Increment the number of table requests updates sent.
uint32_t table_requests_recv () const
 Get the number of table requests received.
void incr_table_requests_recv ()
 Increment the number of table requests updates received.
uint32_t non_rip_requests_recv () const
 Get number of non-RIP request packets received.
void incr_non_rip_requests_recv ()
 Increment the number of non-RIP request packets received.
uint32_t non_rip_updates_sent () const
 Get number of non-RIP update packets sent.
void incr_non_rip_updates_sent ()
 Increment the number of non-RIP request packets received.

Protected Attributes

uint32_t _packets_recv
uint32_t _requests_recv
uint32_t _updates_recv
uint32_t _bad_routes
uint32_t _bad_packets
uint32_t _bad_auth_packets
uint32_t _tr_sent
uint32_t _tr_recv
uint32_t _triggered_updates
uint32_t _unsol_updates
uint32_t _nr_req_recv
uint32_t _nr_updates

Detailed Description

Container of counters associated with a Port.


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