summaryrefslogtreecommitdiffstats
path: root/cpukit/libnetworking/netinet/tcp_debug.h
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2011-02-24 06:48:52 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2011-02-24 06:48:52 +0000
commit460674d99fa3cda2c368453e9618111a2216140d (patch)
tree0b45ddbb060a4c6c4ee56247e82b552e8810546d /cpukit/libnetworking/netinet/tcp_debug.h
parent2011-02-23 Ralf Corsépius <ralf.corsepius@rtems.org> (diff)
downloadrtems-460674d99fa3cda2c368453e9618111a2216140d.tar.bz2
2011-02-24 Ralf Corsépius <ralf.corsepius@rtems.org>
* libnetworking/netinet/in_systm.h, libnetworking/netinet/tcp_debug.c, libnetworking/netinet/tcp_debug.h, libnetworking/netinet/tcp_seq.h, libnetworking/netinet/tcp_var.h, libnetworking/netinet/tcpip.h: Misc changes from FreeBSD.
Diffstat (limited to 'cpukit/libnetworking/netinet/tcp_debug.h')
-rw-r--r--cpukit/libnetworking/netinet/tcp_debug.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/cpukit/libnetworking/netinet/tcp_debug.h b/cpukit/libnetworking/netinet/tcp_debug.h
index 4bff757e2a..11a2b003f4 100644
--- a/cpukit/libnetworking/netinet/tcp_debug.h
+++ b/cpukit/libnetworking/netinet/tcp_debug.h
@@ -10,10 +10,6 @@
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
- * 3. All advertising materials mentioning features or use of this software
- * must display the following acknowledgement:
- * This product includes software developed by the University of
- * California, Berkeley and its contributors.
* 4. Neither the name of the University nor the names of its contributors
* may be used to endorse or promote products derived from this software
* without specific prior written permission.
@@ -31,6 +27,10 @@
* SUCH DAMAGE.
*
* @(#)tcp_debug.h 8.1 (Berkeley) 6/10/93
+ * $FreeBSD: src/sys/netinet/tcp_debug.h,v 1.17 2009/02/13 15:14:43 luigi Exp $
+ */
+
+/*
* $Id$
*/
@@ -38,7 +38,7 @@
#define _NETINET_TCP_DEBUG_H_
struct tcp_debug {
- n_time td_time;
+ uint32_t td_time; /* network format */
short td_act;
short td_ostate;
caddr_t td_tcb;
@@ -47,14 +47,14 @@ struct tcp_debug {
struct tcpcb td_cb;
};
-#define TA_INPUT 0
+#define TA_INPUT 0
#define TA_OUTPUT 1
#define TA_USER 2
#define TA_RESPOND 3
#define TA_DROP 4
#ifdef TANAMES
-static char *tanames[] =
+static const char *tanames[] =
{ "input", "output", "user", "respond", "drop" };
#endif