1 /* 2 * Copyright (c) 1982, 1986, 1993 3 * The Regents of the University of California. All rights reserved. 4 * 5 * %sccs.include.redist.c% 6 * 7 * @(#)tcp_debug.h 8.1 (Berkeley) 06/10/93 8 */ 9 10 struct tcp_debug { 11 n_time td_time; 12 short td_act; 13 short td_ostate; 14 caddr_t td_tcb; 15 struct tcpiphdr td_ti; 16 short td_req; 17 struct tcpcb td_cb; 18 }; 19 20 #define TA_INPUT 0 21 #define TA_OUTPUT 1 22 #define TA_USER 2 23 #define TA_RESPOND 3 24 #define TA_DROP 4 25 26 #ifdef TANAMES 27 char *tanames[] = 28 { "input", "output", "user", "respond", "drop" }; 29 #endif 30 31 #define TCP_NDEBUG 100 32 struct tcp_debug tcp_debug[TCP_NDEBUG]; 33 int tcp_debx; 34