|
|
1.1 root 1: /*
2: * Copyright (c) 1984, 1985, 1986, 1987 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 the above copyright notice and this paragraph are
7: * duplicated in all such forms and that any documentation,
8: * advertising materials, and other materials related to such
9: * distribution and use acknowledge that the software was developed
10: * by the University of California, Berkeley. The name of the
11: * University may not be used to endorse or promote products derived
12: * from this software without specific prior written permission.
13: * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
14: * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
15: * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
16: *
17: * @(#)sp.h 7.3 (Berkeley) 6/29/88
18: */
19:
20: /*
21: * Definitions for Xerox NS style sequenced packet protocol
22: */
23:
24: struct sphdr {
25: u_char sp_cc; /* connection control */
26: u_char sp_dt; /* datastream type */
27: #define SP_SP 0x80 /* system packet */
28: #define SP_SA 0x40 /* send acknowledgement */
29: #define SP_OB 0x20 /* attention (out of band data) */
30: #define SP_EM 0x10 /* end of message */
31: u_short sp_sid; /* source connection identifier */
32: u_short sp_did; /* destination connection identifier */
33: u_short sp_seq; /* sequence number */
34: u_short sp_ack; /* acknowledge number */
35: u_short sp_alo; /* allocation number */
36: };
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.