Re: [PATCH net-next 1/2] tcp: add tcpi_bytes_acked to tcp_info

2015-04-28 Thread Yuchung Cheng
On Tue, Apr 28, 2015 at 10:32 AM, Eric Dumazet wrote: > > This patch tracks total number of bytes acked for a TCP socket. > This is the sum of all changes done to tp->snd_una, and allows > for precise tracking of delivered data. > > RFC4898 named this : tcpEStatsAppHCThruOctetsAcked > > This is a

[PATCH net-next 1/2] tcp: add tcpi_bytes_acked to tcp_info

2015-04-28 Thread Eric Dumazet
This patch tracks total number of bytes acked for a TCP socket. This is the sum of all changes done to tp->snd_una, and allows for precise tracking of delivered data. RFC4898 named this : tcpEStatsAppHCThruOctetsAcked This is a 64bit field, and can be fetched both from TCP_INFO getsockopt() if on