1*0Sstevel@tonic-gate /* 2*0Sstevel@tonic-gate * Copyright (c) 1982, 1986 Regents of the University of California. 3*0Sstevel@tonic-gate * All rights reserved. The Berkeley software License Agreement 4*0Sstevel@tonic-gate * specifies the terms and conditions for redistribution. 5*0Sstevel@tonic-gate */ 6*0Sstevel@tonic-gate 7*0Sstevel@tonic-gate #ifndef _NETINET_TCP_DEBUG_H 8*0Sstevel@tonic-gate #define _NETINET_TCP_DEBUG_H 9*0Sstevel@tonic-gate 10*0Sstevel@tonic-gate #pragma ident "%Z%%M% %I% %E% SMI" 11*0Sstevel@tonic-gate /* tcp_debug.h 1.8 88/08/19 SMI; from UCB 7.1 6/5/86 */ 12*0Sstevel@tonic-gate 13*0Sstevel@tonic-gate #ifdef __cplusplus 14*0Sstevel@tonic-gate extern "C" { 15*0Sstevel@tonic-gate #endif 16*0Sstevel@tonic-gate 17*0Sstevel@tonic-gate struct tcp_debug { 18*0Sstevel@tonic-gate n_time td_time; 19*0Sstevel@tonic-gate short td_act; 20*0Sstevel@tonic-gate short td_ostate; 21*0Sstevel@tonic-gate caddr_t td_tcb; 22*0Sstevel@tonic-gate struct tcpiphdr td_ti; 23*0Sstevel@tonic-gate short td_req; 24*0Sstevel@tonic-gate struct tcpcb td_cb; 25*0Sstevel@tonic-gate }; 26*0Sstevel@tonic-gate 27*0Sstevel@tonic-gate #define TA_INPUT 0 28*0Sstevel@tonic-gate #define TA_OUTPUT 1 29*0Sstevel@tonic-gate #define TA_USER 2 30*0Sstevel@tonic-gate #define TA_RESPOND 3 31*0Sstevel@tonic-gate #define TA_DROP 4 32*0Sstevel@tonic-gate 33*0Sstevel@tonic-gate #ifdef TANAMES 34*0Sstevel@tonic-gate char *tanames[] = 35*0Sstevel@tonic-gate { "input", "output", "user", "respond", "drop" }; 36*0Sstevel@tonic-gate #endif 37*0Sstevel@tonic-gate 38*0Sstevel@tonic-gate #define TCP_NDEBUG 100 39*0Sstevel@tonic-gate 40*0Sstevel@tonic-gate #ifdef __cplusplus 41*0Sstevel@tonic-gate } 42*0Sstevel@tonic-gate #endif 43*0Sstevel@tonic-gate 44*0Sstevel@tonic-gate #endif /* _NETINET_TCP_DEBUG_H */ 45