[PATCH 17/29] libnetworking: Add TCPOPT_TSTAMP_HDR.
Christian Mauderer
christian.mauderer at embedded-brains.de
Mon Apr 25 15:06:51 UTC 2016
From: Christian Mauderer <Christian.Mauderer at embedded-brains.de>
---
cpukit/libnetworking/rtems/rtems_netinet_tcp.h | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/cpukit/libnetworking/rtems/rtems_netinet_tcp.h b/cpukit/libnetworking/rtems/rtems_netinet_tcp.h
index b92a5ca..f4a1b2a 100644
--- a/cpukit/libnetworking/rtems/rtems_netinet_tcp.h
+++ b/cpukit/libnetworking/rtems/rtems_netinet_tcp.h
@@ -24,6 +24,11 @@ extern "C" {
typedef u_long tcp_cc; /* connection count per rfc1644 */
+#define TCPOPT_TSTAMP_HDR \
+ (uint32_t)(((uint32_t)TCPOPT_NOP<<24)| \
+ ((uint32_t)TCPOPT_NOP<<16)| \
+ ((uint32_t)TCPOPT_TIMESTAMP<<8)| \
+ ((uint32_t)TCPOLEN_TIMESTAMP))
#define TCPOPT_CC 11 /* CC options: RFC-1644 */
#define TCPOPT_CCNEW 12
#define TCPOPT_CCECHO 13
--
1.8.4.5
More information about the devel
mailing list