Specifications

HighWire MTP-2 - 1.2, September 4, 2002 dprservice (7D) 101
rddata.len = 0;
rddata.buf = (char *)buf;
flag = 0;
if (!(err = getmsg (fd, &rdctl, &rddata, &flag))) {
if (!(err = rdproto.rdwr_err))
{
/*
* If no error, return the amount read.
* Set the reference map address for test routines.
*/
err = rdproto.rdwr_size;
}
}
}
return (err);
}
DPR_WRITE. Writes the DPR connection matrix to the board replacing all
current connections.
The putmsg control buffer is a structure of type dpr_rdwr_t with the rdwr_size
element set to the number of connections supplied in the data buffer. The
connections are specified using the MAP structures shown in the
DPR_CONNECT command. The getmsg control buffer returned is also a
dpr_rdwr_t structure with the error code in the rdwr_err element (zero on
success).
DPR_CONNECT. Connects one time slot from a source to a destination.
The putmsg control buffer is a structure of type dpr_conn_t with the
conn_map element a MAP structure that defines the source and destination
for the connection. The getmsg control buffer returned is also a dpr_conn_t
structure with the error code in the conn_err element, which is zero on
success.