Commit | Line | Data |
---|---|---|
8ae0e4b4 | 1 | /* |
240edf1f KS |
2 | * Copyright (c) 1984, 1985, 1986, 1987 Regents of the University of California. |
3 | * All rights reserved. | |
8ae0e4b4 | 4 | * |
240edf1f KS |
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) %G% | |
8ae0e4b4 | 13 | */ |
13cf97fd KS |
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 100 | |
37 | struct spp_debug spp_debug[SPP_NDEBUG]; | |
38 | int spp_debx; |