summaryrefslogtreecommitdiff
path: root/src/irmd/irm_flow.c
diff options
context:
space:
mode:
authordimitri staessens <dimitri.staessens@ugent.be>2017-03-31 14:19:01 +0000
committerSander Vrijders <sander.vrijders@ugent.be>2017-03-31 14:19:01 +0000
commit930c93f7ad6582c1386a6a98259d1acb04d2c64b (patch)
tree9623d6a0e94f327151a537485110442809dda9ca /src/irmd/irm_flow.c
parente39e93447d8da3bf06b8f5aecd3daf41c0451f81 (diff)
parentb47ca8de07c11bfddf3e8ecb2fd227049c512b9a (diff)
downloadouroboros-930c93f7ad6582c1386a6a98259d1acb04d2c64b.tar.gz
ouroboros-930c93f7ad6582c1386a6a98259d1acb04d2c64b.zip
Merged in dstaesse/ouroboros/be-irmd (pull request #443)
irmd: Keep track of qos in irm_flow
Diffstat (limited to 'src/irmd/irm_flow.c')
-rw-r--r--src/irmd/irm_flow.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/irmd/irm_flow.c b/src/irmd/irm_flow.c
index 4e7c22ef..6a99b081 100644
--- a/src/irmd/irm_flow.c
+++ b/src/irmd/irm_flow.c
@@ -31,9 +31,10 @@
#include <stdbool.h>
#include <assert.h>
-struct irm_flow * irm_flow_create(pid_t n_api,
- pid_t n_1_api,
- int port_id)
+struct irm_flow * irm_flow_create(pid_t n_api,
+ pid_t n_1_api,
+ int port_id,
+ qoscube_t qc)
{
struct irm_flow * f = malloc(sizeof(*f));
if (f == NULL)
@@ -53,6 +54,7 @@ struct irm_flow * irm_flow_create(pid_t n_api,
f->n_api = n_api;
f->n_1_api = n_1_api;
f->port_id = port_id;
+ f->qc = qc;
f->n_rb = shm_rbuff_create(n_api, port_id);
if (f->n_rb == NULL) {