diff options
author | dimitri staessens <[email protected]> | 2016-10-25 12:57:15 +0200 |
---|---|---|
committer | dimitri staessens <[email protected]> | 2016-10-25 12:57:15 +0200 |
commit | cce79395b5a9f75d3fe1b14bf5df44795d680ca4 (patch) | |
tree | ec6df2d106018595f6f9abc6b09c9606c4715a5c /src/lib | |
parent | f33f8f79ee6fd6efe6c868be61ab3addf2ec2730 (diff) | |
download | ouroboros-cce79395b5a9f75d3fe1b14bf5df44795d680ca4.tar.gz ouroboros-cce79395b5a9f75d3fe1b14bf5df44795d680ca4.zip |
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; |