xref: /csrg-svn/sys/netinet/tcp_debug.h (revision 63218)
123189Smckusick /*
2*63218Sbostic  * Copyright (c) 1982, 1986, 1993
3*63218Sbostic  *	The Regents of the University of California.  All rights reserved.
423189Smckusick  *
544484Sbostic  * %sccs.include.redist.c%
632787Sbostic  *
7*63218Sbostic  *	@(#)tcp_debug.h	8.1 (Berkeley) 06/10/93
823189Smckusick  */
95301Sroot 
105301Sroot struct	tcp_debug {
115301Sroot 	n_time	td_time;
125301Sroot 	short	td_act;
135301Sroot 	short	td_ostate;
145301Sroot 	caddr_t	td_tcb;
155301Sroot 	struct	tcpiphdr td_ti;
165301Sroot 	short	td_req;
175301Sroot 	struct	tcpcb td_cb;
185301Sroot };
195301Sroot 
205301Sroot #define	TA_INPUT 	0
215301Sroot #define	TA_OUTPUT	1
225301Sroot #define	TA_USER		2
236303Sroot #define	TA_RESPOND	3
246303Sroot #define	TA_DROP		4
255301Sroot 
265301Sroot #ifdef TANAMES
276303Sroot char	*tanames[] =
286303Sroot     { "input", "output", "user", "respond", "drop" };
295301Sroot #endif
305301Sroot 
315301Sroot #define	TCP_NDEBUG 100
325301Sroot struct	tcp_debug tcp_debug[TCP_NDEBUG];
335301Sroot int	tcp_debx;
34