123214Smckusick /* 2*63231Sbostic * Copyright (c) 1984, 1985, 1986, 1987, 1993 3*63231Sbostic * The Regents of the University of California. All rights reserved. 423214Smckusick * 544506Sbostic * %sccs.include.redist.c% 633371Ssklower * 7*63231Sbostic * @(#)sp.h 8.1 (Berkeley) 06/10/93 823214Smckusick */ 921492Ssklower 1021492Ssklower /* 1121492Ssklower * Definitions for Xerox NS style sequenced packet protocol 1221492Ssklower */ 1321492Ssklower 1421492Ssklower struct sphdr { 1521492Ssklower u_char sp_cc; /* connection control */ 1621492Ssklower u_char sp_dt; /* datastream type */ 1721492Ssklower #define SP_SP 0x80 /* system packet */ 1821492Ssklower #define SP_SA 0x40 /* send acknowledgement */ 1921492Ssklower #define SP_OB 0x20 /* attention (out of band data) */ 2021492Ssklower #define SP_EM 0x10 /* end of message */ 2121492Ssklower u_short sp_sid; /* source connection identifier */ 2221492Ssklower u_short sp_did; /* destination connection identifier */ 2321492Ssklower u_short sp_seq; /* sequence number */ 2421492Ssklower u_short sp_ack; /* acknowledge number */ 2521492Ssklower u_short sp_alo; /* allocation number */ 2621492Ssklower }; 27