xref: /original-bsd/sys/netns/spp_debug.h (revision ee66054d)
1 /*
2  * Copyright (c) 1984, 1985, 1986, 1987, 1993
3  *	The Regents of the University of California.  All rights reserved.
4  *
5  * %sccs.include.redist.c%
6  *
7  *	@(#)spp_debug.h	8.1 (Berkeley) 06/10/93
8  */
9 
10 struct	spp_debug {
11 	u_long	sd_time;
12 	short	sd_act;
13 	short	sd_ostate;
14 	caddr_t	sd_cb;
15 	short	sd_req;
16 	struct	spidp sd_si;
17 	struct	sppcb sd_sp;
18 };
19 
20 #define	SA_INPUT 	0
21 #define	SA_OUTPUT	1
22 #define	SA_USER		2
23 #define	SA_RESPOND	3
24 #define	SA_DROP		4
25 
26 #ifdef SANAMES
27 char	*sanames[] =
28     { "input", "output", "user", "respond", "drop" };
29 #endif
30 
31 #define	SPP_NDEBUG 100
32 struct	spp_debug spp_debug[SPP_NDEBUG];
33 int	spp_debx;
34