Skip to content

Commit

Permalink
Tcp: Clarified how to interpret windowScalingFactor NED parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
avarga committed Sep 25, 2023
1 parent 7040c90 commit 95df563
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/inet/transportlayer/tcp/Tcp.ned
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 95df563

Please sign in to comment.