summaryrefslogtreecommitdiff
path: root/src/irmd/irm_flow.h
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.h
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.h')
-rw-r--r--src/irmd/irm_flow.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/irmd/irm_flow.h b/src/irmd/irm_flow.h
index 9a439204..97770117 100644
--- a/src/irmd/irm_flow.h
+++ b/src/irmd/irm_flow.h
@@ -25,6 +25,7 @@
#include <ouroboros/list.h>
#include <ouroboros/shm_rbuff.h>
+#include <ouroboros/shared.h>
#include <sys/types.h>
#include <pthread.h>
@@ -42,6 +43,7 @@ struct irm_flow {
struct list_head next;
int port_id;
+ qoscube_t qc;
pid_t n_api;
pid_t n_1_api;
@@ -56,9 +58,10 @@ struct irm_flow {
pthread_mutex_t state_lock;
};
-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);
void irm_flow_destroy(struct irm_flow * f);