diff options
author | Sander Vrijders <[email protected]> | 2016-10-26 13:13:43 +0000 |
---|---|---|
committer | Sander Vrijders <[email protected]> | 2016-10-26 13:13:43 +0000 |
commit | 696511dcccfdf1dd1f86cc9ea64379f17722afee (patch) | |
tree | 1e62fc32c6b627a505cc1cf6c7af982e48618742 /src/lib | |
parent | cc64e52dee3559128293a17a669e94acb48f9309 (diff) | |
parent | cce79395b5a9f75d3fe1b14bf5df44795d680ca4 (diff) | |
download | ouroboros-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')
-rw-r--r-- | src/lib/dev.c | 5 |
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; |