* Added the standard names for the TCP states as comment.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35701 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler
2010-03-01 16:21:44 +00:00
parent be8c0b2480
commit 2056103694
@@ -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. * Distributed under the terms of the MIT License.
* *
* Authors: * Authors:
@@ -34,12 +34,12 @@ enum tcp_state {
ESTABLISHED, ESTABLISHED,
// peer closes the connection // peer closes the connection
FINISH_RECEIVED, FINISH_RECEIVED, // close-wait
WAIT_FOR_FINISH_ACKNOWLEDGE, WAIT_FOR_FINISH_ACKNOWLEDGE, // last-ack
// we close the connection // we close the connection
FINISH_SENT, FINISH_SENT, // fin-wait-1
FINISH_ACKNOWLEDGED, FINISH_ACKNOWLEDGED, // fin-wait-2
CLOSING, CLOSING,
TIME_WAIT TIME_WAIT
}; };