Annotation of 43BSDReno/sys/netns/spp_debug.h, revision 1.1.1.1

1.1       root        1: /*
                      2:  * Copyright (c) 1984, 1985, 1986, 1987 Regents of the University of California.
                      3:  * All rights reserved.
                      4:  *
                      5:  * Redistribution is only permitted until one year after the first shipment
                      6:  * of 4.4BSD by the Regents.  Otherwise, redistribution and use in source and
                      7:  * binary forms are permitted provided that: (1) source distributions retain
                      8:  * this entire copyright notice and comment, and (2) distributions including
                      9:  * binaries display the following acknowledgement:  This product includes
                     10:  * software developed by the University of California, Berkeley and its
                     11:  * contributors'' in the documentation or other materials provided with the
                     12:  * distribution and in all advertising materials mentioning features or use
                     13:  * of this software.  Neither the name of the University nor the names of
                     14:  * its contributors may be used to endorse or promote products derived from
                     15:  * this software without specific prior written permission.
                     16:  * THIS SOFTWARE IS PROVIDED AS IS'' AND WITHOUT ANY EXPRESS OR IMPLIED
                     17:  * WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
                     18:  * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
                     19:  *
                     20:  *     @(#)spp_debug.h 7.4 (Berkeley) 6/28/90
                     21:  */
                     22: 
                     23: struct spp_debug {
                     24:        u_long  sd_time;
                     25:        short   sd_act;
                     26:        short   sd_ostate;
                     27:        caddr_t sd_cb;
                     28:        short   sd_req;
                     29:        struct  spidp sd_si;
                     30:        struct  sppcb sd_sp;
                     31: };
                     32: 
                     33: #define        SA_INPUT        0
                     34: #define        SA_OUTPUT       1
                     35: #define        SA_USER         2
                     36: #define        SA_RESPOND      3
                     37: #define        SA_DROP         4
                     38: 
                     39: #ifdef SANAMES
                     40: char   *sanames[] =
                     41:     { "input", "output", "user", "respond", "drop" };
                     42: #endif
                     43: 
                     44: #define        SPP_NDEBUG 100
                     45: struct spp_debug spp_debug[SPP_NDEBUG];
                     46: int    spp_debx;

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.