
Dialogic® DSI SS7MD Programmer’s Manual Issue 3
6.8.4DVR_MSG_R_L1_STATS – Link Statistics Request
Synopsis
Retrieve link statistics.
Format
|
| MESSAGE HEADER |
|
|
|
Field Name | Meaning | |
|
|
|
type |
| DVR_MSG_R_L1_STATS (0x6136) |
|
|
|
id |
| l1_llid |
|
|
|
src |
| Sending module ID |
|
|
|
dst |
| module ID of onboard HDLC/SS7 driver |
|
|
|
rsp_req |
| Used to request a confirmation, sending layer’s bit must be set. |
|
|
|
hclass |
| 0 |
|
|
|
status |
| 0 – Read statistics |
| 1 – Read statistics and reset | |
|
| |
|
|
|
err_info |
| 0 |
|
|
|
len |
| 48 |
|
|
|
|
| PARAMETER AREA |
|
|
|
Offset | Size | Name |
|
|
|
0 | 4 | duration |
|
|
|
4 | 4 | abort_cnt |
|
|
|
8 | 4 | CRC_errs |
|
|
|
12 | 4 | Reserved. Must be set to 0. |
|
|
|
16 | 4 | length_errs |
|
|
|
20 | 4 | rx_overrun |
|
|
|
24 | 4 | receiver_busy_cnt |
|
|
|
28 | 4 | rx_frame_cnt |
|
|
|
32 | 4 | rx_pre_filter_cnt |
|
|
|
36 | 4 | tx_frame_cnt |
|
|
|
40 | 4 | Reserved. Must be set to 0. |
|
|
|
44 | 4 | rx_busy_status |
|
|
|
Description
This message provides the user with a number of statistics on a per link basis. If the user sends the message with a non zero status field, the statistics are reset to 0 after being read.
Parameters
The DVR_MSG_R_L1_STATS message includes the following parameters:
•
•
•
•
•
duration
Duration in tenths of a second since the statistic counters were last reset.
about_cnt
The number of aborts received on the link.
CRC_errs
Number of CRC errors received on the link.
length_errs
The number of received frames that were designated as either too long or too short for a configured protocol.
rx_overrun
The number of times that the receiver was forced to discard incoming frames as a result of there being no internal buffers available to receive the incoming data. This is a count of the number of events rather than a count of the number of frames discarded.
113