[search] [index]

NAME

dkconfig - configure Datakit interface

SYNOPSIS

dkconfig [ -d dev ] [ -n netname ] [ -c csc nlines ] [ -b baud ] [ -w window ] [ -ai ]

DESCRIPTION

Dkconfig configures the device dev (default #h) as a Datakit link and gives it kernel id netname (default dk). Any subsequent reference to the device #kname and its subdirectories refers to conversations multiplexed on this link. As a convenience, dkconfig performs a
bind("#kname", "/net", MBEFORE)


to make the dk device available to dial(2). Option -c allows the common signaling channel, csc, and the number of Datakit lines, nlines, to be specified. Option -w sets the window size to window, a decimal number of bytes. This is most important on the PC's Incon interface, which overflows if the window size is greater than 256. Option -i causes an Incon device (default #i) to be configured as the Datakit connection. Option -a causes the a serial line (default /dev/eia0) to be configured as the Datakit connection. The async line protocol is pushed onto the serial line's stream to provide a multiplexed connection.

FILES

#h
default device
#i
incon device
#k*/dk/*
Datakit devices
/net/dk
by convention, Datakit device bind point

SOURCE

/sys/src/cmd/dkconfig.c

SEE ALSO

listen(8), datakit(3), dk(3), dial(2) netstat(1)

Copyright © 1995 Lucent Technologies. All rights reserved.