struct PeerCounters

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

Definition#include <peer.hh>
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Methods

Protected Members


Detailed Description

 PeerCounters ()

PeerCounters

inline uint32_t  packets_recv ()

packets_recv

[const]

Get the total number of packets received.

inline void  incr_packets_recv ()

incr_packets_recv

Increment the total number of packets received.

inline uint32_t  bad_routes ()

bad_routes

[const]

Get the number of bad routes received (eg invalid metric, invalid address family).

inline void  incr_bad_routes ()

incr_bad_routes

Increment the number of bad routes received.

inline uint32_t  bad_packets ()

bad_packets

[const]

Get the number of bad response packets received.

inline void  incr_bad_packets ()

incr_bad_packets

Increment the number of bad response packets received.

uint32_t _packets_recv

_packets_recv

[protected]

uint32_t _bad_routes

_bad_routes

[protected]

uint32_t _bad_packets

_bad_packets

[protected]


Generated by: pavlin on possum.icir.org on Mon Jun 9 13:24:02 2003, using kdoc 2.0a54+XORP.