Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753648Ab1CJWMJ (ORCPT ); Thu, 10 Mar 2011 17:12:09 -0500 Received: from alternativer.internetendpunkt.de ([88.198.24.89]:59850 "EHLO geheimer.internetendpunkt.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752480Ab1CJWMH (ORCPT ); Thu, 10 Mar 2011 17:12:07 -0500 Date: Thu, 10 Mar 2011 23:12:05 +0100 From: Hagen Paul Pfeifer To: David Miller Cc: sledz@dresearch.de, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, alan@lxorguk.ukuu.org.uk, kuznet@ms2.inr.ac.ru, pekkas@netcore.fi, jmorris@namei.org, yoshfuji@linux-ipv6.org, kaber@trash.net, m.schuknecht@dresearch.de Subject: Re: [PATCH v3] tcp: ioctl type SIOCOUTQNSD returns amount of data not sent Message-ID: <20110310221205.GF3121@nuttenaction> References: <20110304123950.2c91ebd9@lxorguk.ukuu.org.uk> <1299441595-18455-1-git-send-email-sledz@dresearch.de> <20110309.140951.232741403.davem@davemloft.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20110309.140951.232741403.davem@davemloft.net> X-Key-Id: 98350C22 X-Key-Fingerprint: 490F 557B 6C48 6D7E 5706 2EA2 4A22 8D45 9835 0C22 X-GPG-Key: gpg --recv-keys --keyserver wwwkeys.eu.pgp.net 98350C22 User-Agent: Mutt/1.5.20 (2009-06-14) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1018 Lines: 29 * David Miller | 2011-03-09 14:09:51 [-0800]: >From: Steffen Sledz >Date: Sun, 6 Mar 2011 20:59:55 +0100 > >> From: Mario Schuknecht >> >> In contrast to SIOCOUTQ which returns the amount of data sent >> but not yet acknowledged plus data not yet sent this patch only >> returns the data not sent. >> >> For various methods of live streaming bitrate control it may >> be helpful to know how much data are in the tcp outqueue are >> not sent yet. >> >> Signed-off-by: Mario Schuknecht >> Signed-off-by: Steffen Sledz > >Applied, thanks. A little bit late - but why not using struct tcp_info for that? The information is already provided via getsockopt(TCP_INFO). Hagen -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/