Download PLAN 9 from BELL LABS PROGRAMMER`S

Transcript
DATAKIT ( 3 )
DATAKIT ( 3 )
N
NA
AM
ME
E
incon, hsvme, hs386 – Datakit interface
S
SY
YN
NO
OP
PS
SIIS
S
bind -a #i /dev
bind -a #h /dev
#i/data
#i/ctl
#h/data
#h/ctl
D
DE
ES
SC
CR
RIIP
PT
TIIO
ON
N
The Datakit interface is a stream directory containing a data and a control file. Each write to the data file is
a structured message. The first two bytes of the message are a 9-bit virtual circuit number, low order byte
first. The third byte is a control byte. The rest are data bytes. The data bytes are sent onto the Datakit virtual circuit, tagged as data, followed by the control byte, tagged as control.
Messages coming from Datakit are read from the data file in the same format. A read terminates at the end
of a message. The largest possible received message is 1024 + 3 bytes.
Page 305
Plan 9
January 20, 1993