Commit | Line | Data |
---|---|---|
8ae0e4b4 | 1 | /* |
0880b18e | 2 | * Copyright (c) 1982, 1986 Regents of the University of California. |
2b6b6284 | 3 | * All rights reserved. |
8ae0e4b4 | 4 | * |
2b6b6284 KB |
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) %G% | |
8ae0e4b4 | 13 | */ |
44820faa BJ |
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 | |
f3cdd721 BJ |
28 | #define TA_RESPOND 3 |
29 | #define TA_DROP 4 | |
44820faa BJ |
30 | |
31 | #ifdef TANAMES | |
f3cdd721 BJ |
32 | char *tanames[] = |
33 | { "input", "output", "user", "respond", "drop" }; | |
44820faa BJ |
34 | #endif |
35 | ||
36 | #define TCP_NDEBUG 100 | |
37 | struct tcp_debug tcp_debug[TCP_NDEBUG]; | |
38 | int tcp_debx; |