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

##### Variables

    sanames           X
    spp_debug         X
    spp_debx          X

##### Macros

    SA_DROP           X
    SA_INPUT          X
    SA_OUTPUT         X
    SA_RESPOND        X
    SA_USER           X
    SPP_NDEBUG        X

##### struct's

    spp_debug         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:  *      @(#)spp_debug.h	7.2 (Berkeley) 1/20/88
      13:  */
      14:
      15: struct  spp_debug {
      16:     u_long  sd_time;
      17:     short   sd_act;
      18:     short   sd_ostate;
      19:     caddr_t sd_cb;
      20:     short   sd_req;
      21:     struct  spidp sd_si;
      22:     struct  sppcb sd_sp;
      23: };
      24:
      25: #define SA_INPUT    0
      26: #define SA_OUTPUT   1
      27: #define SA_USER     2
      28: #define SA_RESPOND  3
      29: #define SA_DROP     4
      30:
      31: #ifdef SANAMES
      32: char    *sanames[] =
      33:     { "input", "output", "user", "respond", "drop" };
      34: #endif
      35:
      36: #define SPP_NDEBUG 2
      37: struct  spp_debug spp_debug[SPP_NDEBUG];
      38: int spp_debx;

#### Defined variables

sanames defined in line 32; used 3 times

- in /usr/src/sys/netns/spp_debug.c line 57, 84
- in /usr/src/usr.sbin/trsp/trsp.c line 256

spp_debug defined in line 37; used 12 times

- in /usr/src/sys/netns/spp_debug.c line 55
- in /usr/src/usr.sbin/trsp/trsp.c line 136(3), 144-145(2), 153(3), 174, 211, 219

spp_debx defined in line 38; used 13 times

- in /usr/src/sys/netns/spp_debug.c line 55, 61-62(2)
- in /usr/src/usr.sbin/trsp/trsp.c line 130-134(4), 158-159(4), 210, 218

#### Defined struct's

spp_debug defined in line 15; used 10 times

- in line 37(2)
- in /usr/src/sys/netns/spp_debug.c line 55(2)
- in /usr/src/usr.sbin/trsp/trsp.c line 58(2), 174(2), 208(2)

#### Defined macros

SA_DROP defined in line 29; used 6 times

- in /usr/src/sys/netns/spp_debug.c line 79(2)
- in /usr/src/sys/netns/spp_usrreq.c line 252, 259
- in /usr/src/usr.sbin/trsp/trsp.c line 253(2)

SA_INPUT defined in line 25; used 1 times

- in /usr/src/sys/netns/spp_usrreq.c line 231

SA_OUTPUT defined in line 26; used 3 times

- in /usr/src/sys/netns/spp_debug.c line 97
- in /usr/src/sys/netns/spp_usrreq.c line 946, 1013

SA_RESPOND defined in line 28; used 1 times

- in /usr/src/sys/netns/spp_debug.c line 125

SA_USER defined in line 27; used 2 times

- in /usr/src/sys/netns/spp_usrreq.c line 1410
- in /usr/src/usr.sbin/trsp/trsp.c line 298

SPP_NDEBUG defined in line 36; used 9 times

- in line 37
- in /usr/src/sys/netns/spp_debug.c line 61
- in /usr/src/usr.sbin/trsp/trsp.c line 58-59(2), 97, 172, 210(2), 218

#### Usage of this include

spp_debug.h used 4 times

- in /usr/src/sys/netns/spp_debug.c line 38
- in /usr/src/sys/netns/spp_usrreq.c line 38
- in /usr/src/ucb/netstat/ns.c line 42
- in /usr/src/usr.sbin/trsp/trsp.c line 40

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