lkml.org 
[lkml]   [2011]   [Mar]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH v3] tcp: ioctl type SIOCOUTQNSD returns amount of data not sent
    * David Miller | 2011-03-09 14:09:51 [-0800]:

    >From: Steffen Sledz <sledz@dresearch.de>
    >Date: Sun, 6 Mar 2011 20:59:55 +0100
    >
    >> From: Mario Schuknecht <m.schuknecht@dresearch.de>
    >>
    >> 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 <m.schuknecht@dresearch.de>
    >> Signed-off-by: Steffen Sledz <sledz@dresearch.de>
    >
    >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


    \
     
     \ /
      Last update: 2011-03-10 23:15    [W:4.090 / U:0.060 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site