|
|
1.1 root 1: /*
2: * Copyright (c) 1988 Regents of the University of California.
3: * All rights reserved.
4: *
5: * Redistribution and use in source and binary forms are permitted
6: * provided that this notice is preserved and that due credit is given
7: * to the University of California at Berkeley. The name of the University
8: * may not be used to endorse or promote products derived from this
9: * software without specific prior written permission. This software
10: * is provided ``as is'' without express or implied warranty.
11: *
12: * @(#)tncomp.h 3.2 (Berkeley) 3/28/88
13: */
14:
15: /*
16: * Where the fields fall on the formatted screen used by tncomp, tnrecv,
17: * and tnsend.
18: */
19:
20: #define SEND_SEQUENCE 1
21: #define SEND_SEQUENCE_LENGTH 23
22:
23: #define ACK_SEQUENCE (SEND_SEQUENCE+SEND_SEQUENCE_LENGTH+1)
24: #define ACK_SEQUENCE_LENGTH 22
25:
26: #define CHECKSUM (ACK_SEQUENCE+ACK_SEQUENCE_LENGTH+1)
27: #define CHECKSUM_LENGTH 32
28:
29: #define DATA (CHECKSUM+CHECKSUM_LENGTH+1)
30: #define DATA_LENGTH ((80*22)+79)
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.