diff options
author | dimitri staessens <dimitri.staessens@ugent.be> | 2017-05-10 16:39:58 +0200 |
---|---|---|
committer | dimitri staessens <dimitri.staessens@ugent.be> | 2017-05-10 17:03:08 +0200 |
commit | c75f20d2ef73b0193e75fa59c4679be713a342c7 (patch) | |
tree | 4ee9635c7a0be3714c7c2f17353e07bc68cf8281 /src/lib/dev.c | |
parent | 40d3fd8cfaf93547428bae51bb34772ead7d32e7 (diff) | |
download | ouroboros-c75f20d2ef73b0193e75fa59c4679be713a342c7.tar.gz ouroboros-c75f20d2ef73b0193e75fa59c4679be713a342c7.zip |
ipcpd: Remove FRCT from normal IPCP
In order to ensure 100% reliable transfer, the protocol state machine
that takes care of retransmission and SDU ordering has to be in the
application. Flow allocation in the normal now uses fds. The PDU_type
field was deprecated and AE's within the DIF can use reserved fds.
Diffstat (limited to 'src/lib/dev.c')
-rw-r--r-- | src/lib/dev.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/dev.c b/src/lib/dev.c index f5315cf5..306fd008 100644 --- a/src/lib/dev.c +++ b/src/lib/dev.c @@ -249,7 +249,7 @@ int ouroboros_init(const char * ap_name) ai.api = getpid(); ai.daf_name = NULL; - ai.fds = bmp_create(AP_MAX_FLOWS, 0); + ai.fds = bmp_create(AP_MAX_FLOWS, AP_RES_FDS + 1); if (ai.fds == NULL) return -ENOMEM; |