summaryrefslogtreecommitdiff
path: root/src/lib/tests
diff options
context:
space:
mode:
authorDimitri Staessens <[email protected]>2017-11-06 21:38:55 +0100
committerSander Vrijders <[email protected]>2017-11-07 11:22:45 +0100
commiteef84a2afd2aa0d21072f6e7ef038fe10dcc245d (patch)
tree201297fccdaaf865283039b3bf39b13e5e50bfda /src/lib/tests
parentf5c60ee47c097d7408470e4be6182bf9ee684e84 (diff)
downloadouroboros-eef84a2afd2aa0d21072f6e7ef038fe10dcc245d.tar.gz
ouroboros-eef84a2afd2aa0d21072f6e7ef038fe10dcc245d.zip
lib: Refactor FRCT implementation
The frct_pci and rq headers are moved from include/ouroboros to src/lib since they are only needed in the library. FRCT is moved to its own source file. FRCT takes the application PDUs, encapsulates and processes them and hands them back. This makes it easier to disable FRCT should the application want to write to a "raw" flow. An FRCT instance is now allocated upon alloc and released upon dealloc. The FRCT data structure is split into a sender and receiver connection record. Setting a new configuration will now be done upon sending the next data PDU, which will flag the DRF for a new run and use that configuration. This avoids some issues should packets arrive out-of-order, and simplifies setting a configuration. Signed-off-by: Dimitri Staessens <[email protected]> Signed-off-by: Sander Vrijders <[email protected]>
Diffstat (limited to 'src/lib/tests')
-rw-r--r--src/lib/tests/rq_test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/tests/rq_test.c b/src/lib/tests/rq_test.c
index e2d0f435..7b57cf30 100644
--- a/src/lib/tests/rq_test.c
+++ b/src/lib/tests/rq_test.c
@@ -20,7 +20,7 @@
* Foundation, Inc., http://www.fsf.org/about/contact/.
*/
-#include <ouroboros/rq.h>
+#include "rq.h"
#include <stdio.h>