From 95df563325c496a9f632135dabd8a9feaf1a15f8 Mon Sep 17 00:00:00 2001 From: Andras Varga Date: Wed, 13 Sep 2023 16:09:23 +0200 Subject: [PATCH] Tcp: Clarified how to interpret windowScalingFactor NED parameter --- src/inet/transportlayer/tcp/Tcp.ned | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/inet/transportlayer/tcp/Tcp.ned b/src/inet/transportlayer/tcp/Tcp.ned index 6f7b5f3bb79..aa62b06a902 100644 --- a/src/inet/transportlayer/tcp/Tcp.ned +++ b/src/inet/transportlayer/tcp/Tcp.ned @@ -191,7 +191,7 @@ simple Tcp like ITcp bool increasedIWEnabled = default(false); // Increased Initial Window (RFC 3390) enabled/disabled bool sackSupport = default(false); // Selective Acknowledgment (RFC 2018, 2883, 3517) support (header option) (SACK will be enabled for a connection if both endpoints support it) bool windowScalingSupport = default(false); // Window Scale (RFC 1323) support (header option) (WS will be enabled for a connection if both endpoints support it) - int windowScalingFactor = default(-1); // Window Scaling Factor to the power of 2. -1 indicates that manual window scaling is turned off. + int windowScalingFactor = default(-1); // Window Scaling Factor given as a shift count. Valid values are 0..14, and -1 for automatic selection (it chooses the smallest shift count that makes advertisedWindow representable in 16 bits) bool timestampSupport = default(false); // Timestamps (RFC 1323) support (header option) (TS will be enabled for a connection if both endpoints support it) int mss = default(536); // Maximum Segment Size (RFC 793) (header option) int msl @unit(s) = default(120s); // Maximum Segment Lifetime