mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-24 09:56:35 +02:00
use smaller mtu for meshnet mode
This commit is contained in:
parent
32644ddada
commit
1ebcbd5b0e
1 changed files with 4 additions and 0 deletions
|
@ -18,7 +18,11 @@ namespace transport
|
|||
{
|
||||
|
||||
const size_t SSU_MTU_V4 = 1484;
|
||||
#ifdef MESHNET
|
||||
const size_t SSU_MTU_V6 = 1304;
|
||||
#else
|
||||
const size_t SSU_MTU_V6 = 1472;
|
||||
#endif
|
||||
const size_t IPV4_HEADER_SIZE = 20;
|
||||
const size_t IPV6_HEADER_SIZE = 40;
|
||||
const size_t UDP_HEADER_SIZE = 8;
|
||||
|
|
Loading…
Add table
Reference in a new issue