summaryrefslogtreecommitdiff
path: root/src/lib/md5.c
diff options
context:
space:
mode:
authorDimitri Staessens <dimitri@ouroboros.rocks>2020-12-02 16:08:47 +0100
committerSander Vrijders <sander@ouroboros.rocks>2020-12-02 19:23:18 +0100
commit1bb26d793e8b95313769e4fcf530321076401390 (patch)
tree9035067acaf168400fae37c90d6362c7b52a2cdc /src/lib/md5.c
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 <dimitri@ouroboros.rocks> Signed-off-by: Sander Vrijders <sander@ouroboros.rocks>
Diffstat (limited to 'src/lib/md5.c')
0 files changed, 0 insertions, 0 deletions