diff options
author | Joseph Hunkeler <jhunkeler@gmail.com> | 2015-07-08 20:46:52 -0400 |
---|---|---|
committer | Joseph Hunkeler <jhunkeler@gmail.com> | 2015-07-08 20:46:52 -0400 |
commit | fa080de7afc95aa1c19a6e6fc0e0708ced2eadc4 (patch) | |
tree | bdda434976bc09c864f2e4fa6f16ba1952b1e555 /sys/ki/kii.com | |
download | iraf-linux-fa080de7afc95aa1c19a6e6fc0e0708ced2eadc4.tar.gz |
Initial commit
Diffstat (limited to 'sys/ki/kii.com')
-rw-r--r-- | sys/ki/kii.com | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/sys/ki/kii.com b/sys/ki/kii.com new file mode 100644 index 00000000..cd542b3d --- /dev/null +++ b/sys/ki/kii.com @@ -0,0 +1,15 @@ +# KI common -- Contains both the packed and unpacked packet used to transmit +# and receive requests over the network. Since the packed packet is first +# in the common any overflow due to failure of the assumptions about the +# size of the packed packet in host ints will only damage the area used by +# the unpacked packet, causing no harm. + +int p_packet[SZB_PACKET/SZB_CHAR/SZ_MII_INT] # packed packet + +int p_opcode # instruction opcode +int p_subcode # subcode, if device driver +int p_arg[MAX_ARGS] # procedure arguments +int p_sbuflen # nchars in use in string buffer +char p_sbuf[SZ_SBUF] # string buffer + +common /kiicom/ p_packet, p_opcode, p_subcode, p_arg, p_sbuflen, p_sbuf |