class VifCount

Class that contains various counters per virtual interface. More...

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

Public Methods


Detailed Description

All counters are related to the multicast data packets per virtual interface.

 VifCount ()

VifCount

Default constructor

VifCount&  operator= (const VifCount& vif_count)

operator=

Assignment Operator

Parameters:
vif_countthe value to assign to this entry.

Returns: the entry with the new value assigned.

size_t  icount ()

icount

[const]

Get the input packet count.

Returns: the input packet count.

size_t  ocount ()

ocount

[const]

Get the output packet count.

Returns: the output packet count.

size_t  ibytes ()

ibytes

[const]

Get the input byte count.

Returns: the input byte count.

size_t  obytes ()

obytes

[const]

Get the output byte count.

Returns: the output byte count.

void  set_icount (size_t v)

set_icount

Set the input packet count.

Parameters:
vthe value to assign to the data packet count.

void  set_ocount (size_t v)

set_ocount

Set the output packet count.

Parameters:
vthe value to assign to the output packet count.

void  set_ibytes (size_t v)

set_ibytes

Set the input byte count.

Parameters:
vthe value to assign to the data byte count.

void  set_obytes (size_t v)

set_obytes

Set the output byte count.

Parameters:
vthe value to assign to the output byte count.

bool  is_valid ()

is_valid

[const]

Test if this entry contains valid counters.

Returns: true if this entry contains valid counters, otherwise false.


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