|
|
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_count | the 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:
v | the value to assign to the data packet count. |
void set_ocount (size_t v)
| set_ocount |
Set the output packet count.
Parameters:
v | the value to assign to the output packet count. |
void set_ibytes (size_t v)
| set_ibytes |
Set the input byte count.
Parameters:
v | the value to assign to the data byte count. |
void set_obytes (size_t v)
| set_obytes |
Set the output byte count.
Parameters:
v | the 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 Thu Aug 28 12:52:10 2003, using kdoc 2.0a54+XORP. |