Specifications

118 Data Path Routing (DPR) HighWire MTP-2 - 1.2, September 4, 2002
7-6. sbe_dprWrite
This routine issues a command to the DPR service to clear out all existing
connections and replace them with the number of connections and nmaps
specified in the supplied matrix buf. Normally this is only done at system
startup with most connections set up and torn down using the DPR_CONNECT
and DPR_DISCONNECT commands.
Synopsis
#include "sbe_dprlib.h"
int sbe_dprWrite (int fildes, MAP *buf, int nmaps);
Return values On a successful write, sbe_dprWrite returns the number of connection maps
set. On an error, if sbe_dprWrite returns a 1, the global variable errno is set
by getmsg or putmsg. Otherwise sbe_dprWrite returns a negative error code
as described in dprd_if.h or dpr/dpr_driver.h.
See also dprservice(7d), getmsg(2), putmsg(2)
7-7. sbe_dprIoctl
This routine issues the specified command cmd with argument arg to the DPR
service. It waits for the response from the board and returns any data from
the response to the memory pointed to by arg.
Synopsis
#include "sbe_dprlib.h"
int sbe_dprIoctl (int fildes, int cmd, void *arg);
Commands Allowed commands with their arguments are:
DPR_CONNECT. Connects one time slot from a source to a destination.