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 this notice is preserved and that due credit is given
   7:  * to the University of California at Berkeley. The name of the University
   8:  * may not be used to endorse or promote products derived from this
   9:  * software without specific prior written permission. This software
  10:  * is provided ``as is'' without express or implied warranty.
  11:  *
  12:  *      @(#)sp.h	7.2 (Berkeley) 1/20/88
  13:  */
  14: 
  15: /*
  16:  * Definitions for Xerox NS style sequenced packet protocol
  17:  */
  18: 
  19: struct sphdr {
  20:     u_char  sp_cc;      /* connection control */
  21:     u_char  sp_dt;      /* datastream type */
  22: #define SP_SP   0x80        /* system packet */
  23: #define SP_SA   0x40        /* send acknowledgement */
  24: #define SP_OB   0x20        /* attention (out of band data) */
  25: #define SP_EM   0x10        /* end of message */
  26:     u_short sp_sid;     /* source connection identifier */
  27:     u_short sp_did;     /* destination connection identifier */
  28:     u_short sp_seq;     /* sequence number */
  29:     u_short sp_ack;     /* acknowledge number */
  30:     u_short sp_alo;     /* allocation number */
  31: };

Defined struct's

sphdr defined in line 19; used 22 times

Defined macros

SP_EM defined in line 25; used 4 times
SP_OB defined in line 24; used 4 times
SP_SA defined in line 23; used 2 times
SP_SP defined in line 22; used 7 times

Usage of this include

Last modified: 1988-04-28
Generated: 2016-12-26
Generated by src2html V0.67
page hit count: 2092
Valid CSS Valid XHTML 1.0 Strict