Commit | Line | Data |
---|---|---|
8bcb7440 KS |
1 | /* sp.h 6.1 85/05/30 */ |
2 | ||
3 | /* | |
4 | * Definitions for Xerox NS style sequenced packet protocol | |
5 | */ | |
6 | ||
7 | struct sphdr { | |
8 | u_char sp_cc; /* connection control */ | |
9 | u_char sp_dt; /* datastream type */ | |
10 | #define SP_SP 0x80 /* system packet */ | |
11 | #define SP_SA 0x40 /* send acknowledgement */ | |
12 | #define SP_OB 0x20 /* attention (out of band data) */ | |
13 | #define SP_EM 0x10 /* end of message */ | |
14 | u_short sp_sid; /* source connection identifier */ | |
15 | u_short sp_did; /* destination connection identifier */ | |
16 | u_short sp_seq; /* sequence number */ | |
17 | u_short sp_ack; /* acknowledge number */ | |
18 | u_short sp_alo; /* allocation number */ | |
19 | }; |