36 lines
722 B
C
36 lines
722 B
C
/* @(#)tcp_debug.h 1.1 94/10/31 SMI; from UCB 7.1 6/5/86 */
|
|
|
|
/*
|
|
* Copyright (c) 1982, 1986 Regents of the University of California.
|
|
* All rights reserved. The Berkeley software License Agreement
|
|
* specifies the terms and conditions for redistribution.
|
|
*/
|
|
|
|
#ifndef _netinet_tcp_debug_h
|
|
#define _netinet_tcp_debug_h
|
|
|
|
struct tcp_debug {
|
|
n_time td_time;
|
|
short td_act;
|
|
short td_ostate;
|
|
caddr_t td_tcb;
|
|
struct tcpiphdr td_ti;
|
|
short td_req;
|
|
struct tcpcb td_cb;
|
|
};
|
|
|
|
#define TA_INPUT 0
|
|
#define TA_OUTPUT 1
|
|
#define TA_USER 2
|
|
#define TA_RESPOND 3
|
|
#define TA_DROP 4
|
|
|
|
#ifdef TANAMES
|
|
char *tanames[] =
|
|
{ "input", "output", "user", "respond", "drop" };
|
|
#endif
|
|
|
|
#define TCP_NDEBUG 100
|
|
|
|
#endif /*!_netinet_tcp_debug_h*/
|