summaryrefslogtreecommitdiff
path: root/usr/src/uts/common/netinet/tcp_debug.h
diff options
context:
space:
mode:
authorstevel@tonic-gate <none@none>2005-06-14 00:00:00 -0700
committerstevel@tonic-gate <none@none>2005-06-14 00:00:00 -0700
commit7c478bd95313f5f23a4c958a745db2134aa03244 (patch)
treec871e58545497667cbb4b0a4f2daf204743e1fe7 /usr/src/uts/common/netinet/tcp_debug.h
downloadillumos-gate-7c478bd95313f5f23a4c958a745db2134aa03244.tar.gz
OpenSolaris Launch
Diffstat (limited to 'usr/src/uts/common/netinet/tcp_debug.h')
-rw-r--r--usr/src/uts/common/netinet/tcp_debug.h44
1 files changed, 44 insertions, 0 deletions
diff --git a/usr/src/uts/common/netinet/tcp_debug.h b/usr/src/uts/common/netinet/tcp_debug.h
new file mode 100644
index 0000000000..6b6f247d0e
--- /dev/null
+++ b/usr/src/uts/common/netinet/tcp_debug.h
@@ -0,0 +1,44 @@
+/*
+ * 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
+
+#pragma ident "%Z%%M% %I% %E% SMI"
+/* tcp_debug.h 1.8 88/08/19 SMI; from UCB 7.1 6/5/86 */
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+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
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* _NETINET_TCP_DEBUG_H */