xref: /original-bsd/sys/netns/spp_debug.h (revision 43bfbc1c)
1 /*
2  * Copyright (c) 1984 Regents of the University of California.
3  * All rights reserved.  The Berkeley software License Agreement
4  * specifies the terms and conditions for redistribution.
5  *
6  *	@(#)spp_debug.h	6.3 (Berkeley) 02/03/86
7  */
8 
9 struct	spp_debug {
10 	u_long	sd_time;
11 	short	sd_act;
12 	short	sd_ostate;
13 	caddr_t	sd_cb;
14 	short	sd_req;
15 	struct	spidp sd_si;
16 	struct	sppcb sd_sp;
17 };
18 
19 #define	SA_INPUT 	0
20 #define	SA_OUTPUT	1
21 #define	SA_USER		2
22 #define	SA_RESPOND	3
23 #define	SA_DROP		4
24 
25 #ifdef SANAMES
26 char	*sanames[] =
27     { "input", "output", "user", "respond", "drop" };
28 #endif
29 
30 #define	SPP_NDEBUG 100
31 struct	spp_debug spp_debug[SPP_NDEBUG];
32 int	spp_debx;
33