summaryrefslogtreecommitdiff
path: root/src/lib/config.h.in
diff options
context:
space:
mode:
authorDimitri Staessens <dimitri@ouroboros.rocks>2020-10-10 15:34:25 +0200
committerSander Vrijders <sander@ouroboros.rocks>2020-10-11 14:23:44 +0200
commit21dec0f30da7eecf965a3b088c9646029354b431 (patch)
treeb83883f2d0d1c4ec20390a8120ec79cc7c0cfcc1 /src/lib/config.h.in
parentbf736bebbe89618e23fc5cfb19cf049314cce03d (diff)
downloadouroboros-21dec0f30da7eecf965a3b088c9646029354b431.tar.gz
ouroboros-21dec0f30da7eecf965a3b088c9646029354b431.zip
lib: Send and receive window updates
This adds sending and receiving window updates for flow control. I used the 8 pad bits as part of the window update field, so it's 24 bits, allowing for ~16 million packets in flight. Signed-off-by: Dimitri Staessens <dimitri@ouroboros.rocks> Signed-off-by: Sander Vrijders <sander@ouroboros.rocks>
Diffstat (limited to 'src/lib/config.h.in')
-rw-r--r--src/lib/config.h.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/config.h.in b/src/lib/config.h.in
index 38c364c6..36221b8c 100644
--- a/src/lib/config.h.in
+++ b/src/lib/config.h.in
@@ -75,6 +75,7 @@
#define DELT_ACK (@DELTA_T_ACK_DELAY@ * MILLION) /* ns */
#define RQ_SIZE (@FRCT_REORDER_QUEUE_SIZE@)
+#define START_WINDOW (@FRCT_START_WINDOW@)
#define RTO_MIN (@FRCT_RTO_MIN@ * 1000)
#define TICTIME (@FRCT_TICK_TIME@ * 1000) /* ns */