NIO CommKit Host Interface Installation and System Administration Manual

DKTLI(7) DKTLI(7)
E-87 CommKit Host Interface, Release 4.0
NAME
dktli – CommKit Interface Connection Oriented Transport Provider
SYNOPSIS
t = t_open("/dev/dktp0", O_RDWR, NULL);
DESCRIPTION
dktli is the CommKit Host Transport Provider that supports a Transport Provider Interface (TPI). Programs
can access dktli using the Transport Level Interface (TLI) [see UNIX System V Release 4.0 Programmer’s
Guide: Networking Interfaces for more information about TLI] where it supports the connection-oriented
with orderly release (T_COTS_ORD) service type. dktli supports all TLI connection-mode primitives and
all TLI common management primitives except t_optmgmt. dktli does not support any connectionless mode
primitives and does not support transmission of user data during any state other than data transfer.
dktli consists of the dktm multiplexing driver. dktli interfaces with the dkux(7) module (which provides call
management functions) and dkhs(7) driver at the bottom for call management and data transfer. dktli uses a
user-level daemon process dkdaemon(1M) to link and unlink dkhs(7) Streams below the multiplexing driver
dktm . The TPI becomes available when the dkdaemon(1M) process starts and the TPI becomes inaccessible
when the dkdaemon(1M) process stops.
The net_spec associated with dktli is dktpX, where X is the host hardware interface number. On systems
installed with more than one host hardware interface, application programs may access a particular hardware
interface through invoking t_open(3N) with the desired net_spec (for example, /dev/dktp0) as the argument.
A network server may offer a service with the name, LISTENAME, known to its clients by invoking
t_bind(3N) to bind LISTENAME to the transport endpoint.
EXAMPLE
The code fragments below illustrate how a client can establish an AT&T data switch circuit through dktli to
a server listening on address LISTENAME.
#include <tiuser.h>
struct t_call *sndcall;
fd = t_open("/dev/dktp0", O_RDWR, NULL);
t_bind(fd, NULL, NULL);
.
.
.
sndcall->addr.buf = "area/exchange/LISTENAME";
sndcall->addr.len = sizeof("area/exchange/LISTENAME");
t_connect(fd, sndcall, NULL);
FILES
/dev/dktpX control device for interface X
/usr/lib/libnsl.so TLI subroutine library
SEE ALSO
dkdaemon(1M), dkhs(7), dkux(7).
listen(1M), nlsadmin(1M), rfadmin(1M), sacadm(1M), strace(1M), sterr(1M), t_bind(3N), t_open(3N),
netconfig(4), timod(7), tirdwr(7), in the UNIX System V System Administrator’s Reference Manual and UNIX
System V Release 4.0 Programmer’s Guide: Network Interfaces.
log(7) in the UNIX System V Programmer’s Guide: STREAMS.
DIAGNOSTICS
The STREAMS log routine strlog() is used to log trace and error messages.