|
|
All counters are related to the multicast data packets per virtual interface.
VifCount ()
| VifCount |
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.