PERFORCE change 159638 for review
Andre Oppermann
andre at FreeBSD.org
Sun Mar 22 15:05:40 PDT 2009
http://perforce.freebsd.org/chv.cgi?CH=159638
Change 159638 by andre at andre_t61 on 2009/03/22 22:04:51
Split the states the TCP sender can be in into clearly distinct phases
to simplify the logic all over the place.
Affected files ...
.. //depot/projects/tcp_new/netinet/tcp_var.h#5 edit
Differences ...
==== //depot/projects/tcp_new/netinet/tcp_var.h#5 (text+ko) ====
@@ -137,9 +137,14 @@
#define TF_TSO 0x1000000 /* TSO enabled on this connection */
- u_int t_cflags; /* congestion control flags */
-#define TF_FASTRECOVERY 0x0100000 /* in NewReno Fast Recovery */
-#define TF_WASFRECOVERY 0x0200000 /* was in NewReno Fast Recovery */
+ u_int t_phase; /* send phase we are currently in */
+#define TP_IDLE 0 /* nothing to send */
+#define TP_SLOWSTART 1 /* slow start */
+#define TP_CONGAVOID 2 /* congestion avoidance */
+#define TP_LOSSRECOV 3 /* loss recovery */
+#define TP_LOSSREXMT 4 /* loss recovery failed, retransmit */
+#define TP_PERSIST 5 /* persistent mode */
+#define TP_URGENT 6 /* urgent mode */
int t_softerror; /* possible error not yet reported */
More information about the p4-projects
mailing list