included by arpa/inet.h, so protect it.
[unix-history] / usr / src / sys / netinet / tcp_debug.h
CommitLineData
8ae0e4b4 1/*
0880b18e 2 * Copyright (c) 1982, 1986 Regents of the University of California.
2b6b6284 3 * All rights reserved.
8ae0e4b4 4 *
dbf0c423 5 * %sccs.include.redist.c%
2b6b6284 6 *
dbf0c423 7 * @(#)tcp_debug.h 7.4 (Berkeley) %G%
8ae0e4b4 8 */
44820faa
BJ
9
10struct 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
f3cdd721
BJ
23#define TA_RESPOND 3
24#define TA_DROP 4
44820faa
BJ
25
26#ifdef TANAMES
f3cdd721
BJ
27char *tanames[] =
28 { "input", "output", "user", "respond", "drop" };
44820faa
BJ
29#endif
30
31#define TCP_NDEBUG 100
32struct tcp_debug tcp_debug[TCP_NDEBUG];
33int tcp_debx;