This commit is contained in:
jdl
2024-12-13 15:49:15 +01:00
parent fdf0066fc2
commit 24517c02f1
5 changed files with 40 additions and 40 deletions

View File

@@ -5,8 +5,8 @@ const (
NONCE_SIZE = 24
KEY_SIZE = 32
SIG_SIZE = 64
MTU = 1408
BUFFER_SIZE = MTU + NONCE_SIZE + SIG_SIZE
MTU = 1376
BUFFER_SIZE = 2048 // Definitely big enough.
STREAM_DATA = 0
STREAM_ROUTING = 1 // Routing queries and responses.