xref: /titanic_41/usr/src/uts/common/netinet/tcp_debug.h (revision 1402f64f9efa57c2c2cba776f3f45c67e6055deb)
1 /*
2  * Copyright (c) 1982, 1986 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 
7 #ifndef	_NETINET_TCP_DEBUG_H
8 #define	_NETINET_TCP_DEBUG_H
9 
10 #pragma ident	"%Z%%M%	%I%	%E% SMI"
11 /* tcp_debug.h 1.8 88/08/19 SMI; from UCB 7.1 6/5/86	*/
12 
13 #ifdef	__cplusplus
14 extern "C" {
15 #endif
16 
17 struct	tcp_debug {
18 	n_time	td_time;
19 	short	td_act;
20 	short	td_ostate;
21 	caddr_t	td_tcb;
22 	struct	tcpiphdr td_ti;
23 	short	td_req;
24 	struct	tcpcb td_cb;
25 };
26 
27 #define	TA_INPUT 	0
28 #define	TA_OUTPUT	1
29 #define	TA_USER		2
30 #define	TA_RESPOND	3
31 #define	TA_DROP		4
32 
33 #ifdef TANAMES
34 char	*tanames[] =
35 	{ "input", "output", "user", "respond", "drop" };
36 #endif
37 
38 #define	TCP_NDEBUG 100
39 
40 #ifdef	__cplusplus
41 }
42 #endif
43 
44 #endif	/* _NETINET_TCP_DEBUG_H */
45