The source code for the TCP BBR rate sampling algorithm is now available under either a BSD-style license or GPL license.
I have attached BSD-licensed versions of the rate sampling code. This code uses the license text at:
The existing GPL-licensed code (identical to the BSD licensed code) can of course be found in the Linux source tree.
Based on discussions with folks implementing BBR in a BSD environment, we thought it might be useful to be able to read or reuse parts of this code. In particular there is a mechanism in the code to try to avoid using bandwidth samples that are distorted by ACK "compression/suppression/decimation/acceleration" effects.
We hope this is useful.
cheers,
neal