add suggested es_config_timer option to ISH's
[unix-history] / usr / src / sys / netns / sp.h
CommitLineData
8ae0e4b4 1/*
240edf1f
KS
2 * Copyright (c) 1984, 1985, 1986, 1987 Regents of the University of California.
3 * All rights reserved.
8ae0e4b4 4 *
240edf1f 5 * Redistribution and use in source and binary forms are permitted
616d42db
KB
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.
240edf1f 16 *
616d42db 17 * @(#)sp.h 7.3 (Berkeley) %G%
8ae0e4b4 18 */
8bcb7440
KS
19
20/*
21 * Definitions for Xerox NS style sequenced packet protocol
22 */
23
24struct 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};