longer TTL's
[unix-history] / usr / src / sys / netinet / tcp_debug.h
CommitLineData
8ae0e4b4
KM
1/*
2 * Copyright (c) 1982 Regents of the University of California.
3 * All rights reserved. The Berkeley software License Agreement
4 * specifies the terms and conditions for redistribution.
5 *
6 * @(#)tcp_debug.h 6.2 (Berkeley) %G%
7 */
44820faa
BJ
8
9struct tcp_debug {
10 n_time td_time;
11 short td_act;
12 short td_ostate;
13 caddr_t td_tcb;
14 struct tcpiphdr td_ti;
15 short td_req;
16 struct tcpcb td_cb;
17};
18
19#define TA_INPUT 0
20#define TA_OUTPUT 1
21#define TA_USER 2
f3cdd721
BJ
22#define TA_RESPOND 3
23#define TA_DROP 4
44820faa
BJ
24
25#ifdef TANAMES
f3cdd721
BJ
26char *tanames[] =
27 { "input", "output", "user", "respond", "drop" };
44820faa
BJ
28#endif
29
30#define TCP_NDEBUG 100
31struct tcp_debug tcp_debug[TCP_NDEBUG];
32int tcp_debx;