summaryrefslogtreecommitdiff
path: root/src/lib/dev.c
diff options
context:
space:
mode:
authorSander Vrijders <sander.vrijders@intec.ugent.be>2016-10-26 13:13:43 +0000
committerSander Vrijders <sander.vrijders@intec.ugent.be>2016-10-26 13:13:43 +0000
commit696511dcccfdf1dd1f86cc9ea64379f17722afee (patch)
tree1e62fc32c6b627a505cc1cf6c7af982e48618742 /src/lib/dev.c
parentcc64e52dee3559128293a17a669e94acb48f9309 (diff)
parentcce79395b5a9f75d3fe1b14bf5df44795d680ca4 (diff)
downloadouroboros-696511dcccfdf1dd1f86cc9ea64379f17722afee.tar.gz
ouroboros-696511dcccfdf1dd1f86cc9ea64379f17722afee.zip
Merged in dstaesse/ouroboros/be-qos (pull request #279)
lib: API for accepting flows with QoS
Diffstat (limited to 'src/lib/dev.c')
-rw-r--r--src/lib/dev.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/lib/dev.c b/src/lib/dev.c
index 94fbd394..7fc2e6b3 100644
--- a/src/lib/dev.c
+++ b/src/lib/dev.c
@@ -134,6 +134,7 @@ struct flow {
struct shm_flow_set * set;
int port_id;
int oflags;
+ enum qos_cube qos;
pid_t api;
@@ -315,12 +316,14 @@ void ap_fini()
}
-int flow_accept(char ** ae_name)
+int flow_accept(char ** ae_name, struct qos_spec * qos)
{
irm_msg_t msg = IRM_MSG__INIT;
irm_msg_t * recv_msg = NULL;
int fd = -1;
+ (void) qos;
+
msg.code = IRM_MSG_CODE__IRM_FLOW_ACCEPT;
msg.has_api = true;