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