xref: /csrg-svn/sys/netinet/tcp_debug.h (revision 6303)
1*6303Sroot /*	tcp_debug.h	4.2	82/03/24	*/
25301Sroot 
35301Sroot struct	tcp_debug {
45301Sroot 	n_time	td_time;
55301Sroot 	short	td_act;
65301Sroot 	short	td_ostate;
75301Sroot 	caddr_t	td_tcb;
85301Sroot 	struct	tcpiphdr td_ti;
95301Sroot 	short	td_req;
105301Sroot 	struct	tcpcb td_cb;
115301Sroot };
125301Sroot 
135301Sroot #define	TA_INPUT 	0
145301Sroot #define	TA_OUTPUT	1
155301Sroot #define	TA_USER		2
16*6303Sroot #define	TA_RESPOND	3
17*6303Sroot #define	TA_DROP		4
185301Sroot 
195301Sroot #ifdef TANAMES
20*6303Sroot char	*tanames[] =
21*6303Sroot     { "input", "output", "user", "respond", "drop" };
225301Sroot #endif
235301Sroot 
245301Sroot #define	TCP_NDEBUG 100
255301Sroot struct	tcp_debug tcp_debug[TCP_NDEBUG];
265301Sroot int	tcp_debx;
27