From: Christian Mauderer <christian.maude...@embedded-brains.de> --- cpukit/libnetworking/rtems/rtems_netinet_tcp.h | 8 ++++++++ 1 file changed, 8 insertions(+)
diff --git a/cpukit/libnetworking/rtems/rtems_netinet_tcp.h b/cpukit/libnetworking/rtems/rtems_netinet_tcp.h index fe509af..b92a5ca 100644 --- a/cpukit/libnetworking/rtems/rtems_netinet_tcp.h +++ b/cpukit/libnetworking/rtems/rtems_netinet_tcp.h @@ -24,6 +24,14 @@ extern "C" { typedef u_long tcp_cc; /* connection count per rfc1644 */ +#define TCPOPT_CC 11 /* CC options: RFC-1644 */ +#define TCPOPT_CCNEW 12 +#define TCPOPT_CCECHO 13 +#define TCPOLEN_CC 6 +#define TCPOLEN_CC_APPA (TCPOLEN_CC+2) +#define TCPOPT_CC_HDR(ccopt) \ + (TCPOPT_NOP<<24|TCPOPT_NOP<<16|(ccopt)<<8|TCPOLEN_CC) + #ifdef __cplusplus } #endif /* __cplusplus */ -- 1.8.4.5 _______________________________________________ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel