From 97bb36add4b30ef19dc43dd055108524e1e12c4c Mon Sep 17 00:00:00 2001 From: Ryan Huffman Date: Tue, 18 Aug 2015 23:11:47 -0700 Subject: [PATCH] Add constant for message line size --- libraries/networking/src/udt/Constants.h | 1 + 1 file changed, 1 insertion(+) diff --git a/libraries/networking/src/udt/Constants.h b/libraries/networking/src/udt/Constants.h index eaad77d03e..8c73a230df 100644 --- a/libraries/networking/src/udt/Constants.h +++ b/libraries/networking/src/udt/Constants.h @@ -26,6 +26,7 @@ namespace udt { static const int UDP_RECEIVE_BUFFER_SIZE_BYTES = 1048576; static const int DEFAULT_SYN_INTERVAL_USECS = 10 * 1000; static const int SEQUENCE_NUMBER_BITS = sizeof(SequenceNumber) * 8; + static const int MESSAGE_LINE_NUMBER_BITS = 32; static const uint32_t CONTROL_BIT_MASK = uint32_t(1) << (SEQUENCE_NUMBER_BITS - 1); }