Specifications
116 Data Path Routing (DPR) HighWire MTP-2 - 1.2, September 4, 2002
7-2. libdpr (3sbe)
libdpr provides a set of routines that allow an application to set up and
dynamically control time slot connections and clocking operations on all
HighWire boards. The DPR service included in the protocol modules
downloaded to the HighWire board initializes the Data Path Routing matrix to
a functional default configuration. This configuration may be changed by
using the getmsg(2) and putmsg(2) Streams functions as described in
Section 7-1, dprservice (7D), or by using the routines defined in this chapter
that are included in the shared object library libsbe.so.
For additional information on shared object interfaces, see intro(4). The
features in this library are implemented upon dynamic linking.
To reference the online manpages, you may need to use the appropriate
man(1) section.
Example:
man -s 3sbe sbe_dprOpen
Synopsis cc [ flag
flagflag
flag ... ] file
filefile
file ... -I/usr/include/sbe -lsbe -lsocket -lposix4
Availability Provided as a component of the SBE HighWire and LinkWARE Support
Packages.
Routines
sbe_dprOpen open a connection to the DPR service on the
specified board
sbe_dprClose close a connection to the DPR service
sbe_dprRead read the current connection matrix
sbe_dprWrite write the supplied connection matrix and
make it the current one
sbe_dprIoctl change individual connections and change
various dynamic parameters
sbe_dprConfigDefault set up the default DPR configuration on the
board
sbe_dprConnectionReport print the connection matrix
sbe_dprHighwayReport print the time slot assignments for the
highway
sbe_dprPrint print the connection matrix and the time slot
assignments for the highway