NIO CommKit Host Interface Installation and System Administration Manual

DK_INFO(3X) DK_INFO(3X)
E-51 CommKit Host Interface, Release 4.0
NAME
dk_info – get and set information about an AT&T data switch connection
SYNOPSIS
#include <dkit/dk.h>
dk_info(fd, cmd, c_infop);
int fd;
int cmd;
dk_intfchan_t c_infop;
dk_info(fd, cmd, w_infop);
int fd;
int cmd;
dk_urpwin_t w_infop;
extern int dk_verbose;
DESCRIPTION
dk_info is a general-purpose routine retrieving or setting parameters of an open host device. fd is an open file
descriptor associated with a CommKit stream. cmd is one of the following:
DKGETIC Retrieve the host interface number and data switch channel number of the open circuit.
DKGETUW Get the maximum URP block size in bytes and maximum number of outstanding URP
blocks. It is valid only for file descriptors associated with dkty(7) and dkhs(7) streams.
DKSETUW Set the maximum URP block size in bytes and maximum number of outstanding URP
blocks. It is valid only for file descriptors associated with dkty(7) and dkhs(7) streams.
c_infop points to a structure of type dk_intfchan_t. This structure includes the following members defined as
unsigned short variables:
iface; /* interface board number */
chan; /* data switch channel number */
iface is the interface board number. chan is the data switch channel number.
w_infop points to a structure of type dk_urpwin_t. This structure includes the following members defined as
unsigned short variables:
maxblocks; /* maximum number of blocks */
maxbytes; /* maximum number of bytes */
maxblocks is the maximum number of outstanding URP blocks with the range of values of 1 to 7. maxbytes
is the maximum number of bytes in an URP block with the range of values of 1 to 65535.
FILES
/usr/lib/libdk.so host interface subroutine library
SEE ALSO
dkdial(3X), dkerr(3X)