summaryrefslogtreecommitdiff
path: root/src/lib/shm_rbuff_pthr.c
diff options
context:
space:
mode:
authorDimitri Staessens <dimitri@ouroboros.rocks>2020-10-11 14:42:16 +0200
committerSander Vrijders <sander@ouroboros.rocks>2020-10-11 14:47:52 +0200
commit3294170daecaf14a43e97d4e435d4ed0308444f8 (patch)
tree349075344cdc08681fa2491ab7bf0b4c32b730b7 /src/lib/shm_rbuff_pthr.c
parentda871be70c8039015edfe93d4581e3b9347ff882 (diff)
downloadouroboros-3294170daecaf14a43e97d4e435d4ed0308444f8.tar.gz
ouroboros-3294170daecaf14a43e97d4e435d4ed0308444f8.zip
lib: Add Rendez-Vous mechanism for flow control
This adds the rendez-vous mechanism to handle the case where the sending window is closed and window updates get lost. If the sending window is closed, the sender side will send an RDVS every DELT_RDV time (100ms), and give up after MAX_RDV time (1 second). Upon reception of a RDVS packet, a window update is sent immediately. We can make this much more configurable later on (build options for defaults, fccntl for runtime tuning). Signed-off-by: Dimitri Staessens <dimitri@ouroboros.rocks> Signed-off-by: Sander Vrijders <sander@ouroboros.rocks>
Diffstat (limited to 'src/lib/shm_rbuff_pthr.c')
0 files changed, 0 insertions, 0 deletions