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