Specifications
128 Data Path Routing (DPR) HighWire MTP-2 - 1.2, September 4, 2002
DPR_READ_DATA_STORE. This command returns the current incoming data byte
in the TSI for the selected highway and time slot.
Arg points to a IOCTLTSIDATASTORE structure with the following elements:
DPR_CTBUS_ENABLE. This command enables the H.110 bus for clocking and
data transmission. No argument is required, so the value of arg should be
zero.
DPR_CTBUS_DISABLE. This command disables the H.110 bus for clocking and
data transmission. No argument is required, so the value of arg should be
zero.
DPR_TTSI_LOOPBACK. This command either puts the TSI in loopback mode for
the selected set of streams or takes it out of loopback mode for all streams.
When in loopback, data will still
stillstill
still be received by the side of the connection in
which the loopback has segregated. However, the looped data will also
appear back at the data's origin.
Arg is not a pointer but instead contains one of the following values:
Return values On a successful command, sbe_dprIoctl returns a 0. It returns −1 on an error
detected by getmsg or putmsg, which sets the global variable errno as
appropriate. Otherwise sbe_dprIoctl returns an error code as described in
dprd_if.h or dpr/dpr_driver.h.
See also dprservice(7d), getmsg(2), putmsg(2)
UINT32 uiRxHighway The Receive Highway Number.
UINT32 uiRxTimeSlot The Receive Time Slot Number.
UINT32 uiData The current data returned from the TSI.
ALL Put the TSI in loopback mode for all streams.
ALL_COMETS Put the TSI in loopback mode for all COMET streams.
ALL_TS70X Put the TSI in loopback mode for all TS704 streams.
ALL_H110 Put the TSI in loopback mode for all H.110/CT bus
streams.
0 Take the TSI out of loopback mode for all streams.