Add constant for message line size

This commit is contained in:
Ryan Huffman 2015-08-18 23:11:47 -07:00
parent 63d0205d1e
commit 97bb36add4

View file

@ -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);
}