diff options
author | Dimitri Staessens <dimitri@ouroboros.rocks> | 2021-12-20 16:55:06 +0100 |
---|---|---|
committer | Sander Vrijders <sander@ouroboros.rocks> | 2021-12-22 16:33:50 +0100 |
commit | b9df537e7180b416659998f9a728abc289706423 (patch) | |
tree | b89373c24ef45a774d2d66e7f740eb2a989f18d2 /src/lib/tests/shm_rbuff_test.c | |
parent | 1c28d6844934cdba8b61c022569c3412b3fc8a9b (diff) | |
download | ouroboros-b9df537e7180b416659998f9a728abc289706423.tar.gz ouroboros-b9df537e7180b416659998f9a728abc289706423.zip |
lib: Set initial sender rwe to sender seqno
The initial sender right window edge (indicating acknowledged packet
sequence number) was initialized to seqno - 1. This should be the same
as seqno, since we acknowledge with the next expected sequence number.
It also indicates that a flow without traffic has no outstanding
acknowledgements.
Signed-off-by: Dimitri Staessens <dimitri@ouroboros.rocks>
Signed-off-by: Sander Vrijders <sander@ouroboros.rocks>
Diffstat (limited to 'src/lib/tests/shm_rbuff_test.c')
0 files changed, 0 insertions, 0 deletions