|
|
All counters are related to the multicast data packets per (S,G) entry.
| SgCount ()
| SgCount |
Default constructor
| SgCount& operator= (const SgCount& sg_count)
| operator= |
Assignment Operator
Parameters:
| sg_count | the value to assing to this entry. |
Returns: the entry with the new value assigned.
| SgCount& operator+= (const SgCount& sg_count)
| operator+= |
Assign-Sum Operator
Parameters:
| sg_count | the value to add to this entry. |
Returns: the entry with the new value after sg_count was added.
| SgCount& operator-= (const SgCount& sg_count)
| operator-= |
Assign-Difference Operator
Parameters:
| sg_count | the value to substract from this entry. |
Returns: the entry with the new value after sg_count was substracted.
| size_t pktcnt ()
| pktcnt |
[const]
Get the packet count.
Returns: the packet count.
| size_t bytecnt ()
| bytecnt |
[const]
Get the byte count.
Returns: the byte count.
| size_t wrong_if ()
| wrong_if |
[const]
Get the number of packets received on wrong interface.
Returns: the number of packets received on wrong interface.
| void set_pktcnt (size_t v)
| set_pktcnt |
Set the packet count.
Parameters:
| v | the value to assign to the packet count. |
| void set_bytecnt (size_t v)
| set_bytecnt |
Set the byte count.
Parameters:
| v | the value to assign to the byte count. |
| void set_wrong_if (size_t v)
| set_wrong_if |
Set the wrong-interface packet count.
Parameters:
| v | the value to assign to the wrong-interface packet count. |
| void reset ()
| reset |
Reset all counters.
| 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 Wed Dec 11 16:50:48 2002, using kdoc 2.0a54+XORP. |