xref: /csrg-svn/sys/netinet/tcp_debug.h (revision 5301)
1*5301Sroot /*	tcp_debug.h	4.1	81/12/22	*/
2*5301Sroot 
3*5301Sroot struct	tcp_debug {
4*5301Sroot 	n_time	td_time;
5*5301Sroot 	short	td_act;
6*5301Sroot 	short	td_ostate;
7*5301Sroot 	caddr_t	td_tcb;
8*5301Sroot 	struct	tcpiphdr td_ti;
9*5301Sroot 	short	td_req;
10*5301Sroot 	struct	tcpcb td_cb;
11*5301Sroot };
12*5301Sroot 
13*5301Sroot #define	TA_INPUT 	0
14*5301Sroot #define	TA_OUTPUT	1
15*5301Sroot #define	TA_USER		2
16*5301Sroot 
17*5301Sroot #ifdef TANAMES
18*5301Sroot char	*tanames[] = { "input", "output", "user" };
19*5301Sroot #endif
20*5301Sroot 
21*5301Sroot #define	TCP_NDEBUG 100
22*5301Sroot struct	tcp_debug tcp_debug[TCP_NDEBUG];
23*5301Sroot int	tcp_debx;
24