summaryrefslogtreecommitdiff
path: root/src/ipcpd/unicast/dt.h
diff options
context:
space:
mode:
authorDimitri Staessens <[email protected]>2020-12-02 16:08:47 +0100
committerSander Vrijders <[email protected]>2020-12-02 19:23:18 +0100
commit1bb26d793e8b95313769e4fcf530321076401390 (patch)
tree9035067acaf168400fae37c90d6362c7b52a2cdc /src/ipcpd/unicast/dt.h
parent56e38df2af996da460bb89aed99ec31571ca5255 (diff)
downloadouroboros-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/unicast/dt.h')
0 files changed, 0 insertions, 0 deletions