From 9feed1757f3e9eecc60abcd85d171a93d7140055 Mon Sep 17 00:00:00 2001 From: Rob Jansen Date: Thu, 4 Nov 2021 17:43:14 -0400 Subject: [PATCH] Update payload size for a full packet An MTU of 1500 bytes with IP and TCP headers of 20 bytes each results in a payload of 1460 bytes. See shadow/shadow#1763 --- src/tgen-markovmodel.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tgen-markovmodel.h b/src/tgen-markovmodel.h index ff0d13d..dda85df 100644 --- a/src/tgen-markovmodel.h +++ b/src/tgen-markovmodel.h @@ -8,7 +8,7 @@ #include /* this is how many bytes we send for each packet type observation */ -#define TGEN_MMODEL_PACKET_DATA_SIZE 1434 +#define TGEN_MMODEL_PACKET_DATA_SIZE 1460 /* and packets sent within this many microseconds will be sent * at the same time for efficiency reasons */ #define TGEN_MMODEL_MICROS_AT_ONCE 10000