[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20150429.181257.474967776040123413.davem@davemloft.net>
Date: Wed, 29 Apr 2015 18:12:57 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: edumazet@...gle.com
Cc: netdev@...r.kernel.org, eric.dumazet@...il.com, ycheng@...gle.com,
ncardwell@...gle.com
Subject: Re: [PATCH net-next 2/2] tcp: add TCP_CC_INFO socket option
From: Eric Dumazet <edumazet@...gle.com>
Date: Tue, 28 Apr 2015 16:23:49 -0700
> Some Congestion Control modules can provide per flow information,
> but current way to get this information is to use netlink.
>
> Like TCP_INFO, let's add TCP_CC_INFO so that applications can
> issue a getsockopt() if they have a socket file descriptor,
> instead of playing complex netlink games.
>
> Sample usage would be :
>
> union tcp_cc_info info;
> socklen_t len = sizeof(info);
>
> if (getsockopt(fd, SOL_TCP, TCP_CC_INFO, &info, &len) == -1)
>
> Signed-off-by: Eric Dumazet <edumazet@...gle.com>
Applied.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists