# 2.11BSD#431 - /usr/src/sys/netns/sp.h

##### Macros

    SP_EM             X
    SP_OB             X
    SP_SA             X
    SP_SP             X

##### struct's

    sphdr             X

       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

- in /usr/src/sys/netns/spp_usrreq.c line 508(2), 668(2), 733(2), 742(2), 1111-1119(10), 1158-1159(4)

#### Defined macros

SP_EM defined in line 25; used 4 times

- in /usr/src/sys/netns/spp_usrreq.c line 674-676(2), 744, 1161

SP_OB defined in line 24; used 4 times

- in /usr/src/sys/netns/spp_usrreq.c line 426, 478, 494, 760

SP_SA defined in line 23; used 2 times

- in /usr/src/sys/netns/spp_usrreq.c line 286, 997

SP_SP defined in line 22; used 7 times

- in /usr/src/sys/netns/spp_usrreq.c line 291, 403, 421, 447, 942, 952, 996

#### Usage of this include

sp.h used 4 times

- in /usr/src/sys/netns/spp_debug.c line 32
- in /usr/src/sys/netns/spp_usrreq.c line 34
- in /usr/src/ucb/netstat/ns.c line 37
- in /usr/src/usr.sbin/trsp/trsp.c line 36

Last modified: 1988-04-28 Generated: 2016-12-26 | Generated by src2html V0.67 page hit count: 501 |