1*23189Smckusick /* 2*23189Smckusick * Copyright (c) 1982 Regents of the University of California. 3*23189Smckusick * All rights reserved. The Berkeley software License Agreement 4*23189Smckusick * specifies the terms and conditions for redistribution. 5*23189Smckusick * 6*23189Smckusick * @(#)tcp_debug.h 6.2 (Berkeley) 06/08/85 7*23189Smckusick */ 85301Sroot 95301Sroot struct tcp_debug { 105301Sroot n_time td_time; 115301Sroot short td_act; 125301Sroot short td_ostate; 135301Sroot caddr_t td_tcb; 145301Sroot struct tcpiphdr td_ti; 155301Sroot short td_req; 165301Sroot struct tcpcb td_cb; 175301Sroot }; 185301Sroot 195301Sroot #define TA_INPUT 0 205301Sroot #define TA_OUTPUT 1 215301Sroot #define TA_USER 2 226303Sroot #define TA_RESPOND 3 236303Sroot #define TA_DROP 4 245301Sroot 255301Sroot #ifdef TANAMES 266303Sroot char *tanames[] = 276303Sroot { "input", "output", "user", "respond", "drop" }; 285301Sroot #endif 295301Sroot 305301Sroot #define TCP_NDEBUG 100 315301Sroot struct tcp_debug tcp_debug[TCP_NDEBUG]; 325301Sroot int tcp_debx; 33