[haiku-commits] r35701 - haiku/trunk/src/add-ons/kernel/network/protocols/tcp

  • From: axeld@xxxxxxxxxxxxxxxx
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Mon, 1 Mar 2010 17:21:45 +0100 (CET)

Author: axeld
Date: 2010-03-01 17:21:44 +0100 (Mon, 01 Mar 2010)
New Revision: 35701
Changeset: http://dev.haiku-os.org/changeset/35701/haiku

Modified:
   haiku/trunk/src/add-ons/kernel/network/protocols/tcp/tcp.h
Log:
* Added the standard names for the TCP states as comment.


Modified: haiku/trunk/src/add-ons/kernel/network/protocols/tcp/tcp.h
===================================================================
--- haiku/trunk/src/add-ons/kernel/network/protocols/tcp/tcp.h  2010-03-01 
15:19:20 UTC (rev 35700)
+++ haiku/trunk/src/add-ons/kernel/network/protocols/tcp/tcp.h  2010-03-01 
16:21:44 UTC (rev 35701)
@@ -1,5 +1,5 @@
 /*
- * Copyright 2006-2008, Haiku, Inc. All Rights Reserved.
+ * Copyright 2006-2010, Haiku, Inc. All Rights Reserved.
  * Distributed under the terms of the MIT License.
  *
  * Authors:
@@ -34,12 +34,12 @@
        ESTABLISHED,
 
        // peer closes the connection
-       FINISH_RECEIVED,
-       WAIT_FOR_FINISH_ACKNOWLEDGE,
+       FINISH_RECEIVED,                                // close-wait
+       WAIT_FOR_FINISH_ACKNOWLEDGE,    // last-ack
 
        // we close the connection
-       FINISH_SENT,
-       FINISH_ACKNOWLEDGED,
+       FINISH_SENT,                                    // fin-wait-1
+       FINISH_ACKNOWLEDGED,                    // fin-wait-2
        CLOSING,
        TIME_WAIT
 };


Other related posts:

  • » [haiku-commits] r35701 - haiku/trunk/src/add-ons/kernel/network/protocols/tcp - axeld