From 2056103694edd3c76d39584241fcf58126b38565 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Axel=20D=C3=B6rfler?= Date: Mon, 1 Mar 2010 16:21:44 +0000 Subject: [PATCH] * 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 --- src/add-ons/kernel/network/protocols/tcp/tcp.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/add-ons/kernel/network/protocols/tcp/tcp.h b/src/add-ons/kernel/network/protocols/tcp/tcp.h index df4b3904fc..583d32b9b2 100644 --- a/src/add-ons/kernel/network/protocols/tcp/tcp.h +++ b/src/add-ons/kernel/network/protocols/tcp/tcp.h @@ -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 @@ enum tcp_state { 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 };