123214Smckusick /* 2*33371Ssklower * Copyright (c) 1984, 1985, 1986, 1987 Regents of the University of California. 3*33371Ssklower * All rights reserved. 423214Smckusick * 5*33371Ssklower * Redistribution and use in source and binary forms are permitted 6*33371Ssklower * provided that this notice is preserved and that due credit is given 7*33371Ssklower * to the University of California at Berkeley. The name of the University 8*33371Ssklower * may not be used to endorse or promote products derived from this 9*33371Ssklower * software without specific prior written permission. This software 10*33371Ssklower * is provided ``as is'' without express or implied warranty. 11*33371Ssklower * 12*33371Ssklower * @(#)spp_debug.h 7.2 (Berkeley) 01/20/88 1323214Smckusick */ 1421495Ssklower 1521495Ssklower struct spp_debug { 1621495Ssklower u_long sd_time; 1721495Ssklower short sd_act; 1821495Ssklower short sd_ostate; 1921495Ssklower caddr_t sd_cb; 2021495Ssklower short sd_req; 2121495Ssklower struct spidp sd_si; 2221495Ssklower struct sppcb sd_sp; 2321495Ssklower }; 2421495Ssklower 2521495Ssklower #define SA_INPUT 0 2621495Ssklower #define SA_OUTPUT 1 2721495Ssklower #define SA_USER 2 2821495Ssklower #define SA_RESPOND 3 2921495Ssklower #define SA_DROP 4 3021495Ssklower 3121495Ssklower #ifdef SANAMES 3221495Ssklower char *sanames[] = 3321495Ssklower { "input", "output", "user", "respond", "drop" }; 3421495Ssklower #endif 3521495Ssklower 3621495Ssklower #define SPP_NDEBUG 100 3721495Ssklower struct spp_debug spp_debug[SPP_NDEBUG]; 3821495Ssklower int spp_debx; 39