summaryrefslogtreecommitdiff
path: root/ecos/packages/net/tcpip/current/include/netinet6/tcpipv6.h
diff options
context:
space:
mode:
authorMichael Gielda <mgielda@antmicro.com>2014-04-03 14:53:04 +0200
committerMichael Gielda <mgielda@antmicro.com>2014-04-03 14:53:04 +0200
commitae1e4e08a1005a0c487f03ba189d7536e7fdcba6 (patch)
treef1c296f8a966a9a39876b0e98e16d9c5da1776dd /ecos/packages/net/tcpip/current/include/netinet6/tcpipv6.h
parentf157da5337118d3c5cd464266796de4262ac9dbd (diff)
Added the OS files
Diffstat (limited to 'ecos/packages/net/tcpip/current/include/netinet6/tcpipv6.h')
-rw-r--r--ecos/packages/net/tcpip/current/include/netinet6/tcpipv6.h68
1 files changed, 68 insertions, 0 deletions
diff --git a/ecos/packages/net/tcpip/current/include/netinet6/tcpipv6.h b/ecos/packages/net/tcpip/current/include/netinet6/tcpipv6.h
new file mode 100644
index 0000000..4446032
--- /dev/null
+++ b/ecos/packages/net/tcpip/current/include/netinet6/tcpipv6.h
@@ -0,0 +1,68 @@
+//==========================================================================
+//
+// include/netinet6_tcpipv6.h
+//
+//
+//
+//==========================================================================
+// ####BSDALTCOPYRIGHTBEGIN####
+// -------------------------------------------
+// Portions of this software may have been derived from OpenBSD
+// or other sources, and if so are covered by the appropriate copyright
+// and license included herein.
+// -------------------------------------------
+// ####BSDALTCOPYRIGHTEND####
+//==========================================================================
+//#####DESCRIPTIONBEGIN####
+//
+// Author(s): gthomas
+// Contributors: gthomas
+// Date: 2000-01-10
+// Purpose:
+// Description:
+//
+//
+//####DESCRIPTIONEND####
+//
+//==========================================================================
+
+
+/* $OpenBSD: tcpipv6.h,v 1.4 1999/12/10 08:53:18 angelos Exp $ */
+
+/*
+%%% copyright-nrl-95
+This software is Copyright 1995-1998 by Randall Atkinson, Ronald Lee,
+Daniel McDonald, Bao Phan, and Chris Winters. All Rights Reserved. All
+rights under this copyright have been assigned to the US Naval Research
+Laboratory (NRL). The NRL Copyright Notice and License Agreement Version
+1.1 (January 17, 1995) applies to this software.
+You should have received a copy of the license with this software. If you
+didn't get a copy, you may request one from <license@ipv6.nrl.navy.mil>.
+
+*/
+
+#ifndef _NETINET6_TCPIPV6_H
+#define _NETINET6_TCPIPV6_H 1
+
+#include <netinet6/ip6.h>
+#include <netinet/tcp.h>
+
+struct tcpipv6hdr {
+ struct ip6_hdr ti6_i;
+ struct tcphdr ti6_t;
+};
+
+#define ti6_src ti6_i.ipv6_src
+#define ti6_dst ti6_i.ipv6_dst
+#define ti6_sport ti6_t.th_sport
+#define ti6_dport ti6_t.th_dport
+#define ti6_seq ti6_t.th_seq
+#define ti6_ack ti6_t.th_ack
+#define ti6_x2 ti6_t.th_x2
+#define ti6_off ti6_t.th_off
+#define ti6_flags ti6_t.th_flags
+#define ti6_win ti6_t.th_win
+#define ti6_sum ti6_t.th_sum
+#define ti6_urp ti6_t.th_urp
+
+#endif /* _NETINET6_TCPIPV6_H */