1*23214Smckusick /* 2*23214Smckusick * Copyright (c) 1982 Regents of the University of California. 3*23214Smckusick * All rights reserved. The Berkeley software License Agreement 4*23214Smckusick * specifies the terms and conditions for redistribution. 5*23214Smckusick * 6*23214Smckusick * @(#)spp_debug.h 6.2 (Berkeley) 06/08/85 7*23214Smckusick */ 821495Ssklower 921495Ssklower struct spp_debug { 1021495Ssklower u_long sd_time; 1121495Ssklower short sd_act; 1221495Ssklower short sd_ostate; 1321495Ssklower caddr_t sd_cb; 1421495Ssklower short sd_req; 1521495Ssklower struct spidp sd_si; 1621495Ssklower struct sppcb sd_sp; 1721495Ssklower }; 1821495Ssklower 1921495Ssklower #define SA_INPUT 0 2021495Ssklower #define SA_OUTPUT 1 2121495Ssklower #define SA_USER 2 2221495Ssklower #define SA_RESPOND 3 2321495Ssklower #define SA_DROP 4 2421495Ssklower 2521495Ssklower #ifdef SANAMES 2621495Ssklower char *sanames[] = 2721495Ssklower { "input", "output", "user", "respond", "drop" }; 2821495Ssklower #endif 2921495Ssklower 3021495Ssklower #define SPP_NDEBUG 100 3121495Ssklower struct spp_debug spp_debug[SPP_NDEBUG]; 3221495Ssklower int spp_debx; 33