xref: /original-bsd/sys/netinet/tcp_debug.h (revision c43e4352)
1 /*	tcp_debug.h	6.1	83/07/29	*/
2 
3 struct	tcp_debug {
4 	n_time	td_time;
5 	short	td_act;
6 	short	td_ostate;
7 	caddr_t	td_tcb;
8 	struct	tcpiphdr td_ti;
9 	short	td_req;
10 	struct	tcpcb td_cb;
11 };
12 
13 #define	TA_INPUT 	0
14 #define	TA_OUTPUT	1
15 #define	TA_USER		2
16 #define	TA_RESPOND	3
17 #define	TA_DROP		4
18 
19 #ifdef TANAMES
20 char	*tanames[] =
21     { "input", "output", "user", "respond", "drop" };
22 #endif
23 
24 #define	TCP_NDEBUG 100
25 struct	tcp_debug tcp_debug[TCP_NDEBUG];
26 int	tcp_debx;
27