IXP1200 Network Processor Family ATM
Counter | Group | Description |
|
|
|
COUNT_QUEUE_FAIL | (1 << 8) | enqueue/dequeue error events |
|
|
|
COUNT_CRC32 | (1 << 9) | normal |
|
|
|
COUNT_CRC32_FAIL | (1 << 10) | |
|
|
|
4.8.3counters.uc
4.8.3.1counter_reset()
Resets the specified counter to zero.
counter_reset(in_counter_base, in_counter_offset, IN_ENABLE_FLAGS)
Parameter | Description |
|
|
in_counter_base | Base counter number. |
|
|
in_counter_offset | Counter offset. |
|
|
IN_ENABLE_FLAGS | Counter increment flag. Must match the COUNTERS_ENABLE_MASK bit. |
|
|
4.8.3.2counter_inc()
Increments the specified counter.
counter_inc(in_counter_base, in_counter_offset, IN_ENABLE_FLAGS)
Parameter | Description |
|
|
in_counter_base | Base counter number. |
|
|
in_counter_offset | Counter offset. |
|
|
IN_ENABLE_FLAGS | Counter increment flag. Must match the COUNTERS_ENABLE_MASK bit. |
|
|
4.8.3.3port_counter_inc()
Increments the
port_counter_inc(in_port_index, IN_PORT_BASE, IN_EXCEPTION_INDEX,
IN_PORT_COUNTERS_BASE, IN_TOTAL_DISCARDS, IN_MAX_PORT_NUMBER, IN_ENABLE_FLAGS)
Parameter | Description |
|
|
in_port_index | Port index. |
|
|
IN_PORT_BASE | Base port number. |
|
|
IN_EXCEPTION_INDEX | The |
|
|
IN_PORT_COUNTERS_BASE | Address of 0th counter for port 0. |
|
|
Application Note | 49 |
Modified on: 3/20/02,