xref: /csrg-svn/sys/netinet/tcp_debug.h (revision 29148)
123189Smckusick /*
2*29148Smckusick  * Copyright (c) 1982, 1986 Regents of the University of California.
323189Smckusick  * All rights reserved.  The Berkeley software License Agreement
423189Smckusick  * specifies the terms and conditions for redistribution.
523189Smckusick  *
6*29148Smckusick  *	@(#)tcp_debug.h	7.1 (Berkeley) 06/05/86
723189Smckusick  */
85301Sroot 
95301Sroot struct	tcp_debug {
105301Sroot 	n_time	td_time;
115301Sroot 	short	td_act;
125301Sroot 	short	td_ostate;
135301Sroot 	caddr_t	td_tcb;
145301Sroot 	struct	tcpiphdr td_ti;
155301Sroot 	short	td_req;
165301Sroot 	struct	tcpcb td_cb;
175301Sroot };
185301Sroot 
195301Sroot #define	TA_INPUT 	0
205301Sroot #define	TA_OUTPUT	1
215301Sroot #define	TA_USER		2
226303Sroot #define	TA_RESPOND	3
236303Sroot #define	TA_DROP		4
245301Sroot 
255301Sroot #ifdef TANAMES
266303Sroot char	*tanames[] =
276303Sroot     { "input", "output", "user", "respond", "drop" };
285301Sroot #endif
295301Sroot 
305301Sroot #define	TCP_NDEBUG 100
315301Sroot struct	tcp_debug tcp_debug[TCP_NDEBUG];
325301Sroot int	tcp_debx;
33