1: /*
2: * Copyright (c) 1982, 1986 Regents of the University of California.
3: * All rights reserved.
4: *
5: * Redistribution and use in source and binary forms are permitted
6: * provided that this notice is preserved and that due credit is given
7: * to the University of California at Berkeley. The name of the University
8: * may not be used to endorse or promote products derived from this
9: * software without specific prior written permission. This software
10: * is provided ``as is'' without express or implied warranty.
11: *
12: * @(#)tcp_debug.h 7.2 (Berkeley) 12/7/87
13: */
14:
15: struct tcp_debug {
16: n_time td_time;
17: short td_act;
18: short td_ostate;
19: caddr_t td_tcb;
20: struct tcpiphdr td_ti;
21: short td_req;
22: struct tcpcb td_cb;
23: };
24:
25: #define TA_INPUT 0
26: #define TA_OUTPUT 1
27: #define TA_USER 2
28: #define TA_RESPOND 3
29: #define TA_DROP 4
30:
31: #ifdef TANAMES
32: char *tanames[] =
33: { "input", "output", "user", "respond", "drop" };
34: #endif
35:
36: #define TCP_NDEBUG 2
37: struct tcp_debug tcp_debug[TCP_NDEBUG];
38: int tcp_debx;
Defined variables
Defined struct's
Defined macros
Usage of this include