36
Frame Relay for Sangoma Cards (C) Sangoma Technologies Inc. 1999,2000,2001 Page 36 of 78
FLUSH_DLCI_STATISTICS (0x16)
The current values of the variables accessed by the
READ_DLC_STATISTICS
command are reset
to zero. Note that if the 'global' statistics are flushed, then the active statistics such as the current Send
and Receive Sequence Numbers, the number of consecutive timeouts on the T391/T392 timer and the
current N392/N392 counts will not be flushed.
Control Block values to be set on entry:
DLCI:
Set to
0x00
to flush the 'global' statistics or to flush the statistics for all the configured
DLCIs, or set to a specific DLCI to flush the performance statistics of a particular
connection.
BUFFER_
LENGTH:
Set to
0x01
if the DLCI is set to zero.
Set to
0x00
if the DLCI is set to a non-zero value.
DATA:
Offset 0 - only required if the DLCI is set to zero.
Indicates the type of statistics flushing to be performed as follows.
bit 0
set - flush the global statistics.
bit 1
set - flush the statistics for all the configured DLCIs.
Control Block values set on return:
RETURN_
CODE:
0x00 The action has been performed successfully.
0x04 An invalid DLCI was selected.
0x06
The bit settings passed at offset 0x00 in the DATA area are invalid.