mirror of
https://github.com/overte-org/overte.git
synced 2025-08-16 08:52:14 +02:00
add back MAX_PACKET_HEADER_BYTES
This commit is contained in:
parent
1a85e95f71
commit
b1be617481
1 changed files with 3 additions and 2 deletions
|
@ -78,7 +78,10 @@ namespace PacketType {
|
|||
};
|
||||
};
|
||||
|
||||
const int NUM_BYTES_MD5_HASH = 16;
|
||||
|
||||
const int MAX_PACKET_SIZE = 1450;
|
||||
const int MAX_PACKET_HEADER_BYTES = 4 + NUM_BYTES_RFC4122_UUID + NUM_BYTES_MD5_HASH;
|
||||
|
||||
typedef char PacketVersion;
|
||||
|
||||
|
@ -91,8 +94,6 @@ extern const QSet<PacketType::Value> NON_VERIFIED_PACKETS;
|
|||
extern const QSet<PacketType::Value> SEQUENCE_NUMBERED_PACKETS;
|
||||
extern const QSet<PacketType::Value> NON_SOURCED_PACKETS;
|
||||
|
||||
const int NUM_BYTES_MD5_HASH = 16;
|
||||
|
||||
QString nameForPacketType(PacketType::Value packetType);
|
||||
PacketVersion versionForPacketType(PacketType::Value packetType);
|
||||
|
||||
|
|
Loading…
Reference in a new issue