Bugzilla – Bug 2256
TcpTxBuffer should be able to tell BytesInFlight
Last modified: 2017-02-03 08:04:37 EST
Forked from bug 2247. Some history: TcpTxBuffer returns chunks of (previously stored) data, and can do that until the data is discarded through a call to DiscardUpTo. Until now, TcpSocketBase was the class which dealed with sequence number calculation. However, TcpTxBuffer could help in telling the amount of bytes in flight, e.g. the bytes requested by TcpSocketBase, but not yet discarded.
The proposed patch is here: https://github.com/kronat/ns-3-dev-git/commit/f8e8b063d1e76b5d532df9d7a84fc591ea6198b7 and this is the test case: https://github.com/kronat/ns-3-dev-git/commit/e7f2ca469357c492ff2811d953c4fb4b122eb1e0 This allow to use, in the future, the TcpTxBuffer as a scoreboard for saving important information (as packet status, or SACK information). Please, test if you can! Nat
Updated: https://codereview.appspot.com/299130043/
fixed in 12634:93a74b47e438