xref: /original-bsd/sys/netinet/tcp_debug.h (revision b9d18e58)
1 /*
2  * Copyright (c) 1982 Regents of the University of California.
3  * All rights reserved.  The Berkeley software License Agreement
4  * specifies the terms and conditions for redistribution.
5  *
6  *	@(#)tcp_debug.h	6.2 (Berkeley) 06/08/85
7  */
8 
9 struct	tcp_debug {
10 	n_time	td_time;
11 	short	td_act;
12 	short	td_ostate;
13 	caddr_t	td_tcb;
14 	struct	tcpiphdr td_ti;
15 	short	td_req;
16 	struct	tcpcb td_cb;
17 };
18 
19 #define	TA_INPUT 	0
20 #define	TA_OUTPUT	1
21 #define	TA_USER		2
22 #define	TA_RESPOND	3
23 #define	TA_DROP		4
24 
25 #ifdef TANAMES
26 char	*tanames[] =
27     { "input", "output", "user", "respond", "drop" };
28 #endif
29 
30 #define	TCP_NDEBUG 100
31 struct	tcp_debug tcp_debug[TCP_NDEBUG];
32 int	tcp_debx;
33