Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F108340510
D44611.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
833 B
Referenced Files
None
Subscribers
None
D44611.diff
View Options
diff --git a/sys/netinet/tcp_var.h b/sys/netinet/tcp_var.h
--- a/sys/netinet/tcp_var.h
+++ b/sys/netinet/tcp_var.h
@@ -902,10 +902,10 @@
* and thus an "ALPHA" of 0.875. rttvar has 2 bits to the right of the
* binary point, and is smoothed with an ALPHA of 0.75.
*/
-#define TCP_RTT_SCALE 32 /* multiplier for srtt; 3 bits frac. */
-#define TCP_RTT_SHIFT 5 /* shift for srtt; 3 bits frac. */
-#define TCP_RTTVAR_SCALE 16 /* multiplier for rttvar; 2 bits */
-#define TCP_RTTVAR_SHIFT 4 /* shift for rttvar; 2 bits */
+#define TCP_RTT_SCALE 32 /* multiplier for srtt; 5 bits frac. */
+#define TCP_RTT_SHIFT 5 /* shift for srtt; 5 bits frac. */
+#define TCP_RTTVAR_SCALE 16 /* multiplier for rttvar; 4 bits */
+#define TCP_RTTVAR_SHIFT 4 /* shift for rttvar; 4 bits */
#define TCP_DELTA_SHIFT 2 /* see tcp_input.c */
/*
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Jan 25, 12:27 AM (20 h, 53 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
16111916
Default Alt Text
D44611.diff (833 B)
Attached To
Mode
D44611: tcp: fix comment
Attached
Detach File
Event Timeline
Log In to Comment