1: /*
   2:  * Copyright (c) 1984, 1986 Regents of the University of California.
   3:  * All rights reserved.  The Berkeley software License Agreement
   4:  * specifies the terms and conditions for redistribution.
   5:  *
   6:  *	@(#)sp.h	7.1 (Berkeley) 6/5/86
   7:  */
   8: 
   9: /*
  10:  * Definitions for Xerox NS style sequenced packet protocol
  11:  */
  12: 
  13: struct sphdr {
  14:     u_char  sp_cc;      /* connection control */
  15:     u_char  sp_dt;      /* datastream type */
  16: #define SP_SP   0x80        /* system packet */
  17: #define SP_SA   0x40        /* send acknowledgement */
  18: #define SP_OB   0x20        /* attention (out of band data) */
  19: #define SP_EM   0x10        /* end of message */
  20:     u_short sp_sid;     /* source connection identifier */
  21:     u_short sp_did;     /* destination connection identifier */
  22:     u_short sp_seq;     /* sequence number */
  23:     u_short sp_ack;     /* acknowledge number */
  24:     u_short sp_alo;     /* allocation number */
  25: };

Defined struct's

sphdr defined in line 13; used 22 times

Defined macros

SP_EM defined in line 19; used 4 times
SP_OB defined in line 18; used 4 times
SP_SA defined in line 17; used 4 times
SP_SP defined in line 16; used 3 times

Usage of this include

Last modified: 1986-06-05
Generated: 2016-12-26
Generated by src2html V0.67
page hit count: 796
Valid CSS Valid XHTML 1.0 Strict