]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - include/linux/tcp.h
tcp: add tcpi_bytes_acked to tcp_info
[karo-tx-linux.git] / include / linux / tcp.h
index 0caa3a2d4106eab0137d20ac75518af7964281ba..0f73b43171dad3705801974e5d178b119dc8076d 100644 (file)
@@ -150,6 +150,10 @@ struct tcp_sock {
        u32     rcv_wup;        /* rcv_nxt on last window update sent   */
        u32     snd_nxt;        /* Next sequence we send                */
 
+       u64     bytes_acked;    /* RFC4898 tcpEStatsAppHCThruOctetsAcked
+                                * sum(delta(snd_una)), or how many bytes
+                                * were acked.
+                                */
        u32     snd_una;        /* First byte we want an ack for        */
        u32     snd_sml;        /* Last byte of the most recently transmitted small packet */
        u32     rcv_tstamp;     /* timestamp of last received ACK (for keepalives) */