struct PortCounters

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

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

Public Methods

Protected Members


Detailed Description

 PortCounters ()

PortCounters

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.

inline uint32_t  triggered_updates ()

triggered_updates

[const]

Get the number of triggered updates sent.

inline void  incr_triggered_updates ()

incr_triggered_updates

Increment the number of triggered updates sent.

uint32_t _packets_recv

_packets_recv

[protected]

uint32_t _bad_routes

_bad_routes

[protected]

uint32_t _bad_packets

_bad_packets

[protected]

uint32_t _triggered_updates

_triggered_updates

[protected]


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