Re: How to read the TCP congestion window (cwnd) on Linux?

Linux Advanced Routing and Traffic Control

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Antonio Pinizzotto wrote:
> 
> Hi everybody.
> Do you know about any way to read the TCP cwnd value (congestion window)
> on Linux?
> 
> I have read that on Linux it is not possible to enable a socket option
> (to read to cwnd using the program trpt).
> 
> Any way to read the cwnd would be good for me.

I already answered your question on the end2end list yesterday:
You can get cwnd through the TCP socket monitoring interface using the
"ss"-tool from iproute2 (http://developer.osdl.org/dev/iproute2) or by
getsockopt(TCP_INFO).

Regards
Patrick
_______________________________________________
LARTC mailing list
LARTC@xxxxxxxxxxxxxxx
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux