diff options
author | Dimitri Staessens <[email protected]> | 2020-12-02 16:08:47 +0100 |
---|---|---|
committer | Sander Vrijders <[email protected]> | 2020-12-02 19:23:18 +0100 |
commit | 1bb26d793e8b95313769e4fcf530321076401390 (patch) | |
tree | 9035067acaf168400fae37c90d6362c7b52a2cdc /src/ipcpd/broadcast/dt.h | |
parent | 56e38df2af996da460bb89aed99ec31571ca5255 (diff) | |
download | ouroboros-1bb26d793e8b95313769e4fcf530321076401390.tar.gz ouroboros-1bb26d793e8b95313769e4fcf530321076401390.zip |
ipcpd: Simplify multi-bit (F)ECN policy
The mb-ecn policy has a couple of divisions in the math, which I
wanted to avoid. Now it measures the number of bytes sent in a window,
and updates the next window with AIMD logic. If the number of bytes in
the window is reached, the call blocks. To avoid long packet bursts,
the window size continually scales to contain between CA_MINPS (8) and
CA_MAXPS (64) packets.
Signed-off-by: Dimitri Staessens <[email protected]>
Signed-off-by: Sander Vrijders <[email protected]>
Diffstat (limited to 'src/ipcpd/broadcast/dt.h')
0 files changed, 0 insertions, 0 deletions